seqsendertypes

package
v0.4.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Batch

type Batch interface {
	// underlyingType *ethmantypes.Batch
	DeepCopy() Batch
	LastCoinbase() common.Address
	ForcedBatchTimestamp() uint64
	ForcedGlobalExitRoot() common.Hash
	ForcedBlockHashL1() common.Hash
	L2Data() []byte
	LastL2BLockTimestamp() uint64
	BatchNumber() uint64
	GlobalExitRoot() common.Hash
	L1InfoTreeIndex() uint32

	String() string

	// WRITE
	SetL2Data(data []byte)
	SetLastCoinbase(address common.Address)
	SetLastL2BLockTimestamp(ts uint64)
	SetL1InfoTreeIndex(index uint32)
}

type Sequence

type Sequence interface {
	IndexL1InfoRoot() uint32
	MaxSequenceTimestamp() uint64
	L1InfoRoot() common.Hash
	Batches() []Batch
	FirstBatch() Batch
	LastBatch() Batch
	Len() int
	L2Coinbase() common.Address
	LastVirtualBatchNumber() uint64

	String() string
	// WRITE
	SetLastVirtualBatchNumber(batchNumber uint64)
}

Jump to

Keyboard shortcuts

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