manta

package
v0.0.0-...-1a342eb Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MantaEventProcessor

type MantaEventProcessor struct {
	L1StartHeight               *big.Int
	L2StartHeight               *big.Int
	L1BedrockStartHeight        *big.Int
	L2BedrockStartHeight        *big.Int
	LatestL1L2InitL1Header      *common2.BlockHeader
	LatestL1L2L2Header          *common2.BlockHeader
	LatestL1L2FinalizedL2Header *common2.BlockHeader
	LatestStateRootL1Header     *common2.BlockHeader
	LatestL2L1InitL2Header      *common2.BlockHeader
	LatestProvenL1Header        *common2.BlockHeader
	LatestFinalizedL1Header     *common2.BlockHeader
	// contains filtered or unexported fields
}

func NewBridgeProcessor

func NewBridgeProcessor(db *database.DB, l1StartHeight *big.Int, l2StartHeight *big.Int,
	shutdown context.CancelCauseFunc, loopInterval time.Duration,
	epoch uint64, l1ChainId, l2ChainId string, isMainnet bool) (*MantaEventProcessor, error)

func (*MantaEventProcessor) ClosetUnpack

func (ep *MantaEventProcessor) ClosetUnpack() error

func (*MantaEventProcessor) StartUnpack

func (ep *MantaEventProcessor) StartUnpack() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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