[−][src]Module sunshine_util::traits
Traits
AccessGenesis | |
Apply | Defines how |
ApplyVote | Applies vote in the context of the existing module instance |
Approved | Defines conditions for vote passage (for |
BurnableSignal | Define the rate at which signal is burned to unreserve shares in an organization |
ChangeBankBalances | |
ChangeGroupMembership | All changes to the organizational membership are infallible |
CheckVoteStatus | For the module to check the status of the vote in the context of the existing module instance |
ConsistentThresholdStructure | Checks that the |
DepositWithdrawalOps | |
DeriveThresholdRequirement | Derives the threshold requirement from turnout (for |
EmpowerWithVeto | |
GenerateUniqueID | For the module to implement for its id type (typically a common double_map prefix key) |
GetCurrentVoteIdentifiers | |
GetDepositsByAccountForBank | |
GetFlatShareGroup | |
GetFullVetoContext | |
GetGroupSize | |
GetMagnitude | |
GetPetitionStatus | |
GetTotalShareIssuance | |
GetVoteOutcome | Retrieves the outcome of a vote associated with the vote identifier |
GetWeightedShareGroupShape | |
GroupMembership | Checks that the |
IDIsAvailable | For the module to implement for its id type (typically a common double_map prefix key) |
LockableProfile | Lock shares for an individual |
ManageVoteSchedule | Manages live vote schedules |
MintableSignal | Define the rate at which signal is minted for shares in an organization |
OffChainBank | |
OnChainBank | |
OnChainWithdrawalFilters | |
OpenPetition | |
OpenShareGroupVote | Open a new vote for the organization, share_id and a custom threshold requirement |
OrganizationDNS | |
PollActiveProposal | Checks the progress of a scheduled vote sequence and pushes the schedule along |
RegisterOffChainBankAccount | |
RegisterOnChainBankAccount | |
RegisterShareGroup | |
Rejected | |
RequestChanges | |
ReservableProfile | Reserve shares for an individual |
Revert | Defines how previous |
ScheduleVoteSequence | Default uses the default vote schedule configured in |
SetDefaultShareApprovalOrder | Set the default order of share groups for which approval will be required |
SetDefaultShareIdThreshold | Set the default passage, turnout thresholds for each share group |
ShareBank | Issuance logic for existing shares (not new shares) |
SignPetition | |
SubSupervisorKeyManagement | |
SudoKeyManagement | |
SupervisorKeyManagement | |
SupportedOrganizationShapes | |
UpdatePetition | |
UpdatePetitionTerms | |
VerifyShape | Checks that the |
Vetoed | |
VoteOnProposal | For module to update vote state |
VoteScheduleBuilder | Helper methods to define a default VoteSchedule using the default threshold setter and default share approval order setter |
VoteVector | |
WeightedShareGroup |