MOR OFT
MOROFT.sol
, the Morpheus token, is a LayerZero Omnichain Fungible Token (OFT). This allows the token to be transferred across supported networks 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 ERC20 and OFT functions are not listed below.
mint
Mints new tokens to the specified account. This function can only be called by the _minter_
– L2MessageReceiver
.
Parameters:
burn
Burns a specified amount of tokens from the caller's account, reducing the total supply.
Parameters:
burnFrom
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:
minter
Returns the address of the minter_
.
Return Values
Last updated
Was this helpful?