Role Management
Last updated
Last updated
In this module, you have the ability to assign and revoke roles for various wallet addresses.
The contract defines four key roles:
Admin: Holds the highest level of permissions, capable of granting and revoking roles.
Minter: Has the ability to mint new tokens.
Pauser: Can pause and unpause the contract.
Upgrader: Can upgrade the contract implementation.
When a token is first created in the Create Module
, the wallet you used to deploy the token will automatically be assigned all of these roles.
Here’s how you can manage roles:
To check if a wallet has a specific role, paste the wallet address and select the role you wish to verify.
To grant roles to other wallet addresses, ensure that you are connected to a wallet with the Admin role.
To renounce a role, connect to the wallet address holding that role.
To revoke a role, connect to a wallet with the Admin role, select the role to be revoked, and paste the corresponding wallet address.