subscan
Runtime Modules / Treasury
Spec Version:
Call Functions
Events
Name
Lookup
Attributes
Proposed3d00["ProposalIndex"]
Spending3d01["BalanceOf"]
Awarded3d02["ProposalIndex","BalanceOf","AccountId"]
Rejected3d03["ProposalIndex","BalanceOf"]
Burnt3d04["BalanceOf"]
Rollover3d05["BalanceOf"]
Deposit3d06["BalanceOf"]
SpendApproved3d07["ProposalIndex","BalanceOf","AccountId"]
UpdatedInactive3d08["BalanceOf","BalanceOf"]
AssetSpendApproved3d09["SpendIndex","AssetKind","AssetBalanceOf","Beneficiary","BlockNumberFor","BlockNumberFor"]
AssetSpendVoided3d0a["SpendIndex"]
Paid3d0b["SpendIndex","<Paymaster as Pay>::Id"]
PaymentFailed3d0c["SpendIndex","<Paymaster as Pay>::Id"]
SpendProcessed3d0d["SpendIndex"]
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":674}}
Deactivated{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
Approvals{"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":675}
SpendCount{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
Spends{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_treasury:SpendStatus","keys_id":4,"value_id":676}}
Constants
Name
Type
Value
ProposalBondU3250c30000
ProposalBondMinimumU12800407a10f35a00000000000000000000
ProposalBondMaximumoption<U128>0100406352bfc601000000000000000000
SpendPeriodU32c0a80000
BurnU3200000000
PalletId[U8; 8]62662f7472737279
MaxApprovalsU3264000000
PayoutPeriodU32c04b0300
Error Types
Name
Docs
InsufficientProposersBalanceProposer's balance is too low.
InvalidIndexNo proposal, bounty or spend 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.
FailedToConvertBalanceThe balance of the asset kind is not convertible to the balance of the native asset.
SpendExpiredThe spend has expired and cannot be claimed.
EarlyPayoutThe spend is not yet eligible for payout.
AlreadyAttemptedThe payment has already been attempted.
PayoutErrorThere was some issue with the mechanism of payment.
NotAttemptedThe payout was not yet attempted/claimed.
InconclusiveThe payment has neither failed nor succeeded yet.