Name | Lookup | Parameters | |
|---|---|---|---|
| spend_local | 1203 | 2 | |
| remove_approval | 1204 | 1 | |
| spend | 1205 | 4 | |
| payout | 1206 | 1 | |
| check_status | 1207 | 1 | |
| void_spend | 1208 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Spending | 1200 | ["BalanceOf"] | |
| Awarded | 1201 | ["ProposalIndex","BalanceOf","AccountId"] | |
| Burnt | 1202 | ["BalanceOf"] | |
| Rollover | 1203 | ["BalanceOf"] | |
| Deposit | 1204 | ["BalanceOf"] | |
| SpendApproved | 1205 | ["ProposalIndex","BalanceOf","AccountId"] | |
| UpdatedInactive | 1206 | ["BalanceOf","BalanceOf"] | |
| AssetSpendApproved | 1207 | ["SpendIndex","AssetKind","AssetBalanceOf","Beneficiary","BlockNumberFor","BlockNumberFor"] | |
| AssetSpendVoided | 1208 | ["SpendIndex"] | |
| Paid | 1209 | ["SpendIndex","<Paymaster as Pay>::Id"] | |
| PaymentFailed | 120a | ["SpendIndex","<Paymaster as Pay>::Id"] | |
| SpendProcessed | 120b | ["SpendIndex"] |
Name | Type | |
|---|---|---|
| ProposalCount | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| Proposals | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_treasury:Proposal","keys_id":4,"value_id":654}} | |
| Deactivated | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| Approvals | {"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":655} | |
| SpendCount | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| Spends | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_treasury:SpendStatus","keys_id":4,"value_id":656}} | |
| LastSpendPeriod | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} |
Name | Type | Value | |
|---|---|---|---|
| SpendPeriod | U32 | 80510100 | |
| Burn | U32 | 00000000 | |
| PalletId | [U8; 8] | 70792f7472737279 | |
| MaxApprovals | U32 | 64000000 | |
| PayoutPeriod | U32 | 80c61300 |
Name | Docs |
|---|---|
| InvalidIndex | No proposal, bounty or spend at that index. |
| TooManyApprovals | Too many approvals in the queue. |
| InsufficientPermission | The spend origin is valid but the amount it is allowed to spend is lower than theamount to be spent. |
| ProposalNotApproved | Proposal has not been approved. |
| FailedToConvertBalance | The balance of the asset kind is not convertible to the balance of the native asset. |
| SpendExpired | The spend has expired and cannot be claimed. |
| EarlyPayout | The spend is not yet eligible for payout. |
| AlreadyAttempted | The payment has already been attempted. |
| PayoutError | There was some issue with the mechanism of payment. |
| NotAttempted | The payout was not yet attempted/claimed. |
| Inconclusive | The payment has neither failed nor succeeded yet. |