[−][src]Module sunshine_util::traits
Traits
AccessGenesis | |
AccessProfile | |
Apply | Defines how |
ApplyVote | Applies vote in the context of the existing module instance |
ApproveGrant | |
ApproveWithoutTransfer | |
Approved | Defines conditions for vote passage (for |
BankDepositsAndSpends | |
BankReservations | |
BankSpends | |
BankStorageInfo | |
BurnableSignal | Define the rate at which signal is burned to unreserve shares in an organization |
ChainSudoPermissions | |
ChangeGroupMembership | All changes to the organizational membership are infallible |
CheckBankBalances | |
CheckVoteStatus | For the module to check the status of the vote in the context of the existing module instance |
CommitAndTransfer | |
CommitSpendReservation | |
ConsistentThresholdStructure | Checks that the |
CreateBounty | |
DepositIntoBank | |
DepositSpendOps | |
DeriveThresholdRequirement | Derives the threshold requirement from turnout (for |
FlatShareWrapper | |
FoundationParts | |
FreeToReserved | |
GenerateUniqueID | |
GetBalance | |
GetCurrentVoteIdentifiers | |
GetFlatShareGroup | |
GetGroupSize | |
GetInnerOuterShareGroups | |
GetMagnitude | |
GetVoteOutcome | Retrieves the outcome of a vote associated with the vote identifier |
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 |
MoveFundsOutCommittedOnly | |
MoveFundsOutUnCommittedOnly | |
OffChainBank | |
OnChainBank | |
OpenPetition | |
OpenShareGroupVote | Open a new vote for the organization, share_id and a custom threshold requirement |
OrgChecks | |
OrganizationDNS | |
OrganizationSupervisorPermissions | |
OwnershipProportionCalculations | |
PollActiveProposal | Checks the progress of a scheduled vote sequence and pushes the schedule along |
RegisterBankAccount | |
RegisterFoundation | |
RegisterOffChainBankAccount | |
RegisterShareGroup | |
Rejected | |
RequestChanges | |
ReservableProfile | Reserve shares for an individual |
Revert | Defines how previous |
ScheduleVoteSequence | Default uses the default vote schedule configured in |
SeededGenerateUniqueID | |
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 |
SetMakeTransfer | |
ShareBank | Issuance logic for existing shares (not new shares) |
ShareGroupChecks | |
SignPetition | |
SpendApprovedGrant | |
StartReview | |
StartTeamConsentPetition | |
SubGroupSupervisorPermissions | |
SubSubGroupSupervisorPermissions | |
SubmitGrantApplication | |
SubmitMilestone | |
SuperviseGrantApplication | |
SupervisorPermissions | |
SupportedOrganizationShapes | |
TermSheetExit | |
TermSheetIssuance | |
ThresholdVote | |
UpdateOutcome | |
UpdatePetition | |
UpdatePetitionTerms | |
UseTermsOfAgreement | |
VerifyShape | Checks that the |
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 | |
WeightedShareIssuanceWrapper | |
WeightedShareWrapper |