Content Storage
EVENT
AssetsAdded(parent, tokenIds, assets)
AssetsAdded(address parent, uint256[] tokenIds, LibAsset.CreateData[] assets) |
---|
Event emitted when |
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)
assetCounter() -> uint256 |
---|
Returns the total number of token types added to the contract. |
maxSupply(uint256 _tokenId) -> uint256 |
---|
Returns the maximum amount of token type |
visibility: external |
state mutability: view |
uri(uint256 _tokenId, uint256 _version) -> string |
---|
Returns the version of public uri of token type |
visibility: external |
state mutability: view |
hiddenUri(uint256 tokenId, uint256 version) -> string |
---|
Returns the version of private uri of token type |
visibility: external |
state mutability: view |
getContractRoyalty() -> address, uint24 |
---|
Returns the default royalty receiver address and rate for the contract's assets. |
visibility: external |
state mutability: view |
getRoyalty(_tokenId) -> address, uint24 |
---|
Returns the royalty receiver and rate for the given token type |
visibility: external |
state mutability: view |
getLatestUriVersion(uint256 _tokenId, bool _isPublic) -> string |
---|
Returns the latest public or private uri designated by |
visibility: external |
state mutability: view |
updateSupply(uint256 _tokenId, uint256 _supply) |
---|
Updates the total supply of token type |
visibility: external |
state mutability: |
addAssetBatch(LibAsset.CreateData[] _asset) |
---|
Adds a batch of tokens and sets their supply and uri information. |
|
Emits an |
visibility: external |
state mutability: |
setHiddenUriBatch(LibAsset.AssetUri[] _assets) |
---|
Adds a new version of private uri to a batch of tokens. |
|
visibility: external |
state mutability: |
setPublicUriBatch(LibAsset.AssetUri[] _assets) |
---|
Adds a new version of public uri to a batch of tokens. |
|
visibility: external |
state mutability: |
setContractRoyalty(address _receiver, uint24 _rate) |
---|
Sets |
visibility: external |
state mutability: |
setTokenRoyaltiesBatch(LibAsset.AssetRoyalties[] _assets) |
---|
Sets new token royalty information to a batch of tokens. |
|
visibility: external |
state mutability: |
Last updated