Documentation ¶
Index ¶
- type AddressLesserGreater
- type Election
- func (e *Election) ActivateAll(opts *bind.TransactOpts) ([]*types.Transaction, error)
- func (e *Election) ActivateAllMetadata(opts *bind.CallOpts, account common.Address) ([]common.Address, error)
- func (e *Election) GetAccountActiveVotes(opts *bind.CallOpts, account common.Address) (VotesByGroup, error)
- func (e *Election) GetAccountElectionVotes(opts *bind.CallOpts, account common.Address) (*ElectionVotes, error)
- func (e *Election) GetAccountPendingVotes(opts *bind.CallOpts, account common.Address) (VotesByGroup, error)
- func (e *Election) GetVotesForGroupByAccount(opts *bind.CallOpts, groupAddr, account common.Address) (*big.Int, error)
- func (e *Election) RevokeAll(opts *bind.TransactOpts, account common.Address, group common.Address) (*RevokeAll, error)
- func (e *Election) RevokeAllMetadata(opts *bind.CallOpts, account common.Address, group common.Address) (*RevokeBothMetadata, error)
- func (e *Election) RevokeBothMetadata(opts *bind.CallOpts, account common.Address, group common.Address, ...) (*RevokeBothMetadata, error)
- func (e *Election) RevokeMetadata(opts *bind.CallOpts, account common.Address, group common.Address, ...) (*RevokeMetadata, error)
- func (e *Election) Vote(opts *bind.TransactOpts, group common.Address, value *big.Int) (*types.Transaction, error)
- func (e *Election) VoteMetadata(opts *bind.CallOpts, group common.Address, value *big.Int) (*AddressLesserGreater, error)
- type ElectionVotes
- type LockedGold
- type NonVotingLockedGold
- type PendingWithdrawal
- type RevokeAll
- type RevokeBothMetadata
- type RevokeMetadata
- type SignatureValues
- type VotesByGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressLesserGreater ¶
type Election ¶
Election helper methods
func (*Election) ActivateAll ¶
func (e *Election) ActivateAll(opts *bind.TransactOpts) ([]*types.Transaction, error)
func (*Election) ActivateAllMetadata ¶
func (*Election) GetAccountActiveVotes ¶
func (*Election) GetAccountElectionVotes ¶
func (*Election) GetAccountPendingVotes ¶
func (*Election) GetVotesForGroupByAccount ¶
func (*Election) RevokeAllMetadata ¶
func (*Election) RevokeBothMetadata ¶
func (*Election) RevokeMetadata ¶
type ElectionVotes ¶
type ElectionVotes struct { Active VotesByGroup Pending VotesByGroup }
type LockedGold ¶
type LockedGold struct{ *contracts.LockedGold }
LockedGold helper methods
func (*LockedGold) GetPendingWithdrawals ¶
func (lg *LockedGold) GetPendingWithdrawals(opts *bind.CallOpts, account common.Address) ([]PendingWithdrawal, error)
func (*LockedGold) GetTotalPendingWithdrawals ¶
type NonVotingLockedGold ¶
type NonVotingLockedGold struct { Amount *big.Int PendingWithdrawals []PendingWithdrawal }
type RevokeAll ¶
type RevokeAll struct { Pending *types.Transaction Active *types.Transaction }
type RevokeBothMetadata ¶
type RevokeBothMetadata struct { Pending *RevokeMetadata Active *RevokeMetadata }
type RevokeMetadata ¶
type RevokeMetadata struct { Index *big.Int Value *big.Int *AddressLesserGreater }
type SignatureValues ¶
func GetSignatureValues ¶
func GetSignatureValues(signature []byte) (*SignatureValues, error)
Click to show internal directories.
Click to hide internal directories.