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 { GetCurrentDataCommittee() (*DataCommittee, error) GetCurrentDataCommitteeMembers() ([]DataCommitteeMember, error) GetTx(ctx context.Context, txHash common.Hash) (*types.Transaction, bool, error) TrustedSequencer() (common.Address, error) WatchSetTrustedSequencer( ctx context.Context, events chan *polygonvalidium.PolygonvalidiumSetTrustedSequencer, ) (event.Subscription, error) TrustedSequencerURL() (string, error) WatchSetTrustedSequencerURL( ctx context.Context, events chan *polygonvalidium.PolygonvalidiumSetTrustedSequencerURL, ) (event.Subscription, error) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error) FilterSequenceBatches( opts *bind.FilterOpts, numBatch []uint64, ) (*polygonvalidium.PolygonvalidiumSequenceBatchesIterator, error) }
Etherman defines functions that should be implemented by Etherman
Click to show internal directories.
Click to hide internal directories.