subscan
Runtime Modules / CommunityTreasury
Spec Version:
Call Functions
Events
Name
Lookup
Attributes
Proposed6c00["ProposalIndex"]
Spending6c01["BalanceOf"]
Awarded6c02["ProposalIndex","BalanceOf","AccountId"]
Rejected6c03["ProposalIndex","BalanceOf"]
Burnt6c04["BalanceOf"]
Rollover6c05["BalanceOf"]
Deposit6c06["BalanceOf"]
SpendApproved6c07["ProposalIndex","BalanceOf","AccountId"]
UpdatedInactive6c08["BalanceOf","BalanceOf"]
AssetSpendApproved6c09["SpendIndex","AssetKind","AssetBalanceOf","Beneficiary","BlockNumberFor","BlockNumberFor"]
AssetSpendVoided6c0a["SpendIndex"]
Paid6c0b["SpendIndex","<Paymaster as Pay>::Id"]
PaymentFailed6c0c["SpendIndex","<Paymaster as Pay>::Id"]
SpendProcessed6c0d["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":677}}
Deactivated{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
Approvals{"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":678}
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":679}}
Constants
Name
Type
Value
ProposalBondU3250c30000
ProposalBondMinimumU128000010632d5ec76b0500000000000000
ProposalBondMaximumoption<U128>01000040b2bac9e0191e02000000000000
SpendPeriodU3260540000
BurnU3200000000
PalletId[U8; 8]70792f636f6d7472
MaxApprovalsU3240000000
PayoutPeriodU3200000000
Error Types
Name
Docs
InsufficientProposersBalanceProposer's balance is too low.
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.