subscan
Runtime Modules / CommunityTreasury
Spec Version:
Call Functions
Name
Lookup
Parameters
propose_spend6c002
reject_proposal6c011
approve_proposal6c021
Events
Name
Lookup
Attributes
Proposed6c00["ProposalIndex"]
Spending6c01["BalanceOf"]
Awarded6c02["ProposalIndex","BalanceOf","AccountId"]
Rejected6c03["ProposalIndex","BalanceOf"]
Burnt6c04["BalanceOf"]
Rollover6c05["BalanceOf"]
Deposit6c06["BalanceOf"]
UpdatedInactive6c08["BalanceOf","BalanceOf"]
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":697}}
Deactivated{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
Approvals{"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":698}
Constants
Name
Type
Value
ProposalBondU3250c30000
ProposalBondMinimumU128000010632d5ec76b0500000000000000
ProposalBondMaximumoption<U128>01000040b2bac9e0191e02000000000000
SpendPeriodU32c0a80000
BurnU3200000000
PalletId[U8; 8]70792f636f6d7472
MaxApprovalsU3240000000
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.