ONFT1155

Git Source

Inherits: ONFT1155Core, ERC1155, IONFT1155

Functions

constructor

constructor(string memory _uri, address _lzEndpoint) ERC1155(_uri) ONFT1155Core(_lzEndpoint);

supportsInterface

function supportsInterface(bytes4 interfaceId)
    public
    view
    virtual
    override(ONFT1155Core, ERC1155, IERC165)
    returns (bool);

_debitFrom

function _debitFrom(address _from, uint16, bytes memory, uint256[] memory _tokenIds, uint256[] memory _amounts)
    internal
    virtual
    override;

_creditTo

function _creditTo(uint16, address _toAddress, uint256[] memory _tokenIds, uint256[] memory _amounts)
    internal
    virtual
    override;