Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GasEstimateL1ComponentMethod = abi.NewMethod( "gasEstimateL1Component", "gasEstimateL1Component", abi.Function, "", false, true, abi.Arguments{ {Name: "to", Type: addressT}, {Name: "contractCreation", Type: boolT}, {Name: "data", Type: bytesT}, }, abi.Arguments{ {Name: "gasEstimateForL1", Type: uint64T}, {Name: "baseFee", Type: uint256T}, {Name: "l1BaseFeeEstimate", Type: uint256T}, }, ) )
View Source
var (
PrecompileAddress = common.HexToAddress("0x00000000000000000000000000000000000000C8")
)
Functions ¶
This section is empty.
Types ¶
type GasEstimateL1ComponentOutput ¶
type GasEstimateL1ComponentOutput struct { GasEstimateForL1 uint64 BaseFee *big.Int L1BaseFeeEstimate *big.Int }
func DecodeGasEstimateL1ComponentOutput ¶
func DecodeGasEstimateL1ComponentOutput(out any) (*GasEstimateL1ComponentOutput, error)
Click to show internal directories.
Click to hide internal directories.