Name | Lookup | Parameters | |
---|---|---|---|
propose_spend | 0900 | 2 | |
reject_proposal | 0901 | 1 | |
approve_proposal | 0902 | 1 | |
spend_local | 0903 | 2 | |
remove_approval | 0904 | 1 | |
spend | 0905 | 4 | |
payout | 0906 | 1 | |
check_status | 0907 | 1 | |
void_spend | 0908 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
Proposed | 0900 | ["ProposalIndex"] | |
Spending | 0901 | ["BalanceOf"] | |
Awarded | 0902 | ["ProposalIndex","BalanceOf","AccountId"] | |
Rejected | 0903 | ["ProposalIndex","BalanceOf"] | |
Burnt | 0904 | ["BalanceOf"] | |
Rollover | 0905 | ["BalanceOf"] | |
Deposit | 0906 | ["BalanceOf"] | |
SpendApproved | 0907 | ["ProposalIndex","BalanceOf","AccountId"] | |
UpdatedInactive | 0908 | ["BalanceOf","BalanceOf"] | |
AssetSpendApproved | 0909 | ["SpendIndex","AssetKind","AssetBalanceOf","Beneficiary","BlockNumberFor","BlockNumberFor"] | |
AssetSpendVoided | 090a | ["SpendIndex"] | |
Paid | 090b | ["SpendIndex","<Paymaster as Pay>::Id"] | |
PaymentFailed | 090c | ["SpendIndex","<Paymaster as Pay>::Id"] | |
SpendProcessed | 090d | ["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":372}} | |
Deactivated | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
Approvals | {"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":373} | |
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":375}} |
Name | Type | Value | |
---|---|---|---|
ProposalBond | U32 | 50c30000 | |
ProposalBondMinimum | U128 | 000064a7b3b6e00d0000000000000000 | |
ProposalBondMaximum | option<U128> | 00 | |
SpendPeriod | U32 | 40380000 | |
Burn | U32 | 00000000 | |
PalletId | [U8; 8] | 70792f7472737279 | |
MaxApprovals | U32 | 64000000 | |
PayoutPeriod | U32 | 80970600 |
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. |