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

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:


burn

function burn(
    uint256 _amount
    ) public override

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

Parameters:

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:

minter

function minter(
    ) public view returns(address)

Returns the address of the minter_.

Return Values

Last updated

Was this helpful?