Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ObscuroGasPool ¶
type ObscuroGasPool struct {
// contains filtered or unexported fields
}
func NewObscuroGasPool ¶
func NewObscuroGasPool(gp *gethcore.GasPool) *ObscuroGasPool
func (*ObscuroGasPool) ForTransaction ¶
func (gp *ObscuroGasPool) ForTransaction(tx *types.Transaction) (*gethcore.GasPool, error)
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.