subscan
Runtime Modules / Treasury
Spec Version:
Call Functions
Name
Lookup
Parameters
propose_spend23002
reject_proposal23011
approve_proposal23021
spend23032
remove_approval23041
Events
Name
Lookup
Attributes
Proposed2300["ProposalIndex"]
Spending2301["BalanceOf"]
Awarded2302["ProposalIndex","BalanceOf","AccountId"]
Rejected2303["ProposalIndex","BalanceOf"]
Burnt2304["BalanceOf"]
Rollover2305["BalanceOf"]
Deposit2306["BalanceOf"]
SpendApproved2307["ProposalIndex","BalanceOf","AccountId"]
UpdatedInactive2308["BalanceOf","BalanceOf"]
Storage Functions
Name
Type
ProposalCount{"origin":"PlainType","plain_type":"U32","PlainTypeValue":8}
Proposals{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_treasury:Proposal","keys_id":8,"value_id":409}}
Deactivated{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
Approvals{"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":410}
Constants
Name
Type
Value
ProposalBondU3250c30000
ProposalBondMinimumU128000082dfe40d47000000000000000000
ProposalBondMaximumoption<U128>00
SpendPeriodU64c0a8000000000000
BurnU3200000000
PalletId[U8; 8]6b696c742f747379
MaxApprovalsU3264000000
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.