Name | Lookup | Parameters | |
---|---|---|---|
propose_spend | 2500 | 2 | |
reject_proposal | 2501 | 1 | |
approve_proposal | 2502 | 1 | |
spend_local | 2503 | 2 | |
remove_approval | 2504 | 1 | |
spend | 2505 | 4 | |
payout | 2506 | 1 | |
check_status | 2507 | 1 | |
void_spend | 2508 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
Proposed | 2500 | ["ProposalIndex"] | |
Spending | 2501 | ["BalanceOf"] | |
Awarded | 2502 | ["ProposalIndex","BalanceOf","AccountId"] | |
Rejected | 2503 | ["ProposalIndex","BalanceOf"] | |
Burnt | 2504 | ["BalanceOf"] | |
Rollover | 2505 | ["BalanceOf"] | |
Deposit | 2506 | ["BalanceOf"] | |
SpendApproved | 2507 | ["ProposalIndex","BalanceOf","AccountId"] | |
UpdatedInactive | 2508 | ["BalanceOf","BalanceOf"] | |
AssetSpendApproved | 2509 | ["SpendIndex","AssetKind","AssetBalanceOf","Beneficiary","BlockNumberFor","BlockNumberFor"] | |
AssetSpendVoided | 250a | ["SpendIndex"] | |
Paid | 250b | ["SpendIndex","<Paymaster as Pay>::Id"] | |
PaymentFailed | 250c | ["SpendIndex","<Paymaster as Pay>::Id"] | |
SpendProcessed | 250d | ["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":725}} | |
Deactivated | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
Approvals | {"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":726} | |
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":727}} |
Name | Type | Value | |
---|---|---|---|
ProposalBond | U32 | 50c30000 | |
ProposalBondMinimum | U128 | 0040e59c301200000000000000000000 | |
ProposalBondMaximum | option<U128> | 010080c6a47e8d03000000000000000000 | |
SpendPeriod | U32 | 80510100 | |
Burn | U32 | d0070000 | |
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. |