Name | Lookup | Parameters | |
---|---|---|---|
propose_spend | 5000 | 2 | |
reject_proposal | 5001 | 1 | |
approve_proposal | 5002 | 1 | |
spend | 5003 | 2 | |
remove_approval | 5004 | 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":442}} | |
Approvals | {"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":443} |
Name | Type | Value | |
---|---|---|---|
ProposalBond | U32 | 50c30000 | |
ProposalBondMinimum | U128 | 000010632d5ec76b0500000000000000 | |
ProposalBondMaximum | option<U128> | 00 | |
SpendPeriod | U32 | c0a80000 | |
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. |