subscan
Runtime Modules / Treasury
Spec Version:
Call Functions
Name
Lookup
Parameters
propose_spend77002
reject_proposal77011
approve_proposal77021
spend77032
remove_approval77041
Events
Name
Lookup
Attributes
Proposed7700["ProposalIndex"]
Spending7701["BalanceOf"]
Awarded7702["ProposalIndex","BalanceOf","AccountId"]
Rejected7703["ProposalIndex","BalanceOf"]
Burnt7704["BalanceOf"]
Rollover7705["BalanceOf"]
Deposit7706["BalanceOf"]
SpendApproved7707["ProposalIndex","BalanceOf","AccountId"]
UpdatedInactive7708["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":457}}
Deactivated{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
Approvals{"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":458}
Constants
Name
Type
Value
ProposalBondU3250c30000
ProposalBondMinimumU12800407a10f35a00000000000000000000
ProposalBondMaximumoption<U128>00
SpendPeriodU32c0890100
BurnU32d0070000
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.