interfaces

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NotFound = errors.New("not found")

NotFound is returned by API methods if the requested item does not exist.

Functions

This section is empty.

Types

type AccessList

type AccessList []AccessTuple

AccessList is an EIP-2930 access list.

type AccessTuple

type AccessTuple struct {
	Address     common.Address `json:"address"     gencodec:"required"`
	StorageKeys []common.Hash  `json:"storageKeys" gencodec:"required"`
}

AccessTuple is the element type of an access list.

type CallMsg

type CallMsg struct {
	From      common.Address // the sender of the 'transaction'
	To        common.Address // the destination contract (nil for contract creation)
	Gas       uint64         // if 0, the call executes with near-infinite gas
	GasPrice  *big.Int       // wei <-> gas exchange ratio
	GasFeeCap *big.Int       // EIP-1559 fee cap per gas.
	GasTipCap *big.Int       // EIP-1559 tip per gas.
	Value     *big.Int       // amount of wei sent along with the call
	Data      []byte         // input data, usually an ABI-encoded contract method invocation

	AccessList AccessList // EIP-2930 access list.
}

CallMsg contains parameters for contract calls.

Jump to

Keyboard shortcuts

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