Documentation
¶
Index ¶
- type DisputeGameFactory
- func (f *DisputeGameFactory) HasProposedSince(ctx context.Context, proposer common.Address, cutoff time.Time, ...) (bool, time.Time, common.Hash, error)
- func (f *DisputeGameFactory) ProposalTx(ctx context.Context, gameType uint32, outputRoot common.Hash, ...) (txmgr.TxCandidate, error)
- func (f *DisputeGameFactory) Version(ctx context.Context) (string, error)
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)
Click to show internal directories.
Click to hide internal directories.