Morpheus
GitHubDiscordX/Twitter
Infohub
Infohub
  • 🙌Meet Morpheus
    • What is Morpheus?
    • MySuperAgent
      • Difference Between an LLM and an AI Agent
    • Key Use Cases
    • Launch Phases
    • Morpheus Contributors
    • Atomic Governance
    • 10 Reasons to be Excited About Morpheus
  • 📶Tokenomics
    • MOR Utility
    • MOR Emissions
    • Techno Capital Machine
      • MOR 20 Fair Launch Standard
    • Protocol-Owned Liquidity (PoL)
    • MOR Rewards Staking
    • stETH Referral System
  • 🎓Smart Contracts
    • Documentation
      • Distribution V4
      • L1 Sender
      • L2 Message Receiver
      • L2 Token Receiver V2
      • Linear Distribution Interval Decrease
      • MOR OFT
      • MOR 20 Contracts
    • Multisignature account
  • 🛡️Security Audits
    • Morpheus Bug Bounty Program
    • Protection Fund
  • ❓FAQs
    • MOR Token and Liquidity
    • MOR Rewards Staking
    • Capital Providers
    • Code Providers
    • Compute Providers
    • Application Builders
  • 🔗Verified Links
  • 🌟Brand Assets
Powered by GitBook
LogoLogo

Socials

  • X/Twitter
  • Discord
  • Telegram
  • Youtube

GitHub

  • Documentation
  • Morpheus Local Agents
  • Compute Node
  • Smart Contracts

Dashboards

  • mor.org
  • mor.software
  • morlord.com
  1. Smart Contracts
  2. Documentation

MOR OFT

Last updated 7 months ago

Was this helpful?

, the Morpheus token, is a (OFT). This allows the token to be transferred across such as Ethereum, Arbitrum, BNB Chain, and others without the need for wrapping.

Tokens can only be minted by the immutable minter_ – L2MessageReceiver – when claimed by users.

Functions

Standard and functions are not listed below.

mint

function mint(
    address _account,
    uint256 amount_
    ) external onlyOwner

Mints new tokens to the specified account. This function can only be called by the _minter_ – L2MessageReceiver.

Parameters:

Name
Type
Description

_account

address

The account to which tokens are minted.

_amount

uint256

The number of tokens to mint.


burn

function burn(
    uint256 _amount
    ) public override

Burns a specified amount of tokens from the caller's account, reducing the total supply.

Parameters:

Name
Type
Description

_amount

uint256

The number of tokens to be burned (removed) from the total supply.

burnFrom

function burnFrom(
    address _account,
    uint256 _amount
    ) public override

Burns a specified amount of tokens from the specified account, reducing the total supply. The caller must have allowance for at least the specified amount of tokens.

Parameters:

Name
Type
Description

_account

uint256

The account from which to burn tokens.

_amount

uint256

The number of tokens to be burned (removed) from the total supply.

minter

function minter(
    ) public view returns(address)

Returns the address of the minter_.

Return Values

Type
Description

address

The address of the minter_.

🎓
MOROFT.sol
LayerZero Omnichain Fungible Token
supported networks
ERC20
OFT