DefaultGasHelper

Git Source

Inherits: Ownable

State Variables

gasFees

mapping(uint32 => uint256) public gasFees;

Functions

constructor

constructor(address _owner) Ownable(_owner);

setGasFee

Sets the gas fee

function setGasFee(uint32 dstChainId, uint256 amount) external onlyOwner;

Parameters

NameTypeDescription
dstChainIduint32the destination chain id
amountuint256the gas fee amount

Events

GasFeeUpdated

event GasFeeUpdated(uint32 indexed dstChainid, uint256 amount);