subscan
Runtime Modules / Treasury
Spec Version:
Call Functions
Name
Lookup
Parameters
propose_spend20002
reject_proposal20011
approve_proposal20021
spend20032
remove_approval20041
Events
Name
Lookup
Attributes
Proposed2000["ProposalIndex"]
Spending2001["BalanceOf"]
Awarded2002["ProposalIndex","BalanceOf","AccountId"]
Rejected2003["ProposalIndex","BalanceOf"]
Burnt2004["BalanceOf"]
Rollover2005["BalanceOf"]
Deposit2006["BalanceOf"]
SpendApproved2007["ProposalIndex","BalanceOf","AccountId"]
UpdatedInactive2008["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":507}}
Deactivated{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
Approvals{"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":508}
Constants
Name
Type
Value
ProposalBondU3250c30000
ProposalBondMinimumU1280080e03779c311000000000000000000
ProposalBondMaximumoption<U128>010000c16ff28623000000000000000000
SpendPeriodU3260540000
BurnU3200000000
PalletId[U8; 8]7069636174727379
MaxApprovalsU321e000000
Error Types
Name
Docs
InsufficientProposersBalanceProposer's balance is too low.
InvalidIndexNo proposal or bounty 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.