@shipload/sdk 1.0.0-next.65 → 1.0.0-next.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/shipload.d.ts +786 -321
- package/lib/shipload.js +2731 -1305
- package/lib/shipload.js.map +1 -1
- package/lib/shipload.m.js +2644 -1286
- package/lib/shipload.m.js.map +1 -1
- package/lib/testing.d.ts +223 -146
- package/lib/testing.js +907 -563
- package/lib/testing.js.map +1 -1
- package/lib/testing.m.js +907 -563
- package/lib/testing.m.js.map +1 -1
- package/package.json +1 -1
- package/src/capabilities/crafting.test.ts +51 -6
- package/src/capabilities/crafting.ts +19 -4
- package/src/capabilities/gathering.ts +2 -2
- package/src/capabilities/storage.test.ts +26 -0
- package/src/capabilities/storage.ts +6 -6
- package/src/contracts/fund.ts +79 -2
- package/src/contracts/platform.ts +10 -1
- package/src/contracts/server.ts +521 -330
- package/src/data/charters.json +325 -127
- package/src/data/entities.json +29 -24
- package/src/data/items.json +114 -114
- package/src/data/kind-registry.json +3 -3
- package/src/data/kind-registry.ts +5 -0
- package/src/data/metadata.ts +9 -2
- package/src/data/recipes.json +56 -95
- package/src/derivation/build-methods.test.ts +59 -1
- package/src/derivation/build-methods.ts +2 -0
- package/src/derivation/capabilities.ts +7 -7
- package/src/derivation/strata.ts +5 -3
- package/src/derivation/tiers.ts +5 -5
- package/src/entity/hydrate.test.ts +156 -0
- package/src/entity/hydrate.ts +86 -0
- package/src/errors.ts +9 -0
- package/src/format.ts +15 -13
- package/src/index-module.ts +32 -5
- package/src/influence/ballot.test.ts +103 -0
- package/src/influence/ballot.ts +98 -0
- package/src/influence/charter-metadata.test.ts +136 -0
- package/src/influence/charter-metadata.ts +236 -0
- package/src/influence/charters.test.ts +51 -65
- package/src/influence/charters.ts +70 -40
- package/src/influence/civic-shuttle.test.ts +159 -0
- package/src/influence/civic-shuttle.ts +115 -0
- package/src/influence/civic.test.ts +287 -0
- package/src/influence/civic.ts +269 -0
- package/src/influence/constants.ts +30 -9
- package/src/influence/decomp.ts +15 -15
- package/src/influence/duration.ts +42 -6
- package/src/influence/index.ts +59 -6
- package/src/influence/influence.test.ts +76 -9
- package/src/influence/valuation.ts +17 -17
- package/src/managers/actions.ts +99 -37
- package/src/managers/base.ts +4 -0
- package/src/managers/context.ts +3 -1
- package/src/managers/epochs.ts +32 -1
- package/src/managers/index.ts +4 -2
- package/src/managers/influence.test.ts +18 -20
- package/src/managers/influence.ts +137 -84
- package/src/managers/jobs.test.ts +2 -2
- package/src/managers/jobs.ts +4 -4
- package/src/nft/description.ts +10 -11
- package/src/planner/index.ts +54 -0
- package/src/planner/planner.test.ts +127 -2
- package/src/resolution/display-name.ts +1 -1
- package/src/scheduling/availability.test.ts +113 -0
- package/src/scheduling/availability.ts +48 -8
- package/src/scheduling/epoch.ts +1 -0
- package/src/scheduling/jobs.ts +1 -1
- package/src/scheduling/projection.ts +2 -16
- package/src/scheduling/task-cargo.test.ts +62 -1
- package/src/scheduling/task-cargo.ts +25 -10
- package/src/scheduling/task-effects.test.ts +35 -0
- package/src/scheduling/task-effects.ts +34 -0
- package/src/scheduling/unwrap.test.ts +3 -3
- package/src/scheduling/unwrap.ts +3 -3
- package/src/shipload.ts +22 -3
- package/src/travel/reach.test.ts +86 -0
- package/src/travel/reach.ts +23 -10
- package/src/travel/route-build.test.ts +63 -0
- package/src/travel/route-build.ts +60 -0
- package/src/travel/travel.ts +2 -1
- package/src/types.ts +6 -2
- package/src/utils/hash.ts +18 -2
- package/src/utils/system.ts +6 -1
package/lib/testing.d.ts
CHANGED
|
@@ -49,6 +49,40 @@ declare namespace Types {
|
|
|
49
49
|
class addoracle extends Struct {
|
|
50
50
|
oracle_id: Name;
|
|
51
51
|
}
|
|
52
|
+
class ballot_credit extends Struct {
|
|
53
|
+
account: Name;
|
|
54
|
+
amount: UInt64;
|
|
55
|
+
}
|
|
56
|
+
class ballot_row extends Struct {
|
|
57
|
+
ballot_id: UInt64;
|
|
58
|
+
kind: UInt8;
|
|
59
|
+
subject: UInt64;
|
|
60
|
+
seats: UInt32;
|
|
61
|
+
settled_epoch: UInt32;
|
|
62
|
+
queue: UInt32[];
|
|
63
|
+
parked: ballot_credit[];
|
|
64
|
+
}
|
|
65
|
+
class ballot_seq_row extends Struct {
|
|
66
|
+
next_id: UInt64;
|
|
67
|
+
cursor: UInt64;
|
|
68
|
+
page_rows: UInt32;
|
|
69
|
+
}
|
|
70
|
+
class ballot_tally extends Struct {
|
|
71
|
+
option: UInt32;
|
|
72
|
+
weight: UInt64;
|
|
73
|
+
}
|
|
74
|
+
class ballotpicks_row extends Struct {
|
|
75
|
+
account: Name;
|
|
76
|
+
picks: UInt32[];
|
|
77
|
+
}
|
|
78
|
+
class ballotsettle_row extends Struct {
|
|
79
|
+
ballot_id: UInt64;
|
|
80
|
+
round: UInt32;
|
|
81
|
+
cursor: UInt64;
|
|
82
|
+
target_epoch: UInt32;
|
|
83
|
+
tallies: ballot_tally[];
|
|
84
|
+
seated: UInt32[];
|
|
85
|
+
}
|
|
52
86
|
class blend extends Struct {
|
|
53
87
|
id: UInt64;
|
|
54
88
|
inputs: cargo_item[];
|
|
@@ -59,6 +93,37 @@ declare namespace Types {
|
|
|
59
93
|
drain: UInt32;
|
|
60
94
|
output_pct: UInt16;
|
|
61
95
|
}
|
|
96
|
+
class buildings_row extends Struct {
|
|
97
|
+
entity_id: UInt64;
|
|
98
|
+
building: UInt8;
|
|
99
|
+
}
|
|
100
|
+
class buildjob extends Struct {
|
|
101
|
+
target_id: UInt64;
|
|
102
|
+
dock_id: UInt64;
|
|
103
|
+
slot: UInt8;
|
|
104
|
+
target_item_id: UInt16;
|
|
105
|
+
inputs: cargo_item[];
|
|
106
|
+
}
|
|
107
|
+
class coordinates extends Struct {
|
|
108
|
+
x: Int64;
|
|
109
|
+
y: Int64;
|
|
110
|
+
z?: UInt16;
|
|
111
|
+
}
|
|
112
|
+
class buildjob_row extends Struct {
|
|
113
|
+
id: UInt64;
|
|
114
|
+
building: UInt64;
|
|
115
|
+
socket: UInt8;
|
|
116
|
+
target: UInt64;
|
|
117
|
+
owner: Name;
|
|
118
|
+
coords: coordinates;
|
|
119
|
+
starts_at: TimePoint;
|
|
120
|
+
completes_at: TimePoint;
|
|
121
|
+
target_item_id: UInt16;
|
|
122
|
+
cargo: cargo_item[];
|
|
123
|
+
}
|
|
124
|
+
class buildjobs_result extends Struct {
|
|
125
|
+
jobs: buildjob_row[];
|
|
126
|
+
}
|
|
62
127
|
class buildplot extends Struct {
|
|
63
128
|
builder_id: UInt64;
|
|
64
129
|
plot_id: UInt64;
|
|
@@ -80,12 +145,17 @@ declare namespace Types {
|
|
|
80
145
|
entitygroup?: UInt64;
|
|
81
146
|
group_members?: entity_ref[];
|
|
82
147
|
}
|
|
83
|
-
class
|
|
148
|
+
class cancelbuild extends Struct {
|
|
84
149
|
job_id: UInt64;
|
|
85
|
-
ship_id: UInt64;
|
|
86
150
|
}
|
|
87
|
-
class
|
|
151
|
+
class cancelcivic extends Struct {
|
|
152
|
+
building: UInt64;
|
|
153
|
+
lane_key: UInt8;
|
|
154
|
+
from_id: UInt64;
|
|
155
|
+
}
|
|
156
|
+
class cancelcraft extends Struct {
|
|
88
157
|
job_id: UInt64;
|
|
158
|
+
ship_id: UInt64;
|
|
89
159
|
}
|
|
90
160
|
class cargo_row extends Struct {
|
|
91
161
|
id: UInt64;
|
|
@@ -104,18 +174,24 @@ declare namespace Types {
|
|
|
104
174
|
id: UInt64;
|
|
105
175
|
entity_id?: UInt64;
|
|
106
176
|
}
|
|
107
|
-
class
|
|
177
|
+
class castballot extends Struct {
|
|
178
|
+
player: Name;
|
|
179
|
+
ballot_id: UInt64;
|
|
180
|
+
picks: UInt32[];
|
|
181
|
+
}
|
|
182
|
+
class civic_grant extends Struct {
|
|
108
183
|
kind: UInt8;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
stat: UInt16;
|
|
184
|
+
building: UInt8;
|
|
185
|
+
stat: UInt8;
|
|
186
|
+
value: UInt16;
|
|
113
187
|
}
|
|
114
188
|
class charter_node_def extends Struct {
|
|
115
189
|
node_id: UInt32;
|
|
116
190
|
cost: UInt64;
|
|
117
191
|
prereqs: UInt32[];
|
|
118
|
-
|
|
192
|
+
grants: civic_grant[];
|
|
193
|
+
exclusion_group: UInt16;
|
|
194
|
+
repeat_cap: UInt8;
|
|
119
195
|
}
|
|
120
196
|
class charter_ready_view extends Struct {
|
|
121
197
|
x: Int64;
|
|
@@ -124,20 +200,33 @@ declare namespace Types {
|
|
|
124
200
|
}
|
|
125
201
|
class charter_view extends Struct {
|
|
126
202
|
node_id: UInt32;
|
|
127
|
-
|
|
128
|
-
|
|
203
|
+
repeats: UInt16;
|
|
204
|
+
}
|
|
205
|
+
class seat_view extends Struct {
|
|
206
|
+
node_id: UInt32;
|
|
207
|
+
cost: UInt64;
|
|
208
|
+
progress: UInt64;
|
|
209
|
+
gap: UInt64;
|
|
210
|
+
}
|
|
211
|
+
class progress_view extends Struct {
|
|
212
|
+
node_id: UInt32;
|
|
213
|
+
amount: UInt64;
|
|
129
214
|
}
|
|
130
215
|
class charter_result extends Struct {
|
|
131
216
|
location_id: UInt64;
|
|
132
217
|
lifetime: UInt64;
|
|
133
|
-
|
|
134
|
-
|
|
218
|
+
spent: UInt64;
|
|
219
|
+
unassigned: UInt64;
|
|
135
220
|
mandate: UInt32;
|
|
136
221
|
next_cost: UInt64;
|
|
137
222
|
prereqs_met: boolean;
|
|
138
223
|
buildable: boolean;
|
|
139
224
|
epoch: UInt32;
|
|
140
225
|
built: charter_view[];
|
|
226
|
+
ballot_id: UInt64;
|
|
227
|
+
settling: boolean;
|
|
228
|
+
queue: seat_view[];
|
|
229
|
+
progress: progress_view[];
|
|
141
230
|
}
|
|
142
231
|
class charter_tree_result extends Struct {
|
|
143
232
|
nodes: charter_node_def[];
|
|
@@ -149,18 +238,28 @@ declare namespace Types {
|
|
|
149
238
|
class charterready_result extends Struct {
|
|
150
239
|
worlds: charter_ready_view[];
|
|
151
240
|
}
|
|
152
|
-
class
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
241
|
+
class citizenship_row extends Struct {
|
|
242
|
+
location_id: UInt64;
|
|
243
|
+
lifetime: UInt64;
|
|
244
|
+
active: UInt64;
|
|
245
|
+
active_epoch: UInt32;
|
|
156
246
|
}
|
|
157
247
|
class civicconfig_row extends Struct {
|
|
158
248
|
civic_owner: Name;
|
|
159
249
|
}
|
|
250
|
+
class civicshuttle extends Struct {
|
|
251
|
+
building: UInt64;
|
|
252
|
+
from_id: UInt64;
|
|
253
|
+
to_id: UInt64;
|
|
254
|
+
items: cargo_item[];
|
|
255
|
+
}
|
|
160
256
|
class claim_row extends Struct {
|
|
161
257
|
owner: Name;
|
|
162
258
|
}
|
|
163
|
-
class
|
|
259
|
+
class claimbuild extends Struct {
|
|
260
|
+
job_id: UInt64;
|
|
261
|
+
}
|
|
262
|
+
class claimcraft extends Struct {
|
|
164
263
|
job_id: UInt64;
|
|
165
264
|
ship_id: UInt64;
|
|
166
265
|
}
|
|
@@ -177,9 +276,6 @@ declare namespace Types {
|
|
|
177
276
|
class claimstarter extends Struct {
|
|
178
277
|
owner: Name;
|
|
179
278
|
}
|
|
180
|
-
class claimupgrade extends Struct {
|
|
181
|
-
job_id: UInt64;
|
|
182
|
-
}
|
|
183
279
|
class cleanrsvp extends Struct {
|
|
184
280
|
epoch: UInt64;
|
|
185
281
|
max_rows: UInt64;
|
|
@@ -189,6 +285,9 @@ declare namespace Types {
|
|
|
189
285
|
scope?: Name;
|
|
190
286
|
max_rows?: UInt64;
|
|
191
287
|
}
|
|
288
|
+
class closeepoch extends Struct {
|
|
289
|
+
epoch: UInt64;
|
|
290
|
+
}
|
|
192
291
|
class cluster_cell extends Struct {
|
|
193
292
|
gx: Int8;
|
|
194
293
|
gy: Int8;
|
|
@@ -240,11 +339,6 @@ declare namespace Types {
|
|
|
240
339
|
class configlog extends Struct {
|
|
241
340
|
config: game_config;
|
|
242
341
|
}
|
|
243
|
-
class coordinates extends Struct {
|
|
244
|
-
x: Int64;
|
|
245
|
-
y: Int64;
|
|
246
|
-
z?: UInt16;
|
|
247
|
-
}
|
|
248
342
|
class coupling extends Struct {
|
|
249
343
|
counterpart: entity_ref;
|
|
250
344
|
hold: UInt64;
|
|
@@ -272,25 +366,55 @@ declare namespace Types {
|
|
|
272
366
|
quantity: UInt32;
|
|
273
367
|
inputs: cargo_item[];
|
|
274
368
|
}
|
|
369
|
+
class craftjob_row extends Struct {
|
|
370
|
+
id: UInt64;
|
|
371
|
+
building: UInt64;
|
|
372
|
+
socket: UInt8;
|
|
373
|
+
owner: Name;
|
|
374
|
+
ship_id: UInt64;
|
|
375
|
+
coords: coordinates;
|
|
376
|
+
starts_at: TimePoint;
|
|
377
|
+
completes_at: TimePoint;
|
|
378
|
+
recipe_id: UInt16;
|
|
379
|
+
quantity: UInt32;
|
|
380
|
+
energy_paid: UInt32;
|
|
381
|
+
cargo: cargo_item[];
|
|
382
|
+
}
|
|
383
|
+
class craftjobs_result extends Struct {
|
|
384
|
+
jobs: craftjob_row[];
|
|
385
|
+
}
|
|
275
386
|
class dbgcredit extends Struct {
|
|
276
387
|
owner: Name;
|
|
277
388
|
x: Int64;
|
|
278
389
|
y: Int64;
|
|
279
390
|
amount_atomic: UInt64;
|
|
391
|
+
node?: UInt32;
|
|
280
392
|
}
|
|
281
393
|
class dbgmandate extends Struct {
|
|
282
394
|
x: Int64;
|
|
283
395
|
y: Int64;
|
|
284
396
|
node_id: UInt32;
|
|
285
397
|
}
|
|
398
|
+
class dbgpagerows extends Struct {
|
|
399
|
+
rows: UInt32;
|
|
400
|
+
}
|
|
401
|
+
class dbgpurge extends Struct {
|
|
402
|
+
table_name: Name;
|
|
403
|
+
scope?: Name;
|
|
404
|
+
}
|
|
405
|
+
class dbgseats extends Struct {
|
|
406
|
+
x: Int64;
|
|
407
|
+
y: Int64;
|
|
408
|
+
seats: UInt32;
|
|
409
|
+
}
|
|
286
410
|
class decomp_bucket extends Struct {
|
|
287
411
|
category: UInt8;
|
|
288
412
|
tier: UInt8;
|
|
289
|
-
|
|
413
|
+
raw_mass: UInt32;
|
|
290
414
|
}
|
|
291
415
|
class decomp_result extends Struct {
|
|
292
416
|
item_id: UInt16;
|
|
293
|
-
|
|
417
|
+
processed_mass: UInt64;
|
|
294
418
|
buckets: decomp_bucket[];
|
|
295
419
|
}
|
|
296
420
|
class delentity extends Struct {
|
|
@@ -311,7 +435,7 @@ declare namespace Types {
|
|
|
311
435
|
ref: cargo_ref;
|
|
312
436
|
slot?: cluster_slot;
|
|
313
437
|
}
|
|
314
|
-
class
|
|
438
|
+
class storage_row extends Struct {
|
|
315
439
|
id: UInt64;
|
|
316
440
|
owner: Name;
|
|
317
441
|
item_id: UInt64;
|
|
@@ -324,12 +448,7 @@ declare namespace Types {
|
|
|
324
448
|
player_cap: UInt64;
|
|
325
449
|
stored_mass: UInt64;
|
|
326
450
|
reserved_mass: UInt64;
|
|
327
|
-
rows:
|
|
328
|
-
}
|
|
329
|
-
class depotacct_row extends Struct {
|
|
330
|
-
owner: Name;
|
|
331
|
-
stored_mass: UInt64;
|
|
332
|
-
reserved_mass: UInt64;
|
|
451
|
+
rows: storage_row[];
|
|
333
452
|
}
|
|
334
453
|
class depotstore extends Struct {
|
|
335
454
|
ship_id: UInt64;
|
|
@@ -409,6 +528,7 @@ declare namespace Types {
|
|
|
409
528
|
energy_cost?: UInt32;
|
|
410
529
|
target_item_id?: UInt16;
|
|
411
530
|
refit?: refit_op;
|
|
531
|
+
charter_node?: UInt32;
|
|
412
532
|
}
|
|
413
533
|
class schedule extends Struct {
|
|
414
534
|
started: TimePoint;
|
|
@@ -552,6 +672,15 @@ declare namespace Types {
|
|
|
552
672
|
class genesisfleet extends Struct {
|
|
553
673
|
entities: entity_row[];
|
|
554
674
|
}
|
|
675
|
+
class genesisworld extends Struct {
|
|
676
|
+
founder: Name;
|
|
677
|
+
x: Int64;
|
|
678
|
+
y: Int64;
|
|
679
|
+
node_ids: UInt32[];
|
|
680
|
+
}
|
|
681
|
+
class getbuildjobs extends Struct {
|
|
682
|
+
building_id: UInt64;
|
|
683
|
+
}
|
|
555
684
|
class getcharter extends Struct {
|
|
556
685
|
x: Int64;
|
|
557
686
|
y: Int64;
|
|
@@ -565,6 +694,9 @@ declare namespace Types {
|
|
|
565
694
|
}
|
|
566
695
|
class getconfig extends Struct {
|
|
567
696
|
}
|
|
697
|
+
class getcraftjobs extends Struct {
|
|
698
|
+
building_id: UInt64;
|
|
699
|
+
}
|
|
568
700
|
class getdecomp extends Struct {
|
|
569
701
|
item_id: UInt16;
|
|
570
702
|
}
|
|
@@ -627,9 +759,6 @@ declare namespace Types {
|
|
|
627
759
|
}
|
|
628
760
|
class getitemtypes extends Struct {
|
|
629
761
|
}
|
|
630
|
-
class getjobs extends Struct {
|
|
631
|
-
workshop_id: UInt64;
|
|
632
|
-
}
|
|
633
762
|
class getkindmeta extends Struct {
|
|
634
763
|
}
|
|
635
764
|
class getlocation extends Struct {
|
|
@@ -684,9 +813,6 @@ declare namespace Types {
|
|
|
684
813
|
}
|
|
685
814
|
class getresources extends Struct {
|
|
686
815
|
}
|
|
687
|
-
class getservice extends Struct {
|
|
688
|
-
workshop_id: UInt64;
|
|
689
|
-
}
|
|
690
816
|
class getslots extends Struct {
|
|
691
817
|
}
|
|
692
818
|
class getstratum extends Struct {
|
|
@@ -698,14 +824,12 @@ declare namespace Types {
|
|
|
698
824
|
owner: Name;
|
|
699
825
|
entity_type?: Name;
|
|
700
826
|
}
|
|
701
|
-
class getupgjobs extends Struct {
|
|
702
|
-
dock_id: UInt64;
|
|
703
|
-
}
|
|
704
827
|
class getvoteready extends Struct {
|
|
705
828
|
}
|
|
706
829
|
class getvotes extends Struct {
|
|
707
830
|
x: Int64;
|
|
708
831
|
y: Int64;
|
|
832
|
+
player: Name;
|
|
709
833
|
}
|
|
710
834
|
class getwormhole extends Struct {
|
|
711
835
|
x: Int64;
|
|
@@ -778,10 +902,6 @@ declare namespace Types {
|
|
|
778
902
|
class importstate extends Struct {
|
|
779
903
|
row: state_row;
|
|
780
904
|
}
|
|
781
|
-
class infballot_row extends Struct {
|
|
782
|
-
location_id: UInt64;
|
|
783
|
-
epoch: UInt32;
|
|
784
|
-
}
|
|
785
905
|
class infburn_row extends Struct {
|
|
786
906
|
bps: UInt16;
|
|
787
907
|
}
|
|
@@ -790,25 +910,14 @@ declare namespace Types {
|
|
|
790
910
|
base: UInt64;
|
|
791
911
|
floor: UInt64;
|
|
792
912
|
}
|
|
793
|
-
class infloc_row extends Struct {
|
|
794
|
-
location_id: UInt64;
|
|
795
|
-
lifetime: UInt64;
|
|
796
|
-
active: UInt64;
|
|
797
|
-
last_update_epoch: UInt32;
|
|
798
|
-
watermark: UInt64;
|
|
799
|
-
chosen: UInt32;
|
|
800
|
-
chosen_epoch: UInt32;
|
|
801
|
-
founder: Name;
|
|
802
|
-
founded: UInt32;
|
|
803
|
-
}
|
|
804
913
|
class influence_totals extends Struct {
|
|
805
|
-
player_lifetime: UInt64;
|
|
806
|
-
player_active: UInt64;
|
|
807
914
|
standing_lifetime: UInt64;
|
|
808
915
|
standing_active: UInt64;
|
|
916
|
+
citizenship_lifetime: UInt64;
|
|
917
|
+
citizenship_active: UInt64;
|
|
809
918
|
location_lifetime: UInt64;
|
|
810
919
|
location_active: UInt64;
|
|
811
|
-
|
|
920
|
+
spent: UInt64;
|
|
812
921
|
mandate: UInt32;
|
|
813
922
|
founder: Name;
|
|
814
923
|
founded: UInt32;
|
|
@@ -819,18 +928,6 @@ declare namespace Types {
|
|
|
819
928
|
tier: UInt8;
|
|
820
929
|
threshold: UInt64;
|
|
821
930
|
}
|
|
822
|
-
class infplayer_row extends Struct {
|
|
823
|
-
account: Name;
|
|
824
|
-
lifetime: UInt64;
|
|
825
|
-
active: UInt64;
|
|
826
|
-
last_update_epoch: UInt32;
|
|
827
|
-
}
|
|
828
|
-
class infplayerloc_row extends Struct {
|
|
829
|
-
location_id: UInt64;
|
|
830
|
-
lifetime: UInt64;
|
|
831
|
-
active: UInt64;
|
|
832
|
-
last_update_epoch: UInt32;
|
|
833
|
-
}
|
|
834
931
|
class infpool_row extends Struct {
|
|
835
932
|
category: UInt8;
|
|
836
933
|
tier: UInt8;
|
|
@@ -842,20 +939,10 @@ declare namespace Types {
|
|
|
842
939
|
class infquality_row extends Struct {
|
|
843
940
|
d1: UInt32;
|
|
844
941
|
}
|
|
845
|
-
class inftally_row extends Struct {
|
|
846
|
-
node_id: UInt64;
|
|
847
|
-
total: UInt64;
|
|
848
|
-
}
|
|
849
942
|
class infvalue_result extends Struct {
|
|
850
943
|
total_atomic: UInt64;
|
|
851
944
|
per_item_atomic: UInt64[];
|
|
852
945
|
}
|
|
853
|
-
class infvote_row extends Struct {
|
|
854
|
-
account: Name;
|
|
855
|
-
epoch: UInt32;
|
|
856
|
-
node_id: UInt32;
|
|
857
|
-
weight: UInt64;
|
|
858
|
-
}
|
|
859
946
|
class infweight_row extends Struct {
|
|
860
947
|
category: UInt8;
|
|
861
948
|
tier: UInt8;
|
|
@@ -908,23 +995,6 @@ declare namespace Types {
|
|
|
908
995
|
starts_at: TimePoint;
|
|
909
996
|
completes_at: TimePoint;
|
|
910
997
|
}
|
|
911
|
-
class job_row extends Struct {
|
|
912
|
-
id: UInt64;
|
|
913
|
-
workshop: UInt64;
|
|
914
|
-
socket: UInt8;
|
|
915
|
-
owner: Name;
|
|
916
|
-
ship_id: UInt64;
|
|
917
|
-
coords: coordinates;
|
|
918
|
-
starts_at: TimePoint;
|
|
919
|
-
completes_at: TimePoint;
|
|
920
|
-
recipe_id: UInt16;
|
|
921
|
-
quantity: UInt32;
|
|
922
|
-
energy_paid: UInt32;
|
|
923
|
-
cargo: cargo_item[];
|
|
924
|
-
}
|
|
925
|
-
class jobs_result extends Struct {
|
|
926
|
-
jobs: job_row[];
|
|
927
|
-
}
|
|
928
998
|
class join extends Struct {
|
|
929
999
|
account: Name;
|
|
930
1000
|
}
|
|
@@ -970,6 +1040,15 @@ declare namespace Types {
|
|
|
970
1040
|
is_system: boolean;
|
|
971
1041
|
is_wormhole: boolean;
|
|
972
1042
|
}
|
|
1043
|
+
class locker_row extends Struct {
|
|
1044
|
+
depot_id: UInt64;
|
|
1045
|
+
stored_mass: UInt64;
|
|
1046
|
+
reserved_mass: UInt64;
|
|
1047
|
+
}
|
|
1048
|
+
class mandates_row extends Struct {
|
|
1049
|
+
node_id: UInt32;
|
|
1050
|
+
repeats: UInt16;
|
|
1051
|
+
}
|
|
973
1052
|
class mint_threshold_view extends Struct {
|
|
974
1053
|
category: UInt8;
|
|
975
1054
|
tier: UInt8;
|
|
@@ -1068,6 +1147,7 @@ declare namespace Types {
|
|
|
1068
1147
|
}
|
|
1069
1148
|
class oracle_config_row extends Struct {
|
|
1070
1149
|
threshold: UInt8;
|
|
1150
|
+
deadline: UInt32;
|
|
1071
1151
|
}
|
|
1072
1152
|
class oracle_row extends Struct {
|
|
1073
1153
|
id: Name;
|
|
@@ -1113,6 +1193,10 @@ declare namespace Types {
|
|
|
1113
1193
|
class pools_result extends Struct {
|
|
1114
1194
|
pools: pool_view[];
|
|
1115
1195
|
}
|
|
1196
|
+
class progress_row extends Struct {
|
|
1197
|
+
node_id: UInt32;
|
|
1198
|
+
amount: UInt64;
|
|
1199
|
+
}
|
|
1116
1200
|
class projected_state extends Struct {
|
|
1117
1201
|
owner: Name;
|
|
1118
1202
|
coordinates: coordinates;
|
|
@@ -1205,13 +1289,6 @@ declare namespace Types {
|
|
|
1205
1289
|
x: Int64;
|
|
1206
1290
|
y: Int64;
|
|
1207
1291
|
}
|
|
1208
|
-
class service_socket extends Struct {
|
|
1209
|
-
open: boolean;
|
|
1210
|
-
}
|
|
1211
|
-
class service_row extends Struct {
|
|
1212
|
-
entity: UInt64;
|
|
1213
|
-
sockets: service_socket[];
|
|
1214
|
-
}
|
|
1215
1292
|
class setcivic extends Struct {
|
|
1216
1293
|
account: Name;
|
|
1217
1294
|
}
|
|
@@ -1223,6 +1300,9 @@ declare namespace Types {
|
|
|
1223
1300
|
x: Int64;
|
|
1224
1301
|
y: Int64;
|
|
1225
1302
|
}
|
|
1303
|
+
class setdeadline extends Struct {
|
|
1304
|
+
deadline: UInt32;
|
|
1305
|
+
}
|
|
1226
1306
|
class setinfburn extends Struct {
|
|
1227
1307
|
bps: UInt16;
|
|
1228
1308
|
}
|
|
@@ -1252,14 +1332,16 @@ declare namespace Types {
|
|
|
1252
1332
|
template_id: Int32;
|
|
1253
1333
|
schema_name: Name;
|
|
1254
1334
|
}
|
|
1255
|
-
class setsocket extends Struct {
|
|
1256
|
-
workshop_id: UInt64;
|
|
1257
|
-
slot: UInt8;
|
|
1258
|
-
open: boolean;
|
|
1259
|
-
}
|
|
1260
1335
|
class setthreshold extends Struct {
|
|
1261
1336
|
threshold: UInt8;
|
|
1262
1337
|
}
|
|
1338
|
+
class settleballot extends Struct {
|
|
1339
|
+
ballot_id: UInt64;
|
|
1340
|
+
max_pages: UInt32;
|
|
1341
|
+
}
|
|
1342
|
+
class setunwrapmin extends Struct {
|
|
1343
|
+
asset_id: UInt64;
|
|
1344
|
+
}
|
|
1263
1345
|
class setwrapcost extends Struct {
|
|
1264
1346
|
item_type: UInt8;
|
|
1265
1347
|
tier: UInt8;
|
|
@@ -1275,6 +1357,12 @@ declare namespace Types {
|
|
|
1275
1357
|
to_id: UInt64;
|
|
1276
1358
|
items: cargo_item[];
|
|
1277
1359
|
}
|
|
1360
|
+
class standing_row extends Struct {
|
|
1361
|
+
account: Name;
|
|
1362
|
+
lifetime: UInt64;
|
|
1363
|
+
active: UInt64;
|
|
1364
|
+
active_epoch: UInt32;
|
|
1365
|
+
}
|
|
1278
1366
|
class stowcargo extends Struct {
|
|
1279
1367
|
owner: Name;
|
|
1280
1368
|
entity_id: UInt64;
|
|
@@ -1339,17 +1427,20 @@ declare namespace Types {
|
|
|
1339
1427
|
class vote_option extends Struct {
|
|
1340
1428
|
node_id: UInt32;
|
|
1341
1429
|
cost: UInt64;
|
|
1342
|
-
|
|
1343
|
-
|
|
1430
|
+
seat: UInt32;
|
|
1431
|
+
weight: UInt64;
|
|
1432
|
+
rank: UInt32;
|
|
1344
1433
|
}
|
|
1345
1434
|
class vote_result extends Struct {
|
|
1346
1435
|
location_id: UInt64;
|
|
1436
|
+
ballot_id: UInt64;
|
|
1347
1437
|
epoch: UInt32;
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1438
|
+
settled_epoch: UInt32;
|
|
1439
|
+
seats: UInt32;
|
|
1440
|
+
settling: boolean;
|
|
1441
|
+
queue: UInt32[];
|
|
1352
1442
|
options: vote_option[];
|
|
1443
|
+
picks: UInt32[];
|
|
1353
1444
|
}
|
|
1354
1445
|
class types_row extends Struct {
|
|
1355
1446
|
id: UInt64;
|
|
@@ -1378,20 +1469,6 @@ declare namespace Types {
|
|
|
1378
1469
|
to_id: UInt64;
|
|
1379
1470
|
items: cargo_item[];
|
|
1380
1471
|
}
|
|
1381
|
-
class upgjob_row extends Struct {
|
|
1382
|
-
id: UInt64;
|
|
1383
|
-
dock: UInt64;
|
|
1384
|
-
target: UInt64;
|
|
1385
|
-
owner: Name;
|
|
1386
|
-
coords: coordinates;
|
|
1387
|
-
starts_at: TimePoint;
|
|
1388
|
-
completes_at: TimePoint;
|
|
1389
|
-
target_item_id: UInt16;
|
|
1390
|
-
cargo: cargo_item[];
|
|
1391
|
-
}
|
|
1392
|
-
class upgjobs_result extends Struct {
|
|
1393
|
-
jobs: upgjob_row[];
|
|
1394
|
-
}
|
|
1395
1472
|
class upgrade extends Struct {
|
|
1396
1473
|
builder_id: UInt64;
|
|
1397
1474
|
target_id: UInt64;
|
|
@@ -1399,20 +1476,8 @@ declare namespace Types {
|
|
|
1399
1476
|
inputs: cargo_item[];
|
|
1400
1477
|
slot?: UInt8;
|
|
1401
1478
|
}
|
|
1402
|
-
class upgradejob extends Struct {
|
|
1403
|
-
target_id: UInt64;
|
|
1404
|
-
dock_id: UInt64;
|
|
1405
|
-
target_item_id: UInt16;
|
|
1406
|
-
inputs: cargo_item[];
|
|
1407
|
-
}
|
|
1408
|
-
class votecharter extends Struct {
|
|
1409
|
-
player: Name;
|
|
1410
|
-
x: Int64;
|
|
1411
|
-
y: Int64;
|
|
1412
|
-
node_id: UInt32;
|
|
1413
|
-
}
|
|
1414
1479
|
class voteready extends Struct {
|
|
1415
|
-
|
|
1480
|
+
max_pages: UInt32;
|
|
1416
1481
|
}
|
|
1417
1482
|
class warp extends Struct {
|
|
1418
1483
|
id: UInt64;
|
|
@@ -1421,6 +1486,17 @@ declare namespace Types {
|
|
|
1421
1486
|
}
|
|
1422
1487
|
class wipe extends Struct {
|
|
1423
1488
|
}
|
|
1489
|
+
class worlds_row extends Struct {
|
|
1490
|
+
location_id: UInt64;
|
|
1491
|
+
lifetime: UInt64;
|
|
1492
|
+
active: UInt64;
|
|
1493
|
+
active_epoch: UInt32;
|
|
1494
|
+
spent: UInt64;
|
|
1495
|
+
unassigned: UInt64;
|
|
1496
|
+
ballot_id: UInt64;
|
|
1497
|
+
founder: Name;
|
|
1498
|
+
founded: UInt32;
|
|
1499
|
+
}
|
|
1424
1500
|
class wormhole_info extends Struct {
|
|
1425
1501
|
coords: coordinates;
|
|
1426
1502
|
is_wormhole: boolean;
|
|
@@ -1429,6 +1505,7 @@ declare namespace Types {
|
|
|
1429
1505
|
class wrapconfig_row extends Struct {
|
|
1430
1506
|
fee_pct: UInt16;
|
|
1431
1507
|
fee_account: Name;
|
|
1508
|
+
min_asset_id: UInt64;
|
|
1432
1509
|
}
|
|
1433
1510
|
class wrapcost_row extends Struct {
|
|
1434
1511
|
item_type: UInt8;
|