subscan
Runtime Modules / Treasury
Spec Version:
Call Functions
Name
Lookup
Parameters
propose_spend46002
reject_proposal46011
approve_proposal46021
spend46032
remove_approval46041
Events
Name
Lookup
Attributes
Proposed4600["ProposalIndex"]
Spending4601["BalanceOf"]
Awarded4602["ProposalIndex","BalanceOf","AccountId"]
Rejected4603["ProposalIndex","BalanceOf"]
Burnt4604["BalanceOf"]
Rollover4605["BalanceOf"]
Deposit4606["BalanceOf"]
SpendApproved4607["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":411}}
Approvals{"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":412}
Constants
Name
Type
Value
ProposalBondU3250c30000
ProposalBondMinimumU1280000a0dec5adc9353600000000000000
ProposalBondMaximumoption<U128>0100002059dd64f00c0f01000000000000
SpendPeriodU32c0890100
BurnU3200000000
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.