This is an interface used by the AxelarGateway contract to manage governance and mint limiter roles.
error NotGovernance()
error NotMintLimiter()
error InvalidGovernance()
error InvalidMintLimiter()
event GovernanceTransferred(address previousGovernance, address newGovernance)
event MintLimiterTransferred(address previousGovernance, address newGovernance)
function governance() external view returns (address)
Returns the governance address.
Name | Type | Description |
---|---|---|
[0] | address | address of the governance |
function mintLimiter() external view returns (address)
Returns the mint limiter address.
Name | Type | Description |
---|---|---|
[0] | address | address of the mint limiter |
function transferGovernance(address newGovernance) external
Transfer the governance role to another address.
Name | Type | Description |
---|---|---|
newGovernance | address | The new governance address |
function transferMintLimiter(address newGovernance) external
Transfer the mint limiter role to another address.
Name | Type | Description |
---|---|---|
newGovernance | address | The new mint limiter address |