LibAsset

STRUCTURE OBJECTS

CreateData

MintData

BurnData

Asset

AssetUri

AssetRoyalties

SystemApprovalPair

struct CreateData {
    string publicDataUri;
    string hiddenDataUri;
    uint256 maxSupply;
    address royaltyReceiver;
    uint24 royaltyRate;
}
struct MintData {
    address to;
    uint256[] tokenIds;
    uint256[] amounts;
    uint256 nonce;
    address signer;
    bytes signature;
}
struct BurnData {
    address account;
    uint256[] tokenIds;
    uint256[] amounts;
}
struct Asset {
    string[] dataUri;
    uint256 version;
}
struct AssetUri {
    uint256 tokenId;
    string uri;
}
struct AssetRoyalties {
    uint256 tokenId;
    address royaltyReceiver;
    uint24 royaltyRate;
}
struct SystemApprovalPair {
        address operator;
        bool approved;
    }
struct SystemApprovalPair {
    address operator;
    bool approved;
}

Last updated