Periphery
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
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
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
Parameters
Name | Type | Description |
---|---|---|
index | uint32 | Index of the policy to enable |