Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataCommittee ¶
type DataCommittee struct {
AddressesHash common.Hash
Members []DataCommitteeMember
RequiredSignatures uint64
}
DataCommittee represents a specific committee
type DataCommitteeMember ¶
DataCommitteeMember represents a member of the Data Committee
type Etherman ¶
type Etherman interface {
GetTx(ctx context.Context, txHash common.Hash) (*types.Transaction, bool, error)
HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)
BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)
CodeAt(ctx context.Context, account common.Address, blockNumber *big.Int) ([]byte, error)
GetCurrentDataCommittee() (*DataCommittee, error)
GetCurrentDataCommitteeMembers() ([]DataCommitteeMember, error)
TrustedSequencer(ctx context.Context) (common.Address, error)
WatchSetTrustedSequencer(
ctx context.Context,
events chan *polygonvalidiumetrog.PolygonvalidiumetrogSetTrustedSequencer,
) (event.Subscription, error)
TrustedSequencerURL(ctx context.Context) (string, error)
WatchSetTrustedSequencerURL(
ctx context.Context,
events chan *polygonvalidiumetrog.PolygonvalidiumetrogSetTrustedSequencerURL,
) (event.Subscription, error)
FilterSequenceBatches(
opts *bind.FilterOpts,
numBatch []uint64,
) (*polygonvalidiumetrog.PolygonvalidiumetrogSequenceBatchesIterator, error)
}
Etherman defines functions that should be implemented by Etherman
Click to show internal directories.
Click to hide internal directories.