Name | Lookup | Parameters | |
|---|---|---|---|
| propose_spend | 2200 | 2 | |
| reject_proposal | 2201 | 1 | |
| approve_proposal | 2202 | 1 | |
| spend | 2203 | 2 | |
| remove_approval | 2204 | 1 |
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":572}} | |
| Approvals | {"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":573} |
Name | Type | Value | |
|---|---|---|---|
| ProposalBond | U32 | 50c30000 | |
| ProposalBondMinimum | U64 | 40420f0000000000 | |
| ProposalBondMaximum | option<U64> | 00 | |
| SpendPeriod | U32 | 80700000 | |
| Burn | U32 | 00000000 | |
| PalletId | [U8; 8] | 5472656173757279 | |
| MaxApprovals | U32 | 64000000 |
Name | Docs |
|---|---|
| InsufficientProposersBalance | Proposer's balance is too low. |
| InvalidIndex | No proposal or bounty 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. |