executor

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: LGPL-2.1 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const TRANSFER_GAS_COST = 600000

Variables

This section is empty.

Functions

This section is empty.

Types

type Batch

type Batch struct {
	// contains filtered or unexported fields
}

type EVMExecutor

type EVMExecutor struct {
	// contains filtered or unexported fields
}

func NewEVMExecutor

func NewEVMExecutor(domainID uint8, contract ExecutorContract) *EVMExecutor

func (*EVMExecutor) Execute

func (e *EVMExecutor) Execute(props []*proposal.Proposal) error

type ExecutorContract

type ExecutorContract interface {
	IsProposalExecuted(p *proposal.Proposal) (bool, error)
	ExecuteProposals(proposals []contracts.ExecutorProposal, accountProof [][]byte, slot *big.Int, opts transactor.TransactOptions) (*common.Hash, error)
}

Jump to

Keyboard shortcuts

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