@shipload/sdk 1.0.0-next.61 → 1.0.0-next.63

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.
Files changed (55) hide show
  1. package/lib/shipload.d.ts +1243 -59
  2. package/lib/shipload.js +3911 -1261
  3. package/lib/shipload.js.map +1 -1
  4. package/lib/shipload.m.js +3812 -1265
  5. package/lib/shipload.m.js.map +1 -1
  6. package/lib/testing.d.ts +391 -13
  7. package/lib/testing.js +1554 -114
  8. package/lib/testing.js.map +1 -1
  9. package/lib/testing.m.js +1555 -115
  10. package/lib/testing.m.js.map +1 -1
  11. package/package.json +2 -2
  12. package/src/contracts/fund.ts +201 -0
  13. package/src/contracts/platform.ts +73 -1
  14. package/src/contracts/server.ts +946 -26
  15. package/src/contracts.ts +1 -0
  16. package/src/data/charters.json +198 -0
  17. package/src/data/entities.json +36 -0
  18. package/src/data/item-ids.ts +2 -0
  19. package/src/data/items.json +12 -0
  20. package/src/data/kind-registry.json +20 -3
  21. package/src/data/kind-registry.ts +5 -0
  22. package/src/data/metadata.ts +14 -0
  23. package/src/data/recipes.json +0 -48
  24. package/src/derivation/capabilities.ts +14 -0
  25. package/src/derivation/recipe-usage.test.ts +0 -2
  26. package/src/format.ts +9 -0
  27. package/src/index-module.ts +34 -3
  28. package/src/influence/categories.ts +32 -0
  29. package/src/influence/charters.test.ts +126 -0
  30. package/src/influence/charters.ts +120 -0
  31. package/src/influence/citizenry.ts +31 -0
  32. package/src/influence/constants.ts +63 -0
  33. package/src/influence/decay.ts +20 -0
  34. package/src/influence/decomp.ts +95 -0
  35. package/src/influence/demand.ts +106 -0
  36. package/src/influence/duration.ts +36 -0
  37. package/src/influence/index.ts +63 -0
  38. package/src/influence/influence.test.ts +291 -0
  39. package/src/influence/quality.ts +25 -0
  40. package/src/influence/valuation.ts +154 -0
  41. package/src/managers/actions.ts +135 -0
  42. package/src/managers/construction.ts +11 -1
  43. package/src/managers/context.ts +18 -0
  44. package/src/managers/entities.ts +11 -0
  45. package/src/managers/index.ts +13 -0
  46. package/src/managers/influence.test.ts +58 -0
  47. package/src/managers/influence.ts +347 -0
  48. package/src/managers/jobs.test.ts +62 -0
  49. package/src/managers/jobs.ts +52 -0
  50. package/src/nft/description.ts +7 -0
  51. package/src/scheduling/jobs.test.ts +32 -0
  52. package/src/scheduling/jobs.ts +37 -0
  53. package/src/scheduling/task-cargo.ts +1 -0
  54. package/src/shipload.ts +10 -0
  55. package/src/types.ts +23 -4
package/lib/shipload.d.ts CHANGED
@@ -1,9 +1,156 @@
1
1
  import * as _wharfkit_antelope from '@wharfkit/antelope';
2
- import { Blob, ABI, Struct, Name, Asset, UInt64, Checksum256, UInt32, TimePointSec, ExtendedAsset, Checksum256Type, UInt32Type, NameType, UInt64Type, AssetType, ExtendedAssetType, Action, UInt16, UInt8, Int64, TimePoint, Int8, Bytes, BlockTimestamp, Int32, UInt16Type, UInt8Type, Int8Type, Int64Type, TimePointType, BytesType, Int32Type, Checksum512, APIClient } from '@wharfkit/antelope';
2
+ import { Blob, ABI, Struct, Name, Asset, UInt16, UInt64, UInt32, NameType, UInt16Type, UInt64Type, AssetType, UInt32Type, Action, UInt8, Int64, Checksum256, TimePointSec, ExtendedAsset, UInt8Type, Checksum256Type, Int64Type, ExtendedAssetType, TimePoint, Int8, Bytes, Int32, BlockTimestamp, Int8Type, TimePointType, Int32Type, BytesType, Checksum512, APIClient } from '@wharfkit/antelope';
3
3
  import * as _wharfkit_contract from '@wharfkit/contract';
4
- import { Contract as Contract$2, PartialBy, ContractArgs, ActionOptions, Table } from '@wharfkit/contract';
4
+ import { Contract as Contract$3, PartialBy, ContractArgs, ActionOptions, Table } from '@wharfkit/contract';
5
5
  import { ChainDefinition } from '@wharfkit/common';
6
6
 
7
+ declare const abiBlob$2: Blob;
8
+ declare const abi$2: ABI;
9
+ declare namespace Types$2 {
10
+ class accrued_row extends Struct {
11
+ account: Name;
12
+ balance: Asset;
13
+ }
14
+ class benef_row extends Struct {
15
+ account: Name;
16
+ bps: UInt16;
17
+ }
18
+ class beneficiary extends Struct {
19
+ account: Name;
20
+ bps: UInt16;
21
+ }
22
+ class claim extends Struct {
23
+ beneficiary_account: Name;
24
+ }
25
+ class cursor_row extends Struct {
26
+ next_asset_id: UInt64;
27
+ }
28
+ class lots_row extends Struct {
29
+ asset_id: UInt64;
30
+ grade: Name;
31
+ auction_id: UInt64;
32
+ }
33
+ class rescuenft extends Struct {
34
+ asset_ids: UInt64[];
35
+ to: Name;
36
+ memo: string;
37
+ }
38
+ class setbenef extends Struct {
39
+ registry: beneficiary[];
40
+ }
41
+ class setmarket extends Struct {
42
+ market: Name;
43
+ maker_marketplace: Name;
44
+ }
45
+ class setterms extends Struct {
46
+ grade: Name;
47
+ starting_bid: Asset;
48
+ duration: UInt32;
49
+ }
50
+ class settings_row extends Struct {
51
+ market: Name;
52
+ token_contract: Name;
53
+ token_symbol: Asset.Symbol;
54
+ maker_marketplace: Name;
55
+ }
56
+ class settoken extends Struct {
57
+ token_contract: Name;
58
+ token_symbol: Asset.Symbol;
59
+ }
60
+ class tend extends Struct {
61
+ max_lots: UInt32;
62
+ }
63
+ class terms_row extends Struct {
64
+ grade: Name;
65
+ starting_bid: Asset;
66
+ duration: UInt32;
67
+ }
68
+ }
69
+ declare const TableMap$2: {
70
+ accrued: typeof Types$2.accrued_row;
71
+ benefs: typeof Types$2.benef_row;
72
+ cursor: typeof Types$2.cursor_row;
73
+ lots: typeof Types$2.lots_row;
74
+ settings: typeof Types$2.settings_row;
75
+ terms: typeof Types$2.terms_row;
76
+ };
77
+ interface TableTypes$2 {
78
+ accrued: Types$2.accrued_row;
79
+ benefs: Types$2.benef_row;
80
+ cursor: Types$2.cursor_row;
81
+ lots: Types$2.lots_row;
82
+ settings: Types$2.settings_row;
83
+ terms: Types$2.terms_row;
84
+ }
85
+ type RowType$2<T> = T extends keyof TableTypes$2 ? TableTypes$2[T] : any;
86
+ type TableNames$2 = keyof TableTypes$2;
87
+ declare namespace ActionParams$2 {
88
+ namespace Type {
89
+ interface beneficiary {
90
+ account: NameType;
91
+ bps: UInt16Type;
92
+ }
93
+ }
94
+ interface claim {
95
+ beneficiary_account: NameType;
96
+ }
97
+ interface rescuenft {
98
+ asset_ids: UInt64Type[];
99
+ to: NameType;
100
+ memo: string;
101
+ }
102
+ interface setbenef {
103
+ registry: Type.beneficiary[];
104
+ }
105
+ interface setmarket {
106
+ market: NameType;
107
+ maker_marketplace: NameType;
108
+ }
109
+ interface setterms {
110
+ grade: NameType;
111
+ starting_bid: AssetType;
112
+ duration: UInt32Type;
113
+ }
114
+ interface settoken {
115
+ token_contract: NameType;
116
+ token_symbol: Asset.SymbolType;
117
+ }
118
+ interface tend {
119
+ max_lots: UInt32Type;
120
+ }
121
+ }
122
+ interface ActionNameParams$2 {
123
+ claim: ActionParams$2.claim;
124
+ rescuenft: ActionParams$2.rescuenft;
125
+ setbenef: ActionParams$2.setbenef;
126
+ setmarket: ActionParams$2.setmarket;
127
+ setterms: ActionParams$2.setterms;
128
+ settoken: ActionParams$2.settoken;
129
+ tend: ActionParams$2.tend;
130
+ }
131
+ type ActionNames$2 = keyof ActionNameParams$2;
132
+ declare class Contract$2 extends Contract$3 {
133
+ constructor(args: PartialBy<ContractArgs, 'abi' | 'account'>);
134
+ action<T extends ActionNames$2>(name: T, data: ActionNameParams$2[T], options?: ActionOptions): Action;
135
+ table<T extends TableNames$2>(name: T, scope?: NameType): Table<RowType$2<T>>;
136
+ }
137
+
138
+ declare namespace fund {
139
+ export {
140
+ abiBlob$2 as abiBlob,
141
+ abi$2 as abi,
142
+ Types$2 as Types,
143
+ TableMap$2 as TableMap,
144
+ TableTypes$2 as TableTypes,
145
+ RowType$2 as RowType,
146
+ TableNames$2 as TableNames,
147
+ ActionParams$2 as ActionParams,
148
+ ActionNameParams$2 as ActionNameParams,
149
+ ActionNames$2 as ActionNames,
150
+ Contract$2 as Contract,
151
+ };
152
+ }
153
+
7
154
  declare const abiBlob$1: Blob;
8
155
  declare const abi$1: ABI;
9
156
  declare namespace Types$1 {
@@ -11,6 +158,21 @@ declare namespace Types$1 {
11
158
  token_contract: Name;
12
159
  balance: Asset;
13
160
  }
161
+ class packed_module extends Struct {
162
+ item_id: UInt16;
163
+ stats: UInt64;
164
+ }
165
+ class module_entry extends Struct {
166
+ type: UInt8;
167
+ installed?: packed_module;
168
+ }
169
+ class cargo_item extends Struct {
170
+ item_id: UInt16;
171
+ stats: UInt64;
172
+ modules: module_entry[];
173
+ quantity: UInt32;
174
+ entity_id?: UInt64;
175
+ }
14
176
  class cleartable extends Struct {
15
177
  table_name: Name;
16
178
  scope?: Name;
@@ -25,6 +187,14 @@ declare namespace Types$1 {
25
187
  account: Name;
26
188
  name: string;
27
189
  }
190
+ class contribute extends Struct {
191
+ game: Name;
192
+ player: Name;
193
+ entity_id: UInt64;
194
+ x: Int64;
195
+ y: Int64;
196
+ bundle: cargo_item[];
197
+ }
28
198
  class debitdeposit extends Struct {
29
199
  owner: Name;
30
200
  token: Name;
@@ -163,6 +333,21 @@ type RowType$1<T> = T extends keyof TableTypes$1 ? TableTypes$1[T] : any;
163
333
  type TableNames$1 = keyof TableTypes$1;
164
334
  declare namespace ActionParams$1 {
165
335
  namespace Type {
336
+ interface cargo_item {
337
+ item_id: UInt16Type;
338
+ stats: UInt64Type;
339
+ modules: Type.module_entry[];
340
+ quantity: UInt32Type;
341
+ entity_id?: UInt64Type;
342
+ }
343
+ interface module_entry {
344
+ type: UInt8Type;
345
+ installed?: Type.packed_module;
346
+ }
347
+ interface packed_module {
348
+ item_id: UInt16Type;
349
+ stats: UInt64Type;
350
+ }
166
351
  interface game_config {
167
352
  seed: Checksum256Type;
168
353
  epochtime: UInt32Type;
@@ -189,6 +374,14 @@ declare namespace ActionParams$1 {
189
374
  token_contract: NameType;
190
375
  token_symbol: Asset.SymbolType;
191
376
  }
377
+ interface contribute {
378
+ game: NameType;
379
+ player: NameType;
380
+ entity_id: UInt64Type;
381
+ x: Int64Type;
382
+ y: Int64Type;
383
+ bundle: Type.cargo_item[];
384
+ }
192
385
  interface debitdeposit {
193
386
  owner: NameType;
194
387
  token: NameType;
@@ -271,6 +464,7 @@ declare namespace ActionParams$1 {
271
464
  interface ActionNameParams$1 {
272
465
  cleartable: ActionParams$1.cleartable;
273
466
  close: ActionParams$1.close;
467
+ contribute: ActionParams$1.contribute;
274
468
  debitdeposit: ActionParams$1.debitdeposit;
275
469
  enable: ActionParams$1.enable;
276
470
  enablegame: ActionParams$1.enablegame;
@@ -290,7 +484,7 @@ interface ActionNameParams$1 {
290
484
  wrapentity: ActionParams$1.wrapentity;
291
485
  }
292
486
  type ActionNames$1 = keyof ActionNameParams$1;
293
- declare class Contract$1 extends Contract$2 {
487
+ declare class Contract$1 extends Contract$3 {
294
488
  constructor(args: PartialBy<ContractArgs, 'abi' | 'account'>);
295
489
  action<T extends ActionNames$1>(name: T, data: ActionNameParams$1[T], options?: ActionOptions): Action;
296
490
  table<T extends TableNames$1>(name: T, scope?: NameType): Table<RowType$1<T>>;
@@ -315,6 +509,9 @@ declare namespace platform {
315
509
  declare const abiBlob: Blob;
316
510
  declare const abi: ABI;
317
511
  declare namespace Types {
512
+ class abandonplot extends Struct {
513
+ plot_id: UInt64;
514
+ }
318
515
  class packed_module extends Struct {
319
516
  item_id: UInt16;
320
517
  stats: UInt64;
@@ -323,6 +520,20 @@ declare namespace Types {
323
520
  type: UInt8;
324
521
  installed?: packed_module;
325
522
  }
523
+ class cargo_item extends Struct {
524
+ item_id: UInt16;
525
+ stats: UInt64;
526
+ modules: module_entry[];
527
+ quantity: UInt32;
528
+ entity_id?: UInt64;
529
+ }
530
+ class addcontrib extends Struct {
531
+ player: Name;
532
+ entity_id: UInt64;
533
+ x: Int64;
534
+ y: Int64;
535
+ bundle: cargo_item[];
536
+ }
326
537
  class cargo_ref extends Struct {
327
538
  item_id: UInt16;
328
539
  stats: UInt64;
@@ -343,13 +554,6 @@ declare namespace Types {
343
554
  class addoracle extends Struct {
344
555
  oracle_id: Name;
345
556
  }
346
- class cargo_item extends Struct {
347
- item_id: UInt16;
348
- stats: UInt64;
349
- modules: module_entry[];
350
- quantity: UInt32;
351
- entity_id?: UInt64;
352
- }
353
557
  class blend extends Struct {
354
558
  id: UInt64;
355
559
  inputs: cargo_item[];
@@ -385,6 +589,9 @@ declare namespace Types {
385
589
  job_id: UInt64;
386
590
  ship_id: UInt64;
387
591
  }
592
+ class cancelupgrade extends Struct {
593
+ job_id: UInt64;
594
+ }
388
595
  class cargo_row extends Struct {
389
596
  id: UInt64;
390
597
  entity_id: UInt64;
@@ -402,6 +609,48 @@ declare namespace Types {
402
609
  id: UInt64;
403
610
  entity_id?: UInt64;
404
611
  }
612
+ class charter_effect extends Struct {
613
+ kind: UInt8;
614
+ item_id: UInt16;
615
+ target_item_id: UInt16;
616
+ slot_mask: UInt16;
617
+ stat: UInt16;
618
+ }
619
+ class charter_node_def extends Struct {
620
+ node_id: UInt32;
621
+ cost: UInt64;
622
+ prereqs: UInt32[];
623
+ effect: charter_effect;
624
+ }
625
+ class charter_view extends Struct {
626
+ node_id: UInt32;
627
+ completed_epoch: UInt32;
628
+ entity_id: UInt64;
629
+ }
630
+ class charter_result extends Struct {
631
+ location_id: UInt64;
632
+ lifetime: UInt64;
633
+ watermark: UInt64;
634
+ surplus: UInt64;
635
+ mandate: UInt32;
636
+ next_cost: UInt64;
637
+ prereqs_met: boolean;
638
+ buildable: boolean;
639
+ epoch: UInt32;
640
+ built: charter_view[];
641
+ }
642
+ class charter_tree_result extends Struct {
643
+ nodes: charter_node_def[];
644
+ }
645
+ class charterready extends Struct {
646
+ x: Int64;
647
+ y: Int64;
648
+ }
649
+ class charters_row extends Struct {
650
+ node_id: UInt32;
651
+ completed_epoch: UInt32;
652
+ entity_id: UInt64;
653
+ }
405
654
  class civicconfig_row extends Struct {
406
655
  civic_owner: Name;
407
656
  }
@@ -425,6 +674,9 @@ declare namespace Types {
425
674
  class claimstarter extends Struct {
426
675
  owner: Name;
427
676
  }
677
+ class claimupgrade extends Struct {
678
+ job_id: UInt64;
679
+ }
428
680
  class cleanrsvp extends Struct {
429
681
  epoch: UInt64;
430
682
  max_rows: UInt64;
@@ -517,9 +769,37 @@ declare namespace Types {
517
769
  quantity: UInt32;
518
770
  inputs: cargo_item[];
519
771
  }
772
+ class dbgcredit extends Struct {
773
+ owner: Name;
774
+ x: Int64;
775
+ y: Int64;
776
+ amount_atomic: UInt64;
777
+ }
778
+ class dbgmandate extends Struct {
779
+ x: Int64;
780
+ y: Int64;
781
+ node_id: UInt32;
782
+ }
783
+ class decomp_bucket extends Struct {
784
+ category: UInt8;
785
+ tier: UInt8;
786
+ raw_kg: UInt32;
787
+ }
788
+ class decomp_result extends Struct {
789
+ item_id: UInt16;
790
+ processed_kg: UInt64;
791
+ buckets: decomp_bucket[];
792
+ }
520
793
  class delentity extends Struct {
521
794
  entity_id: UInt64;
522
795
  }
796
+ class demand_result extends Struct {
797
+ abundant_mask: UInt8;
798
+ lacking_mask: UInt8;
799
+ acute: UInt8;
800
+ need_fp: UInt64[];
801
+ epoch: UInt32;
802
+ }
523
803
  class demolish extends Struct {
524
804
  entity_id: UInt64;
525
805
  }
@@ -528,6 +808,36 @@ declare namespace Types {
528
808
  ref: cargo_ref;
529
809
  slot?: cluster_slot;
530
810
  }
811
+ class depot_row extends Struct {
812
+ id: UInt64;
813
+ owner: Name;
814
+ item_id: UInt64;
815
+ quantity: UInt64;
816
+ stats: UInt64;
817
+ modules: module_entry[];
818
+ sequence_id?: UInt64;
819
+ }
820
+ class depot_view extends Struct {
821
+ player_cap: UInt64;
822
+ stored_mass: UInt64;
823
+ reserved_mass: UInt64;
824
+ rows: depot_row[];
825
+ }
826
+ class depotacct_row extends Struct {
827
+ owner: Name;
828
+ stored_mass: UInt64;
829
+ reserved_mass: UInt64;
830
+ }
831
+ class depotstore extends Struct {
832
+ ship_id: UInt64;
833
+ depot_id: UInt64;
834
+ items: cargo_item[];
835
+ }
836
+ class depottake extends Struct {
837
+ ship_id: UInt64;
838
+ depot_id: UInt64;
839
+ items: cargo_item[];
840
+ }
531
841
  class descentity extends Struct {
532
842
  item_id: UInt16;
533
843
  hull_stats: UInt64;
@@ -703,6 +1013,8 @@ declare namespace Types {
703
1013
  class fixcargomass extends Struct {
704
1014
  entity_id: UInt64;
705
1015
  }
1016
+ class fixitemids extends Struct {
1017
+ }
706
1018
  class grid_cell extends Struct {
707
1019
  gx: Int8;
708
1020
  gy: Int8;
@@ -713,6 +1025,12 @@ declare namespace Types {
713
1025
  class forcereveal extends Struct {
714
1026
  epoch: UInt64;
715
1027
  }
1028
+ class found extends Struct {
1029
+ player: Name;
1030
+ entity_id: UInt64;
1031
+ x: Int64;
1032
+ y: Int64;
1033
+ }
716
1034
  class gather extends Struct {
717
1035
  source_id: UInt64;
718
1036
  destination_id: UInt64;
@@ -731,15 +1049,32 @@ declare namespace Types {
731
1049
  class genesisfleet extends Struct {
732
1050
  entities: entity_row[];
733
1051
  }
1052
+ class getcharter extends Struct {
1053
+ x: Int64;
1054
+ y: Int64;
1055
+ }
1056
+ class getcharttree extends Struct {
1057
+ }
734
1058
  class getcluster extends Struct {
735
1059
  hub_id: UInt64;
736
1060
  }
737
1061
  class getconfig extends Struct {
738
1062
  }
1063
+ class getdecomp extends Struct {
1064
+ item_id: UInt16;
1065
+ }
1066
+ class getdemand extends Struct {
1067
+ x: Int64;
1068
+ y: Int64;
1069
+ }
739
1070
  class getdeposit extends Struct {
740
1071
  owner: Name;
741
1072
  asset_id: UInt64;
742
1073
  }
1074
+ class getdepot extends Struct {
1075
+ depot_id: UInt64;
1076
+ owner: Name;
1077
+ }
743
1078
  class getdistance extends Struct {
744
1079
  ax: Int64;
745
1080
  ay: Int64;
@@ -762,6 +1097,20 @@ declare namespace Types {
762
1097
  class getfootprint extends Struct {
763
1098
  item_id: UInt16;
764
1099
  }
1100
+ class getinfdecay extends Struct {
1101
+ active: UInt64;
1102
+ epochs: UInt32;
1103
+ }
1104
+ class getinfluence extends Struct {
1105
+ owner: Name;
1106
+ x: Int64;
1107
+ y: Int64;
1108
+ }
1109
+ class getinfvalue extends Struct {
1110
+ items: cargo_item[];
1111
+ x: Int64;
1112
+ y: Int64;
1113
+ }
765
1114
  class getitemdata extends Struct {
766
1115
  }
767
1116
  class getitemids extends Struct {
@@ -786,6 +1135,8 @@ declare namespace Types {
786
1135
  x: Int64;
787
1136
  y: Int64;
788
1137
  }
1138
+ class getmintcfg extends Struct {
1139
+ }
789
1140
  class getmodtypes extends Struct {
790
1141
  }
791
1142
  class getmodules extends Struct {
@@ -801,6 +1152,12 @@ declare namespace Types {
801
1152
  class getplayer extends Struct {
802
1153
  account: Name;
803
1154
  }
1155
+ class getpool extends Struct {
1156
+ category: UInt8;
1157
+ tier: UInt8;
1158
+ }
1159
+ class getpools extends Struct {
1160
+ }
804
1161
  class getprojstate extends Struct {
805
1162
  entity_id: UInt64;
806
1163
  task_count?: UInt8;
@@ -834,6 +1191,13 @@ declare namespace Types {
834
1191
  owner: Name;
835
1192
  entity_type?: Name;
836
1193
  }
1194
+ class getupgjobs extends Struct {
1195
+ dock_id: UInt64;
1196
+ }
1197
+ class getvotes extends Struct {
1198
+ x: Int64;
1199
+ y: Int64;
1200
+ }
837
1201
  class getwormhole extends Struct {
838
1202
  x: Int64;
839
1203
  y: Int64;
@@ -869,9 +1233,20 @@ declare namespace Types {
869
1233
  class importentity extends Struct {
870
1234
  row: entity_row;
871
1235
  }
1236
+ class importepoch extends Struct {
1237
+ row: epoch_row;
1238
+ }
872
1239
  class importgroup extends Struct {
873
1240
  row: entitygroup_row;
874
1241
  }
1242
+ class nftconfig_row extends Struct {
1243
+ item_id: UInt16;
1244
+ template_id: Int32;
1245
+ schema_name: Name;
1246
+ }
1247
+ class importnftcfg extends Struct {
1248
+ row: nftconfig_row;
1249
+ }
875
1250
  class importplayer extends Struct {
876
1251
  owner: Name;
877
1252
  }
@@ -894,6 +1269,89 @@ declare namespace Types {
894
1269
  class importstate extends Struct {
895
1270
  row: state_row;
896
1271
  }
1272
+ class infballot_row extends Struct {
1273
+ location_id: UInt64;
1274
+ epoch: UInt32;
1275
+ }
1276
+ class infburn_row extends Struct {
1277
+ bps: UInt16;
1278
+ }
1279
+ class infdemand_row extends Struct {
1280
+ peak: UInt64;
1281
+ base: UInt64;
1282
+ floor: UInt64;
1283
+ }
1284
+ class infloc_row extends Struct {
1285
+ location_id: UInt64;
1286
+ lifetime: UInt64;
1287
+ active: UInt64;
1288
+ last_update_epoch: UInt32;
1289
+ watermark: UInt64;
1290
+ chosen: UInt32;
1291
+ chosen_epoch: UInt32;
1292
+ founder: Name;
1293
+ founded: UInt32;
1294
+ }
1295
+ class influence_totals extends Struct {
1296
+ player_lifetime: UInt64;
1297
+ player_active: UInt64;
1298
+ standing_lifetime: UInt64;
1299
+ standing_active: UInt64;
1300
+ location_lifetime: UInt64;
1301
+ location_active: UInt64;
1302
+ watermark: UInt64;
1303
+ mandate: UInt32;
1304
+ founder: Name;
1305
+ founded: UInt32;
1306
+ epoch: UInt32;
1307
+ }
1308
+ class infmint_row extends Struct {
1309
+ category: UInt8;
1310
+ tier: UInt8;
1311
+ threshold: UInt64;
1312
+ }
1313
+ class infplayer_row extends Struct {
1314
+ account: Name;
1315
+ lifetime: UInt64;
1316
+ active: UInt64;
1317
+ last_update_epoch: UInt32;
1318
+ }
1319
+ class infplayerloc_row extends Struct {
1320
+ location_id: UInt64;
1321
+ lifetime: UInt64;
1322
+ active: UInt64;
1323
+ last_update_epoch: UInt32;
1324
+ }
1325
+ class infpool_row extends Struct {
1326
+ category: UInt8;
1327
+ tier: UInt8;
1328
+ grade: UInt8;
1329
+ quantity: UInt64;
1330
+ stats: UInt64;
1331
+ bar: UInt64;
1332
+ }
1333
+ class infquality_row extends Struct {
1334
+ d1: UInt32;
1335
+ }
1336
+ class inftally_row extends Struct {
1337
+ node_id: UInt64;
1338
+ total: UInt64;
1339
+ }
1340
+ class infvalue_result extends Struct {
1341
+ total_atomic: UInt64;
1342
+ per_item_atomic: UInt64[];
1343
+ }
1344
+ class infvote_row extends Struct {
1345
+ account: Name;
1346
+ epoch: UInt32;
1347
+ node_id: UInt32;
1348
+ weight: UInt64;
1349
+ }
1350
+ class infweight_row extends Struct {
1351
+ category: UInt8;
1352
+ tier: UInt8;
1353
+ weight_fp: UInt64;
1354
+ }
897
1355
  class item_id_pair extends Struct {
898
1356
  id: UInt16;
899
1357
  name: string;
@@ -1003,6 +1461,22 @@ declare namespace Types {
1003
1461
  is_system: boolean;
1004
1462
  is_wormhole: boolean;
1005
1463
  }
1464
+ class mint_threshold_view extends Struct {
1465
+ category: UInt8;
1466
+ tier: UInt8;
1467
+ threshold: UInt64;
1468
+ }
1469
+ class mintcfg_result extends Struct {
1470
+ thresholds: mint_threshold_view[];
1471
+ burn_bps: UInt16;
1472
+ }
1473
+ class mintq_row extends Struct {
1474
+ id: UInt64;
1475
+ grade: UInt8;
1476
+ }
1477
+ class mintready extends Struct {
1478
+ max_mints?: UInt32;
1479
+ }
1006
1480
  class module_info extends Struct {
1007
1481
  id: UInt16;
1008
1482
  mass: UInt32;
@@ -1019,6 +1493,11 @@ declare namespace Types {
1019
1493
  to_gx: Int8;
1020
1494
  to_gy: Int8;
1021
1495
  }
1496
+ class naturalize extends Struct {
1497
+ player: Name;
1498
+ x: Int64;
1499
+ y: Int64;
1500
+ }
1022
1501
  class nearby_system extends Struct {
1023
1502
  distance: UInt64;
1024
1503
  energy_cost: UInt64;
@@ -1055,11 +1534,6 @@ declare namespace Types {
1055
1534
  schema_name: Name;
1056
1535
  template_id: Int32;
1057
1536
  }
1058
- class nftconfig_row extends Struct {
1059
- item_id: UInt16;
1060
- template_id: Int32;
1061
- schema_name: Name;
1062
- }
1063
1537
  class nftimgurl extends Struct {
1064
1538
  item: cargo_item;
1065
1539
  location?: coordinates;
@@ -1107,6 +1581,29 @@ declare namespace Types {
1107
1581
  class player_row extends Struct {
1108
1582
  owner: Name;
1109
1583
  }
1584
+ class pool_pair_result extends Struct {
1585
+ category: UInt8;
1586
+ tier: UInt8;
1587
+ item_id: UInt16;
1588
+ standard_quantity: UInt64;
1589
+ standard_stats: UInt64;
1590
+ premium_quantity: UInt64;
1591
+ premium_stats: UInt64;
1592
+ bar: UInt64;
1593
+ threshold: UInt64;
1594
+ }
1595
+ class pool_view extends Struct {
1596
+ category: UInt8;
1597
+ tier: UInt8;
1598
+ grade: UInt8;
1599
+ item_id: UInt16;
1600
+ quantity: UInt64;
1601
+ stats: UInt64;
1602
+ bar: UInt64;
1603
+ }
1604
+ class pools_result extends Struct {
1605
+ pools: pool_view[];
1606
+ }
1110
1607
  class projected_state extends Struct {
1111
1608
  owner: Name;
1112
1609
  coordinates: coordinates;
@@ -1217,6 +1714,27 @@ declare namespace Types {
1217
1714
  x: Int64;
1218
1715
  y: Int64;
1219
1716
  }
1717
+ class setinfburn extends Struct {
1718
+ bps: UInt16;
1719
+ }
1720
+ class setinfd1 extends Struct {
1721
+ d1: UInt32;
1722
+ }
1723
+ class setinfdemand extends Struct {
1724
+ peak: UInt64;
1725
+ base: UInt64;
1726
+ floor: UInt64;
1727
+ }
1728
+ class setinfmint extends Struct {
1729
+ category: UInt8;
1730
+ tier: UInt8;
1731
+ threshold: UInt64;
1732
+ }
1733
+ class setinfweight extends Struct {
1734
+ category: UInt8;
1735
+ tier: UInt8;
1736
+ weight_fp: UInt64;
1737
+ }
1220
1738
  class setnextid extends Struct {
1221
1739
  next_id: UInt64;
1222
1740
  }
@@ -1309,12 +1827,37 @@ declare namespace Types {
1309
1827
  waypoints: route_waypoint[];
1310
1828
  recharge: boolean;
1311
1829
  }
1830
+ class vote_option extends Struct {
1831
+ node_id: UInt32;
1832
+ cost: UInt64;
1833
+ total: UInt64;
1834
+ eligible: boolean;
1835
+ }
1836
+ class vote_result extends Struct {
1837
+ location_id: UInt64;
1838
+ epoch: UInt32;
1839
+ ballot_epoch: UInt32;
1840
+ chosen: UInt32;
1841
+ chosen_epoch: UInt32;
1842
+ effective: UInt32;
1843
+ options: vote_option[];
1844
+ }
1312
1845
  class types_row extends Struct {
1313
1846
  id: UInt64;
1314
1847
  entity_summary_type: entity_summary;
1315
1848
  game_config_type: game_config;
1316
1849
  stratum_remaining_type: stratum_remaining;
1317
1850
  nft_item_payload_type: nft_item_payload;
1851
+ decomp_result_type: decomp_result;
1852
+ demand_result_type: demand_result;
1853
+ infvalue_result_type: infvalue_result;
1854
+ influence_totals_type: influence_totals;
1855
+ pools_result_type: pools_result;
1856
+ pool_pair_result_type: pool_pair_result;
1857
+ mintcfg_result_type: mintcfg_result;
1858
+ charter_result_type: charter_result;
1859
+ vote_result_type: vote_result;
1860
+ depot_view_type: depot_view;
1318
1861
  }
1319
1862
  class undeploy extends Struct {
1320
1863
  host_id: UInt64;
@@ -1325,6 +1868,20 @@ declare namespace Types {
1325
1868
  to_id: UInt64;
1326
1869
  items: cargo_item[];
1327
1870
  }
1871
+ class upgjob_row extends Struct {
1872
+ id: UInt64;
1873
+ dock: UInt64;
1874
+ target: UInt64;
1875
+ owner: Name;
1876
+ coords: coordinates;
1877
+ starts_at: TimePoint;
1878
+ completes_at: TimePoint;
1879
+ target_item_id: UInt16;
1880
+ cargo: cargo_item[];
1881
+ }
1882
+ class upgjobs_result extends Struct {
1883
+ jobs: upgjob_row[];
1884
+ }
1328
1885
  class upgrade extends Struct {
1329
1886
  builder_id: UInt64;
1330
1887
  target_id: UInt64;
@@ -1332,6 +1889,21 @@ declare namespace Types {
1332
1889
  inputs: cargo_item[];
1333
1890
  slot?: UInt8;
1334
1891
  }
1892
+ class upgradejob extends Struct {
1893
+ target_id: UInt64;
1894
+ dock_id: UInt64;
1895
+ target_item_id: UInt16;
1896
+ inputs: cargo_item[];
1897
+ }
1898
+ class votecharter extends Struct {
1899
+ player: Name;
1900
+ x: Int64;
1901
+ y: Int64;
1902
+ node_id: UInt32;
1903
+ }
1904
+ class voteready extends Struct {
1905
+ max_ballots: UInt32;
1906
+ }
1335
1907
  class warp extends Struct {
1336
1908
  id: UInt64;
1337
1909
  x: Int64;
@@ -1356,15 +1928,31 @@ declare namespace Types {
1356
1928
  }
1357
1929
  declare const TableMap: {
1358
1930
  cargo: typeof Types.cargo_row;
1931
+ charters: typeof Types.charters_row;
1359
1932
  civicconfig: typeof Types.civicconfig_row;
1360
1933
  claims: typeof Types.claim_row;
1361
1934
  cluster: typeof Types.cluster_row;
1362
1935
  commit: typeof Types.commit_row;
1936
+ depot: typeof Types.depot_row;
1937
+ depotacct: typeof Types.depotacct_row;
1363
1938
  entity: typeof Types.entity_row;
1364
1939
  entitygroup: typeof Types.entitygroup_row;
1365
1940
  entityseq: typeof Types.entity_seq_row;
1366
1941
  epoch: typeof Types.epoch_row;
1942
+ infballot: typeof Types.infballot_row;
1943
+ infburn: typeof Types.infburn_row;
1944
+ infdemand: typeof Types.infdemand_row;
1945
+ infloc: typeof Types.infloc_row;
1946
+ infmint: typeof Types.infmint_row;
1947
+ infplayer: typeof Types.infplayer_row;
1948
+ infplayerloc: typeof Types.infplayerloc_row;
1949
+ infpool: typeof Types.infpool_row;
1950
+ infquality: typeof Types.infquality_row;
1951
+ inftally: typeof Types.inftally_row;
1952
+ infvote: typeof Types.infvote_row;
1953
+ infweight: typeof Types.infweight_row;
1367
1954
  jobs: typeof Types.job_row;
1955
+ mintq: typeof Types.mintq_row;
1368
1956
  nftconfig: typeof Types.nftconfig_row;
1369
1957
  oraclecfg: typeof Types.oracle_config_row;
1370
1958
  oracles: typeof Types.oracle_row;
@@ -1374,20 +1962,37 @@ declare const TableMap: {
1374
1962
  service: typeof Types.service_row;
1375
1963
  state: typeof Types.state_row;
1376
1964
  types: typeof Types.types_row;
1965
+ upgjobs: typeof Types.upgjob_row;
1377
1966
  wrapconfig: typeof Types.wrapconfig_row;
1378
1967
  wrapcost: typeof Types.wrapcost_row;
1379
1968
  };
1380
1969
  interface TableTypes {
1381
1970
  cargo: Types.cargo_row;
1971
+ charters: Types.charters_row;
1382
1972
  civicconfig: Types.civicconfig_row;
1383
1973
  claims: Types.claim_row;
1384
1974
  cluster: Types.cluster_row;
1385
1975
  commit: Types.commit_row;
1976
+ depot: Types.depot_row;
1977
+ depotacct: Types.depotacct_row;
1386
1978
  entity: Types.entity_row;
1387
1979
  entitygroup: Types.entitygroup_row;
1388
1980
  entityseq: Types.entity_seq_row;
1389
1981
  epoch: Types.epoch_row;
1982
+ infballot: Types.infballot_row;
1983
+ infburn: Types.infburn_row;
1984
+ infdemand: Types.infdemand_row;
1985
+ infloc: Types.infloc_row;
1986
+ infmint: Types.infmint_row;
1987
+ infplayer: Types.infplayer_row;
1988
+ infplayerloc: Types.infplayerloc_row;
1989
+ infpool: Types.infpool_row;
1990
+ infquality: Types.infquality_row;
1991
+ inftally: Types.inftally_row;
1992
+ infvote: Types.infvote_row;
1993
+ infweight: Types.infweight_row;
1390
1994
  jobs: Types.job_row;
1995
+ mintq: Types.mintq_row;
1391
1996
  nftconfig: Types.nftconfig_row;
1392
1997
  oraclecfg: Types.oracle_config_row;
1393
1998
  oracles: Types.oracle_row;
@@ -1397,6 +2002,7 @@ interface TableTypes {
1397
2002
  service: Types.service_row;
1398
2003
  state: Types.state_row;
1399
2004
  types: Types.types_row;
2005
+ upgjobs: Types.upgjob_row;
1400
2006
  wrapconfig: Types.wrapconfig_row;
1401
2007
  wrapcost: Types.wrapcost_row;
1402
2008
  }
@@ -1404,10 +2010,11 @@ type RowType<T> = T extends keyof TableTypes ? TableTypes[T] : any;
1404
2010
  type TableNames = keyof TableTypes;
1405
2011
  declare namespace ActionParams {
1406
2012
  namespace Type {
1407
- interface cargo_ref {
2013
+ interface cargo_item {
1408
2014
  item_id: UInt16Type;
1409
2015
  stats: UInt64Type;
1410
2016
  modules: Type.module_entry[];
2017
+ quantity: UInt32Type;
1411
2018
  entity_id?: UInt64Type;
1412
2019
  }
1413
2020
  interface module_entry {
@@ -1418,11 +2025,10 @@ declare namespace ActionParams {
1418
2025
  item_id: UInt16Type;
1419
2026
  stats: UInt64Type;
1420
2027
  }
1421
- interface cargo_item {
2028
+ interface cargo_ref {
1422
2029
  item_id: UInt16Type;
1423
2030
  stats: UInt64Type;
1424
2031
  modules: Type.module_entry[];
1425
- quantity: UInt32Type;
1426
2032
  entity_id?: UInt64Type;
1427
2033
  }
1428
2034
  interface cluster_slot {
@@ -1519,10 +2125,21 @@ declare namespace ActionParams {
1519
2125
  modules: Type.module_entry[];
1520
2126
  sequence_id?: UInt64Type;
1521
2127
  }
2128
+ interface epoch_row {
2129
+ epoch: UInt64Type;
2130
+ oracle_ids: NameType[];
2131
+ threshold: UInt8Type;
2132
+ seed: Checksum256Type;
2133
+ }
1522
2134
  interface entitygroup_row {
1523
2135
  id: UInt64Type;
1524
2136
  participants: Type.entity_ref[];
1525
2137
  }
2138
+ interface nftconfig_row {
2139
+ item_id: UInt16Type;
2140
+ template_id: Int32Type;
2141
+ schema_name: NameType;
2142
+ }
1526
2143
  interface reserve_row {
1527
2144
  id: UInt64Type;
1528
2145
  coord_id: UInt64Type;
@@ -1561,6 +2178,16 @@ declare namespace ActionParams {
1561
2178
  y: Int64Type;
1562
2179
  }
1563
2180
  }
2181
+ interface abandonplot {
2182
+ plot_id: UInt64Type;
2183
+ }
2184
+ interface addcontrib {
2185
+ player: NameType;
2186
+ entity_id: UInt64Type;
2187
+ x: Int64Type;
2188
+ y: Int64Type;
2189
+ bundle: Type.cargo_item[];
2190
+ }
1564
2191
  interface addmodule {
1565
2192
  entity_id: UInt64Type;
1566
2193
  module_index: UInt8Type;
@@ -1592,6 +2219,13 @@ declare namespace ActionParams {
1592
2219
  job_id: UInt64Type;
1593
2220
  ship_id: UInt64Type;
1594
2221
  }
2222
+ interface cancelupgrade {
2223
+ job_id: UInt64Type;
2224
+ }
2225
+ interface charterready {
2226
+ x: Int64Type;
2227
+ y: Int64Type;
2228
+ }
1595
2229
  interface claimjob {
1596
2230
  job_id: UInt64Type;
1597
2231
  ship_id: UInt64Type;
@@ -1604,6 +2238,9 @@ declare namespace ActionParams {
1604
2238
  interface claimstarter {
1605
2239
  owner: NameType;
1606
2240
  }
2241
+ interface claimupgrade {
2242
+ job_id: UInt64Type;
2243
+ }
1607
2244
  interface cleanrsvp {
1608
2245
  epoch: UInt64Type;
1609
2246
  max_rows: UInt64Type;
@@ -1645,6 +2282,17 @@ declare namespace ActionParams {
1645
2282
  quantity: UInt32Type;
1646
2283
  inputs: Type.cargo_item[];
1647
2284
  }
2285
+ interface dbgcredit {
2286
+ owner: NameType;
2287
+ x: Int64Type;
2288
+ y: Int64Type;
2289
+ amount_atomic: UInt64Type;
2290
+ }
2291
+ interface dbgmandate {
2292
+ x: Int64Type;
2293
+ y: Int64Type;
2294
+ node_id: UInt32Type;
2295
+ }
1648
2296
  interface delentity {
1649
2297
  entity_id: UInt64Type;
1650
2298
  }
@@ -1656,6 +2304,16 @@ declare namespace ActionParams {
1656
2304
  ref: Type.cargo_ref;
1657
2305
  slot?: Type.cluster_slot;
1658
2306
  }
2307
+ interface depotstore {
2308
+ ship_id: UInt64Type;
2309
+ depot_id: UInt64Type;
2310
+ items: Type.cargo_item[];
2311
+ }
2312
+ interface depottake {
2313
+ ship_id: UInt64Type;
2314
+ depot_id: UInt64Type;
2315
+ items: Type.cargo_item[];
2316
+ }
1659
2317
  interface descentity {
1660
2318
  item_id: UInt16Type;
1661
2319
  hull_stats: UInt64Type;
@@ -1668,9 +2326,17 @@ declare namespace ActionParams {
1668
2326
  interface fixcargomass {
1669
2327
  entity_id: UInt64Type;
1670
2328
  }
2329
+ interface fixitemids {
2330
+ }
1671
2331
  interface forcereveal {
1672
2332
  epoch: UInt64Type;
1673
2333
  }
2334
+ interface found {
2335
+ player: NameType;
2336
+ entity_id: UInt64Type;
2337
+ x: Int64Type;
2338
+ y: Int64Type;
2339
+ }
1674
2340
  interface gather {
1675
2341
  source_id: UInt64Type;
1676
2342
  destination_id: UInt64Type;
@@ -1689,15 +2355,32 @@ declare namespace ActionParams {
1689
2355
  interface genesisfleet {
1690
2356
  entities: Type.entity_row[];
1691
2357
  }
2358
+ interface getcharter {
2359
+ x: Int64Type;
2360
+ y: Int64Type;
2361
+ }
2362
+ interface getcharttree {
2363
+ }
1692
2364
  interface getcluster {
1693
2365
  hub_id: UInt64Type;
1694
2366
  }
1695
2367
  interface getconfig {
1696
2368
  }
2369
+ interface getdecomp {
2370
+ item_id: UInt16Type;
2371
+ }
2372
+ interface getdemand {
2373
+ x: Int64Type;
2374
+ y: Int64Type;
2375
+ }
1697
2376
  interface getdeposit {
1698
2377
  owner: NameType;
1699
2378
  asset_id: UInt64Type;
1700
2379
  }
2380
+ interface getdepot {
2381
+ depot_id: UInt64Type;
2382
+ owner: NameType;
2383
+ }
1701
2384
  interface getdistance {
1702
2385
  ax: Int64Type;
1703
2386
  ay: Int64Type;
@@ -1720,6 +2403,20 @@ declare namespace ActionParams {
1720
2403
  interface getfootprint {
1721
2404
  item_id: UInt16Type;
1722
2405
  }
2406
+ interface getinfdecay {
2407
+ active: UInt64Type;
2408
+ epochs: UInt32Type;
2409
+ }
2410
+ interface getinfluence {
2411
+ owner: NameType;
2412
+ x: Int64Type;
2413
+ y: Int64Type;
2414
+ }
2415
+ interface getinfvalue {
2416
+ items: Type.cargo_item[];
2417
+ x: Int64Type;
2418
+ y: Int64Type;
2419
+ }
1723
2420
  interface getitemdata {
1724
2421
  }
1725
2422
  interface getitemids {
@@ -1744,6 +2441,8 @@ declare namespace ActionParams {
1744
2441
  x: Int64Type;
1745
2442
  y: Int64Type;
1746
2443
  }
2444
+ interface getmintcfg {
2445
+ }
1747
2446
  interface getmodtypes {
1748
2447
  }
1749
2448
  interface getmodules {
@@ -1759,6 +2458,12 @@ declare namespace ActionParams {
1759
2458
  interface getplayer {
1760
2459
  account: NameType;
1761
2460
  }
2461
+ interface getpool {
2462
+ category: UInt8Type;
2463
+ tier: UInt8Type;
2464
+ }
2465
+ interface getpools {
2466
+ }
1762
2467
  interface getprojstate {
1763
2468
  entity_id: UInt64Type;
1764
2469
  task_count?: UInt8Type;
@@ -1792,6 +2497,13 @@ declare namespace ActionParams {
1792
2497
  owner: NameType;
1793
2498
  entity_type?: NameType;
1794
2499
  }
2500
+ interface getupgjobs {
2501
+ dock_id: UInt64Type;
2502
+ }
2503
+ interface getvotes {
2504
+ x: Int64Type;
2505
+ y: Int64Type;
2506
+ }
1795
2507
  interface getwormhole {
1796
2508
  x: Int64Type;
1797
2509
  y: Int64Type;
@@ -1827,9 +2539,15 @@ declare namespace ActionParams {
1827
2539
  interface importentity {
1828
2540
  row: Type.entity_row;
1829
2541
  }
2542
+ interface importepoch {
2543
+ row: Type.epoch_row;
2544
+ }
1830
2545
  interface importgroup {
1831
2546
  row: Type.entitygroup_row;
1832
2547
  }
2548
+ interface importnftcfg {
2549
+ row: Type.nftconfig_row;
2550
+ }
1833
2551
  interface importplayer {
1834
2552
  owner: NameType;
1835
2553
  }
@@ -1853,6 +2571,9 @@ declare namespace ActionParams {
1853
2571
  from_id: UInt64Type;
1854
2572
  items: Type.cargo_item[];
1855
2573
  }
2574
+ interface mintready {
2575
+ max_mints?: UInt32Type;
2576
+ }
1856
2577
  interface movetile {
1857
2578
  hub_id: UInt64Type;
1858
2579
  from_gx: Int8Type;
@@ -1860,6 +2581,11 @@ declare namespace ActionParams {
1860
2581
  to_gx: Int8Type;
1861
2582
  to_gy: Int8Type;
1862
2583
  }
2584
+ interface naturalize {
2585
+ player: NameType;
2586
+ x: Int64Type;
2587
+ y: Int64Type;
2588
+ }
1863
2589
  interface nftimgurl {
1864
2590
  item: Type.cargo_item;
1865
2591
  location?: Type.coordinates;
@@ -1925,6 +2651,27 @@ declare namespace ActionParams {
1925
2651
  x: Int64Type;
1926
2652
  y: Int64Type;
1927
2653
  }
2654
+ interface setinfburn {
2655
+ bps: UInt16Type;
2656
+ }
2657
+ interface setinfd1 {
2658
+ d1: UInt32Type;
2659
+ }
2660
+ interface setinfdemand {
2661
+ peak: UInt64Type;
2662
+ base: UInt64Type;
2663
+ floor: UInt64Type;
2664
+ }
2665
+ interface setinfmint {
2666
+ category: UInt8Type;
2667
+ tier: UInt8Type;
2668
+ threshold: UInt64Type;
2669
+ }
2670
+ interface setinfweight {
2671
+ category: UInt8Type;
2672
+ tier: UInt8Type;
2673
+ weight_fp: UInt64Type;
2674
+ }
1928
2675
  interface setnextid {
1929
2676
  next_id: UInt64Type;
1930
2677
  }
@@ -2014,6 +2761,21 @@ declare namespace ActionParams {
2014
2761
  inputs: Type.cargo_item[];
2015
2762
  slot?: UInt8Type;
2016
2763
  }
2764
+ interface upgradejob {
2765
+ target_id: UInt64Type;
2766
+ dock_id: UInt64Type;
2767
+ target_item_id: UInt16Type;
2768
+ inputs: Type.cargo_item[];
2769
+ }
2770
+ interface votecharter {
2771
+ player: NameType;
2772
+ x: Int64Type;
2773
+ y: Int64Type;
2774
+ node_id: UInt32Type;
2775
+ }
2776
+ interface voteready {
2777
+ max_ballots: UInt32Type;
2778
+ }
2017
2779
  interface warp {
2018
2780
  id: UInt64Type;
2019
2781
  x: Int64Type;
@@ -2023,6 +2785,8 @@ declare namespace ActionParams {
2023
2785
  }
2024
2786
  }
2025
2787
  interface ActionNameParams {
2788
+ abandonplot: ActionParams.abandonplot;
2789
+ addcontrib: ActionParams.addcontrib;
2026
2790
  addmodule: ActionParams.addmodule;
2027
2791
  addnexus: ActionParams.addnexus;
2028
2792
  addoracle: ActionParams.addoracle;
@@ -2030,9 +2794,12 @@ interface ActionNameParams {
2030
2794
  buildplot: ActionParams.buildplot;
2031
2795
  cancel: ActionParams.cancel;
2032
2796
  canceljob: ActionParams.canceljob;
2797
+ cancelupgrade: ActionParams.cancelupgrade;
2798
+ charterready: ActionParams.charterready;
2033
2799
  claimjob: ActionParams.claimjob;
2034
2800
  claimplot: ActionParams.claimplot;
2035
2801
  claimstarter: ActionParams.claimstarter;
2802
+ claimupgrade: ActionParams.claimupgrade;
2036
2803
  cleanrsvp: ActionParams.cleanrsvp;
2037
2804
  cleartable: ActionParams.cleartable;
2038
2805
  clustercraft: ActionParams.clustercraft;
@@ -2040,25 +2807,39 @@ interface ActionNameParams {
2040
2807
  configlog: ActionParams.configlog;
2041
2808
  craft: ActionParams.craft;
2042
2809
  craftjob: ActionParams.craftjob;
2810
+ dbgcredit: ActionParams.dbgcredit;
2811
+ dbgmandate: ActionParams.dbgmandate;
2043
2812
  delentity: ActionParams.delentity;
2044
2813
  demolish: ActionParams.demolish;
2045
2814
  deploy: ActionParams.deploy;
2815
+ depotstore: ActionParams.depotstore;
2816
+ depottake: ActionParams.depottake;
2046
2817
  descentity: ActionParams.descentity;
2047
2818
  enable: ActionParams.enable;
2048
2819
  fixcargomass: ActionParams.fixcargomass;
2820
+ fixitemids: ActionParams.fixitemids;
2049
2821
  forcereveal: ActionParams.forcereveal;
2822
+ found: ActionParams.found;
2050
2823
  gather: ActionParams.gather;
2051
2824
  gatherplan: ActionParams.gatherplan;
2052
2825
  genesisfleet: ActionParams.genesisfleet;
2826
+ getcharter: ActionParams.getcharter;
2827
+ getcharttree: ActionParams.getcharttree;
2053
2828
  getcluster: ActionParams.getcluster;
2054
2829
  getconfig: ActionParams.getconfig;
2830
+ getdecomp: ActionParams.getdecomp;
2831
+ getdemand: ActionParams.getdemand;
2055
2832
  getdeposit: ActionParams.getdeposit;
2833
+ getdepot: ActionParams.getdepot;
2056
2834
  getdistance: ActionParams.getdistance;
2057
2835
  geteligible: ActionParams.geteligible;
2058
2836
  getentcls: ActionParams.getentcls;
2059
2837
  getentities: ActionParams.getentities;
2060
2838
  getentity: ActionParams.getentity;
2061
2839
  getfootprint: ActionParams.getfootprint;
2840
+ getinfdecay: ActionParams.getinfdecay;
2841
+ getinfluence: ActionParams.getinfluence;
2842
+ getinfvalue: ActionParams.getinfvalue;
2062
2843
  getitemdata: ActionParams.getitemdata;
2063
2844
  getitemids: ActionParams.getitemids;
2064
2845
  getitems: ActionParams.getitems;
@@ -2068,12 +2849,15 @@ interface ActionNameParams {
2068
2849
  getkindmeta: ActionParams.getkindmeta;
2069
2850
  getlocation: ActionParams.getlocation;
2070
2851
  getlocdata: ActionParams.getlocdata;
2852
+ getmintcfg: ActionParams.getmintcfg;
2071
2853
  getmodtypes: ActionParams.getmodtypes;
2072
2854
  getmodules: ActionParams.getmodules;
2073
2855
  getnearby: ActionParams.getnearby;
2074
2856
  getnftbase: ActionParams.getnftbase;
2075
2857
  getnftinfo: ActionParams.getnftinfo;
2076
2858
  getplayer: ActionParams.getplayer;
2859
+ getpool: ActionParams.getpool;
2860
+ getpools: ActionParams.getpools;
2077
2861
  getprojstate: ActionParams.getprojstate;
2078
2862
  getrecipe: ActionParams.getrecipe;
2079
2863
  getrecipes: ActionParams.getrecipes;
@@ -2084,6 +2868,8 @@ interface ActionNameParams {
2084
2868
  getslots: ActionParams.getslots;
2085
2869
  getstratum: ActionParams.getstratum;
2086
2870
  getsummaries: ActionParams.getsummaries;
2871
+ getupgjobs: ActionParams.getupgjobs;
2872
+ getvotes: ActionParams.getvotes;
2087
2873
  getwormhole: ActionParams.getwormhole;
2088
2874
  grouptransit: ActionParams.grouptransit;
2089
2875
  grouptravel: ActionParams.grouptravel;
@@ -2092,14 +2878,18 @@ interface ActionNameParams {
2092
2878
  importcargo: ActionParams.importcargo;
2093
2879
  importcell: ActionParams.importcell;
2094
2880
  importentity: ActionParams.importentity;
2881
+ importepoch: ActionParams.importepoch;
2095
2882
  importgroup: ActionParams.importgroup;
2883
+ importnftcfg: ActionParams.importnftcfg;
2096
2884
  importplayer: ActionParams.importplayer;
2097
2885
  importreserve: ActionParams.importreserve;
2098
2886
  importstate: ActionParams.importstate;
2099
2887
  join: ActionParams.join;
2100
2888
  launch: ActionParams.launch;
2101
2889
  load: ActionParams.load;
2890
+ mintready: ActionParams.mintready;
2102
2891
  movetile: ActionParams.movetile;
2892
+ naturalize: ActionParams.naturalize;
2103
2893
  nftimgurl: ActionParams.nftimgurl;
2104
2894
  notify: ActionParams.notify;
2105
2895
  placecargo: ActionParams.placecargo;
@@ -2117,6 +2907,11 @@ interface ActionNameParams {
2117
2907
  setcivic: ActionParams.setcivic;
2118
2908
  setcluster: ActionParams.setcluster;
2119
2909
  setcoords: ActionParams.setcoords;
2910
+ setinfburn: ActionParams.setinfburn;
2911
+ setinfd1: ActionParams.setinfd1;
2912
+ setinfdemand: ActionParams.setinfdemand;
2913
+ setinfmint: ActionParams.setinfmint;
2914
+ setinfweight: ActionParams.setinfweight;
2120
2915
  setnextid: ActionParams.setnextid;
2121
2916
  setnftcfg: ActionParams.setnftcfg;
2122
2917
  setsocket: ActionParams.setsocket;
@@ -2134,11 +2929,16 @@ interface ActionNameParams {
2134
2929
  undeploy: ActionParams.undeploy;
2135
2930
  unload: ActionParams.unload;
2136
2931
  upgrade: ActionParams.upgrade;
2932
+ upgradejob: ActionParams.upgradejob;
2933
+ votecharter: ActionParams.votecharter;
2934
+ voteready: ActionParams.voteready;
2137
2935
  warp: ActionParams.warp;
2138
2936
  wipe: ActionParams.wipe;
2139
2937
  }
2140
2938
  type ActionNames = keyof ActionNameParams;
2141
2939
  interface ActionReturnValues {
2940
+ abandonplot: Types.task_results;
2941
+ addcontrib: Types.task_results;
2142
2942
  buildplot: Types.task_results;
2143
2943
  cancel: Types.cancel_results;
2144
2944
  claimplot: Types.task_results;
@@ -2147,18 +2947,28 @@ interface ActionReturnValues {
2147
2947
  craftjob: Types.job_receipt;
2148
2948
  demolish: Types.task_results;
2149
2949
  deploy: Types.task_results;
2950
+ depotstore: Types.task_results;
2951
+ depottake: Types.task_results;
2150
2952
  descentity: string;
2151
2953
  gather: Types.task_results;
2152
2954
  gatherplan: Types.task_results;
2955
+ getcharter: Types.charter_result;
2956
+ getcharttree: Types.charter_tree_result;
2153
2957
  getcluster: Types.cluster_row;
2154
2958
  getconfig: Types.game_config;
2959
+ getdecomp: Types.decomp_result;
2960
+ getdemand: Types.demand_result;
2155
2961
  getdeposit: ExtendedAsset;
2962
+ getdepot: Types.depot_view;
2156
2963
  getdistance: UInt64;
2157
2964
  geteligible: UInt16[];
2158
2965
  getentcls: Types.enum_result;
2159
2966
  getentities: Types.entity_info[];
2160
2967
  getentity: Types.entity_info;
2161
2968
  getfootprint: Types.footprint_result;
2969
+ getinfdecay: UInt64;
2970
+ getinfluence: Types.influence_totals;
2971
+ getinfvalue: Types.infvalue_result;
2162
2972
  getitemdata: Types.itemdata_result;
2163
2973
  getitemids: Types.item_ids_result;
2164
2974
  getitems: Types.items_info;
@@ -2168,12 +2978,15 @@ interface ActionReturnValues {
2168
2978
  getkindmeta: Types.kind_meta_result;
2169
2979
  getlocation: Types.location_info;
2170
2980
  getlocdata: Types.location_derived;
2981
+ getmintcfg: Types.mintcfg_result;
2171
2982
  getmodtypes: Types.enum_result;
2172
2983
  getmodules: Types.modules_result;
2173
2984
  getnearby: Types.nearby_info;
2174
2985
  getnftbase: string[];
2175
2986
  getnftinfo: Types.nftinfo_result;
2176
2987
  getplayer: Types.player_info;
2988
+ getpool: Types.pool_pair_result;
2989
+ getpools: Types.pools_result;
2177
2990
  getprojstate: Types.projected_state;
2178
2991
  getrecipe: Types.recipes_result;
2179
2992
  getrecipes: Types.recipes_result;
@@ -2184,6 +2997,8 @@ interface ActionReturnValues {
2184
2997
  getslots: Types.entity_layouts_result;
2185
2998
  getstratum: Types.stratum_data;
2186
2999
  getsummaries: Types.entity_summary[];
3000
+ getupgjobs: Types.upgjobs_result;
3001
+ getvotes: Types.vote_result;
2187
3002
  getwormhole: Types.wormhole_info;
2188
3003
  grouptransit: Types.task_results;
2189
3004
  grouptravel: Types.task_results;
@@ -2209,10 +3024,11 @@ interface ActionReturnValues {
2209
3024
  undeploy: Types.task_results;
2210
3025
  unload: Types.task_results;
2211
3026
  upgrade: Types.task_results;
3027
+ upgradejob: Types.job_receipt;
2212
3028
  warp: Types.task_results;
2213
3029
  }
2214
3030
  type ActionReturnNames = keyof ActionReturnValues;
2215
- declare class Contract extends Contract$2 {
3031
+ declare class Contract extends Contract$3 {
2216
3032
  constructor(args: PartialBy<ContractArgs, 'abi' | 'account'>);
2217
3033
  action<T extends ActionNames>(name: T, data: ActionNameParams[T], options?: ActionOptions): Action;
2218
3034
  readonly<T extends ActionReturnNames>(name: T, data?: ActionNameParams[T]): ActionReturnValues[T];
@@ -2387,7 +3203,8 @@ declare enum TaskType {
2387
3203
  CHARGE = 16,
2388
3204
  UPGRADE = 17,
2389
3205
  SHUTTLE = 18,
2390
- REFIT = 19
3206
+ REFIT = 19,
3207
+ CONTRIBUTE = 20
2391
3208
  }
2392
3209
  declare enum RefitOp {
2393
3210
  ADD = 0,
@@ -2425,6 +3242,10 @@ declare class Coordinates extends Types.coordinates {
2425
3242
  toLocationId(): UInt64;
2426
3243
  }
2427
3244
  declare function coordsToLocationId(coords: CoordinatesType): UInt64;
3245
+ declare function locationIdToCoords(id: UInt64Type): {
3246
+ x: number;
3247
+ y: number;
3248
+ };
2428
3249
  interface Distance {
2429
3250
  origin: ActionParams.Type.coordinates;
2430
3251
  destination: ActionParams.Type.coordinates;
@@ -2538,7 +3359,9 @@ declare const ITEM_TENDER_T1A_PACKED = 10212;
2538
3359
  declare const ITEM_WRIGHT_T1A_PACKED = 10213;
2539
3360
  declare const ITEM_TUG_T1A_PACKED = 10214;
2540
3361
  declare const ITEM_PORTER_T1A_PACKED = 10215;
3362
+ declare const ITEM_NEXUS_T1_PACKED = 10216;
2541
3363
  declare const ITEM_SMITH_T1A_PACKED = 10218;
3364
+ declare const ITEM_DEPOT_T1_PACKED = 10219;
2542
3365
  declare const ITEM_PLATE_T2 = 11001;
2543
3366
  declare const ITEM_FRAME_T2 = 11002;
2544
3367
  declare const ITEM_PLASMA_CELL_T2 = 11003;
@@ -2605,7 +3428,7 @@ declare enum EntityClass {
2605
3428
  Plot = 2,
2606
3429
  OrbitalStructure = 3
2607
3430
  }
2608
- type EntityTypeName = 'ship' | 'warehouse' | 'extractor' | 'factory' | 'builddock' | 'workshop' | 'container' | 'nexus' | 'plot' | 'mdriver' | 'mcatcher' | 'hub';
3431
+ type EntityTypeName = 'ship' | 'warehouse' | 'extractor' | 'factory' | 'builddock' | 'workshop' | 'container' | 'nexus' | 'plot' | 'mdriver' | 'mcatcher' | 'hub' | 'depot';
2609
3432
  interface KindMeta {
2610
3433
  kind: Name;
2611
3434
  classification: EntityClass;
@@ -2633,6 +3456,7 @@ declare const ENTITY_WORKSHOP: Name;
2633
3456
  declare const ENTITY_CONTAINER: Name;
2634
3457
  declare const ENTITY_NEXUS: Name;
2635
3458
  declare const ENTITY_HUB: Name;
3459
+ declare const ENTITY_DEPOT: Name;
2636
3460
  declare function isShip(entity: {
2637
3461
  type?: Name;
2638
3462
  }): boolean;
@@ -2663,6 +3487,9 @@ declare function isPlot(entity: {
2663
3487
  declare function isHub(entity: {
2664
3488
  type?: Name;
2665
3489
  }): boolean;
3490
+ declare function isDepot(entity: {
3491
+ type?: Name;
3492
+ }): boolean;
2666
3493
 
2667
3494
  declare class EntityInventory extends Types.cargo_item {
2668
3495
  private _item?;
@@ -3458,6 +4285,8 @@ declare class ActionsManager extends BaseManager {
3458
4285
  refrshentity(entityId: UInt64Type): Action;
3459
4286
  load(id: UInt64Type, fromId: UInt64Type, items: ActionParams.Type.cargo_item[]): Action;
3460
4287
  unload(id: UInt64Type, toId: UInt64Type, items: ActionParams.Type.cargo_item[]): Action;
4288
+ depotstore(shipId: UInt64Type, depotId: UInt64Type, items: ActionParams.Type.cargo_item[]): Action;
4289
+ depottake(shipId: UInt64Type, depotId: UInt64Type, items: ActionParams.Type.cargo_item[]): Action;
3461
4290
  shuttle(carrierId: UInt64Type, fromId: UInt64Type, toId: UInt64Type, items: ActionParams.Type.cargo_item[]): Action;
3462
4291
  launch(launcherId: UInt64Type, catcherId: UInt64Type, items: ActionParams.Type.cargo_item[]): Action;
3463
4292
  getLaunchQuote(launcher: LaunchQuoteLauncher, catcher: LaunchQuoteCatcher, items: ActionParams.Type.cargo_item[], start?: Date): LaunchQuote;
@@ -3471,6 +4300,9 @@ declare class ActionsManager extends BaseManager {
3471
4300
  clustercraft(entityId: UInt64Type, recipeId: number, quantity: number, sources: ActionParams.Type.cluster_source[], target?: UInt64Type, slot?: UInt8Type): Action;
3472
4301
  claimjob(jobId: UInt64Type, shipId: UInt64Type): Action;
3473
4302
  canceljob(jobId: UInt64Type, shipId: UInt64Type): Action;
4303
+ upgradejob(targetId: UInt64Type, dockId: UInt64Type, targetItemId: UInt16Type, inputs: ActionParams.Type.cargo_item[]): Action;
4304
+ claimupgrade(jobId: UInt64Type): Action;
4305
+ cancelupgrade(jobId: UInt64Type): Action;
3474
4306
  setsocket(workshopId: UInt64Type, slot: UInt8Type, open: boolean): Action;
3475
4307
  blend(entityId: UInt64Type, inputs: ActionParams.Type.cargo_item[]): Action;
3476
4308
  deploy(entityId: UInt64Type, ref: ActionParams.Type.cargo_ref, slot?: ClusterSlotType): Action;
@@ -3479,6 +4311,7 @@ declare class ActionsManager extends BaseManager {
3479
4311
  movetile(hubId: UInt64Type, fromGx: number, fromGy: number, toGx: number, toGy: number): Action;
3480
4312
  swaptile(hubId: UInt64Type, aGx: number, aGy: number, bGx: number, bGy: number): Action;
3481
4313
  buildplot(entityId: UInt64Type, plotId: UInt64Type): Action;
4314
+ abandonplot(plotId: UInt64Type): Action;
3482
4315
  addmodule(entityId: UInt64Type, moduleIndex: number, moduleRef: ActionParams.Type.cargo_ref, targetRef?: ActionParams.Type.cargo_ref | null): Action;
3483
4316
  rmmodule(entityId: UInt64Type, moduleIndex: number, targetRef?: ActionParams.Type.cargo_ref | null): Action;
3484
4317
  swapmodule(entityId: UInt64Type, moduleIndex: number, moduleRef: ActionParams.Type.cargo_ref): Action;
@@ -3506,6 +4339,14 @@ declare class ActionsManager extends BaseManager {
3506
4339
  removeoracle(oracleId: NameType): Action;
3507
4340
  setthreshold(threshold: UInt8Type): Action;
3508
4341
  cleanrsvp(epoch: UInt64Type, maxRows: UInt64Type): Action;
4342
+ found(player: NameType, entityId: UInt64Type, location: CoordinatesType): Action;
4343
+ naturalize(player: NameType, location: CoordinatesType): Action;
4344
+ contribute(player: NameType, entityId: UInt64Type, location: CoordinatesType, bundle: ActionParams.Type.cargo_item[]): Action;
4345
+ firstContribution(player: NameType, entityId: UInt64Type, location: CoordinatesType, bundle: ActionParams.Type.cargo_item[]): Action[];
4346
+ mintready(maxMints?: UInt32Type): Action;
4347
+ charterready(location: CoordinatesType): Action;
4348
+ votecharter(player: NameType, location: CoordinatesType, nodeId: UInt32Type): Action;
4349
+ voteready(maxBallots?: UInt32Type): Action;
3509
4350
  }
3510
4351
 
3511
4352
  interface GridCell {
@@ -3545,6 +4386,362 @@ declare class NftManager extends BaseManager {
3545
4386
  getWrapDeposit(itemType: number, tier: number): Promise<WrapDeposit | null>;
3546
4387
  }
3547
4388
 
4389
+ type CargoItem$3 = Types.cargo_item;
4390
+ interface JobWindow {
4391
+ id: number;
4392
+ socket: number;
4393
+ owner: string;
4394
+ startsAt: Date;
4395
+ completesAt: Date;
4396
+ recipeId: number;
4397
+ quantity: number;
4398
+ /** Packed stat roll of the job's output, when the source carried the job's cargo. */
4399
+ outputStats?: bigint;
4400
+ }
4401
+ interface JobLaneEntry {
4402
+ kind: 'idle' | 'job';
4403
+ startsAt: Date;
4404
+ completesAt: Date;
4405
+ job?: JobWindow;
4406
+ }
4407
+ interface JobLane {
4408
+ socket: number;
4409
+ entries: JobLaneEntry[];
4410
+ }
4411
+ declare const JOB_QUEUE_CAP = 25;
4412
+ declare function jobsToLanes(jobs: JobWindow[], socketCount: number, now: Date): JobLane[];
4413
+ declare function socketTail(jobs: JobWindow[], socket: number, now: Date): Date;
4414
+ declare function pickFabricator(jobs: JobWindow[], sockets: Array<{
4415
+ open: boolean;
4416
+ }>, durationBySocketMinutes: number[], now: Date): {
4417
+ slot: number;
4418
+ startsAt: Date;
4419
+ completesAt: Date;
4420
+ } | null;
4421
+ type JobStatus = 'waiting' | 'crafting' | 'ready';
4422
+ declare function jobStatus(job: {
4423
+ startsAt: Date;
4424
+ completesAt: Date;
4425
+ }, now: Date): JobStatus;
4426
+ declare function splitJobCargo<T>(cargo: readonly T[]): {
4427
+ output: T | null;
4428
+ inputs: T[];
4429
+ };
4430
+ interface OwnedJob {
4431
+ id: number;
4432
+ workshop: number;
4433
+ socket: number;
4434
+ shipId: number;
4435
+ coords: {
4436
+ x: number;
4437
+ y: number;
4438
+ };
4439
+ startsAt: Date;
4440
+ completesAt: Date;
4441
+ recipeId: number;
4442
+ quantity: number;
4443
+ status: JobStatus;
4444
+ output: CargoItem$3 | null;
4445
+ inputs: CargoItem$3[];
4446
+ /** Packed stat roll of `output`, so every job shape answers this the same way. */
4447
+ outputStats?: bigint;
4448
+ }
4449
+
4450
+ declare class JobsManager extends BaseManager {
4451
+ getOwnedJobs(owner: NameType, opts?: {
4452
+ now?: Date;
4453
+ }): Promise<OwnedJob[]>;
4454
+ private parseOwnedJob;
4455
+ }
4456
+
4457
+ declare const INFLUENCE_ATOMIC_PER_POINT = 10000;
4458
+ declare const NEED_FP_SCALE = 10000;
4459
+ declare const WEIGHT_FP_SCALE = 10000;
4460
+ declare const MASS_KG_PER_TONNE = 1000;
4461
+ declare const INFLUENCE_WEIGHT_FP_MAX = 1000000n;
4462
+ declare const INFLUENCE_NEED_FP_MAX = 1000000n;
4463
+ declare const INFLUENCE_MASS_KG_MAX: bigint;
4464
+ declare const DECAY_RETAIN_NUM = 19n;
4465
+ declare const DECAY_RETAIN_DEN = 20n;
4466
+ declare const DECAY_MAX_ITERATIONS = 1024;
4467
+ declare const W_EFF_ATOMIC_PER_KG: bigint;
4468
+ declare const DECOMP_MAX_BUCKETS = 12;
4469
+ declare const DECOMP_MAX_DEPTH = 8;
4470
+ declare const DECOMP_RAW_KG_MAX = 100000000;
4471
+ declare const DECOMP_PROCESSED_KG_MAX = 100000000;
4472
+ declare const RESOURCE_ORE = 0;
4473
+ declare const RESOURCE_GAS = 1;
4474
+ declare const RESOURCE_REGOLITH = 2;
4475
+ declare const RESOURCE_BIOMASS = 3;
4476
+ declare const RESOURCE_CRYSTAL = 4;
4477
+ declare const RESOURCE_CATEGORY_COUNT = 5;
4478
+ declare const CIVIC_LOADER_STAT = 213;
4479
+ declare const CIVIC_LOADER_TIER = 1;
4480
+ declare const DEFAULT_ORBITAL_Z = 800;
4481
+ declare const GRADE_STANDARD = 0;
4482
+ declare const GRADE_PREMIUM = 1;
4483
+ declare const MINTREADY_DEFAULT_CAP = 10;
4484
+ declare const BAR_SEED = 102363;
4485
+ declare const BAR_STEP_UNIT = 20;
4486
+ declare const BAR_STEP_UP: number;
4487
+ declare const BAR_STEP_DOWN = 20;
4488
+ declare const CHARTER_NONE = 0;
4489
+ declare const CHARTER_WORKSHOP = 1;
4490
+ declare const CHARTER_EFFECT_SPAWN_ENTITY = 1;
4491
+ declare const CHARTER_EFFECT_REFIT_MODULES = 2;
4492
+ declare const VOTE_READY_DEFAULT_MAX = 20;
4493
+ declare const CHARTER_WORKSHOP_COST = 2000000000n;
4494
+ declare const CHARTER_BASELINE_STAT = 213;
4495
+ declare const CHARTER_MAX_PREREQS = 4;
4496
+ declare const INFLUENCE_D1_SEED = 45369;
4497
+ declare const DEMAND_TRIPLE_SEED: {
4498
+ peak: bigint;
4499
+ base: bigint;
4500
+ floor: bigint;
4501
+ };
4502
+ declare function poolKey(category: number, tier: number, grade: number): bigint;
4503
+ declare function influenceWeightKey(category: number, tier: number): bigint;
4504
+ declare function atomicToPoints(atomic: bigint | number | string): number;
4505
+
4506
+ declare function categoryIndex(category: ResourceCategory): number;
4507
+ declare function categoryAtIndex(index: number): ResourceCategory;
4508
+ declare function allCategoryIndexes(): number[];
4509
+
4510
+ declare function decayActive(active: bigint, epochsElapsed: number): bigint;
4511
+ interface DecayableStanding {
4512
+ active: bigint;
4513
+ lastUpdateEpoch: number;
4514
+ }
4515
+ declare function normalizeActive(standing: DecayableStanding, epoch: number): bigint;
4516
+
4517
+ declare function getStatCount(itemId: number): number;
4518
+ declare function statsSumSq(packedStats: bigint, nStats: number): number;
4519
+ declare function qualityFactor(packedStats: bigint, nStats: number, d1: number): number;
4520
+
4521
+ interface DecompBucket {
4522
+ category: number;
4523
+ tier: number;
4524
+ rawKg: number;
4525
+ }
4526
+ interface DecompEntry {
4527
+ itemId: number;
4528
+ processedKg: number;
4529
+ buckets: DecompBucket[];
4530
+ }
4531
+ declare const DECOMP_REGISTRY: DecompEntry[];
4532
+ declare function findDecomp(itemId: number): DecompEntry | undefined;
4533
+
4534
+ interface DemandTriple {
4535
+ peak: bigint;
4536
+ base: bigint;
4537
+ floor: bigint;
4538
+ }
4539
+ interface DemandView {
4540
+ abundantMask: number;
4541
+ lackingMask: number;
4542
+ acute: number;
4543
+ needFp: bigint[];
4544
+ }
4545
+ declare function abundantMaskFor(locationType: number, subtype: number): number;
4546
+ declare function lackingMaskFrom(abundantMask: number): number;
4547
+ declare function popcount5(mask: number): number;
4548
+ declare function pickAcuteCategory(lackingMask: number, roll: number): number;
4549
+ declare function demandRoll(hash: Checksum512): number;
4550
+ declare function buildDemand(abundantMask: number, acute: number, triple: DemandTriple): DemandView;
4551
+ declare function needForCategory(demand: DemandView, category: number): bigint;
4552
+ declare function deriveDemand(args: {
4553
+ gameSeed: Checksum256Type;
4554
+ epochSeed: Checksum256Type;
4555
+ coordinates: CoordinatesType;
4556
+ triple: DemandTriple;
4557
+ }): DemandView;
4558
+ declare function isAbundant(demand: DemandView, category: number): boolean;
4559
+ declare function isAcute(demand: DemandView, category: number): boolean;
4560
+ declare function needMultiplier(demand: DemandView, category: number): number;
4561
+
4562
+ interface InfluencePricing {
4563
+ d1: number;
4564
+ weight(category: number, tier: number): bigint;
4565
+ }
4566
+ interface ValuedItem {
4567
+ itemId: number;
4568
+ quantity: number;
4569
+ stats: bigint;
4570
+ }
4571
+ declare function weightedQualityAtomic(weightedKgFp: bigint, sumSq: number, nStats: number, d1: number, needFp: bigint): bigint;
4572
+ declare function resourceValueAtomic(massKg: bigint, weightFp: bigint, sumSq: number, nStats: number, d1: number, needFp: bigint): bigint;
4573
+ declare function componentBaseAtomic(weightedRawKgFp: bigint, sumSq: number, nStats: number, d1: number): bigint;
4574
+ declare function componentEffortAtomic(processedKgPerUnit: number, quantity: number): bigint;
4575
+ declare function valueCargoItem(item: ValuedItem, demand: DemandView, pricing: InfluencePricing): bigint;
4576
+ declare function valueContribution(bundle: ValuedItem[], demand: DemandView, pricing: InfluencePricing): bigint;
4577
+ declare function pricingFromWeights(d1: number, weights: Iterable<{
4578
+ category: number;
4579
+ tier: number;
4580
+ weightFp: bigint | number | string;
4581
+ }>): InfluencePricing;
4582
+
4583
+ interface CivicLoaderStats {
4584
+ thrust: number;
4585
+ mass: number;
4586
+ }
4587
+ declare function civicLoader(): CivicLoaderStats;
4588
+ declare function contributeDuration(totalMassKg: number, altitudeZ?: number): number;
4589
+ declare function contributeDurationForTonnes(tonnes: number, altitudeZ?: number): number;
4590
+
4591
+ declare function citizenryName(gameSeed: Checksum256Type, coordinates: CoordinatesType): string | undefined;
4592
+ declare function citizenryPatternCount(): number;
4593
+
4594
+ interface CharterEffect {
4595
+ kind: number;
4596
+ itemId: number;
4597
+ targetItemId: number;
4598
+ slotMask: number;
4599
+ stat: number;
4600
+ }
4601
+ interface CharterNode {
4602
+ nodeId: number;
4603
+ cost: bigint;
4604
+ prereqs: number[];
4605
+ effect: CharterEffect;
4606
+ }
4607
+ declare const CHARTER_REGISTRY: CharterNode[];
4608
+ declare function charterNode(nodeId: number): CharterNode | undefined;
4609
+ type CharterIneligibility = 'already-taken' | 'prereq-missing' | 'refit-target-missing';
4610
+ declare const CHARTER_INELIGIBILITY_MESSAGES: Record<CharterIneligibility, string>;
4611
+ interface BuiltCharter {
4612
+ nodeId: number;
4613
+ entityId: bigint;
4614
+ }
4615
+ interface CharterWorld {
4616
+ built: BuiltCharter[];
4617
+ entityExists?: (entityId: bigint) => boolean;
4618
+ }
4619
+ interface ChosenCharter {
4620
+ chosen: number;
4621
+ chosenEpoch: number;
4622
+ }
4623
+ declare function charterSpawnNodeFor(targetItemId: number): CharterNode | undefined;
4624
+ declare function charterPrereqsMet(world: CharterWorld, node: CharterNode): boolean;
4625
+ declare function charterEffectTargetEntity(world: CharterWorld, node: CharterNode): bigint;
4626
+ declare function charterEffectTargetPresent(world: CharterWorld, node: CharterNode): boolean;
4627
+ declare function charterIneligible(world: CharterWorld, node: CharterNode): CharterIneligibility | undefined;
4628
+ declare function charterEligible(world: CharterWorld, node: CharterNode): boolean;
4629
+ declare function eligibleCharters(world: CharterWorld): CharterNode[];
4630
+ declare function charterSingletonMandate(world: CharterWorld): number;
4631
+ declare function effectiveMandate(stored: ChosenCharter, world: CharterWorld, epoch: number): number;
4632
+
4633
+ interface InfluenceStanding {
4634
+ epoch: number;
4635
+ playerLifetime: bigint;
4636
+ playerActive: bigint;
4637
+ standingLifetime: bigint;
4638
+ standingActive: bigint;
4639
+ locationLifetime: bigint;
4640
+ locationActive: bigint;
4641
+ watermark: bigint;
4642
+ mandate: number;
4643
+ founder: Name;
4644
+ founded: number;
4645
+ }
4646
+ interface CharterProgress {
4647
+ locationId: bigint;
4648
+ lifetime: bigint;
4649
+ watermark: bigint;
4650
+ surplus: bigint;
4651
+ mandate: number;
4652
+ nextCost: bigint;
4653
+ prereqsMet: boolean;
4654
+ buildable: boolean;
4655
+ epoch: number;
4656
+ built: {
4657
+ nodeId: number;
4658
+ completedEpoch: number;
4659
+ entityId: bigint;
4660
+ }[];
4661
+ }
4662
+ interface ContributePreviewRow {
4663
+ itemId: number;
4664
+ quantity: number;
4665
+ stats: bigint;
4666
+ valueAtomic: bigint;
4667
+ massKg: number;
4668
+ }
4669
+ interface ContributePreview {
4670
+ rows: ContributePreviewRow[];
4671
+ totalAtomic: bigint;
4672
+ totalMassKg: number;
4673
+ durationSeconds: number;
4674
+ demand: DemandView;
4675
+ }
4676
+ interface FoundedWorld {
4677
+ locationId: bigint;
4678
+ x: number;
4679
+ y: number;
4680
+ lifetime: bigint;
4681
+ active: bigint;
4682
+ watermark: bigint;
4683
+ chosen: number;
4684
+ chosenEpoch: number;
4685
+ mandate: number | undefined;
4686
+ founder: Name;
4687
+ founded: number;
4688
+ }
4689
+ interface VoteOption {
4690
+ nodeId: number;
4691
+ cost: bigint;
4692
+ eligible: boolean;
4693
+ total: bigint | undefined;
4694
+ }
4695
+ interface VoteStandings {
4696
+ locationId: bigint;
4697
+ epoch: number;
4698
+ chosen: number;
4699
+ chosenEpoch: number;
4700
+ mandate: number;
4701
+ ballotEpoch: number | undefined;
4702
+ talliesSuppressed: boolean;
4703
+ options: VoteOption[];
4704
+ }
4705
+ interface VoteCast {
4706
+ account: Name;
4707
+ epoch: number;
4708
+ nodeId: number;
4709
+ weight: bigint;
4710
+ }
4711
+ interface PendingBallot {
4712
+ locationId: bigint;
4713
+ x: number;
4714
+ y: number;
4715
+ epoch: number;
4716
+ }
4717
+ declare class InfluenceManager extends BaseManager {
4718
+ getStanding(owner: NameType, location: CoordinatesType): Promise<InfluenceStanding>;
4719
+ getDemandConfig(): Promise<DemandTriple>;
4720
+ getQualityDivisor(): Promise<number>;
4721
+ getWeights(): Promise<Types.infweight_row[]>;
4722
+ getDemand(location: CoordinatesType): Promise<DemandView>;
4723
+ getCitizenryName(location: CoordinatesType): Promise<string | undefined>;
4724
+ previewContribution(location: CoordinatesType, bundle: ValuedItem[], opts?: {
4725
+ altitudeZ?: number;
4726
+ }): Promise<ContributePreview>;
4727
+ getCharter(location: CoordinatesType): Promise<CharterProgress>;
4728
+ getPools(): Promise<Types.pool_view[]>;
4729
+ getPool(category: number, tier: number): Promise<Types.pool_pair_result>;
4730
+ getMintConfig(): Promise<Types.mintcfg_result>;
4731
+ getVotes(location: CoordinatesType): Promise<VoteStandings>;
4732
+ getVoteCasts(location: CoordinatesType): Promise<VoteCast[]>;
4733
+ getVoteTallies(location: CoordinatesType): Promise<{
4734
+ nodeId: number;
4735
+ total: bigint;
4736
+ }[]>;
4737
+ getBuiltCharters(location: CoordinatesType): Promise<BuiltCharter[]>;
4738
+ getBallotQueue(): Promise<PendingBallot[]>;
4739
+ getFoundedWorlds(opts?: {
4740
+ withMandate?: boolean;
4741
+ }): Promise<FoundedWorld[]>;
4742
+ isFounded(location: CoordinatesType): Promise<boolean>;
4743
+ }
4744
+
3548
4745
  type EntityInfo$2 = Types.entity_info;
3549
4746
  interface BoundingBox {
3550
4747
  min_x: number;
@@ -3768,8 +4965,8 @@ declare class SubscriptionsManager {
3768
4965
 
3769
4966
  declare class GameContext {
3770
4967
  readonly client: APIClient;
3771
- readonly server: Contract$2;
3772
- readonly platform: Contract$2;
4968
+ readonly server: Contract$3;
4969
+ readonly platform: Contract$3;
3773
4970
  readonly atomicAssetsAccount: string;
3774
4971
  private _entities?;
3775
4972
  private _players?;
@@ -3779,11 +4976,13 @@ declare class GameContext {
3779
4976
  private _actions?;
3780
4977
  private _clusters?;
3781
4978
  private _nft?;
4979
+ private _jobs?;
4980
+ private _influence?;
3782
4981
  private _subscriptions?;
3783
4982
  private _subscriptionsUrl?;
3784
4983
  private _gameCache?;
3785
4984
  private _stateCache?;
3786
- constructor(client: APIClient, server: Contract$2, platform: Contract$2, atomicAssetsAccount?: string);
4985
+ constructor(client: APIClient, server: Contract$3, platform: Contract$3, atomicAssetsAccount?: string);
3787
4986
  get entities(): EntitiesManager;
3788
4987
  get players(): PlayersManager;
3789
4988
  get locations(): LocationsManager;
@@ -3792,6 +4991,8 @@ declare class GameContext {
3792
4991
  get actions(): ActionsManager;
3793
4992
  get clusters(): ClusterManager;
3794
4993
  get nft(): NftManager;
4994
+ get jobs(): JobsManager;
4995
+ get influence(): InfluenceManager;
3795
4996
  setSubscriptionsUrl(url: string): void;
3796
4997
  get subscriptions(): SubscriptionsManager;
3797
4998
  getGame(reload?: boolean): Promise<Types$1.game_row>;
@@ -3817,6 +5018,7 @@ declare class EntitiesManager extends BaseManager {
3817
5018
  getEntities(owner: NameType | Types.player_row, kind?: EntityTypeName): Promise<Entity$1[]>;
3818
5019
  getAllEntities(kind?: EntityTypeName): Promise<Types.entity_row[]>;
3819
5020
  getSummaries(owner: NameType | Types.player_row, kind?: EntityTypeName): Promise<Types.entity_summary[]>;
5021
+ getDepot(depotId: UInt64Type, owner: NameType | Types.player_row): Promise<Types.depot_view>;
3820
5022
  private resolveOwner;
3821
5023
  }
3822
5024
 
@@ -3828,8 +5030,8 @@ interface ShiploadOptions {
3828
5030
  atomicAssetsAccount?: string;
3829
5031
  }
3830
5032
  interface ShiploadConstructorOptions extends ShiploadOptions {
3831
- platformContract?: Contract$2;
3832
- serverContract?: Contract$2;
5033
+ platformContract?: Contract$3;
5034
+ serverContract?: Contract$3;
3833
5035
  }
3834
5036
  declare class Shipload {
3835
5037
  private readonly _context;
@@ -3837,8 +5039,8 @@ declare class Shipload {
3837
5039
  static load(chain: ChainDefinition, shiploadOptions?: ShiploadOptions): Promise<Shipload>;
3838
5040
  get client(): APIClient;
3839
5041
  get atomicAssetsAccount(): string;
3840
- get server(): Contract$2;
3841
- get platform(): Contract$2;
5042
+ get server(): Contract$3;
5043
+ get platform(): Contract$3;
3842
5044
  get entities(): EntitiesManager;
3843
5045
  get players(): PlayersManager;
3844
5046
  get locations(): LocationsManager;
@@ -3847,6 +5049,8 @@ declare class Shipload {
3847
5049
  get actions(): ActionsManager;
3848
5050
  get clusters(): ClusterManager;
3849
5051
  get nft(): NftManager;
5052
+ get jobs(): JobsManager;
5053
+ get influence(): InfluenceManager;
3850
5054
  get subscriptions(): SubscriptionsManager;
3851
5055
  getGame(reload?: boolean): Promise<Types$1.game_row>;
3852
5056
  getState(reload?: boolean): Promise<GameState>;
@@ -3967,6 +5171,7 @@ interface PlotProgress {
3967
5171
  declare class ConstructionManager extends BaseManager {
3968
5172
  private readonly plot;
3969
5173
  getTarget(entity: Types.entity_row, cargo: Types.cargo_row[], activeTask?: Types.task, scheduledBuild?: ScheduledBuild): BuildableTarget | null;
5174
+ canAbandon(entity: Types.entity_row, cargo: Types.cargo_row[]): boolean;
3970
5175
  eligibleSources(target: BuildableTarget, entities: Types.entity_info[], cargo: Types.cargo_row[]): SourceEntityRef[];
3971
5176
  unreachableSources(target: BuildableTarget, entities: Types.entity_info[], cargo: Types.cargo_row[]): SourceEntityRef[];
3972
5177
  partitionSources(target: BuildableTarget, entities: Types.entity_info[], cargo: Types.cargo_row[]): {
@@ -4410,36 +5615,6 @@ interface TaskCargoChange {
4410
5615
  }
4411
5616
  declare function taskCargoChanges(task: Types.task): TaskCargoChange[];
4412
5617
 
4413
- interface JobWindow {
4414
- id: number;
4415
- socket: number;
4416
- owner: string;
4417
- startsAt: Date;
4418
- completesAt: Date;
4419
- recipeId: number;
4420
- quantity: number;
4421
- }
4422
- interface JobLaneEntry {
4423
- kind: 'idle' | 'job';
4424
- startsAt: Date;
4425
- completesAt: Date;
4426
- job?: JobWindow;
4427
- }
4428
- interface JobLane {
4429
- socket: number;
4430
- entries: JobLaneEntry[];
4431
- }
4432
- declare const JOB_QUEUE_CAP = 25;
4433
- declare function jobsToLanes(jobs: JobWindow[], socketCount: number, now: Date): JobLane[];
4434
- declare function socketTail(jobs: JobWindow[], socket: number, now: Date): Date;
4435
- declare function pickFabricator(jobs: JobWindow[], sockets: Array<{
4436
- open: boolean;
4437
- }>, durationBySocketMinutes: number[], now: Date): {
4438
- slot: number;
4439
- startsAt: Date;
4440
- completesAt: Date;
4441
- } | null;
4442
-
4443
5618
  type EntityInfo$1 = Types.entity_info;
4444
5619
  type CounterpartLookup = (entityId: UInt64) => EntityInfo$1 | undefined;
4445
5620
  type IdleResolveTarget = ScheduleData & {
@@ -4863,6 +6038,10 @@ declare function computeWarehouseHullCapabilities(stats: Record<string, number>)
4863
6038
  hullmass: number;
4864
6039
  capacity: number;
4865
6040
  };
6041
+ declare function computeDepotHullCapabilities(stats: Record<string, number>): {
6042
+ hullmass: number;
6043
+ capacity: number;
6044
+ };
4866
6045
  interface GathererLaneEntry {
4867
6046
  slotIndex: number;
4868
6047
  yield: number;
@@ -5113,6 +6292,7 @@ declare function computeBaseCapacityShip(stats: bigint): number;
5113
6292
  declare function computeBaseCapacityContainer(stats: bigint): number;
5114
6293
  declare function computeBaseCapacityWarehouse(stats: bigint): number;
5115
6294
  declare function computeBaseCapacityWorkshop(stats: bigint): number;
6295
+ declare function computeBaseCapacityDepot(stats: bigint): number;
5116
6296
  declare function computeBaseCapacityForEntity(itemId: number, stats: bigint): number;
5117
6297
  declare const computeEngineThrust: (vol: number, tier: number) => number;
5118
6298
  declare const computeEngineDrain: (thm: number) => number;
@@ -5241,6 +6421,7 @@ declare const index_computeBaseCapacityShip: typeof computeBaseCapacityShip;
5241
6421
  declare const index_computeBaseCapacityContainer: typeof computeBaseCapacityContainer;
5242
6422
  declare const index_computeBaseCapacityWarehouse: typeof computeBaseCapacityWarehouse;
5243
6423
  declare const index_computeBaseCapacityWorkshop: typeof computeBaseCapacityWorkshop;
6424
+ declare const index_computeBaseCapacityDepot: typeof computeBaseCapacityDepot;
5244
6425
  declare const index_computeBaseCapacityForEntity: typeof computeBaseCapacityForEntity;
5245
6426
  declare const index_computeEngineThrust: typeof computeEngineThrust;
5246
6427
  declare const index_computeEngineDrain: typeof computeEngineDrain;
@@ -5315,6 +6496,7 @@ declare namespace index {
5315
6496
  index_computeBaseCapacityContainer as computeBaseCapacityContainer,
5316
6497
  index_computeBaseCapacityWarehouse as computeBaseCapacityWarehouse,
5317
6498
  index_computeBaseCapacityWorkshop as computeBaseCapacityWorkshop,
6499
+ index_computeBaseCapacityDepot as computeBaseCapacityDepot,
5318
6500
  index_computeBaseCapacityForEntity as computeBaseCapacityForEntity,
5319
6501
  index_computeEngineThrust as computeEngineThrust,
5320
6502
  index_computeEngineDrain as computeEngineDrain,
@@ -5383,6 +6565,8 @@ declare function formatLocation(loc: {
5383
6565
  y: number;
5384
6566
  }): string;
5385
6567
  declare function formatMassScaled(kg: number): string;
6568
+ declare function formatInfluence(atomic: bigint | number | string): string;
6569
+ declare function formatNeedMultiplier(needFp: bigint | number | string): string;
5386
6570
 
5387
6571
  interface DisplayNameInputCommon {
5388
6572
  tier: number;
@@ -5520,4 +6704,4 @@ type entity_row = Types.entity_row;
5520
6704
  type location_static = Types.location_static;
5521
6705
  type location_derived = Types.location_derived;
5522
6706
 
5523
- export { ALL_ENTITY_TYPES, ATOMICASSETS_ACCOUNT, AckMessage, ActionsManager, AnyEntity, AtomicAssetRow, AtomicAttributeType, AtomicSchemaRow, BASE_HAUL_PENALTY_MILLI, BASE_ORBITAL_MASS, BLEND_INPUTS_MUST_MATCH, BLEND_REQUIRES_MULTIPLE, BLEND_STAT_LESS_NOT_SUPPORTED, BoundingBox, BoundsDeltaMessage, BoundsSubscriptionHandle, BroadEntitySubscriptionFilter, BuildGatherPlanOpts, BuildMethod, BuildState, BuildableTarget, BuilderStats, CANCEL_CONTAINS_GROUPED_TASK, CAPACITY_TIER_TABLE, CAP_DEMOLISH, CAP_MODULES, CAP_UNDEPLOY, CAP_WRAP, CATEGORY_LABELS, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, COMPONENT_TIER_PREFIXES, CONTAINER_NOT_FOUND, CONTAINER_Z, COORD_MAX, COORD_MIN, COORD_OFFSET, CRAFT_ENERGY_DIVISOR, CRAFT_EXCEEDS_ENERGY_CAPACITY, CRAFT_NOT_ENOUGH_ENERGY, CancelBlockReason, CancelEffects, CancelEligibilityInput, CancelPlan, CancelRefund, CancelReleasedHold, CapabilityAttribute, CapabilityAttributeRow, CapabilityInput, CargoData, CargoInput, CargoMassInfo, CargoStack, CategoryInfo, CategoryStacks, ClientMessage, Cluster, ClusterCell, ClusterCellWire, ClusterDeltaMessage, ClusterManager, ClusterSlotType, ComputedCapabilities, ConnectionState, ConstructionManager, Container, ContainerEntity, Coord, CoordinateAddress, Coordinates, CoordinatesType, CounterpartLookup, CraftedItemCategory, CrafterCapability, CrafterStats, DEFAULT_BASE_HULLMASS, DEPLOY_ENTITY_HAS_SCHEDULE, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, DESTINATION_CAPACITY_EXCEEDED, DecodedAtomicAsset, DemandRow, DerivedLoaders, DerivedStratum, DescribeOptions, DisplayNameResult, Distance, ENGINE_DRAIN_BASE, ENGINE_DRAIN_REF_THM, ENGINE_DRAIN_REF_THRUST, ENTITY_ALREADY_THERE, ENTITY_CAPACITY_EXCEEDED, ENTITY_CARGO_NOT_LOADED, ENTITY_CARGO_NOT_OWNED, ENTITY_CONSTRUCTION_DOCK, ENTITY_CONTAINER, ENTITY_EXTRACTOR, ENTITY_FACTORY, ENTITY_HUB, ENTITY_INVALID_CARGO, ENTITY_INVALID_DESTINATION, ENTITY_INVALID_TRAVEL_DURATION, ENTITY_NEXUS, ENTITY_NOT_ENOUGH_ENERGY, ENTITY_NOT_ENOUGH_ENERGY_CAPACITY, ENTITY_NO_CRAFTER, ENTITY_SHIP, ENTITY_WAREHOUSE, ENTITY_WORKSHOP, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EffectiveReserveInput, EnergyCapability, EntitiesManager, EntitiesSubscriptionHandle, Entity$1 as Entity, EntityCapabilities, EntityClass, EntityDeletedMessage, EntityInfo$2 as EntityInfo, EntityInstance, EntityInventory, EntityLayout, EntityRefInput, EntitySlot, EntityState, EntityStateInput, EntitySubscriptionFilter, EntitySubscriptionHandle, EntitySubscriptionHandlers, EntitySubscriptionMeta, EntityTypeName, EpochInfo, EpochsManager, ErrorMessage, EstimateTravelTimeOptions, EstimatedTravelTime, EventCatchupCompleteMessage, EventMessage, ExactEntitySubscriptionFilter, Extractor, Factory, FetchAssetsOptions, FillCap, FinalizerCapability, FinalizerEntityRef, FloatPosition, GAME_NOT_FOUND, GAME_SEED_NOT_SET, GATHERER_DEPTH_MAX_TIER, GATHERER_DEPTH_TABLE, GATHER_EXCEEDS_ENERGY_CAPACITY, GATHER_MASS_DIVISOR, GATHER_NOT_ENOUGH_ENERGY, GROUP_DUPLICATE_ENTITY, GROUP_EMPTY, GROUP_ENTITY_NOT_MOVABLE, GROUP_HAUL_CAPACITY_EXCEEDED, GROUP_NOT_FOUND, GROUP_NOT_SAME_LOCATION, GROUP_NOT_SAME_OWNER, GROUP_NO_THRUST, GameState, GatherCycle, GatherLimpet, GatherPlan, GatherPlanEntity, GathererCapability, GathererDepthParams, GathererStats, GridCell, HAULER_EFFICIENCY_DENOM, HasCapacity, HasCargo, HasCargomass, HasScheduleAndLocation, HoldKind, INSUFFICIENT_BALANCE, INSUFFICIENT_ITEM_QUANTITY, INSUFFICIENT_ITEM_SUPPLY, INTAKE_RATE, INVALID_AMOUNT, ITEM_BATTERY_T1, ITEM_BATTERY_T2, ITEM_BEAM, ITEM_BEAM_T2, ITEM_BIOMASS_T1, ITEM_BIOMASS_T10, ITEM_BIOMASS_T2, ITEM_BIOMASS_T3, ITEM_BIOMASS_T4, ITEM_BIOMASS_T5, ITEM_BIOMASS_T6, ITEM_BIOMASS_T7, ITEM_BIOMASS_T8, ITEM_BIOMASS_T9, ITEM_BUILDER_T1, ITEM_BUILDER_T2, ITEM_CERAMIC, ITEM_CERAMIC_T2, ITEM_CONSTRUCTION_DOCK_T1_PACKED, ITEM_CONTAINER_T1_PACKED, ITEM_CONTAINER_T2_PACKED, ITEM_CRAFTER_T1, ITEM_CRAFTER_T2, ITEM_CRYSTAL_T1, ITEM_CRYSTAL_T10, ITEM_CRYSTAL_T2, ITEM_CRYSTAL_T3, ITEM_CRYSTAL_T4, ITEM_CRYSTAL_T5, ITEM_CRYSTAL_T6, ITEM_CRYSTAL_T7, ITEM_CRYSTAL_T8, ITEM_CRYSTAL_T9, ITEM_DOES_NOT_EXIST, ITEM_DREDGER_T2A_PACKED, ITEM_ENGINE_T1, ITEM_ENGINE_T2, ITEM_EXTRACTOR_T1_PACKED, ITEM_FACTORY_T1_PACKED, ITEM_FRAME, ITEM_FRAME_T2, ITEM_GAS_T1, ITEM_GAS_T10, ITEM_GAS_T2, ITEM_GAS_T3, ITEM_GAS_T4, ITEM_GAS_T5, ITEM_GAS_T6, ITEM_GAS_T7, ITEM_GAS_T8, ITEM_GAS_T9, ITEM_GATHERER_T1, ITEM_GATHERER_T2, ITEM_GENERATOR_T1, ITEM_GENERATOR_T2, ITEM_HAULER_T1, ITEM_HAULER_T2, ITEM_HUB_T1_PACKED, ITEM_LAUNCHER_T1, ITEM_LOADER_T1, ITEM_LOADER_T2, ITEM_MASS_CATCHER_T1_PACKED, ITEM_MASS_DRIVER_T1_PACKED, ITEM_NOT_AVAILABLE_AT_LOCATION, ITEM_NOT_DEPLOYABLE, ITEM_NOT_PACKED_ENTITY, ITEM_ORE_T1, ITEM_ORE_T10, ITEM_ORE_T2, ITEM_ORE_T3, ITEM_ORE_T4, ITEM_ORE_T5, ITEM_ORE_T6, ITEM_ORE_T7, ITEM_ORE_T8, ITEM_ORE_T9, ITEM_PLASMA_CELL, ITEM_PLASMA_CELL_T2, ITEM_PLATE, ITEM_PLATE_T2, ITEM_POLYMER, ITEM_POLYMER_T2, ITEM_PORTER_T1A_PACKED, ITEM_PROSPECTOR_T1A_PACKED, ITEM_PROSPECTOR_T2A_PACKED, ITEM_PROSPECTOR_T2B_PACKED, ITEM_REACTOR, ITEM_REACTOR_T2, ITEM_REGOLITH_T1, ITEM_REGOLITH_T10, ITEM_REGOLITH_T2, ITEM_REGOLITH_T3, ITEM_REGOLITH_T4, ITEM_REGOLITH_T5, ITEM_REGOLITH_T6, ITEM_REGOLITH_T7, ITEM_REGOLITH_T8, ITEM_REGOLITH_T9, ITEM_RESIN, ITEM_RESIN_T2, ITEM_RESONATOR, ITEM_RESONATOR_T2, ITEM_ROUSTABOUT_T1A_PACKED, ITEM_SENSOR, ITEM_SENSOR_T2, ITEM_SHIP_T1_PACKED, ITEM_SMITH_T1A_PACKED, ITEM_STORAGE_T1, ITEM_STORAGE_T2, ITEM_TENDER_T1A_PACKED, ITEM_TUG_T1A_PACKED, ITEM_TYPE_COMPONENT, ITEM_TYPE_ENTITY, ITEM_TYPE_MODULE, ITEM_TYPE_RESOURCE, ITEM_WAREHOUSE_T1_PACKED, ITEM_WARP_T1, ITEM_WARP_T2, ITEM_WORKSHOP_T1_PACKED, ITEM_WRIGHT_T1A_PACKED, IdleResolveTarget, ImmutableEntry, ImmutableModuleSlot, InboundTransfer, IncomingSource, InstalledModule, InventoryAccessor, Item, ItemType, JOB_QUEUE_CAP, JobLane, JobLaneEntry, JobWindow, KindMeta, LANE_BARRIER, LANE_MOBILITY, LOCAL_HALF, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, LanePlanEntry, LaneView, LaunchNumericInput, LaunchQuote, LaunchQuoteCatcher, LaunchQuoteLauncher, LaunchStatsInput, LoadTimeBreakdown, LoaderCapability, LoaderStats, Location, LocationStratum, LocationType, LocationsManager, MAX_LEGS, MAX_ORBITAL_ALTITUDE, MAX_STARS_PER_STAT, MAX_STAR_RATING, MIN_ORBITAL_ALTITUDE, MIN_TRANSFER_DISTANCE_ORBITAL_VESSEL, MIN_TRANSFER_DISTANCE_PLANETARY_STRUCTURE, MODULE_ANY, MODULE_AUX, MODULE_BATTERY, MODULE_BUILDER, MODULE_CARGO_NOT_FOUND, MODULE_CRAFTER, MODULE_ENGINE, MODULE_ENTITY_BUSY, MODULE_GATHERER, MODULE_GENERATOR, MODULE_HAULER, MODULE_LAUNCHER, MODULE_LOADER, MODULE_NOT_MODULE, MODULE_SLOT_EMPTY, MODULE_SLOT_INVALID, MODULE_SLOT_OCCUPIED, MODULE_STAT_SCALING_ANCHOR, MODULE_STAT_SCALING_POST_ANCHOR_PERCENT, MODULE_STORAGE, MODULE_TIER_PREFIXES, MODULE_TYPE_MISMATCH, MODULE_WARP, MassCapability, MintAssetParams, ModuleDescription, ModuleEntry, ModuleType, MovementCapability, index as NFT, NFTCargoItem, NFTCommonBase, NFTInstalledModule, NFTModuleSlot, NO_SCHEDULE, NamedStats, Neighbor, Nexus, NftConfigForItem, NftManager, OrderedTask, OwnerSubscriptionHandle, PLANETARY_STRUCTURE_Z, PLANET_SUBTYPE_GAS_GIANT, PLANET_SUBTYPE_ICY, PLANET_SUBTYPE_INDUSTRIAL, PLANET_SUBTYPE_OCEAN, PLANET_SUBTYPE_ROCKY, PLANET_SUBTYPE_TERRESTRIAL, PLAYER_ALREADY_JOINED, PLAYER_NOT_FOUND, PLAYER_NOT_JOINED, PRECISION, PackedModule, PackedModuleInput, PingMessage, PlanRouteParams, PlanTarget, PlanetSubtypeInfo, platform as PlatformContract, Types$1 as PlatformTypes, Player, PlayerRosterEntry, PlayerStateInput, PlayersManager, PongMessage, Projectable, ProjectedEntity, ProjectionOptions, RECIPE_INPUTS_EXCESS, RECIPE_INPUTS_INSUFFICIENT, RECIPE_INPUTS_INVALID, RECIPE_INPUTS_MIXED, RECIPE_NOT_FOUND, REGION_DIV, REGION_PER_AXIS, REQUIRES_MORE_THAN_ONE, REQUIRES_POSITIVE_VALUE, RESERVE_TIERS, RESOLVE_COUNT_EXCEEDS_COMPLETED, RESOURCE_TIER_ADJECTIVES, RESOURCE_TIER_MULT_TENTHS, RawData, ReachStats, Recipe, RecipeConsumer, RecipeInput, RecipeSlotInput, RefitOp, RenderDescriptionOptions, Reservation, ReserveTier, ResolvedAttributeGroup, ResolvedCrafterLane, ResolvedEvent, ResolvedGathererLane, ResolvedItem, ResolvedItemStat, ResolvedItemType, ResolvedLoaderLane, ResolvedModuleSlot, ResourceCategory, ResourceDemand, ResourceStats, RouteFailure, RouteFailureReason, RouteHeuristicCost, RouteLegCost, RouteLegInput, RouteLegSim, RouteMoverInput, RoutePlan, RouteResult, RouteSim, SECTORS_PER_AXIS, SECTOR_DIV, SHIPLOAD_COLLECTION, SHIP_ALREADY_TRAVELING, SHIP_CANNOT_BUY_TRAVELING, SHIP_CANNOT_CANCEL_TASK, SHIP_CANNOT_UPDATE_TRAVELING, SHIP_NOT_ARRIVED, SHIP_NOT_FOUND, SHIP_NOT_IDLE, SHIP_NOT_OWNED, SHIP_NO_COMPLETED_TASKS, SHIP_NO_TASKS_TO_CANCEL, SLOT_FORMULAS, STAR_STEP, ScanProvider, ScheduleAccessor, ScheduleCapability, ScheduleData, ScheduledBuild, SchemaField, server as ServerContract, ServerMessage, Types as ServerTypes, Ship, ShipEntity, ShipLike, Shipload, SlotConsumer, SlotConsumerKind, SnapshotMessage, SourceCargoStack, SourceEntityRef, StackInput, StarSortable, StatDefinition, StatFlow, StatMapping, StatSlot, StorageCapability, StratumInfo, SubscribeEntityMessage, SubscribeEventsMessage, SubscribeMessage, SubscriptionEntityType, SubscriptionsManager, SubscriptionsOptions, SystemGraph, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskCargoChange, TaskCargoDirection, TaskType, TemplateMeta, TextSpan, TierRange, TransferEntity, TravelDrainBreakdown, UnsubscribeEntityMessage, UnsubscribeEventsMessage, UnsubscribeMessage, UnwrapDestination, UnwrapItem, UpdateBoundsMessage, UpdateMessage, ValidateDisplayNameOptions, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_NOT_FOUND, WARP_HAS_CARGO, WARP_HAS_SCHEDULE, WARP_NOT_FULL_ENERGY, WARP_NO_CAPABILITY, WARP_OUT_OF_RANGE, WH, WOULD_OVERFILL, WOULD_STRAND, Warehouse, WarehouseEntity, WebSocketConnection, WebSocketConnectionOptions, WireCoordinates, WireEntity, WrapDeposit, YIELD_FRACTION_DEEP, YIELD_FRACTION_SHALLOW, addressFromCoordinates, allBuildableItems, allPlotBuildableItems, allocateProportional, applyCapacityTier, applyResourceTierMultiplier, availableBuildMethods, availableCapacity$1 as availableCapacity, availableCapacityFromMass, availableForItem, baseName, blendCargoStacks, blendComponentStacks, blendCrossGroup, blendStacks, buildComponentImmutable, buildEntityDescription, buildEntityImmutable, buildGatherPlan, buildImmutableData, buildMintAssetAction, buildModuleImmutable, buildResourceImmutable, calcCargoItemMass, calcCargoMass, calcClusterIntake, calcClustercraftDuration, calcCounterpartDelivery, calcEnergyUsage, calcStacksMass, calc_acceleration, calc_build_duration, calc_build_energy, calc_craft_duration, calc_craft_energy, calc_energyusage, calc_flighttime, calc_gather_duration, calc_gather_energy, calc_gather_rate, calc_group_flighttime, calc_loader_acceleration, calc_loader_flighttime, calc_onesided_duration, calc_orbital_altitude, calc_rechargetime, calc_ship_acceleration, calc_ship_flighttime, calc_ship_mass, calc_ship_rechargetime, calc_transfer_duration, calc_transit_duration, calc_travel_flighttime, calculateFlightTime, calculateLoadTimeBreakdown, calculateRefuelingTime, calculateTransferTime, canMove, cancelEligibility, candidateLaneCompletesAt, capabilityAttributes, capabilityNames, capacityTierMultiplier, capsHasCrafter, capsHasGatherer, capsHasHauler, capsHasLauncher, capsHasLoaders, capsHasMass, capsHasMovement, capsHasStorage, cargoInputKey, cargoItem, cargoItemToStack, cargoKey, cargoReadyAt, cargoRef, cargoUtils, cargo_item, categoryColors, categoryFromIndex, categoryLabel, categoryLabelFromIndex, clusterStockAvailable, compareByStars, componentIcon, composeIdleResolve, computeBaseCapacity, computeBaseCapacityContainer, computeBaseCapacityShip, computeBaseCapacityWarehouse, computeBaseHullmass, computeBatteryCapabilities, computeBuilderCapabilities, computeBuilderDrain, computeBuilderSpeed, computeComponentStats, computeContainerCapabilities, computeCraftedOutputStats, computeCrafterCapabilities, computeCrafterDrain, computeCrafterSpeed, computeEffectiveModuleStat, computeEngineCapabilities, computeEngineDrain, computeEngineThrust, computeEntityCapabilities, computeEntityStats, computeFreeCells, computeGathererCapabilities, computeGathererDepth, computeGathererDrain, computeGathererYield, computeGeneratorCap, computeGeneratorCapabilities, computeGeneratorRech, computeGroupPerLegReach, computeHaulPenalty, computeHaulerCapabilities, computeHaulerCapacity, computeHaulerEfficiency, computeInputMass, computeLauncherCapabilities, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeNftImageUrl, computePerLegReach, computeShipHullCapabilities, computeStorageCapabilities, computeTravelDrain, computeWarehouseHullCapabilities, computeWarpCapabilities, computeWarpRange, coordsToLocationId, coupling, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decodeAddress, decodeAtomicAsset, decodeCraftedItemStats, decodeRegion, decodeSector, decodeStat, decodeStats, Shipload as default, deriveLocation, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStatMappings, deriveStrata, deriveStratum, derivedLoaders, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeAtomicData, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, easeFlightProgress, eligibleUpgrades, encodeAddress, encodeAddressMemo, encodeGatheredCargoStats, encodeRegion, encodeSector, encodeStats, energyAtTime, energyPercent, energy_stats, entityDisplayName, entity_row, estimateDealTravelTime, estimateTravelTime, estimateUnwrapDuration, feistel, feistelInv, fetchAtomicAssetsForOwner, fetchAtomicSchemas, filterByBuildMethod, findNearbyPlanets, flightSpeedFactor, formatLocation, formatMass, formatMassDelta, formatMassScaled, formatModuleLine, formatTier, gatherEnergyCost, gathererDepthForTier, getAllRecipes, getBaseHullmassFor, getCapabilityAttributeRows, getCapabilityAttributes, getCategoryInfo, getComponentDemand, getComponents, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEffectiveReserve, getEligibleResources, getEntityClass, getEntityItems, getEntityLayout, getEpochInfo, getFlightOrigin, getInterpolatedPosition, getItem, getItems, getKindMeta, getLocationCandidates, getLocationKind, getLocationProfile, getLocationType, getLocationTypeName, getModuleCapabilityType, getModules, getPackedEntityType, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getProducersForAttribute, getRecipe, getRecipeConsumers, getResourceDemand, getResourceTier, getResourceWeight, getResources, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, getTemplateMeta, hasEnergy, hasEnergyForDistance, hasGatherer, hasIncomingCoupling, hasLoaders, hasMass, hasSchedule, hasSourceCoupling, hasSpace$1 as hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, incomingHoldMass, interpolateFlightPosition, isBuildable, isConstructionDock, isContainer, isCraftedItem, isExtractor, isFactory, isFull$1 as isFull, isFullFromMass, isGatherableLocation, isHub, isInvertedAttribute, isLocationBuildable, isModuleItem, isNexus, isPlot, isPlotBuildable, isRelatedItem, isShip, isSubscriptionsDebugEnabled, isValidWormholePair, isWarehouse, isWorkshop, itemAbbreviations, itemCategory, itemIds, itemOffset, itemTier, itemTypeCode, jobsToLanes, kindCan, lane, laneKeyForModule, lerp, location_derived, location_static, makeEntity, mapEntity, maxCraftable, maxQtyForCharge, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleSlotTypeToCode, movement_stats, nearbyWormholes, needsRecharge, normalizeDisplayName, parseWireEntity, partnerRegion, pickFabricator, planParallelTransfer, planRoute, projectEntity, projectEntityAt, projectRemainingAt, projectedCargoAvailableAt, projectedPeakCargomass, rawScheduleEnd, readCommonBase, receiveFits, regionOf, removeFromStacks, renderDescription, resolveItem, resolveItemCategory, resolveLaneBuilder, resolveLaneCrafter, resolveLaneGatherer, resolveLaneLoader, resolveLockedAmount, resolveStats, rollTier, rollWithinTier, rollupBuilder, rollupCrafter, rollupGatherer, rollupLoaders, rotation, schedule, sdkSystemGraph, selectGatherLane, setSubscriptionsDebug, simulateRoute, slotAcceptsModule, socketTail, sourceLabelForOutput, splitCost, stackKey, stackToCargoItem, stacksEqual, starRating, starsForStat, statMagnitude, subtractFromStacks, task, taskCargoChanges, taskCargoEffect, tierAdjective, tierColors, tierOfReserve, toLocation, typeLabel, unwrapLoadDuration, unwrapTransitDuration, usedInputStatKeys, validateDisplayName, validateSchedule, workerLaneKey, wormholeAt, wormholeAtRegionEndpoint, yieldThresholdAt };
6707
+ export { ALL_ENTITY_TYPES, ATOMICASSETS_ACCOUNT, AckMessage, ActionsManager, AnyEntity, AtomicAssetRow, AtomicAttributeType, AtomicSchemaRow, BAR_SEED, BAR_STEP_DOWN, BAR_STEP_UNIT, BAR_STEP_UP, BASE_HAUL_PENALTY_MILLI, BASE_ORBITAL_MASS, BLEND_INPUTS_MUST_MATCH, BLEND_REQUIRES_MULTIPLE, BLEND_STAT_LESS_NOT_SUPPORTED, BoundingBox, BoundsDeltaMessage, BoundsSubscriptionHandle, BroadEntitySubscriptionFilter, BuildGatherPlanOpts, BuildMethod, BuildState, BuildableTarget, BuilderStats, BuiltCharter, CANCEL_CONTAINS_GROUPED_TASK, CAPACITY_TIER_TABLE, CAP_DEMOLISH, CAP_MODULES, CAP_UNDEPLOY, CAP_WRAP, CATEGORY_LABELS, CHARTER_BASELINE_STAT, CHARTER_EFFECT_REFIT_MODULES, CHARTER_EFFECT_SPAWN_ENTITY, CHARTER_INELIGIBILITY_MESSAGES, CHARTER_MAX_PREREQS, CHARTER_NONE, CHARTER_REGISTRY, CHARTER_WORKSHOP, CHARTER_WORKSHOP_COST, CIVIC_LOADER_STAT, CIVIC_LOADER_TIER, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, COMPONENT_TIER_PREFIXES, CONTAINER_NOT_FOUND, CONTAINER_Z, COORD_MAX, COORD_MIN, COORD_OFFSET, CRAFT_ENERGY_DIVISOR, CRAFT_EXCEEDS_ENERGY_CAPACITY, CRAFT_NOT_ENOUGH_ENERGY, CancelBlockReason, CancelEffects, CancelEligibilityInput, CancelPlan, CancelRefund, CancelReleasedHold, CapabilityAttribute, CapabilityAttributeRow, CapabilityInput, CargoData, CargoInput, CargoMassInfo, CargoStack, CategoryInfo, CategoryStacks, CharterEffect, CharterIneligibility, CharterNode, CharterProgress, CharterWorld, ChosenCharter, CivicLoaderStats, ClientMessage, Cluster, ClusterCell, ClusterCellWire, ClusterDeltaMessage, ClusterManager, ClusterSlotType, ComputedCapabilities, ConnectionState, ConstructionManager, Container, ContainerEntity, ContributePreview, ContributePreviewRow, Coord, CoordinateAddress, Coordinates, CoordinatesType, CounterpartLookup, CraftedItemCategory, CrafterCapability, CrafterStats, DECAY_MAX_ITERATIONS, DECAY_RETAIN_DEN, DECAY_RETAIN_NUM, DECOMP_MAX_BUCKETS, DECOMP_MAX_DEPTH, DECOMP_PROCESSED_KG_MAX, DECOMP_RAW_KG_MAX, DECOMP_REGISTRY, DEFAULT_BASE_HULLMASS, DEFAULT_ORBITAL_Z, DEMAND_TRIPLE_SEED, DEPLOY_ENTITY_HAS_SCHEDULE, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, DESTINATION_CAPACITY_EXCEEDED, DecayableStanding, DecodedAtomicAsset, DecompBucket, DecompEntry, DemandRow, DemandTriple, DemandView, DerivedLoaders, DerivedStratum, DescribeOptions, DisplayNameResult, Distance, ENGINE_DRAIN_BASE, ENGINE_DRAIN_REF_THM, ENGINE_DRAIN_REF_THRUST, ENTITY_ALREADY_THERE, ENTITY_CAPACITY_EXCEEDED, ENTITY_CARGO_NOT_LOADED, ENTITY_CARGO_NOT_OWNED, ENTITY_CONSTRUCTION_DOCK, ENTITY_CONTAINER, ENTITY_DEPOT, ENTITY_EXTRACTOR, ENTITY_FACTORY, ENTITY_HUB, ENTITY_INVALID_CARGO, ENTITY_INVALID_DESTINATION, ENTITY_INVALID_TRAVEL_DURATION, ENTITY_NEXUS, ENTITY_NOT_ENOUGH_ENERGY, ENTITY_NOT_ENOUGH_ENERGY_CAPACITY, ENTITY_NO_CRAFTER, ENTITY_SHIP, ENTITY_WAREHOUSE, ENTITY_WORKSHOP, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EffectiveReserveInput, EnergyCapability, EntitiesManager, EntitiesSubscriptionHandle, Entity$1 as Entity, EntityCapabilities, EntityClass, EntityDeletedMessage, EntityInfo$2 as EntityInfo, EntityInstance, EntityInventory, EntityLayout, EntityRefInput, EntitySlot, EntityState, EntityStateInput, EntitySubscriptionFilter, EntitySubscriptionHandle, EntitySubscriptionHandlers, EntitySubscriptionMeta, EntityTypeName, EpochInfo, EpochsManager, ErrorMessage, EstimateTravelTimeOptions, EstimatedTravelTime, EventCatchupCompleteMessage, EventMessage, ExactEntitySubscriptionFilter, Extractor, Factory, FetchAssetsOptions, FillCap, FinalizerCapability, FinalizerEntityRef, FloatPosition, FoundedWorld, fund as FundContract, GAME_NOT_FOUND, GAME_SEED_NOT_SET, GATHERER_DEPTH_MAX_TIER, GATHERER_DEPTH_TABLE, GATHER_EXCEEDS_ENERGY_CAPACITY, GATHER_MASS_DIVISOR, GATHER_NOT_ENOUGH_ENERGY, GRADE_PREMIUM, GRADE_STANDARD, GROUP_DUPLICATE_ENTITY, GROUP_EMPTY, GROUP_ENTITY_NOT_MOVABLE, GROUP_HAUL_CAPACITY_EXCEEDED, GROUP_NOT_FOUND, GROUP_NOT_SAME_LOCATION, GROUP_NOT_SAME_OWNER, GROUP_NO_THRUST, GameState, GatherCycle, GatherLimpet, GatherPlan, GatherPlanEntity, GathererCapability, GathererDepthParams, GathererStats, GridCell, HAULER_EFFICIENCY_DENOM, HasCapacity, HasCargo, HasCargomass, HasScheduleAndLocation, HoldKind, INFLUENCE_ATOMIC_PER_POINT, INFLUENCE_D1_SEED, INFLUENCE_MASS_KG_MAX, INFLUENCE_NEED_FP_MAX, INFLUENCE_WEIGHT_FP_MAX, INSUFFICIENT_BALANCE, INSUFFICIENT_ITEM_QUANTITY, INSUFFICIENT_ITEM_SUPPLY, INTAKE_RATE, INVALID_AMOUNT, ITEM_BATTERY_T1, ITEM_BATTERY_T2, ITEM_BEAM, ITEM_BEAM_T2, ITEM_BIOMASS_T1, ITEM_BIOMASS_T10, ITEM_BIOMASS_T2, ITEM_BIOMASS_T3, ITEM_BIOMASS_T4, ITEM_BIOMASS_T5, ITEM_BIOMASS_T6, ITEM_BIOMASS_T7, ITEM_BIOMASS_T8, ITEM_BIOMASS_T9, ITEM_BUILDER_T1, ITEM_BUILDER_T2, ITEM_CERAMIC, ITEM_CERAMIC_T2, ITEM_CONSTRUCTION_DOCK_T1_PACKED, ITEM_CONTAINER_T1_PACKED, ITEM_CONTAINER_T2_PACKED, ITEM_CRAFTER_T1, ITEM_CRAFTER_T2, ITEM_CRYSTAL_T1, ITEM_CRYSTAL_T10, ITEM_CRYSTAL_T2, ITEM_CRYSTAL_T3, ITEM_CRYSTAL_T4, ITEM_CRYSTAL_T5, ITEM_CRYSTAL_T6, ITEM_CRYSTAL_T7, ITEM_CRYSTAL_T8, ITEM_CRYSTAL_T9, ITEM_DEPOT_T1_PACKED, ITEM_DOES_NOT_EXIST, ITEM_DREDGER_T2A_PACKED, ITEM_ENGINE_T1, ITEM_ENGINE_T2, ITEM_EXTRACTOR_T1_PACKED, ITEM_FACTORY_T1_PACKED, ITEM_FRAME, ITEM_FRAME_T2, ITEM_GAS_T1, ITEM_GAS_T10, ITEM_GAS_T2, ITEM_GAS_T3, ITEM_GAS_T4, ITEM_GAS_T5, ITEM_GAS_T6, ITEM_GAS_T7, ITEM_GAS_T8, ITEM_GAS_T9, ITEM_GATHERER_T1, ITEM_GATHERER_T2, ITEM_GENERATOR_T1, ITEM_GENERATOR_T2, ITEM_HAULER_T1, ITEM_HAULER_T2, ITEM_HUB_T1_PACKED, ITEM_LAUNCHER_T1, ITEM_LOADER_T1, ITEM_LOADER_T2, ITEM_MASS_CATCHER_T1_PACKED, ITEM_MASS_DRIVER_T1_PACKED, ITEM_NEXUS_T1_PACKED, ITEM_NOT_AVAILABLE_AT_LOCATION, ITEM_NOT_DEPLOYABLE, ITEM_NOT_PACKED_ENTITY, ITEM_ORE_T1, ITEM_ORE_T10, ITEM_ORE_T2, ITEM_ORE_T3, ITEM_ORE_T4, ITEM_ORE_T5, ITEM_ORE_T6, ITEM_ORE_T7, ITEM_ORE_T8, ITEM_ORE_T9, ITEM_PLASMA_CELL, ITEM_PLASMA_CELL_T2, ITEM_PLATE, ITEM_PLATE_T2, ITEM_POLYMER, ITEM_POLYMER_T2, ITEM_PORTER_T1A_PACKED, ITEM_PROSPECTOR_T1A_PACKED, ITEM_PROSPECTOR_T2A_PACKED, ITEM_PROSPECTOR_T2B_PACKED, ITEM_REACTOR, ITEM_REACTOR_T2, ITEM_REGOLITH_T1, ITEM_REGOLITH_T10, ITEM_REGOLITH_T2, ITEM_REGOLITH_T3, ITEM_REGOLITH_T4, ITEM_REGOLITH_T5, ITEM_REGOLITH_T6, ITEM_REGOLITH_T7, ITEM_REGOLITH_T8, ITEM_REGOLITH_T9, ITEM_RESIN, ITEM_RESIN_T2, ITEM_RESONATOR, ITEM_RESONATOR_T2, ITEM_ROUSTABOUT_T1A_PACKED, ITEM_SENSOR, ITEM_SENSOR_T2, ITEM_SHIP_T1_PACKED, ITEM_SMITH_T1A_PACKED, ITEM_STORAGE_T1, ITEM_STORAGE_T2, ITEM_TENDER_T1A_PACKED, ITEM_TUG_T1A_PACKED, ITEM_TYPE_COMPONENT, ITEM_TYPE_ENTITY, ITEM_TYPE_MODULE, ITEM_TYPE_RESOURCE, ITEM_WAREHOUSE_T1_PACKED, ITEM_WARP_T1, ITEM_WARP_T2, ITEM_WORKSHOP_T1_PACKED, ITEM_WRIGHT_T1A_PACKED, IdleResolveTarget, ImmutableEntry, ImmutableModuleSlot, InboundTransfer, IncomingSource, InfluenceManager, InfluencePricing, InfluenceStanding, InstalledModule, InventoryAccessor, Item, ItemType, JOB_QUEUE_CAP, JobLane, JobLaneEntry, JobStatus, JobWindow, JobsManager, KindMeta, LANE_BARRIER, LANE_MOBILITY, LOCAL_HALF, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, LanePlanEntry, LaneView, LaunchNumericInput, LaunchQuote, LaunchQuoteCatcher, LaunchQuoteLauncher, LaunchStatsInput, LoadTimeBreakdown, LoaderCapability, LoaderStats, Location, LocationStratum, LocationType, LocationsManager, MASS_KG_PER_TONNE, MAX_LEGS, MAX_ORBITAL_ALTITUDE, MAX_STARS_PER_STAT, MAX_STAR_RATING, MINTREADY_DEFAULT_CAP, MIN_ORBITAL_ALTITUDE, MIN_TRANSFER_DISTANCE_ORBITAL_VESSEL, MIN_TRANSFER_DISTANCE_PLANETARY_STRUCTURE, MODULE_ANY, MODULE_AUX, MODULE_BATTERY, MODULE_BUILDER, MODULE_CARGO_NOT_FOUND, MODULE_CRAFTER, MODULE_ENGINE, MODULE_ENTITY_BUSY, MODULE_GATHERER, MODULE_GENERATOR, MODULE_HAULER, MODULE_LAUNCHER, MODULE_LOADER, MODULE_NOT_MODULE, MODULE_SLOT_EMPTY, MODULE_SLOT_INVALID, MODULE_SLOT_OCCUPIED, MODULE_STAT_SCALING_ANCHOR, MODULE_STAT_SCALING_POST_ANCHOR_PERCENT, MODULE_STORAGE, MODULE_TIER_PREFIXES, MODULE_TYPE_MISMATCH, MODULE_WARP, MassCapability, MintAssetParams, ModuleDescription, ModuleEntry, ModuleType, MovementCapability, NEED_FP_SCALE, index as NFT, NFTCargoItem, NFTCommonBase, NFTInstalledModule, NFTModuleSlot, NO_SCHEDULE, NamedStats, Neighbor, Nexus, NftConfigForItem, NftManager, OrderedTask, OwnedJob, OwnerSubscriptionHandle, PLANETARY_STRUCTURE_Z, PLANET_SUBTYPE_GAS_GIANT, PLANET_SUBTYPE_ICY, PLANET_SUBTYPE_INDUSTRIAL, PLANET_SUBTYPE_OCEAN, PLANET_SUBTYPE_ROCKY, PLANET_SUBTYPE_TERRESTRIAL, PLAYER_ALREADY_JOINED, PLAYER_NOT_FOUND, PLAYER_NOT_JOINED, PRECISION, PackedModule, PackedModuleInput, PendingBallot, PingMessage, PlanRouteParams, PlanTarget, PlanetSubtypeInfo, platform as PlatformContract, Types$1 as PlatformTypes, Player, PlayerRosterEntry, PlayerStateInput, PlayersManager, PongMessage, Projectable, ProjectedEntity, ProjectionOptions, RECIPE_INPUTS_EXCESS, RECIPE_INPUTS_INSUFFICIENT, RECIPE_INPUTS_INVALID, RECIPE_INPUTS_MIXED, RECIPE_NOT_FOUND, REGION_DIV, REGION_PER_AXIS, REQUIRES_MORE_THAN_ONE, REQUIRES_POSITIVE_VALUE, RESERVE_TIERS, RESOLVE_COUNT_EXCEEDS_COMPLETED, RESOURCE_BIOMASS, RESOURCE_CATEGORY_COUNT, RESOURCE_CRYSTAL, RESOURCE_GAS, RESOURCE_ORE, RESOURCE_REGOLITH, RESOURCE_TIER_ADJECTIVES, RESOURCE_TIER_MULT_TENTHS, RawData, ReachStats, Recipe, RecipeConsumer, RecipeInput, RecipeSlotInput, RefitOp, RenderDescriptionOptions, Reservation, ReserveTier, ResolvedAttributeGroup, ResolvedCrafterLane, ResolvedEvent, ResolvedGathererLane, ResolvedItem, ResolvedItemStat, ResolvedItemType, ResolvedLoaderLane, ResolvedModuleSlot, ResourceCategory, ResourceDemand, ResourceStats, RouteFailure, RouteFailureReason, RouteHeuristicCost, RouteLegCost, RouteLegInput, RouteLegSim, RouteMoverInput, RoutePlan, RouteResult, RouteSim, SECTORS_PER_AXIS, SECTOR_DIV, SHIPLOAD_COLLECTION, SHIP_ALREADY_TRAVELING, SHIP_CANNOT_BUY_TRAVELING, SHIP_CANNOT_CANCEL_TASK, SHIP_CANNOT_UPDATE_TRAVELING, SHIP_NOT_ARRIVED, SHIP_NOT_FOUND, SHIP_NOT_IDLE, SHIP_NOT_OWNED, SHIP_NO_COMPLETED_TASKS, SHIP_NO_TASKS_TO_CANCEL, SLOT_FORMULAS, STAR_STEP, ScanProvider, ScheduleAccessor, ScheduleCapability, ScheduleData, ScheduledBuild, SchemaField, server as ServerContract, ServerMessage, Types as ServerTypes, Ship, ShipEntity, ShipLike, Shipload, SlotConsumer, SlotConsumerKind, SnapshotMessage, SourceCargoStack, SourceEntityRef, StackInput, StarSortable, StatDefinition, StatFlow, StatMapping, StatSlot, StorageCapability, StratumInfo, SubscribeEntityMessage, SubscribeEventsMessage, SubscribeMessage, SubscriptionEntityType, SubscriptionsManager, SubscriptionsOptions, SystemGraph, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskCargoChange, TaskCargoDirection, TaskType, TemplateMeta, TextSpan, TierRange, TransferEntity, TravelDrainBreakdown, UnsubscribeEntityMessage, UnsubscribeEventsMessage, UnsubscribeMessage, UnwrapDestination, UnwrapItem, UpdateBoundsMessage, UpdateMessage, VOTE_READY_DEFAULT_MAX, ValidateDisplayNameOptions, ValuedItem, VoteCast, VoteOption, VoteStandings, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_NOT_FOUND, WARP_HAS_CARGO, WARP_HAS_SCHEDULE, WARP_NOT_FULL_ENERGY, WARP_NO_CAPABILITY, WARP_OUT_OF_RANGE, WEIGHT_FP_SCALE, WH, WOULD_OVERFILL, WOULD_STRAND, W_EFF_ATOMIC_PER_KG, Warehouse, WarehouseEntity, WebSocketConnection, WebSocketConnectionOptions, WireCoordinates, WireEntity, WrapDeposit, YIELD_FRACTION_DEEP, YIELD_FRACTION_SHALLOW, abundantMaskFor, addressFromCoordinates, allBuildableItems, allCategoryIndexes, allPlotBuildableItems, allocateProportional, applyCapacityTier, applyResourceTierMultiplier, atomicToPoints, availableBuildMethods, availableCapacity$1 as availableCapacity, availableCapacityFromMass, availableForItem, baseName, blendCargoStacks, blendComponentStacks, blendCrossGroup, blendStacks, buildComponentImmutable, buildDemand, buildEntityDescription, buildEntityImmutable, buildGatherPlan, buildImmutableData, buildMintAssetAction, buildModuleImmutable, buildResourceImmutable, calcCargoItemMass, calcCargoMass, calcClusterIntake, calcClustercraftDuration, calcCounterpartDelivery, calcEnergyUsage, calcStacksMass, calc_acceleration, calc_build_duration, calc_build_energy, calc_craft_duration, calc_craft_energy, calc_energyusage, calc_flighttime, calc_gather_duration, calc_gather_energy, calc_gather_rate, calc_group_flighttime, calc_loader_acceleration, calc_loader_flighttime, calc_onesided_duration, calc_orbital_altitude, calc_rechargetime, calc_ship_acceleration, calc_ship_flighttime, calc_ship_mass, calc_ship_rechargetime, calc_transfer_duration, calc_transit_duration, calc_travel_flighttime, calculateFlightTime, calculateLoadTimeBreakdown, calculateRefuelingTime, calculateTransferTime, canMove, cancelEligibility, candidateLaneCompletesAt, capabilityAttributes, capabilityNames, capacityTierMultiplier, capsHasCrafter, capsHasGatherer, capsHasHauler, capsHasLauncher, capsHasLoaders, capsHasMass, capsHasMovement, capsHasStorage, cargoInputKey, cargoItem, cargoItemToStack, cargoKey, cargoReadyAt, cargoRef, cargoUtils, cargo_item, categoryAtIndex, categoryColors, categoryFromIndex, categoryIndex, categoryLabel, categoryLabelFromIndex, charterEffectTargetEntity, charterEffectTargetPresent, charterEligible, charterIneligible, charterNode, charterPrereqsMet, charterSingletonMandate, charterSpawnNodeFor, citizenryName, citizenryPatternCount, civicLoader, clusterStockAvailable, compareByStars, componentBaseAtomic, componentEffortAtomic, componentIcon, composeIdleResolve, computeBaseCapacity, computeBaseCapacityContainer, computeBaseCapacityDepot, computeBaseCapacityShip, computeBaseCapacityWarehouse, computeBaseHullmass, computeBatteryCapabilities, computeBuilderCapabilities, computeBuilderDrain, computeBuilderSpeed, computeComponentStats, computeContainerCapabilities, computeCraftedOutputStats, computeCrafterCapabilities, computeCrafterDrain, computeCrafterSpeed, computeDepotHullCapabilities, computeEffectiveModuleStat, computeEngineCapabilities, computeEngineDrain, computeEngineThrust, computeEntityCapabilities, computeEntityStats, computeFreeCells, computeGathererCapabilities, computeGathererDepth, computeGathererDrain, computeGathererYield, computeGeneratorCap, computeGeneratorCapabilities, computeGeneratorRech, computeGroupPerLegReach, computeHaulPenalty, computeHaulerCapabilities, computeHaulerCapacity, computeHaulerEfficiency, computeInputMass, computeLauncherCapabilities, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeNftImageUrl, computePerLegReach, computeShipHullCapabilities, computeStorageCapabilities, computeTravelDrain, computeWarehouseHullCapabilities, computeWarpCapabilities, computeWarpRange, contributeDuration, contributeDurationForTonnes, coordsToLocationId, coupling, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decayActive, decodeAddress, decodeAtomicAsset, decodeCraftedItemStats, decodeRegion, decodeSector, decodeStat, decodeStats, Shipload as default, demandRoll, deriveDemand, deriveLocation, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStatMappings, deriveStrata, deriveStratum, derivedLoaders, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeAtomicData, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, easeFlightProgress, effectiveMandate, eligibleCharters, eligibleUpgrades, encodeAddress, encodeAddressMemo, encodeGatheredCargoStats, encodeRegion, encodeSector, encodeStats, energyAtTime, energyPercent, energy_stats, entityDisplayName, entity_row, estimateDealTravelTime, estimateTravelTime, estimateUnwrapDuration, feistel, feistelInv, fetchAtomicAssetsForOwner, fetchAtomicSchemas, filterByBuildMethod, findDecomp, findNearbyPlanets, flightSpeedFactor, formatInfluence, formatLocation, formatMass, formatMassDelta, formatMassScaled, formatModuleLine, formatNeedMultiplier, formatTier, gatherEnergyCost, gathererDepthForTier, getAllRecipes, getBaseHullmassFor, getCapabilityAttributeRows, getCapabilityAttributes, getCategoryInfo, getComponentDemand, getComponents, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEffectiveReserve, getEligibleResources, getEntityClass, getEntityItems, getEntityLayout, getEpochInfo, getFlightOrigin, getInterpolatedPosition, getItem, getItems, getKindMeta, getLocationCandidates, getLocationKind, getLocationProfile, getLocationType, getLocationTypeName, getModuleCapabilityType, getModules, getPackedEntityType, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getProducersForAttribute, getRecipe, getRecipeConsumers, getResourceDemand, getResourceTier, getResourceWeight, getResources, getStatCount, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, getTemplateMeta, hasEnergy, hasEnergyForDistance, hasGatherer, hasIncomingCoupling, hasLoaders, hasMass, hasSchedule, hasSourceCoupling, hasSpace$1 as hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, incomingHoldMass, influenceWeightKey, interpolateFlightPosition, isAbundant, isAcute, isBuildable, isConstructionDock, isContainer, isCraftedItem, isDepot, isExtractor, isFactory, isFull$1 as isFull, isFullFromMass, isGatherableLocation, isHub, isInvertedAttribute, isLocationBuildable, isModuleItem, isNexus, isPlot, isPlotBuildable, isRelatedItem, isShip, isSubscriptionsDebugEnabled, isValidWormholePair, isWarehouse, isWorkshop, itemAbbreviations, itemCategory, itemIds, itemOffset, itemTier, itemTypeCode, jobStatus, jobsToLanes, kindCan, lackingMaskFrom, lane, laneKeyForModule, lerp, locationIdToCoords, location_derived, location_static, makeEntity, mapEntity, maxCraftable, maxQtyForCharge, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleSlotTypeToCode, movement_stats, nearbyWormholes, needForCategory, needMultiplier, needsRecharge, normalizeActive, normalizeDisplayName, parseWireEntity, partnerRegion, pickAcuteCategory, pickFabricator, planParallelTransfer, planRoute, poolKey, popcount5, pricingFromWeights, projectEntity, projectEntityAt, projectRemainingAt, projectedCargoAvailableAt, projectedPeakCargomass, qualityFactor, rawScheduleEnd, readCommonBase, receiveFits, regionOf, removeFromStacks, renderDescription, resolveItem, resolveItemCategory, resolveLaneBuilder, resolveLaneCrafter, resolveLaneGatherer, resolveLaneLoader, resolveLockedAmount, resolveStats, resourceValueAtomic, rollTier, rollWithinTier, rollupBuilder, rollupCrafter, rollupGatherer, rollupLoaders, rotation, schedule, sdkSystemGraph, selectGatherLane, setSubscriptionsDebug, simulateRoute, slotAcceptsModule, socketTail, sourceLabelForOutput, splitCost, splitJobCargo, stackKey, stackToCargoItem, stacksEqual, starRating, starsForStat, statMagnitude, statsSumSq, subtractFromStacks, task, taskCargoChanges, taskCargoEffect, tierAdjective, tierColors, tierOfReserve, toLocation, typeLabel, unwrapLoadDuration, unwrapTransitDuration, usedInputStatKeys, validateDisplayName, validateSchedule, valueCargoItem, valueContribution, weightedQualityAtomic, workerLaneKey, wormholeAt, wormholeAtRegionEndpoint, yieldThresholdAt };