Expand description
Module containing a contract’s types and functions.
interface OpGasPriceOracle {
function l1BaseFee() external view returns (uint256);
function getL1Fee(bytes _data) external view returns (uint256);
}Structs§
- OpGas
Price Oracle Instance - A
OpGasPriceOracleinstance. - getL1
FeeCall - Function with signature
getL1Fee(bytes)and selector0x49948e0e. - getL1
FeeReturn - Container type for the return parameters of the
getL1Fee(bytes)function. - l1Base
FeeCall - Function with signature
l1BaseFee()and selector0x519b4bd3. - l1Base
FeeReturn - Container type for the return parameters of the
l1BaseFee()function.
Enums§
- OpGas
Price Oracle Calls - Container for all the
OpGasPriceOraclefunction calls.
Functions§
- new
- Creates a new wrapper around an on-chain
OpGasPriceOraclecontract instance.