types

package
v0.3.0-beta3-tmp-bridge Latest Latest
Warning

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

Go to latest
Published: May 13, 2025 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClaimProof

type ClaimProof struct {
	ProofLocalExitRoot  tree.Proof                    `json:"proof_local_exit_root"`
	ProofRollupExitRoot tree.Proof                    `json:"proof_rollup_exit_root"`
	L1InfoTreeLeaf      l1infotreesync.L1InfoTreeLeaf `json:"l1_info_tree_leaf"`
}

type RPCBatch

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

func NewRPCBatch

func NewRPCBatch(batchNumber uint64, accInputHash common.Hash, blockHashes []string, batchL2Data []byte,
	globalExitRoot common.Hash, localExitRoot common.Hash, stateRoot common.Hash,
	coinbase common.Address, closed bool) *RPCBatch

func (*RPCBatch) AccInputHash

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

AccInputHash

func (*RPCBatch) BatchNumber

func (b *RPCBatch) BatchNumber() uint64

BatchNumber

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) LocalExitRoot

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

LocalExitRoot

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) StateRoot

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

StateRoot

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