IObjectMinterAdmin
Interface for managing mint policies on the object minter
All functions apply to the set represented by the calling contract and must be access-controlled
Functions
addMintPolicy
Adds a new mint policy for the set represented by the calling contract
function addMintPolicy(MintPolicy memory policy) external returns (uint32 index);
Parameters
Name | Type | Description |
---|---|---|
policy | MintPolicy | The policy configuration to add |
Returns
Name | Type | Description |
---|---|---|
index | uint32 | Assigned policy index |
disableMintPolicy
Disables a mint policy for the set represented by the calling contract
function disableMintPolicy(uint32 index) external;
Parameters
Name | Type | Description |
---|---|---|
index | uint32 | Index of the policy to disable |
enableMintPolicy
Enables a mint policy for the set represented by the calling contract
function enableMintPolicy(uint32 index) external;
Parameters
Name | Type | Description |
---|---|---|
index | uint32 | Index of the policy to enable |