All chains
    Preparing search index...
    fund_bounty: TxDescriptor<
        {
            asset_kind: Enum<
                {
                    V3: {
                        asset_id: XcmV3MultiassetAssetId;
                        location: { interior: XcmV3Junctions; parents: number };
                    };
                    V4: {
                        asset_id: { interior: XcmV3Junctions; parents: number };
                        location: { interior: XcmV3Junctions; parents: number };
                    };
                    V5: {
                        asset_id: { interior: XcmV5Junctions; parents: number };
                        location: { interior: XcmV5Junctions; parents: number };
                    };
                },
            >;
            curator: MultiAddress;
            metadata: FixedSizeBinary<32>;
            value: bigint;
        },
    >

    Fund a new bounty with a proposed curator, initiating the payment from the funding source to the bounty account/location.

    Must be [Config::SpendOrigin] with the Success value being at least the bounty value converted to native balance using [Config::BalanceConverter]. The converted native amount is validated against the maximum spendable amount returned by [Config::SpendOrigin].

    • The SpendOrigin must have sufficient permissions to fund the bounty.
    • The bounty value (in asset balance) is converted to native balance for validation.
    • In case of a funding failure, the bounty status must be updated with the check_status call before retrying with retry_payment call.
    • asset_kind: An indicator of the specific asset class to be funded.
    • value: The total payment amount of this bounty.
    • curator: Address of bounty curator.
    • metadata: The hash of an on-chain stored preimage with bounty metadata.

    Emits [Event::BountyCreated] and [Event::Paid] if successful.