Name | Lookup | Parameters | |
|---|---|---|---|
| spend_local | 0f03 | 2 | |
| remove_approval | 0f04 | 1 | |
| spend | 0f05 | 4 | |
| payout | 0f06 | 1 | |
| check_status | 0f07 | 1 | |
| void_spend | 0f08 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Spending | 0f00 | ["BalanceOf"] | |
| Awarded | 0f01 | ["ProposalIndex","BalanceOf","AccountId"] | |
| Burnt | 0f02 | ["BalanceOf"] | |
| Rollover | 0f03 | ["BalanceOf"] | |
| Deposit | 0f04 | ["BalanceOf"] | |
| SpendApproved | 0f05 | ["ProposalIndex","BalanceOf","AccountId"] | |
| UpdatedInactive | 0f06 | ["BalanceOf","BalanceOf"] | |
| AssetSpendApproved | 0f07 | ["SpendIndex","AssetKind","AssetBalanceOf","Beneficiary","BlockNumberFor","BlockNumberFor"] | |
| AssetSpendVoided | 0f08 | ["SpendIndex"] | |
| Paid | 0f09 | ["SpendIndex","<Paymaster as Pay>::Id"] | |
| PaymentFailed | 0f0a | ["SpendIndex","<Paymaster as Pay>::Id"] | |
| SpendProcessed | 0f0b | ["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":764}} | |
| Deactivated | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| Approvals | {"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":765} | |
| 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":767}} | |
| LastSpendPeriod | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} |
Name | Type | Value | |
|---|---|---|---|
| SpendPeriod | U32 | 00460500 | |
| Burn | U32 | 00000000 | |
| PalletId | [U8; 8] | 65662f636d6e7479 | |
| MaxApprovals | U32 | 64000000 | |
| PayoutPeriod | U32 | 80970600 | |
| pot_account | AccountId | 6d6f646c65662f636d6e74790000000000000000000000000000000000000000 |
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. |