Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

MySet1155Minter

Git Source

Inherits: Set1155Linked, ObjectMinterHook, ObjectMinterAdmin

State Variables

_minted

uint64 _minted

_kindId

uint64 _kindId

_kindRev

uint32 _kindRev

Functions

constructor

constructor(address setRegistry, address objectMinter, uint64 kindId, uint32 kindRev0) ;

mint

function mint(address to, uint64 id0, bytes calldata data) external returns (uint64 id, Descriptor memory od);

supportsInterface

function supportsInterface(bytes4 interfaceId)
    external
    pure
    override(ObjectMinterHook, Set1155Linked)
    returns (bool);

_mint

function _mint(address operator, address to, uint64 id0, uint256 context, bytes memory data)
    internal
    virtual
    override
    returns (uint64 id);

Errors

ZeroKindId

error ZeroKindId();

KindRevUnavailable

error KindRevUnavailable();

ObjectIdAutoOnly

error ObjectIdAutoOnly();