l2oo

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type L2OOHelper

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

func NewL2OOHelper

func NewL2OOHelper(t *testing.T, deployments *genesis.L1Deployments, client *ethclient.Client, proposerKey *ecdsa.PrivateKey, rollupCfg *rollup.Config) *L2OOHelper

func NewL2OOHelperReadOnly

func NewL2OOHelperReadOnly(t *testing.T, deployments *genesis.L1Deployments, client *ethclient.Client) *L2OOHelper

func (*L2OOHelper) GetL2Output

func (h *L2OOHelper) GetL2Output(ctx context.Context, idx uint64) bindings.TypesOutputProposal

func (*L2OOHelper) GetL2OutputAfter

func (h *L2OOHelper) GetL2OutputAfter(ctx context.Context, l2BlockNum uint64) bindings.TypesOutputProposal

func (*L2OOHelper) GetL2OutputBefore

func (h *L2OOHelper) GetL2OutputBefore(ctx context.Context, l2BlockNum uint64) bindings.TypesOutputProposal

func (*L2OOHelper) PublishNextOutput

func (h *L2OOHelper) PublishNextOutput(ctx context.Context, outputRoot common.Hash)

func (*L2OOHelper) WaitForProposals

func (h *L2OOHelper) WaitForProposals(ctx context.Context, req int64) uint64

WaitForProposals waits until there are at least the specified number of proposals in the output oracle Returns the index of the latest output proposal

Jump to

Keyboard shortcuts

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