subscan
Runtime Modules / Treasury
Spec Version:
Call Functions
Name
Lookup
Parameters
propose_spend49002
reject_proposal49011
approve_proposal49021
spend49032
remove_approval49041
Events
Name
Lookup
Attributes
Proposed4900["ProposalIndex"]
Spending4901["BalanceOf"]
Awarded4902["ProposalIndex","BalanceOf","AccountId"]
Rejected4903["ProposalIndex","BalanceOf"]
Burnt4904["BalanceOf"]
Rollover4905["BalanceOf"]
Deposit4906["BalanceOf"]
SpendApproved4907["ProposalIndex","BalanceOf","AccountId"]
UpdatedInactive4908["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":454}}
Deactivated{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
Approvals{"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":455}
Constants
Name
Type
Value
ProposalBondU3250c30000
ProposalBondMinimumU12805000000000000000000000000000000
ProposalBondMaximumoption<U128>00
SpendPeriodU322c010000
BurnU3200000000
PalletId[U8; 8]6d6f642f74727379
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.