Westend
subscan
Runtime Modules / OnDemandAssignmentProvider
Spec Version:
Call Functions
Events
Name
Lookup
Attributes
OnDemandOrderPlaced3800["ParaId","BalanceOf","AccountId"]
SpotPriceSet3801["BalanceOf"]
AccountCredited3802["AccountId","BalanceOf"]
Storage Functions
Name
Type
ParaIdAffinity{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"polkadot_runtime_parachains:on_demand:types:CoreAffinityCount","keys_id":171,"value_id":878}}
QueueStatus{"origin":"PlainType","plain_type":"polkadot_runtime_parachains:on_demand:types:QueueStatusType","PlainTypeValue":879}
FreeEntries{"origin":"PlainType","plain_type":"Vec<polkadot_runtime_parachains:on_demand:types:EnqueuedOrder>","PlainTypeValue":884}
AffinityEntries{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Vec<polkadot_runtime_parachains:on_demand:types:EnqueuedOrder>","keys_id":543,"value_id":884}}
Revenue{"origin":"PlainType","plain_type":"Vec<U128>","PlainTypeValue":887}
Credits{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"U128","keys_id":0,"value_id":6}}
Constants
Name
Type
Value
TrafficDefaultValueU128000064a7b3b6e00d0000000000000000
MaxHistoricalRevenueU32a0000000
PalletId[U8; 8]70792f6f6e646d64
Error Types
Name
Docs
QueueFullThe order queue is full, `place_order` will not continue.
SpotPriceHigherThanMaxAmountThe current spot price is higher than the max amount specified in the `place_order`call, making it invalid.
InsufficientCreditsThe account doesn't have enough credits to purchase on-demand coretime.