Name | Lookup | Parameters | |
---|---|---|---|
propose_spend | 0f00 | 2 | |
reject_proposal | 0f01 | 1 | |
approve_proposal | 0f02 | 1 | |
spend | 0f03 | 2 | |
remove_approval | 0f04 | 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":329}} | |
Approvals | {"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":330} |
Name | Type | Value | |
---|---|---|---|
ProposalBond | U32 | 50c30000 | |
ProposalBondMinimum | U128 | 000064a7b3b6e00d0000000000000000 | |
ProposalBondMaximum | option<U128> | 01000088b116afe3b50200000000000000 | |
SpendPeriod | U32 | 201c0000 | |
Burn | U32 | 00000000 | |
PalletId | [U8; 8] | 6269742f74727379 | |
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. |