axelar-gmp-sdk-solidity

Solidity API

IGovernable

This is an interface used by the AxelarGateway contract to manage governance and mint limiter roles.

NotGovernance

error NotGovernance()

NotMintLimiter

error NotMintLimiter()

InvalidGovernance

error InvalidGovernance()

InvalidMintLimiter

error InvalidMintLimiter()

GovernanceTransferred

event GovernanceTransferred(address previousGovernance, address newGovernance)

MintLimiterTransferred

event MintLimiterTransferred(address previousGovernance, address newGovernance)

governance

function governance() external view returns (address)

Returns the governance address.

Return Values

Name Type Description
[0] address address of the governance

mintLimiter

function mintLimiter() external view returns (address)

Returns the mint limiter address.

Return Values

Name Type Description
[0] address address of the mint limiter

transferGovernance

function transferGovernance(address newGovernance) external

Transfer the governance role to another address.

Parameters

Name Type Description
newGovernance address The new governance address

transferMintLimiter

function transferMintLimiter(address newGovernance) external

Transfer the mint limiter role to another address.

Parameters

Name Type Description
newGovernance address The new mint limiter address