collectives-polkadot
subscan
Collectives Polkadot
Runtime Modules / AmbassadorTreasury
Spec Version:
Call Functions
Name
Lookup
Parameters
spend_local4b032
remove_approval4b041
spend4b054
payout4b061
check_status4b071
void_spend4b081
Events
Name
Lookup
Attributes
Spending4b00["BalanceOf"]
Awarded4b01["ProposalIndex","BalanceOf","AccountId"]
Burnt4b02["BalanceOf"]
Rollover4b03["BalanceOf"]
Deposit4b04["BalanceOf"]
SpendApproved4b05["ProposalIndex","BalanceOf","AccountId"]
UpdatedInactive4b06["BalanceOf","BalanceOf"]
AssetSpendApproved4b07["SpendIndex","AssetKind","AssetBalanceOf","Beneficiary","BlockNumberFor","BlockNumberFor"]
AssetSpendVoided4b08["SpendIndex"]
Paid4b09["SpendIndex","<Paymaster as Pay>::Id"]
PaymentFailed4b0a["SpendIndex","<Paymaster as Pay>::Id"]
SpendProcessed4b0b["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":523}}
Deactivated{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
Approvals{"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":524}
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":525}}
LastSpendPeriod{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
Constants
Name
Type
Value
SpendPeriodU32e0c40000
BurnU3200000000
PalletId[U8; 8]70792f616d627472
MaxApprovalsU3264000000
PayoutPeriodU3240e30900
pot_accountAccountId6d6f646c70792f616d6274720000000000000000000000000000000000000000
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.