All chains
    Preparing search index...
    spend: TxDescriptor<
        {
            amount: bigint;
            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 };
                    };
                },
            >;
            beneficiary: Enum<
                {
                    V4: {
                        account_id: { interior: XcmV3Junctions; parents: number };
                        location: { interior: XcmV3Junctions; parents: number };
                    };
                    V5: {
                        account_id: { interior: XcmV5Junctions; parents: number };
                        location: { interior: XcmV5Junctions; parents: number };
                    };
                },
            >;
            valid_from?: number;
        },
    >

    Propose and approve a spend of treasury funds.

    Must be [Config::SpendOrigin] with the Success value being at least amount of asset_kind in the native asset. The amount of asset_kind is converted for assertion using the [Config::BalanceConverter].

    Create an approved spend for transferring a specific amount of asset_kind to a designated beneficiary. The spend must be claimed using the payout dispatchable within the [Config::PayoutPeriod].

    • asset_kind: An indicator of the specific asset class to be spent.
    • amount: The amount to be transferred from the treasury to the beneficiary.
    • beneficiary: The beneficiary of the spend.
    • valid_from: The block number from which the spend can be claimed. It can refer to the past if the resulting spend has not yet expired according to the [Config::PayoutPeriod]. If None, the spend can be claimed immediately after approval.

    Emits [Event::AssetSpendApproved] if successful.