[−][src]Trait sunshine_util::traits::SubmitMilestone
Associated Types
type Milestone: StartReview<Self::MultiVoteId> + ApproveWithoutTransfer + SetMakeTransfer<Self::BankId, u32>
type MilestoneState
Required methods
fn submit_milestone(
caller: AccountId,
bounty_id: u32,
application_id: u32,
team_id: Self::TeamId,
submission_reference: Hash,
amount_requested: Currency
) -> Result<u32, DispatchError>
caller: AccountId,
bounty_id: u32,
application_id: u32,
team_id: Self::TeamId,
submission_reference: Hash,
amount_requested: Currency
) -> Result<u32, DispatchError>
fn trigger_milestone_review(
caller: AccountId,
bounty_id: u32,
milestone_id: u32
) -> Result<Self::MilestoneState, DispatchError>
caller: AccountId,
bounty_id: u32,
milestone_id: u32
) -> Result<Self::MilestoneState, DispatchError>
fn sudo_approves_milestone(
caller: AccountId,
bounty_id: u32,
milestone_id: u32
) -> Result<Self::MilestoneState, DispatchError>
caller: AccountId,
bounty_id: u32,
milestone_id: u32
) -> Result<Self::MilestoneState, DispatchError>
fn poll_milestone(
caller: AccountId,
bounty_id: u32,
milestone_id: u32
) -> Result<Self::MilestoneState, DispatchError>
caller: AccountId,
bounty_id: u32,
milestone_id: u32
) -> Result<Self::MilestoneState, DispatchError>