bindings

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FinalizeBridgeERC20Args

type FinalizeBridgeERC20Args struct {
	RemoteToken common.Address
	LocalToken  common.Address
	From        common.Address
	To          common.Address
	Amount      *big.Int
	ExtraData   []byte
}

type FinalizeBridgeETHArgs added in v0.1.5

type FinalizeBridgeETHArgs struct {
	From      common.Address
	To        common.Address
	Amount    *big.Int
	ExtraData []byte
}

type L2ApplicationStateRootProviderExecuter

type L2ApplicationStateRootProviderExecuter struct {
	*monomerevm.MonomerContractExecuter
}

func NewL2ApplicationStateRootProviderExecuter

func NewL2ApplicationStateRootProviderExecuter(evm *vm.EVM) (*L2ApplicationStateRootProviderExecuter, error)

func (*L2ApplicationStateRootProviderExecuter) GetL2ApplicationStateRoot

func (e *L2ApplicationStateRootProviderExecuter) GetL2ApplicationStateRoot() (common.Hash, error)

func (*L2ApplicationStateRootProviderExecuter) SetL2ApplicationStateRoot

func (e *L2ApplicationStateRootProviderExecuter) SetL2ApplicationStateRoot(stateRoot common.Hash) error

type L2ToL1MessagePasserExecuter

type L2ToL1MessagePasserExecuter struct {
	*monomerevm.MonomerContractExecuter
}

func NewL2ToL1MessagePasserExecuter

func NewL2ToL1MessagePasserExecuter(evm *vm.EVM) (*L2ToL1MessagePasserExecuter, error)

func (*L2ToL1MessagePasserExecuter) GetMessageNonce

func (e *L2ToL1MessagePasserExecuter) GetMessageNonce() (*big.Int, error)

func (*L2ToL1MessagePasserExecuter) GetSentMessagesMappingValue

func (e *L2ToL1MessagePasserExecuter) GetSentMessagesMappingValue(withdrawalHash common.Hash) (bool, error)

func (*L2ToL1MessagePasserExecuter) InitiateWithdrawal

func (e *L2ToL1MessagePasserExecuter) InitiateWithdrawal(params *crossdomain.Withdrawal) error

type RelayMessageArgs

type RelayMessageArgs struct {
	Nonce       *big.Int
	Sender      common.Address
	Target      common.Address
	Value       *big.Int
	MinGasLimit *big.Int
	Message     []byte
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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