MySet1155

Git Source

Inherits: ERC1155Compatible, SetRegistryHook, SetRegistryAdmin

State Variables

_idAllocator

ObjectIdAuto.Storage internal _idAllocator;

Functions

constructor

constructor(address setRegistry, uint64 kindId, uint32 kindRev) SetRegistryHook(setRegistry);

create

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

update

function update(uint64 id, bytes calldata data) external override returns (Descriptor memory od);

supportsInterface

function supportsInterface(bytes4 interfaceId)
    external
    pure
    virtual
    override(ERC1155Compatible, SetRegistryHook)
    returns (bool);

_supportsInterface

function _supportsInterface(bytes4 interfaceId) internal pure virtual override returns (bool);

_objectURI

function _objectURI() internal view virtual override returns (string memory);

_tokenURI

function _tokenURI(uint64 id, uint32 rev) internal view virtual override returns (string memory);

_contractURI

function _contractURI() internal view virtual override returns (string memory);

Errors

KindRevNotSpecified

error KindRevNotSpecified();