axelar-gmp-sdk-solidity

Solidity API

TestUpgradable

num

uint256 num

constructor

constructor() public

_setup

function _setup(bytes data) internal

Internal function to set up the contract with initial data

This function should be implemented in derived contracts.

Parameters

Name Type Description
data bytes Initialization data for the contract

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