Documentation
¶
Index ¶
- 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)
- func (e *Etherman) TrustedSequencerURL() (string, error)
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 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
func (*Etherman) TrustedSequencer ¶
TrustedSequencer gets trusted sequencer address
func (*Etherman) TrustedSequencerURL ¶ added in v0.0.3
TrustedSequencerURL gets trusted sequencer's RPC url
Click to show internal directories.
Click to hide internal directories.