Name | Lookup | Parameters | |
|---|---|---|---|
| propose_spend | 0d00 | 2 | |
| reject_proposal | 0d01 | 1 | |
| approve_proposal | 0d02 | 1 | |
| spend_local | 0d03 | 2 | |
| remove_approval | 0d04 | 1 | |
| spend | 0d05 | 4 | |
| payout | 0d06 | 1 | |
| check_status | 0d07 | 1 | |
| void_spend | 0d08 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Proposed | 0d00 | ["ProposalIndex"] | |
| Spending | 0d01 | ["BalanceOf"] | |
| Awarded | 0d02 | ["ProposalIndex","BalanceOf","AccountId"] | |
| Rejected | 0d03 | ["ProposalIndex","BalanceOf"] | |
| Burnt | 0d04 | ["BalanceOf"] | |
| Rollover | 0d05 | ["BalanceOf"] | |
| Deposit | 0d06 | ["BalanceOf"] | |
| SpendApproved | 0d07 | ["ProposalIndex","BalanceOf","AccountId"] | |
| UpdatedInactive | 0d08 | ["BalanceOf","BalanceOf"] | |
| AssetSpendApproved | 0d09 | ["SpendIndex","AssetKind","AssetBalanceOf","Beneficiary","BlockNumberFor","BlockNumberFor"] | |
| AssetSpendVoided | 0d0a | ["SpendIndex"] | |
| Paid | 0d0b | ["SpendIndex","<Paymaster as Pay>::Id"] | |
| PaymentFailed | 0d0c | ["SpendIndex","<Paymaster as Pay>::Id"] | |
| SpendProcessed | 0d0d | ["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":295}} | |
| Deactivated | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| Approvals | {"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":296} | |
| 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":297}} |
Name | Type | Value | |
|---|---|---|---|
| ProposalBond | U32 | 00000000 | |
| ProposalBondMinimum | U128 | 000080f64ae1c7022d15000000000000 | |
| ProposalBondMaximum | option<U128> | 01000080f64ae1c7022d15000000000000 | |
| SpendPeriod | U32 | 40380000 | |
| Burn | U32 | 00000000 | |
| PalletId | [U8; 8] | 61302f7472737279 | |
| MaxApprovals | U32 | 14000000 | |
| PayoutPeriod | U32 | 00000000 |
Name | Docs |
|---|---|
| InsufficientProposersBalance | Proposer's balance is too low. |
| 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. |