Name | Lookup | Parameters | |
|---|---|---|---|
| propose_spend | 0e00 | 2 | |
| reject_proposal | 0e01 | 1 | |
| approve_proposal | 0e02 | 1 | |
| spend | 0e03 | 2 | |
| remove_approval | 0e04 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Proposed | 0e00 | ["ProposalIndex"] | |
| Spending | 0e01 | ["BalanceOf"] | |
| Awarded | 0e02 | ["ProposalIndex","BalanceOf","AccountId"] | |
| Rejected | 0e03 | ["ProposalIndex","BalanceOf"] | |
| Burnt | 0e04 | ["BalanceOf"] | |
| Rollover | 0e05 | ["BalanceOf"] | |
| Deposit | 0e06 | ["BalanceOf"] | |
| SpendApproved | 0e07 | ["ProposalIndex","BalanceOf","AccountId"] | |
| UpdatedInactive | 0e08 | ["BalanceOf","BalanceOf"] |
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":427}} | |
| Deactivated | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| Approvals | {"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":428} |
Name | Type | Value | |
|---|---|---|---|
| ProposalBond | U32 | 50c30000 | |
| ProposalBondMinimum | U128 | 00a0724e180900000000000000000000 | |
| ProposalBondMaximum | option<U128> | 00 | |
| SpendPeriod | U32 | 80700000 | |
| Burn | U32 | 00000000 | |
| PalletId | [U8; 8] | 70792f7472737279 | |
| 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. |