Spends must be claimed within some temporal bounds. A spend may be claimed within one
[Config::PayoutPeriod] from the valid_from block.
In case of a payout failure, the spend status must be updated with the check_status
dispatchable before retrying with the current function.
Claim a spend.
Dispatch Origin
Must be signed
Details
Spends must be claimed within some temporal bounds. A spend may be claimed within one [
Config::PayoutPeriod
] from thevalid_from
block. In case of a payout failure, the spend status must be updated with thecheck_status
dispatchable before retrying with the current function.Parameters
index
: The spend index.Events
Emits [
Event::Paid
] if successful.