contracts

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DisputeGameFactory

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

func NewDisputeGameFactory

func NewDisputeGameFactory(addr common.Address, caller *batching.MultiCaller, networkTimeout time.Duration) *DisputeGameFactory

func (*DisputeGameFactory) HasProposedSince

func (f *DisputeGameFactory) HasProposedSince(ctx context.Context, proposer common.Address, cutoff time.Time, gameType uint32) (bool, time.Time, common.Hash, error)

HasProposedSince attempts to find a game with the specified game type created by the specified proposer after the given cut off time. If one is found, returns true and the time the game was created at. If no matching proposal is found, returns false, time.Time{}, nil

func (*DisputeGameFactory) ProposalTx

func (f *DisputeGameFactory) ProposalTx(ctx context.Context, gameType uint32, outputRoot common.Hash, l2BlockNum uint64) (txmgr.TxCandidate, error)

func (*DisputeGameFactory) Version

func (f *DisputeGameFactory) Version(ctx context.Context) (string, error)

Jump to

Keyboard shortcuts

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