Content
Last updated
Last updated
EVENTS
Mint(operator, data)
Burn(operator, data)
Mint(address operator, LibAsset.MintData data) |
---|
Burn(address operator, LibAsset.BurnData data) |
---|
FUNCTIONS
mintBatch(_data)
burnBatch(_data)
contractUri()
uri(_tokenId)
uri(_tokenId, _version)
totalSupply(_tokenId)
maxSupply(_tokenId)
contractRoyalty()
userMintNonce(_user)
royaltyInfo(_tokenId, _salePrice)
mintBatch(LibAsset.MintData _data) |
---|
burnBatch(LibAsset.BurnData _data) |
---|
contractUri() -> string |
---|
uri(uint256 _tokenId) -> string |
---|
uri(uint256 _tokenId, uint256 _version) -> string |
---|
totalSupply(uint256 _tokenId) -> uint256 |
---|
maxSupply(uint _tokenId) -> uint256 |
---|
contractRoyalty() -> address, uint24 |
---|
userMintNonce(address _user) -> uint256 |
---|
royaltyInfo(uint256 _tokenId, uint256 _salePrice) -> address, uint256 |
---|
Event emitted when the mintBatch
function is called by operator
.
Event emitted when the burnBatch
function is called by operator
.
Mints a batch of assets.
_data
MintData structure object. See LibAsset.sol.
Emits a Mint
event.
Requirements:
The caller must be verified.
The specified token Id in _data
must exist.
The maximum supply of each token will not be surpassed through this minting.
visibility: external
state mutability:
Burns a batch of assets.
_data
BurnData structure object. See LibAsset.sol.
Emits a Burn
event.
Requirements:
The caller must be the owner of the tokens or approved by approved by the owner.
The tokens must exist.
visibility: external
state mutability:
Returns the contract uri.
Passes through ContentStorage.sol.
visibility: external
state mutability: view
Returns the latest public uri of token type _tokenId
.
visbility: external
state mutability: view
Returns the particular public uri of token type _tokenId
specified by _version
.
Passes through ContentStorage.sol.
visibility: external
state mutability: view
Returns the total amount of token type _tokenId
currently in circulation.
visibility: external
state mutability: view
Returns the maximum amount of token type _tokenId
allowed to be in circulation.
visibility: external
state mutability: view
Returns the default royalty receiver address and rate for the contract's assets.
Passes through ContentStorage.sol.
visibility: external
state mutability: view
Returns the nonce of _user
for this contract.
visibility: external
state mutability: view
Returns the receiver address and calculated royalty amount for token type _tokenId
sold for _salePrice
.
visibility: external
state mutability: view