axelar-gmp-sdk-solidity

Solidity API

InvalidProxyImplementation

owner

function owner() external pure returns (address)

Returns the current owner of the contract.

Return Values

Name Type Description
[0] address address The address of the current owner

transferOwnership

function transferOwnership(address) external

pendingOwner

function pendingOwner() external pure returns (address)

Returns the address of the pending owner of the contract.

Return Values

Name Type Description
[0] address address The address of the pending owner

proposeOwnership

function proposeOwnership(address newOwner) external

Proposes to transfer the contract’s ownership to a new address. The new owner needs to accept the ownership explicitly.

Parameters

Name Type Description
newOwner address The address to transfer ownership to

acceptOwnership

function acceptOwnership() external

Transfers ownership to the pending owner.

Can only be called by the pending owner

implementation

function implementation() external pure returns (address)

upgrade

function upgrade(address, bytes32, bytes) external

setup

function setup(bytes _data) external

contractId

function contractId() external pure returns (bytes32)

Returns the contract ID. It can be used as a check during upgrades.

Meant to be overridden in derived contracts.

Return Values

Name Type Description
[0] bytes32 bytes32 The contract ID