axelar-gmp-sdk-solidity

Solidity API

TestImplementation

val

uint256 val

setup

function setup(bytes params) external

Initializes contract parameters. This function is intended to be overridden by derived contracts. The overriding function must have the onlyProxy modifier.

Parameters

Name Type Description
params bytes The parameters to be used for initialization

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