arbitrum_types

package
v0.0.0-...-e3af8be Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLimitExceededError

func NewLimitExceededError(msg string) *limitExceededError

func NewRejectedError

func NewRejectedError(msg string) *rejectedError

func WrapOptionsCheckError

func WrapOptionsCheckError(err error, msg string) error

Types

type ConditionalOptions

type ConditionalOptions struct {
	KnownAccounts  map[common.Address]RootHashOrSlots `json:"knownAccounts"`
	BlockNumberMin *hexutil.Uint64                    `json:"blockNumberMin,omitempty"`
	BlockNumberMax *hexutil.Uint64                    `json:"blockNumberMax,omitempty"`
	TimestampMin   *hexutil.Uint64                    `json:"timestampMin,omitempty"`
	TimestampMax   *hexutil.Uint64                    `json:"timestampMax,omitempty"`
}

func (*ConditionalOptions) Check

func (o *ConditionalOptions) Check(l1BlockNumber uint64, l2Timestamp uint64, statedb *state.StateDB) error

type RootHashOrSlots

type RootHashOrSlots struct {
	RootHash  *common.Hash
	SlotValue map[common.Hash]common.Hash
}

func (RootHashOrSlots) MarshalJSON

func (r RootHashOrSlots) MarshalJSON() ([]byte, error)

func (*RootHashOrSlots) UnmarshalJSON

func (r *RootHashOrSlots) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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