Name | Lookup | Parameters | |
---|---|---|---|
propose_spend | 3300 | 2 | |
reject_proposal | 3301 | 1 | |
approve_proposal | 3302 | 1 | |
spend | 3303 | 2 | |
remove_approval | 3304 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
Proposed | 3300 | ["ProposalIndex"] | |
Spending | 3301 | ["BalanceOf"] | |
Awarded | 3302 | ["ProposalIndex","BalanceOf","AccountId"] | |
Rejected | 3303 | ["ProposalIndex","BalanceOf"] | |
Burnt | 3304 | ["BalanceOf"] | |
Rollover | 3305 | ["BalanceOf"] | |
Deposit | 3306 | ["BalanceOf"] | |
SpendApproved | 3307 | ["ProposalIndex","BalanceOf","AccountId"] | |
UpdatedInactive | 3308 | ["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":444}} | |
Deactivated | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
Approvals | {"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":445} |
Name | Type | Value | |
---|---|---|---|
ProposalBond | U32 | 50c30000 | |
ProposalBondMinimum | U128 | 00e40b54020000000000000000000000 | |
ProposalBondMaximum | option<U128> | 0100743ba40b0000000000000000000000 | |
SpendPeriod | U32 | e0c40000 | |
Burn | U32 | 40420f00 | |
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. |