incaberry

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ForkIDIncaberry is the forkId for incaberry
	ForkIDIncaberry = actions.ForkIdType(6) // nolint:gomnd
	// ForksIdToIncaberry support all forkIds till incaberry
	ForksIdToIncaberry = []actions.ForkIdType{1, 2, 3, 4, 5, ForkIDIncaberry}
)

Functions

This section is empty.

Types

type ProcessL1ForcedBatches

type ProcessL1ForcedBatches struct {
	actions.ProcessorBase[ProcessL1ForcedBatches]
	// contains filtered or unexported fields
}

ProcessL1ForcedBatches implements L1EventProcessor

func NewProcessL1ForcedBatches

func NewProcessL1ForcedBatches(state stateProcessL1ForcedBatchesInterface) *ProcessL1ForcedBatches

NewProcessL1ForcedBatches returns instance of a processor for ForcedBatchesOrder

func (*ProcessL1ForcedBatches) Process

func (p *ProcessL1ForcedBatches) Process(ctx context.Context, order etherman.Order, l1Block *etherman.Block, dbTx pgx.Tx) error

Process process event

type ProcessL1SequenceForcedBatches

type ProcessL1SequenceForcedBatches struct {
	actions.ProcessorBase[ProcessL1SequenceForcedBatches]
	// contains filtered or unexported fields
}

ProcessL1SequenceForcedBatches implements L1EventProcessor

func NewProcessL1SequenceForcedBatches

func NewProcessL1SequenceForcedBatches(state stateProcessL1SequenceForcedBatchesInterface,
	sync syncProcessL1SequenceForcedBatchesInterface) *ProcessL1SequenceForcedBatches

NewProcessL1SequenceForcedBatches returns instance of a processor for SequenceForceBatchesOrder

func (*ProcessL1SequenceForcedBatches) Process

func (p *ProcessL1SequenceForcedBatches) Process(ctx context.Context, order etherman.Order, l1Block *etherman.Block, dbTx pgx.Tx) error

Process process event

type ProcessorForkId

type ProcessorForkId struct {
	actions.ProcessorBase[ProcessorForkId]
	// contains filtered or unexported fields
}

ProcessorForkId implements L1EventProcessor

func NewProcessorForkId

func NewProcessorForkId(state stateProcessorForkIdInterface, sync syncProcessorForkIdInterface) *ProcessorForkId

NewProcessorForkId returns instance of a processor for ForkIDsOrder

func (*ProcessorForkId) Process

func (p *ProcessorForkId) Process(ctx context.Context, order etherman.Order, l1Block *etherman.Block, dbTx pgx.Tx) error

Process process event

type ProcessorL1GlobalExitRoot

type ProcessorL1GlobalExitRoot struct {
	actions.ProcessorBase[ProcessorL1GlobalExitRoot]
	// contains filtered or unexported fields
}

ProcessorL1GlobalExitRoot implements L1EventProcessor for GlobalExitRootsOrder

func NewProcessorL1GlobalExitRoot

func NewProcessorL1GlobalExitRoot(state stateProcessorL1GlobalExitRootInterface) *ProcessorL1GlobalExitRoot

NewProcessorL1GlobalExitRoot new processor for GlobalExitRootsOrder

func (*ProcessorL1GlobalExitRoot) Process

func (p *ProcessorL1GlobalExitRoot) Process(ctx context.Context, order etherman.Order, l1Block *etherman.Block, dbTx pgx.Tx) error

Process process event

type ProcessorL1SequenceBatches

type ProcessorL1SequenceBatches struct {
	actions.ProcessorBase[ProcessorL1SequenceBatches]
	// contains filtered or unexported fields
}

ProcessorL1SequenceBatches implements L1EventProcessor

func NewProcessorL1SequenceBatches

func NewProcessorL1SequenceBatches(state stateProcessSequenceBatches,
	etherMan ethermanProcessSequenceBatches, pool poolProcessSequenceBatchesInterface, eventLog syncinterfaces.EventLogInterface, sync syncProcessSequenceBatchesInterface) *ProcessorL1SequenceBatches

NewProcessorL1SequenceBatches returns instance of a processor for SequenceBatchesOrder

func (*ProcessorL1SequenceBatches) Process

func (g *ProcessorL1SequenceBatches) Process(ctx context.Context, order etherman.Order, l1Block *etherman.Block, dbTx pgx.Tx) error

Process process event

type ProcessorL1VerifyBatch

type ProcessorL1VerifyBatch struct {
	actions.ProcessorBase[ProcessorL1VerifyBatch]
	// contains filtered or unexported fields
}

ProcessorL1VerifyBatch implements L1EventProcessor

func NewProcessorL1VerifyBatch

func NewProcessorL1VerifyBatch(state stateL1VerifyBatchInterface) *ProcessorL1VerifyBatch

NewProcessorL1VerifyBatch returns instance of a processor for VerifyBatchOrder

func (*ProcessorL1VerifyBatch) Process

func (p *ProcessorL1VerifyBatch) Process(ctx context.Context, order etherman.Order, l1Block *etherman.Block, dbTx pgx.Tx) error

Process process event

Jump to

Keyboard shortcuts

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