Propose and approve a spend of treasury funds.
Must be [Config::SpendOrigin] with the Success value being at least amount.
Config::SpendOrigin
Success
amount
NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the beneficiary.
beneficiary
Emits [Event::SpendApproved] if successful.
Event::SpendApproved
Propose and approve a spend of treasury funds.
Dispatch Origin
Must be [
Config::SpendOrigin
] with theSuccess
value being at leastamount
.Details
NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the beneficiary.
Parameters
amount
: The amount to be transferred from the treasury to thebeneficiary
.beneficiary
: The destination account for the transfer.Events
Emits [
Event::SpendApproved
] if successful.