referrerpolicy=no-referrer-when-downgrade

Type Alias BountyOf

Source
pub type BountyOf<T, I> = Bounty<<T as Config>::AccountId, <T as Config<I>>::Balance, <T as Config<I>>::AssetKind, <T as Config>::Hash, PaymentIdOf<T, I>, <T as Config<I>>::Beneficiary>;
Expand description

Convenience alias for Bounty.

Aliased Type§

struct BountyOf<T, I> {
    pub asset_kind: <T as Config<I>>::AssetKind,
    pub value: <T as Config<I>>::Balance,
    pub metadata: <T as Config>::Hash,
    pub status: BountyStatus<<T as Config>::AccountId, <<T as Config<I>>::Paymaster as PayWithSource>::Id, <T as Config<I>>::Beneficiary>,
}

Fields§

§asset_kind: <T as Config<I>>::AssetKind

The kind of asset this bounty is rewarded in.

§value: <T as Config<I>>::Balance

The amount that should be paid if the bounty is rewarded, including beneficiary payout and possible child bounties.

The asset class determined by asset_kind.

§metadata: <T as Config>::Hash

The metadata concerning the bounty.

The Hash refers to the preimage of the Preimages provider which can be a JSON dump or IPFS hash of a JSON file.

§status: BountyStatus<<T as Config>::AccountId, <<T as Config<I>>::Paymaster as PayWithSource>::Id, <T as Config<I>>::Beneficiary>

The status of this bounty.