rpcbatch

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RPCBatch

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

func New

func New(batchNumber uint64, blockHashes []string, batchL2Data []byte, globalExitRoot common.Hash,
	coinbase common.Address, closed bool) (*RPCBatch, error)

func (*RPCBatch) BatchNumber

func (b *RPCBatch) BatchNumber() uint64

BatchNumber

func (*RPCBatch) DeepCopy

func (b *RPCBatch) DeepCopy() seqsendertypes.Batch

DeepCopy

func (*RPCBatch) ForcedBatchTimestamp

func (b *RPCBatch) ForcedBatchTimestamp() uint64

ForcedBatchTimestamp

func (*RPCBatch) ForcedBlockHashL1

func (b *RPCBatch) ForcedBlockHashL1() common.Hash

ForcedBlockHashL1

func (*RPCBatch) ForcedGlobalExitRoot

func (b *RPCBatch) ForcedGlobalExitRoot() common.Hash

ForcedGlobalExitRoot

func (*RPCBatch) GlobalExitRoot

func (b *RPCBatch) GlobalExitRoot() common.Hash

GlobalExitRoot

func (*RPCBatch) IsClosed

func (b *RPCBatch) IsClosed() bool

IsClosed

func (*RPCBatch) L1InfoTreeIndex

func (b *RPCBatch) L1InfoTreeIndex() uint32

L1InfoTreeIndex

func (*RPCBatch) L2Data

func (b *RPCBatch) L2Data() []byte

L2Data

func (*RPCBatch) LastCoinbase

func (b *RPCBatch) LastCoinbase() common.Address

LastCoinbase

func (*RPCBatch) LastL2BLockTimestamp

func (b *RPCBatch) LastL2BLockTimestamp() uint64

LastL2BLockTimestamp

func (*RPCBatch) SetL1InfoTreeIndex

func (b *RPCBatch) SetL1InfoTreeIndex(index uint32)

SetL1InfoTreeIndex

func (*RPCBatch) SetL2Data

func (b *RPCBatch) SetL2Data(data []byte)

SetL2Data

func (*RPCBatch) SetLastCoinbase

func (b *RPCBatch) SetLastCoinbase(address common.Address)

SetLastCoinbase

func (*RPCBatch) SetLastL2BLockTimestamp

func (b *RPCBatch) SetLastL2BLockTimestamp(ts uint64)

SetLastL2BLockTimestamp

func (*RPCBatch) String

func (b *RPCBatch) String() string

String

Jump to

Keyboard shortcuts

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