Vara
subscan
Runtime Modules / Treasury
Spec Version:
Call Functions
Name
Lookup
Parameters
propose_spend0e002
reject_proposal0e011
approve_proposal0e021
spend0e032
remove_approval0e041
Events
Name
Lookup
Attributes
Proposed0e00["ProposalIndex"]
Spending0e01["BalanceOf"]
Awarded0e02["ProposalIndex","BalanceOf","AccountId"]
Rejected0e03["ProposalIndex","BalanceOf"]
Burnt0e04["BalanceOf"]
Rollover0e05["BalanceOf"]
Deposit0e06["BalanceOf"]
SpendApproved0e07["ProposalIndex","BalanceOf","AccountId"]
UpdatedInactive0e08["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":435}}
Deactivated{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
Approvals{"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":436}
Constants
Name
Type
Value
ProposalBondU3250c30000
ProposalBondMinimumU1280040e59c301200000000000000000000
ProposalBondMaximumoption<U128>00
SpendPeriodU3280700000
BurnU3220a10700
PalletId[U8; 8]70792f7472737279
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.