Content Storage
EVENT
AssetsAdded(parent, tokenIds, assets)
Event emitted when addAssetBatch
function is called.
FUNCTIONS
assetCounter()
supply(_tokenId)
maxSupply(_tokenId)
uri(_tokenId, _version)
hiddenUri(_tokenId, _version)
getContractRoyalty()
getRoyalty(_tokenId)
getLatestUriVersion(_tokenId, _isPublic)
updateSupply(_tokenId, _supply)
addAssetBatch(_assets)
setHiddenUriBatch(_assets)
setPublicUriBatch(_assets)
setContractRoyalty(_receiver, _rate)
setTokenRoyaltiesBatch(_assets)
Returns the total number of token types added to the contract.
Returns the maximum amount of token type _tokenId
allowed to be in circulation.
visibility: external
state mutability: view
Returns the version of public uri of token type _tokenId
specified by _version
.
visibility: external
state mutability: view
Returns the version of private uri of token type _tokenId
specified by _version
.
visibility: external
state mutability: view
Returns the default royalty receiver address and rate for the contract's assets.
visibility: external
state mutability: view
Returns the royalty receiver and rate for the given token type _tokenId
.
visibility: external
state mutability: view
Returns the latest public or private uri designated by isPublic
, of token type _tokenId
.
visibility: external
state mutability: view
Updates the total supply of token type _tokenId
by _supply
.
visibility: external
state mutability:
Adds a batch of tokens and sets their supply and uri information.
_asset
is an array of CreateData structure objects. See LibAsset.sol.
Emits an AssetsAdded
event.
visibility: external
state mutability:
Adds a new version of private uri to a batch of tokens.
_asset
is an array of AssetUri structure objects. See LibAsset.sol.
visibility: external
state mutability:
Adds a new version of public uri to a batch of tokens.
_asset
is an array of AssetUri structure objects. See LibAsset.sol.
visibility: external
state mutability:
Sets _receiver
as the default royalty receiver and _rate
as the default token royalty.
visibility: external
state mutability:
Sets new token royalty information to a batch of tokens.
_asset
is an array of AssetRoyalties structure objects. See LibAsset.sol.
visibility: external
state mutability:
Last updated