Name | Lookup | Parameters | |
---|---|---|---|
propose_spend | 5000 | 2 | |
reject_proposal | 5001 | 1 | |
approve_proposal | 5002 | 1 | |
spend_local | 5003 | 2 | |
remove_approval | 5004 | 1 | |
spend | 5005 | 4 | |
payout | 5006 | 1 | |
check_status | 5007 | 1 | |
void_spend | 5008 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
Proposed | 5000 | ["ProposalIndex"] | |
Spending | 5001 | ["BalanceOf"] | |
Awarded | 5002 | ["ProposalIndex","BalanceOf","AccountId"] | |
Rejected | 5003 | ["ProposalIndex","BalanceOf"] | |
Burnt | 5004 | ["BalanceOf"] | |
Rollover | 5005 | ["BalanceOf"] | |
Deposit | 5006 | ["BalanceOf"] | |
SpendApproved | 5007 | ["ProposalIndex","BalanceOf","AccountId"] | |
UpdatedInactive | 5008 | ["BalanceOf","BalanceOf"] | |
AssetSpendApproved | 5009 | ["SpendIndex","AssetKind","AssetBalanceOf","Beneficiary","BlockNumberFor","BlockNumberFor"] | |
AssetSpendVoided | 500a | ["SpendIndex"] | |
Paid | 500b | ["SpendIndex","<Paymaster as Pay>::Id"] | |
PaymentFailed | 500c | ["SpendIndex","<Paymaster as Pay>::Id"] | |
SpendProcessed | 500d | ["SpendIndex"] |
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":582}} | |
Deactivated | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
Approvals | {"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":583} | |
SpendCount | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
Spends | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_treasury:SpendStatus","keys_id":4,"value_id":585}} |
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 | |
PayoutPeriod | U32 | c04b0300 |
Name | Docs |
---|---|
InsufficientProposersBalance | Proposer's balance is too low. |
InvalidIndex | No proposal, bounty or spend 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. |
FailedToConvertBalance | The balance of the asset kind is not convertible to the balance of the native asset. |
SpendExpired | The spend has expired and cannot be claimed. |
EarlyPayout | The spend is not yet eligible for payout. |
AlreadyAttempted | The payment has already been attempted. |
PayoutError | There was some issue with the mechanism of payment. |
NotAttempted | The payout was not yet attempted/claimed. |
Inconclusive | The payment has neither failed nor succeeded yet. |