DefaultGasHelper
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
Name | Type | Description |
---|---|---|
dstChainId | uint32 | the destination chain id |
amount | uint256 | the gas fee amount |
Events
GasFeeUpdated
event GasFeeUpdated(uint32 indexed dstChainid, uint256 amount);