Name | Lookup | Parameters | |
---|---|---|---|
configure | 3200 | 1 | |
reserve | 3201 | 1 | |
unreserve | 3202 | 1 | |
set_lease | 3203 | 2 | |
start_sales | 3204 | 2 | |
purchase | 3205 | 1 | |
renew | 3206 | 1 | |
transfer | 3207 | 2 | |
partition | 3208 | 2 | |
interlace | 3209 | 2 | |
assign | 320a | 3 | |
pool | 320b | 3 | |
claim_revenue | 320c | 2 | |
purchase_credit | 320d | 2 | |
drop_region | 320e | 1 | |
drop_contribution | 320f | 1 | |
drop_history | 3210 | 1 | |
drop_renewal | 3211 | 2 | |
request_core_count | 3212 | 1 | |
notify_core_count | 3213 | 1 | |
notify_revenue | 3214 | 1 | |
enable_auto_renew | 3215 | 3 | |
disable_auto_renew | 3216 | 2 | |
swap_leases | 3263 | 2 |
Name | Lookup | Attributes | |
---|---|---|---|
Purchased | 3200 | ["AccountId","RegionId","BalanceOf","Timeslice"] | |
Renewable | 3201 | ["CoreIndex","BalanceOf","Timeslice","Schedule"] | |
Renewed | 3202 | ["AccountId","BalanceOf","CoreIndex","CoreIndex","Timeslice","Timeslice","Schedule"] | |
Transferred | 3203 | ["RegionId","Timeslice","Option<AccountId>","Option<AccountId>"] | |
Partitioned | 3204 | ["RegionId","(RegionId, RegionId)"] | |
Interlaced | 3205 | ["RegionId","(RegionId, RegionId)"] | |
Assigned | 3206 | ["RegionId","Timeslice","TaskId"] | |
Pooled | 3207 | ["RegionId","Timeslice"] | |
CoreCountRequested | 3208 | ["CoreIndex"] | |
CoreCountChanged | 3209 | ["CoreIndex"] | |
ReservationMade | 320a | ["u32","Schedule"] | |
ReservationCancelled | 320b | ["u32","Schedule"] | |
SaleInitialized | 320c | ["BlockNumberFor","BlockNumberFor","BalanceOf","BalanceOf","Timeslice","Timeslice","CoreIndex","CoreIndex"] | |
Leased | 320d | ["TaskId","Timeslice"] | |
LeaseEnding | 320e | ["TaskId","Timeslice"] | |
SalesStarted | 320f | ["BalanceOf","CoreIndex"] | |
RevenueClaimBegun | 3210 | ["RegionId","Timeslice"] | |
RevenueClaimItem | 3211 | ["Timeslice","BalanceOf"] | |
RevenueClaimPaid | 3212 | ["AccountId","BalanceOf","Option<RegionId>"] | |
CreditPurchased | 3213 | ["AccountId","RelayAccountIdOf","BalanceOf"] | |
RegionDropped | 3214 | ["RegionId","Timeslice"] | |
ContributionDropped | 3215 | ["RegionId"] | |
HistoryInitialized | 3216 | ["Timeslice","CoreMaskBitCount","CoreMaskBitCount"] | |
HistoryDropped | 3217 | ["Timeslice","BalanceOf"] | |
HistoryIgnored | 3218 | ["Timeslice","BalanceOf"] | |
ClaimsReady | 3219 | ["Timeslice","BalanceOf","BalanceOf"] | |
CoreAssigned | 321a | ["CoreIndex","RelayBlockNumberOf","Vec<(CoreAssignment, PartsOf57600)>"] | |
PotentialRenewalDropped | 321b | ["Timeslice","CoreIndex"] | |
AutoRenewalEnabled | 321c | ["CoreIndex","TaskId"] | |
AutoRenewalDisabled | 321d | ["CoreIndex","TaskId"] | |
AutoRenewalFailed | 321e | ["CoreIndex","Option<AccountId>"] | |
AutoRenewalLimitReached | 321f |
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} |
Name | Type | Value | |
---|---|---|---|
PalletId | [U8; 8] | 70792f62726f6b65 | |
TimeslicePeriod | U32 | 50000000 | |
MaxLeasedCores | U32 | 0a000000 | |
MaxReservedCores | U32 | 0a000000 | |
MaxAutoRenewals | U32 | 14000000 |
Name | Docs |
---|---|
UnknownRegion | The given region identity is not known. |
NotOwner | The owner of the region is not the origin. |
PivotTooLate | The pivot point of the partition at or after the end of the region. |
PivotTooEarly | The pivot point of the partition at the beginning of the region. |
ExteriorPivot | The pivot mask for the interlacing is not contained within the region's interlace mask. |
VoidPivot | The pivot mask for the interlacing is void (and therefore unschedulable). |
CompletePivot | The pivot mask for the interlacing is complete (and therefore not a strict subset). |
CorruptWorkplan | The workplan of the pallet's state is invalid. This indicates a state corruption. |
NoSales | There is no sale happening currently. |
Overpriced | The price limit is exceeded. |
Unavailable | There are no cores available. |
SoldOut | The sale limit has been reached. |
WrongTime | The renewal operation is not valid at the current time (it may become valid in the nextsale). |
NotAllowed | Invalid attempt to renew. |
Uninitialized | This pallet has not yet been initialized. |
TooEarly | The purchase cannot happen yet as the sale period is yet to begin. |
NothingToDo | There is no work to be done. |
TooManyReservations | The maximum amount of reservations has already been reached. |
TooManyLeases | The maximum amount of leases has already been reached. |
UnknownRevenue | The revenue for the Instantaneous Core Sales of this period is not (yet) known and thusthis operation cannot proceed. |
UnknownContribution | The identified contribution to the Instantaneous Core Pool is unknown. |
IncompleteAssignment | The workload assigned for renewal is incomplete. This is unexpected and indicates alogic error. |
StillValid | An item cannot be dropped because it is still valid. |
NoHistory | The history item does not exist. |
UnknownReservation | No reservation of the given index exists. |
UnknownRenewal | The renewal record cannot be found. |
AlreadyExpired | The lease expiry time has already passed. |
InvalidConfig | The configuration could not be applied because it is invalid. |
NoClaimTimeslices | The revenue must be claimed for 1 or more timeslices. |
NoPermission | The caller doesn't have the permission to enable or disable auto-renewal. |
TooManyAutoRenewals | We reached the limit for auto-renewals. |
NonTaskAutoRenewal | Only cores which are assigned to a task can be auto-renewed. |
SovereignAccountNotFound | Failed to get the sovereign account of a task. |
AutoRenewalNotEnabled | Attempted to disable auto-renewal for a core that didn't have it enabled. |