subscan
Runtime Modules / CommunityPool
Spec Version:
Call Functions
Name
Lookup
Parameters
spend_local0f032
remove_approval0f041
spend0f054
payout0f061
check_status0f071
void_spend0f081
Events
Name
Lookup
Attributes
Spending0f00["BalanceOf"]
Awarded0f01["ProposalIndex","BalanceOf","AccountId"]
Burnt0f02["BalanceOf"]
Rollover0f03["BalanceOf"]
Deposit0f04["BalanceOf"]
SpendApproved0f05["ProposalIndex","BalanceOf","AccountId"]
UpdatedInactive0f06["BalanceOf","BalanceOf"]
AssetSpendApproved0f07["SpendIndex","AssetKind","AssetBalanceOf","Beneficiary","BlockNumberFor","BlockNumberFor"]
AssetSpendVoided0f08["SpendIndex"]
Paid0f09["SpendIndex","<Paymaster as Pay>::Id"]
PaymentFailed0f0a["SpendIndex","<Paymaster as Pay>::Id"]
SpendProcessed0f0b["SpendIndex"]
Storage Functions
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":659}}
Deactivated{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
Approvals{"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":660}
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":662}}
Constants
Name
Type
Value
SpendPeriodU3200460500
BurnU3200000000
PalletId[U8; 8]65662f636d6e7479
MaxApprovalsU3264000000
PayoutPeriodU3280970600
Error Types
Name
Docs
InvalidIndexNo proposal, bounty or spend at that index.
TooManyApprovalsToo many approvals in the queue.
InsufficientPermissionThe spend origin is valid but the amount it is allowed to spend is lower than theamount to be spent.
ProposalNotApprovedProposal has not been approved.
FailedToConvertBalanceThe balance of the asset kind is not convertible to the balance of the native asset.
SpendExpiredThe spend has expired and cannot be claimed.
EarlyPayoutThe spend is not yet eligible for payout.
AlreadyAttemptedThe payment has already been attempted.
PayoutErrorThere was some issue with the mechanism of payment.
NotAttemptedThe payout was not yet attempted/claimed.
InconclusiveThe payment has neither failed nor succeeded yet.