Mangata
subscan
Runtime Modules / Treasury
Spec Version:
Call Functions
Name
Lookup
Parameters
propose_spend3c002
reject_proposal3c011
approve_proposal3c021
spend3c032
remove_approval3c041
Events
Name
Lookup
Attributes
Proposed3c00["ProposalIndex"]
Spending3c01["BalanceOf"]
Awarded3c02["ProposalIndex","BalanceOf","AccountId"]
Rejected3c03["ProposalIndex","BalanceOf"]
Burnt3c04["BalanceOf"]
Rollover3c05["BalanceOf"]
Deposit3c06["BalanceOf"]
SpendApproved3c07["ProposalIndex","BalanceOf","AccountId"]
UpdatedInactive3c08["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":505}}
Deactivated{"origin":"PlainType","plain_type":"U128","PlainTypeValue":45}
Approvals{"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":506}
Constants
Name
Type
Value
ProposalBondU3250c30000
ProposalBondMinimumU128000064a7b3b6e00d0000000000000000
ProposalBondMaximumoption<U128>00
SpendPeriodU32201c0000
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.