IRMRKRevealable
Methods
getRevealer
function getRevealer() external view returns (address revealer)Gets the IRMRKRevealer associated with the contract.
Returns
| Name | Type | Description |
|---|---|---|
| revealer | address | The IRMRKRevealer associated with the contract |
reveal
function reveal(uint256[] tokenIds) external nonpayableReveals the asset for the given tokenIds by adding and accepting and new one.
SHOULD ask revealer which assetId should be added to the token and which asset to replace through IRMRKRevealer.getAssetsToRevealSHOULD be called by the owner or approved for assetsSHOULD add the new asset to each token and accept it
Parameters
| Name | Type | Description |
|---|---|---|
| tokenIds | uint256[] | undefined |
setRevealer
function setRevealer(address revealer) external nonpayableSets the IRMRKRevealer associated with the contract.
Parameters
| Name | Type | Description |
|---|---|---|
| revealer | address | The IRMRKRevealer to associate with the contract |