nodeinterface

package
v0.0.0-...-7be72bc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL