subscan
Runtime Modules / Treasury
Spec Version:
Call Functions
Name
Lookup
Parameters
propose_spend0d002
reject_proposal0d011
approve_proposal0d021
spend0d032
remove_approval0d041
Events
Name
Lookup
Attributes
Proposed0d00["ProposalIndex"]
Spending0d01["BalanceOf"]
Awarded0d02["ProposalIndex","BalanceOf","AccountId"]
Rejected0d03["ProposalIndex","BalanceOf"]
Burnt0d04["BalanceOf"]
Rollover0d05["BalanceOf"]
Deposit0d06["BalanceOf"]
SpendApproved0d07["ProposalIndex","BalanceOf","AccountId"]
UpdatedInactive0d08["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":255}}
Deactivated{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
Approvals{"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":256}
Constants
Name
Type
Value
ProposalBondU3200000000
ProposalBondMinimumU128000080f64ae1c7022d15000000000000
ProposalBondMaximumoption<U128>01000080f64ae1c7022d15000000000000
SpendPeriodU3240380000
BurnU3200000000
PalletId[U8; 8]61302f7472737279
MaxApprovalsU3214000000
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.