Expand description
Module containing a contract’s types and functions.
interface ArbGasInfo {
function getPricesInWei() external view returns (uint256 perL2Tx, uint256 perL1CalldataUnit, uint256 perStorageUnit, uint256 perArbGas, uint256 perL1Surplus, uint256 baseFee);
function getL1BaseFeeEstimate() external view returns (uint256);
}Structs§
- ArbGas
Info Instance - A
ArbGasInfoinstance. - getL1
Base FeeEstimate Call - Function with signature
getL1BaseFeeEstimate()and selector0xf5d6ded7. - getL1
Base FeeEstimate Return - Container type for the return parameters of the
getL1BaseFeeEstimate()function. - getPrices
InWei Call - Function with signature
getPricesInWei()and selector0x41b247a8. - getPrices
InWei Return - Container type for the return parameters of the
getPricesInWei()function.
Enums§
- ArbGas
Info Calls - Container for all the
ArbGasInfofunction calls.
Functions§
- new
- Creates a new wrapper around an on-chain
ArbGasInfocontract instance.