[−][src]Trait sunshine_util::traits::ShareInformation
Associated Types
type Profile: AccessProfile<Shares>
type Genesis: From<Vec<(AccountId, Shares)>> + Into<SimpleShareGenesis<AccountId, Shares>> + VerifyShape + AccessGenesis<AccountId, Shares>
Required methods
fn outstanding_shares(organization: OrgId) -> Shares
Gets the total number of shares issued for an organization's share identifier
fn get_share_profile(
organization: OrgId,
who: &AccountId
) -> Option<Self::Profile>
organization: OrgId,
who: &AccountId
) -> Option<Self::Profile>
fn get_membership_with_shape(organization: OrgId) -> Option<Self::Genesis>
Returns the entire membership group associated with a share identifier, fallible bc checks existence