Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Address = builtin2.VoteFundActorAddr Methods = builtin2.MethodsVote )
Functions ¶
This section is empty.
Types ¶
type State ¶
type State interface { cbor.Marshaler Tally() (*Tally, error) VoterInfo(addr address.Address, currEpoch abi.ChainEpoch, currBalance abi.TokenAmount) (*VoterInfo, error) }
type Tally ¶
type Tally struct { TotalVotes abi.TokenAmount UnownedFunds abi.TokenAmount FallbackReceiver address.Address Candidates map[string]abi.TokenAmount // key is candidate address Blocked map[string]bool }
type VoterInfo ¶
type VoterInfo struct { UnlockingVotes abi.TokenAmount UnlockedVotes abi.TokenAmount WithdrawableRewards abi.TokenAmount Candidates map[string]abi.TokenAmount // key is candidate address }
Click to show internal directories.
Click to hide internal directories.