Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Oracle ¶
type Oracle interface { ProcessL1Block(block *types.Block) EstimateL1StorageGasCost(tx *types.Transaction, block *types.Block) (*big.Int, error) EstimateL1CostForMsg(args *gethapi.TransactionArgs, block *types.Block) (*big.Int, error) }
Oracle - the interface for the future precompiled gas oracle contract which will expose necessary l1 information.
func NewGasOracle ¶
func NewGasOracle() Oracle
Click to show internal directories.
Click to hide internal directories.