axelar-gmp-sdk-solidity

Solidity API

Implementation

This contract serves as a base for other contracts and enforces a proxy-first access restriction.

Derived contracts must implement the setup function.

constructor

constructor() internal

Contract constructor that sets the implementation address to the address of this contract.

onlyProxy

modifier onlyProxy()

Modifier to require the caller to be the proxy contract. Reverts if the caller is the current contract (i.e., the implementation contract itself).

setup

function setup(bytes params) external virtual

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