Documentation ¶
Index ¶
- func ParseEvent(event *cdkvalidium.CdkvalidiumSequenceBatches, txData []byte) (uint64, []common.Hash, error)
- type DataCommittee
- type DataCommitteeMember
- type Etherman
- func (e *Etherman) GetCurrentDataCommittee() (*DataCommittee, error)
- func (e *Etherman) GetCurrentDataCommitteeMembers() ([]DataCommitteeMember, error)
- func (e *Etherman) GetTx(ctx context.Context, txHash common.Hash) (*types.Transaction, bool, error)
- func (e *Etherman) TrustedSequencer() (common.Address, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseEvent ¶
func ParseEvent(event *cdkvalidium.CdkvalidiumSequenceBatches, txData []byte) (uint64, []common.Hash, error)
ParseEvent unpacks the keys in a SequenceBatches event
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 struct { EthClient ethereumClient CDKValidium *cdkvalidium.Cdkvalidium DataCommittee *cdkdatacommittee.Cdkdatacommittee }
Etherman is the implementation of EtherMan.
func (*Etherman) GetCurrentDataCommittee ¶
func (e *Etherman) GetCurrentDataCommittee() (*DataCommittee, error)
GetCurrentDataCommittee return the currently registered data committee
func (*Etherman) GetCurrentDataCommitteeMembers ¶
func (e *Etherman) GetCurrentDataCommitteeMembers() ([]DataCommitteeMember, error)
GetCurrentDataCommitteeMembers return the currently registered data committee members
Click to show internal directories.
Click to hide internal directories.