Dancebox
subscan
Runtime Modules / Treasury
Spec Version:
Call Functions
Name
Lookup
Parameters
spend_local28032
remove_approval28041
spend28054
payout28061
check_status28071
void_spend28081
Events
Name
Lookup
Attributes
Spending2800["BalanceOf"]
Awarded2801["ProposalIndex","BalanceOf","AccountId"]
Burnt2802["BalanceOf"]
Rollover2803["BalanceOf"]
Deposit2804["BalanceOf"]
SpendApproved2805["ProposalIndex","BalanceOf","AccountId"]
UpdatedInactive2806["BalanceOf","BalanceOf"]
AssetSpendApproved2807["SpendIndex","AssetKind","AssetBalanceOf","Beneficiary","BlockNumberFor","BlockNumberFor"]
AssetSpendVoided2808["SpendIndex"]
Paid2809["SpendIndex","<Paymaster as Pay>::Id"]
PaymentFailed280a["SpendIndex","<Paymaster as Pay>::Id"]
SpendProcessed280b["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":506}}
Deactivated{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
Approvals{"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":507}
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":508}}
Constants
Name
Type
Value
SpendPeriodU3280510100
BurnU3200000000
PalletId[U8; 8]746e732f74737279
MaxApprovalsU3264000000
PayoutPeriodU3280970600
Error Types
Name
Docs
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.