evmmodule

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EVMModule

type EVMModule struct{}

func New

func New() *EVMModule

func (*EVMModule) Start

func (p *EVMModule) Start(block blockproc.BlockCtx, statedb *state.StateDB, reader evmcore.DummyChain, onNewLog func(*types.Log), net photon.Rules) blockproc.EVMProcessor

type PhotonEVMProcessor

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

func (*PhotonEVMProcessor) Execute

func (p *PhotonEVMProcessor) Execute(txs types.Transactions, internal bool) types.Receipts

func (*PhotonEVMProcessor) Finalize

func (p *PhotonEVMProcessor) Finalize() (evmBlock *evmcore.EvmBlock, skippedTxs []uint32, receipts types.Receipts)

Jump to

Keyboard shortcuts

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