Dock
subscan
Runtime Modules / Treasury
Spec Version:
Call Functions
Name
Lookup
Parameters
propose_spend22002
reject_proposal22011
approve_proposal22021
spend22032
remove_approval22041
Events
Name
Lookup
Attributes
Proposed2200["ProposalIndex"]
Spending2201["BalanceOf"]
Awarded2202["ProposalIndex","BalanceOf","AccountId"]
Rejected2203["ProposalIndex","BalanceOf"]
Burnt2204["BalanceOf"]
Rollover2205["BalanceOf"]
Deposit2206["BalanceOf"]
SpendApproved2207["ProposalIndex","BalanceOf","AccountId"]
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":796}}
Approvals{"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":797}
Constants
Name
Type
Value
ProposalBondU3250c30000
ProposalBondMinimumU6440420f0000000000
ProposalBondMaximumoption<U64>00
SpendPeriodU3280700000
BurnU3200000000
PalletId[U8; 8]5472656173757279
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.