[−][src]Trait sunshine_util::traits::CreateBounty
Associated Types
type BountyInfo
type ReviewCommittee
Required methods
fn screen_bounty_creation(
foundation: Self::OrgId,
caller: AccountId,
bank_account: Self::BankId,
description: Hash,
amount_reserved_for_bounty: Currency,
amount_claimed_available: Currency,
acceptance_committee: Self::ReviewCommittee,
supervision_committee: Option<Self::ReviewCommittee>
) -> Result<Self::BountyInfo, DispatchError>
foundation: Self::OrgId,
caller: AccountId,
bank_account: Self::BankId,
description: Hash,
amount_reserved_for_bounty: Currency,
amount_claimed_available: Currency,
acceptance_committee: Self::ReviewCommittee,
supervision_committee: Option<Self::ReviewCommittee>
) -> Result<Self::BountyInfo, DispatchError>
fn create_bounty(
foundation: Self::OrgId,
caller: AccountId,
bank_account: Self::BankId,
description: Hash,
amount_reserved_for_bounty: Currency,
amount_claimed_available: Currency,
acceptance_committee: Self::ReviewCommittee,
supervision_committee: Option<Self::ReviewCommittee>
) -> Result<Self::BountyId, DispatchError>
foundation: Self::OrgId,
caller: AccountId,
bank_account: Self::BankId,
description: Hash,
amount_reserved_for_bounty: Currency,
amount_claimed_available: Currency,
acceptance_committee: Self::ReviewCommittee,
supervision_committee: Option<Self::ReviewCommittee>
) -> Result<Self::BountyId, DispatchError>