Coretime Westend
subscan
Runtime Modules / Broker
Spec Version:
Events
Name
Lookup
Attributes
Purchased3200["AccountId","RegionId","BalanceOf","Timeslice"]
Renewable3201["CoreIndex","BalanceOf","Timeslice","Schedule"]
Renewed3202["AccountId","BalanceOf","CoreIndex","CoreIndex","Timeslice","Timeslice","Schedule"]
Transferred3203["RegionId","Timeslice","Option<AccountId>","Option<AccountId>"]
Partitioned3204["RegionId","(RegionId, RegionId)"]
Interlaced3205["RegionId","(RegionId, RegionId)"]
Assigned3206["RegionId","Timeslice","TaskId"]
Pooled3207["RegionId","Timeslice"]
CoreCountRequested3208["CoreIndex"]
CoreCountChanged3209["CoreIndex"]
ReservationMade320a["u32","Schedule"]
ReservationCancelled320b["u32","Schedule"]
SaleInitialized320c["BlockNumberFor","BlockNumberFor","BalanceOf","BalanceOf","Timeslice","Timeslice","CoreIndex","CoreIndex"]
Leased320d["TaskId","Timeslice"]
LeaseEnding320e["TaskId","Timeslice"]
SalesStarted320f["BalanceOf","CoreIndex"]
RevenueClaimBegun3210["RegionId","Timeslice"]
RevenueClaimItem3211["Timeslice","BalanceOf"]
RevenueClaimPaid3212["AccountId","BalanceOf","Option<RegionId>"]
CreditPurchased3213["AccountId","RelayAccountIdOf","BalanceOf"]
RegionDropped3214["RegionId","Timeslice"]
ContributionDropped3215["RegionId"]
HistoryInitialized3216["Timeslice","CoreMaskBitCount","CoreMaskBitCount"]
HistoryDropped3217["Timeslice","BalanceOf"]
HistoryIgnored3218["Timeslice","BalanceOf"]
ClaimsReady3219["Timeslice","BalanceOf","BalanceOf"]
CoreAssigned321a["CoreIndex","RelayBlockNumberOf","Vec<(CoreAssignment, PartsOf57600)>"]
PotentialRenewalDropped321b["Timeslice","CoreIndex"]
AutoRenewalEnabled321c["CoreIndex","TaskId"]
AutoRenewalDisabled321d["CoreIndex","TaskId"]
AutoRenewalFailed321e["CoreIndex","Option<AccountId>"]
AutoRenewalLimitReached321f
Storage Functions
Name
Type
Configuration{"origin":"PlainType","plain_type":"pallet_broker:types:ConfigRecord","PlainTypeValue":333}
Reservations{"origin":"PlainType","plain_type":"Vec<Vec<pallet_broker:types:ScheduleItem>>","PlainTypeValue":348}
Leases{"origin":"PlainType","plain_type":"Vec<pallet_broker:types:LeaseRecordItem>","PlainTypeValue":350}
Status{"origin":"PlainType","plain_type":"pallet_broker:types:StatusRecord","PlainTypeValue":353}
SaleInfo{"origin":"PlainType","plain_type":"pallet_broker:types:SaleInfoRecord","PlainTypeValue":354}
PotentialRenewals{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["pallet_broker:types:PotentialRenewalId"],"value":"pallet_broker:types:PotentialRenewalRecord","keys_id":356,"value_id":357}}
Regions{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["pallet_broker:types:RegionId"],"value":"pallet_broker:types:RegionRecord","keys_id":126,"value_id":359}}
Workplan{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["Tuple:U32U16"],"value":"Vec<pallet_broker:types:ScheduleItem>","keys_id":360,"value_id":130}}
Workload{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U16"],"value":"Vec<pallet_broker:types:ScheduleItem>","keys_id":127,"value_id":130}}
InstaPoolContribution{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["pallet_broker:types:RegionId"],"value":"pallet_broker:types:ContributionRecord","keys_id":126,"value_id":361}}
InstaPoolIo{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"pallet_broker:types:PoolIoRecord","keys_id":4,"value_id":362}}
InstaPoolHistory{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"pallet_broker:types:InstaPoolHistoryRecord","keys_id":4,"value_id":364}}
CoreCountInbox{"origin":"PlainType","plain_type":"U16","PlainTypeValue":127}
AutoRenewals{"origin":"PlainType","plain_type":"Vec<pallet_broker:types:AutoRenewalRecord>","PlainTypeValue":365}
RevenueInbox{"origin":"PlainType","plain_type":"pallet_broker:types:OnDemandRevenueRecord","PlainTypeValue":337}
Constants
Name
Type
Value
PalletId[U8; 8]70792f62726f6b65
TimeslicePeriodU3250000000
MaxLeasedCoresU320a000000
MaxReservedCoresU320a000000
MaxAutoRenewalsU3214000000
Error Types
Name
Docs
UnknownRegionThe given region identity is not known.
NotOwnerThe owner of the region is not the origin.
PivotTooLateThe pivot point of the partition at or after the end of the region.
PivotTooEarlyThe pivot point of the partition at the beginning of the region.
ExteriorPivotThe pivot mask for the interlacing is not contained within the region's interlace mask.
VoidPivotThe pivot mask for the interlacing is void (and therefore unschedulable).
CompletePivotThe pivot mask for the interlacing is complete (and therefore not a strict subset).
CorruptWorkplanThe workplan of the pallet's state is invalid. This indicates a state corruption.
NoSalesThere is no sale happening currently.
OverpricedThe price limit is exceeded.
UnavailableThere are no cores available.
SoldOutThe sale limit has been reached.
WrongTimeThe renewal operation is not valid at the current time (it may become valid in the nextsale).
NotAllowedInvalid attempt to renew.
UninitializedThis pallet has not yet been initialized.
TooEarlyThe purchase cannot happen yet as the sale period is yet to begin.
NothingToDoThere is no work to be done.
TooManyReservationsThe maximum amount of reservations has already been reached.
TooManyLeasesThe maximum amount of leases has already been reached.
UnknownRevenueThe revenue for the Instantaneous Core Sales of this period is not (yet) known and thusthis operation cannot proceed.
UnknownContributionThe identified contribution to the Instantaneous Core Pool is unknown.
IncompleteAssignmentThe workload assigned for renewal is incomplete. This is unexpected and indicates alogic error.
StillValidAn item cannot be dropped because it is still valid.
NoHistoryThe history item does not exist.
UnknownReservationNo reservation of the given index exists.
UnknownRenewalThe renewal record cannot be found.
AlreadyExpiredThe lease expiry time has already passed.
InvalidConfigThe configuration could not be applied because it is invalid.
NoClaimTimeslicesThe revenue must be claimed for 1 or more timeslices.
NoPermissionThe caller doesn't have the permission to enable or disable auto-renewal.
TooManyAutoRenewalsWe reached the limit for auto-renewals.
NonTaskAutoRenewalOnly cores which are assigned to a task can be auto-renewed.
SovereignAccountNotFoundFailed to get the sovereign account of a task.
AutoRenewalNotEnabledAttempted to disable auto-renewal for a core that didn't have it enabled.