EeseeOnRampProxy

EeseeOnRampProxy

onRampImplementation

address onRampImplementation

onRamp contract implementation.

UpdateOnRampImplementation

event UpdateOnRampImplementation(address oldOnRampImplementation, address newOnRampImplementation, bytes initData)

ChangedOnRampImplementation

error ChangedOnRampImplementation()

InvalidOnRampImplementation

error InvalidOnRampImplementation()

forward

function forward(bytes data) external payable returns (bytes returnData)

Delegates coll to onRampImplementation.

updateOnRampImplementation

function updateOnRampImplementation(address _onRampImplementation, bytes initData) external

Updates onRamp implementation. Note: can only be called by ADMIN_ROLE.

Parameters

NameTypeDescription

_onRampImplementation

address

- New onRampImplementation.

initData

bytes

- Data with which initialize function in implementation is called.

Inherited from EeseePausable

pause

function pause() external virtual

Called by the PAUSER_ROLE to pause, triggers stopped state.

unpause

function unpause() external virtual

Called by the PAUSER_ROLE to unpause, returns to normal state.

Inherited from EeseeRoleHandler

Inherited from Pausable

paused

function paused() public view virtual returns (bool)

Returns true if the contract is paused, and false otherwise.

Paused

event Paused(address account)

Emitted when the pause is triggered by account.

Unpaused

event Unpaused(address account)

Emitted when the pause is lifted by account.

Last updated