[][src]Trait sunshine_util::traits::ReserveProfile

pub trait ReserveProfile<OrgId, AccountId, Shares>: ShareIssuance<OrgId, AccountId, Shares> {
    fn reserve(
        organization: OrgId,
        who: &AccountId,
        amount: Option<Shares>
    ) -> Result<Shares>;
fn unreserve(
        organization: OrgId,
        who: &AccountId,
        amount: Option<Shares>
    ) -> Result<Shares>; }

Required methods

fn reserve(
    organization: OrgId,
    who: &AccountId,
    amount: Option<Shares>
) -> Result<Shares>

fn unreserve(
    organization: OrgId,
    who: &AccountId,
    amount: Option<Shares>
) -> Result<Shares>

Loading content...

Implementors

Loading content...