Name | Lookup | Parameters | |
---|---|---|---|
propose_spend | 0400 | 2 | |
reject_proposal | 0401 | 1 | |
approve_proposal | 0402 | 1 | |
spend | 0403 | 2 | |
remove_approval | 0404 | 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":180}} | |
Approvals | {"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":181} |
Name | Type | Value | |
---|---|---|---|
ProposalBond | U32 | 30750000 | |
ProposalBondMinimum | U128 | 0000c16ff28623000000000000000000 | |
ProposalBondMaximum | option<U128> | 010000c52ebca2b1000000000000000000 | |
SpendPeriod | U32 | 60540000 | |
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. |