@shipload/sdk 1.0.0-next.65 → 1.0.0-next.66

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 (79) hide show
  1. package/lib/shipload.d.ts +698 -316
  2. package/lib/shipload.js +2473 -1235
  3. package/lib/shipload.js.map +1 -1
  4. package/lib/shipload.m.js +2392 -1216
  5. package/lib/shipload.m.js.map +1 -1
  6. package/lib/testing.d.ts +205 -146
  7. package/lib/testing.js +846 -556
  8. package/lib/testing.js.map +1 -1
  9. package/lib/testing.m.js +846 -556
  10. package/lib/testing.m.js.map +1 -1
  11. package/package.json +1 -1
  12. package/src/capabilities/crafting.test.ts +51 -6
  13. package/src/capabilities/crafting.ts +19 -4
  14. package/src/capabilities/gathering.ts +2 -2
  15. package/src/capabilities/storage.test.ts +26 -0
  16. package/src/capabilities/storage.ts +6 -6
  17. package/src/contracts/fund.ts +79 -2
  18. package/src/contracts/platform.ts +10 -1
  19. package/src/contracts/server.ts +467 -331
  20. package/src/data/charters.json +325 -127
  21. package/src/data/entities.json +24 -24
  22. package/src/data/items.json +114 -114
  23. package/src/data/kind-registry.json +3 -3
  24. package/src/data/kind-registry.ts +5 -0
  25. package/src/data/recipes.json +56 -95
  26. package/src/derivation/build-methods.test.ts +59 -1
  27. package/src/derivation/build-methods.ts +2 -0
  28. package/src/derivation/capabilities.ts +7 -7
  29. package/src/derivation/strata.ts +5 -3
  30. package/src/derivation/tiers.ts +5 -5
  31. package/src/entity/hydrate.test.ts +156 -0
  32. package/src/entity/hydrate.ts +86 -0
  33. package/src/errors.ts +9 -0
  34. package/src/format.ts +15 -13
  35. package/src/index-module.ts +32 -5
  36. package/src/influence/ballot.test.ts +103 -0
  37. package/src/influence/ballot.ts +98 -0
  38. package/src/influence/charter-metadata.test.ts +136 -0
  39. package/src/influence/charter-metadata.ts +236 -0
  40. package/src/influence/charters.test.ts +51 -65
  41. package/src/influence/charters.ts +70 -40
  42. package/src/influence/civic.test.ts +278 -0
  43. package/src/influence/civic.ts +269 -0
  44. package/src/influence/constants.ts +30 -9
  45. package/src/influence/decomp.ts +15 -15
  46. package/src/influence/duration.ts +42 -6
  47. package/src/influence/index.ts +49 -6
  48. package/src/influence/influence.test.ts +76 -9
  49. package/src/influence/valuation.ts +17 -17
  50. package/src/managers/actions.ts +65 -37
  51. package/src/managers/base.ts +4 -0
  52. package/src/managers/context.ts +3 -1
  53. package/src/managers/index.ts +4 -2
  54. package/src/managers/influence.test.ts +18 -20
  55. package/src/managers/influence.ts +137 -84
  56. package/src/managers/jobs.test.ts +2 -2
  57. package/src/managers/jobs.ts +4 -4
  58. package/src/nft/description.ts +10 -11
  59. package/src/planner/index.ts +54 -0
  60. package/src/planner/planner.test.ts +127 -2
  61. package/src/resolution/display-name.ts +1 -1
  62. package/src/scheduling/availability.test.ts +113 -0
  63. package/src/scheduling/availability.ts +48 -8
  64. package/src/scheduling/jobs.ts +1 -1
  65. package/src/scheduling/projection.ts +2 -16
  66. package/src/scheduling/task-cargo.test.ts +62 -1
  67. package/src/scheduling/task-cargo.ts +25 -10
  68. package/src/scheduling/task-effects.test.ts +35 -0
  69. package/src/scheduling/task-effects.ts +34 -0
  70. package/src/scheduling/unwrap.test.ts +3 -3
  71. package/src/scheduling/unwrap.ts +3 -3
  72. package/src/shipload.ts +22 -3
  73. package/src/travel/reach.test.ts +86 -0
  74. package/src/travel/reach.ts +23 -10
  75. package/src/travel/route-build.test.ts +63 -0
  76. package/src/travel/route-build.ts +60 -0
  77. package/src/travel/travel.ts +2 -1
  78. package/src/types.ts +6 -2
  79. package/src/utils/hash.ts +18 -2
package/lib/shipload.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _wharfkit_antelope from '@wharfkit/antelope';
2
- import { Blob, ABI, Struct, Name, Asset, UInt16, UInt64, UInt32, NameType, UInt16Type, UInt32Type, UInt64Type, AssetType, Action, UInt8, Int64, Checksum256, TimePointSec, ExtendedAsset, UInt8Type, Checksum256Type, Int64Type, ExtendedAssetType, TimePoint, Int8, Bytes, Int32, BlockTimestamp, Int8Type, TimePointType, Int32Type, BytesType, Checksum512, APIClient } from '@wharfkit/antelope';
2
+ import { Blob, ABI, Struct, Name, Asset, UInt16, UInt64, UInt32, NameType, UInt16Type, UInt64Type, UInt32Type, AssetType, 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
4
  import { Contract as Contract$4, PartialBy, ContractArgs, ActionOptions, Table } from '@wharfkit/contract';
5
5
  import { ChainDefinition } from '@wharfkit/common';
@@ -8,9 +8,13 @@ declare const abiBlob$3: Blob;
8
8
  declare const abi$3: ABI;
9
9
  declare namespace Types$3 {
10
10
  class accrued_row extends Struct {
11
- account: Name;
11
+ token_contract: Name;
12
12
  balance: Asset;
13
13
  }
14
+ class addtoken extends Struct {
15
+ token_contract: Name;
16
+ token_symbol: Asset.Symbol;
17
+ }
14
18
  class benef_row extends Struct {
15
19
  account: Name;
16
20
  bps: UInt16;
@@ -22,12 +26,35 @@ declare namespace Types$3 {
22
26
  class claim extends Struct {
23
27
  beneficiary_account: Name;
24
28
  }
29
+ class collect extends Struct {
30
+ }
31
+ class collectfees extends Struct {
32
+ }
25
33
  class cursor_row extends Struct {
26
34
  next_asset_id: UInt64;
27
35
  }
36
+ class deltoken extends Struct {
37
+ token_contract: Name;
38
+ }
39
+ class getlots extends Struct {
40
+ lower_bound: UInt64;
41
+ max_lots: UInt32;
42
+ }
28
43
  class gettendable extends Struct {
29
44
  max_lots: UInt32;
30
45
  }
46
+ class lot_info extends Struct {
47
+ asset_id: UInt64;
48
+ grade: Name;
49
+ auction_id: UInt64;
50
+ item_id: UInt16;
51
+ quantity: UInt32;
52
+ stats: UInt64;
53
+ }
54
+ class lots_result extends Struct {
55
+ lots: lot_info[];
56
+ next: UInt64;
57
+ }
31
58
  class lots_row extends Struct {
32
59
  asset_id: UInt64;
33
60
  grade: Name;
@@ -71,6 +98,12 @@ declare namespace Types$3 {
71
98
  starting_bid: Asset;
72
99
  duration: UInt32;
73
100
  }
101
+ class token_row extends Struct {
102
+ token_contract: Name;
103
+ token_symbol: Asset.Symbol;
104
+ }
105
+ class wipe extends Struct {
106
+ }
74
107
  }
75
108
  declare const TableMap$3: {
76
109
  accrued: typeof Types$3.accrued_row;
@@ -79,6 +112,7 @@ declare const TableMap$3: {
79
112
  lots: typeof Types$3.lots_row;
80
113
  settings: typeof Types$3.settings_row;
81
114
  terms: typeof Types$3.terms_row;
115
+ tokens: typeof Types$3.token_row;
82
116
  };
83
117
  interface TableTypes$3 {
84
118
  accrued: Types$3.accrued_row;
@@ -87,6 +121,7 @@ interface TableTypes$3 {
87
121
  lots: Types$3.lots_row;
88
122
  settings: Types$3.settings_row;
89
123
  terms: Types$3.terms_row;
124
+ tokens: Types$3.token_row;
90
125
  }
91
126
  type RowType$3<T> = T extends keyof TableTypes$3 ? TableTypes$3[T] : any;
92
127
  type TableNames$3 = keyof TableTypes$3;
@@ -97,9 +132,24 @@ declare namespace ActionParams$3 {
97
132
  bps: UInt16Type;
98
133
  }
99
134
  }
135
+ interface addtoken {
136
+ token_contract: NameType;
137
+ token_symbol: Asset.SymbolType;
138
+ }
100
139
  interface claim {
101
140
  beneficiary_account: NameType;
102
141
  }
142
+ interface collect {
143
+ }
144
+ interface collectfees {
145
+ }
146
+ interface deltoken {
147
+ token_contract: NameType;
148
+ }
149
+ interface getlots {
150
+ lower_bound: UInt64Type;
151
+ max_lots: UInt32Type;
152
+ }
103
153
  interface gettendable {
104
154
  max_lots: UInt32Type;
105
155
  }
@@ -130,9 +180,16 @@ declare namespace ActionParams$3 {
130
180
  interface tend {
131
181
  asset_ids: UInt64Type[];
132
182
  }
183
+ interface wipe {
184
+ }
133
185
  }
134
186
  interface ActionNameParams$3 {
187
+ addtoken: ActionParams$3.addtoken;
135
188
  claim: ActionParams$3.claim;
189
+ collect: ActionParams$3.collect;
190
+ collectfees: ActionParams$3.collectfees;
191
+ deltoken: ActionParams$3.deltoken;
192
+ getlots: ActionParams$3.getlots;
136
193
  gettendable: ActionParams$3.gettendable;
137
194
  rescuenft: ActionParams$3.rescuenft;
138
195
  setbenef: ActionParams$3.setbenef;
@@ -141,9 +198,11 @@ interface ActionNameParams$3 {
141
198
  settoken: ActionParams$3.settoken;
142
199
  sweep: ActionParams$3.sweep;
143
200
  tend: ActionParams$3.tend;
201
+ wipe: ActionParams$3.wipe;
144
202
  }
145
203
  type ActionNames$3 = keyof ActionNameParams$3;
146
204
  interface ActionReturnValues$1 {
205
+ getlots: Types$3.lots_result;
147
206
  gettendable: UInt64[];
148
207
  }
149
208
  type ActionReturnNames$1 = keyof ActionReturnValues$1;
@@ -216,6 +275,9 @@ declare namespace Types$2 {
216
275
  y: Int64;
217
276
  bundle: cargo_item[];
218
277
  }
278
+ class dbgrefund extends Struct {
279
+ owners: Name[];
280
+ }
219
281
  class debitdeposit extends Struct {
220
282
  owner: Name;
221
283
  token: Name;
@@ -403,6 +465,9 @@ declare namespace ActionParams$2 {
403
465
  y: Int64Type;
404
466
  bundle: Type.cargo_item[];
405
467
  }
468
+ interface dbgrefund {
469
+ owners: NameType[];
470
+ }
406
471
  interface debitdeposit {
407
472
  owner: NameType;
408
473
  token: NameType;
@@ -486,6 +551,7 @@ interface ActionNameParams$2 {
486
551
  cleartable: ActionParams$2.cleartable;
487
552
  close: ActionParams$2.close;
488
553
  contribute: ActionParams$2.contribute;
554
+ dbgrefund: ActionParams$2.dbgrefund;
489
555
  debitdeposit: ActionParams$2.debitdeposit;
490
556
  enable: ActionParams$2.enable;
491
557
  enablegame: ActionParams$2.enablegame;
@@ -575,6 +641,40 @@ declare namespace Types$1 {
575
641
  class addoracle extends Struct {
576
642
  oracle_id: Name;
577
643
  }
644
+ class ballot_credit extends Struct {
645
+ account: Name;
646
+ amount: UInt64;
647
+ }
648
+ class ballot_row extends Struct {
649
+ ballot_id: UInt64;
650
+ kind: UInt8;
651
+ subject: UInt64;
652
+ seats: UInt32;
653
+ settled_epoch: UInt32;
654
+ queue: UInt32[];
655
+ parked: ballot_credit[];
656
+ }
657
+ class ballot_seq_row extends Struct {
658
+ next_id: UInt64;
659
+ cursor: UInt64;
660
+ page_rows: UInt32;
661
+ }
662
+ class ballot_tally extends Struct {
663
+ option: UInt32;
664
+ weight: UInt64;
665
+ }
666
+ class ballotpicks_row extends Struct {
667
+ account: Name;
668
+ picks: UInt32[];
669
+ }
670
+ class ballotsettle_row extends Struct {
671
+ ballot_id: UInt64;
672
+ round: UInt32;
673
+ cursor: UInt64;
674
+ target_epoch: UInt32;
675
+ tallies: ballot_tally[];
676
+ seated: UInt32[];
677
+ }
578
678
  class blend extends Struct {
579
679
  id: UInt64;
580
680
  inputs: cargo_item[];
@@ -585,6 +685,37 @@ declare namespace Types$1 {
585
685
  drain: UInt32;
586
686
  output_pct: UInt16;
587
687
  }
688
+ class buildings_row extends Struct {
689
+ entity_id: UInt64;
690
+ building: UInt8;
691
+ }
692
+ class buildjob extends Struct {
693
+ target_id: UInt64;
694
+ dock_id: UInt64;
695
+ slot: UInt8;
696
+ target_item_id: UInt16;
697
+ inputs: cargo_item[];
698
+ }
699
+ class coordinates extends Struct {
700
+ x: Int64;
701
+ y: Int64;
702
+ z?: UInt16;
703
+ }
704
+ class buildjob_row extends Struct {
705
+ id: UInt64;
706
+ building: UInt64;
707
+ socket: UInt8;
708
+ target: UInt64;
709
+ owner: Name;
710
+ coords: coordinates;
711
+ starts_at: TimePoint;
712
+ completes_at: TimePoint;
713
+ target_item_id: UInt16;
714
+ cargo: cargo_item[];
715
+ }
716
+ class buildjobs_result extends Struct {
717
+ jobs: buildjob_row[];
718
+ }
588
719
  class buildplot extends Struct {
589
720
  builder_id: UInt64;
590
721
  plot_id: UInt64;
@@ -606,12 +737,12 @@ declare namespace Types$1 {
606
737
  entitygroup?: UInt64;
607
738
  group_members?: entity_ref[];
608
739
  }
609
- class canceljob extends Struct {
740
+ class cancelbuild extends Struct {
610
741
  job_id: UInt64;
611
- ship_id: UInt64;
612
742
  }
613
- class cancelupgrade extends Struct {
743
+ class cancelcraft extends Struct {
614
744
  job_id: UInt64;
745
+ ship_id: UInt64;
615
746
  }
616
747
  class cargo_row extends Struct {
617
748
  id: UInt64;
@@ -630,18 +761,24 @@ declare namespace Types$1 {
630
761
  id: UInt64;
631
762
  entity_id?: UInt64;
632
763
  }
633
- class charter_effect extends Struct {
764
+ class castballot extends Struct {
765
+ player: Name;
766
+ ballot_id: UInt64;
767
+ picks: UInt32[];
768
+ }
769
+ class civic_grant extends Struct {
634
770
  kind: UInt8;
635
- item_id: UInt16;
636
- target_item_id: UInt16;
637
- slot_mask: UInt16;
638
- stat: UInt16;
771
+ building: UInt8;
772
+ stat: UInt8;
773
+ value: UInt16;
639
774
  }
640
775
  class charter_node_def extends Struct {
641
776
  node_id: UInt32;
642
777
  cost: UInt64;
643
778
  prereqs: UInt32[];
644
- effect: charter_effect;
779
+ grants: civic_grant[];
780
+ exclusion_group: UInt16;
781
+ repeat_cap: UInt8;
645
782
  }
646
783
  class charter_ready_view extends Struct {
647
784
  x: Int64;
@@ -650,20 +787,33 @@ declare namespace Types$1 {
650
787
  }
651
788
  class charter_view extends Struct {
652
789
  node_id: UInt32;
653
- completed_epoch: UInt32;
654
- entity_id: UInt64;
790
+ repeats: UInt16;
791
+ }
792
+ class seat_view extends Struct {
793
+ node_id: UInt32;
794
+ cost: UInt64;
795
+ progress: UInt64;
796
+ gap: UInt64;
797
+ }
798
+ class progress_view extends Struct {
799
+ node_id: UInt32;
800
+ amount: UInt64;
655
801
  }
656
802
  class charter_result extends Struct {
657
803
  location_id: UInt64;
658
804
  lifetime: UInt64;
659
- watermark: UInt64;
660
- surplus: UInt64;
805
+ spent: UInt64;
806
+ unassigned: UInt64;
661
807
  mandate: UInt32;
662
808
  next_cost: UInt64;
663
809
  prereqs_met: boolean;
664
810
  buildable: boolean;
665
811
  epoch: UInt32;
666
812
  built: charter_view[];
813
+ ballot_id: UInt64;
814
+ settling: boolean;
815
+ queue: seat_view[];
816
+ progress: progress_view[];
667
817
  }
668
818
  class charter_tree_result extends Struct {
669
819
  nodes: charter_node_def[];
@@ -675,10 +825,11 @@ declare namespace Types$1 {
675
825
  class charterready_result extends Struct {
676
826
  worlds: charter_ready_view[];
677
827
  }
678
- class charters_row extends Struct {
679
- node_id: UInt32;
680
- completed_epoch: UInt32;
681
- entity_id: UInt64;
828
+ class citizenship_row extends Struct {
829
+ location_id: UInt64;
830
+ lifetime: UInt64;
831
+ active: UInt64;
832
+ active_epoch: UInt32;
682
833
  }
683
834
  class civicconfig_row extends Struct {
684
835
  civic_owner: Name;
@@ -686,7 +837,10 @@ declare namespace Types$1 {
686
837
  class claim_row extends Struct {
687
838
  owner: Name;
688
839
  }
689
- class claimjob extends Struct {
840
+ class claimbuild extends Struct {
841
+ job_id: UInt64;
842
+ }
843
+ class claimcraft extends Struct {
690
844
  job_id: UInt64;
691
845
  ship_id: UInt64;
692
846
  }
@@ -703,9 +857,6 @@ declare namespace Types$1 {
703
857
  class claimstarter extends Struct {
704
858
  owner: Name;
705
859
  }
706
- class claimupgrade extends Struct {
707
- job_id: UInt64;
708
- }
709
860
  class cleanrsvp extends Struct {
710
861
  epoch: UInt64;
711
862
  max_rows: UInt64;
@@ -766,11 +917,6 @@ declare namespace Types$1 {
766
917
  class configlog extends Struct {
767
918
  config: game_config;
768
919
  }
769
- class coordinates extends Struct {
770
- x: Int64;
771
- y: Int64;
772
- z?: UInt16;
773
- }
774
920
  class coupling extends Struct {
775
921
  counterpart: entity_ref;
776
922
  hold: UInt64;
@@ -798,25 +944,55 @@ declare namespace Types$1 {
798
944
  quantity: UInt32;
799
945
  inputs: cargo_item[];
800
946
  }
947
+ class craftjob_row extends Struct {
948
+ id: UInt64;
949
+ building: UInt64;
950
+ socket: UInt8;
951
+ owner: Name;
952
+ ship_id: UInt64;
953
+ coords: coordinates;
954
+ starts_at: TimePoint;
955
+ completes_at: TimePoint;
956
+ recipe_id: UInt16;
957
+ quantity: UInt32;
958
+ energy_paid: UInt32;
959
+ cargo: cargo_item[];
960
+ }
961
+ class craftjobs_result extends Struct {
962
+ jobs: craftjob_row[];
963
+ }
801
964
  class dbgcredit extends Struct {
802
965
  owner: Name;
803
966
  x: Int64;
804
967
  y: Int64;
805
968
  amount_atomic: UInt64;
969
+ node?: UInt32;
806
970
  }
807
971
  class dbgmandate extends Struct {
808
972
  x: Int64;
809
973
  y: Int64;
810
974
  node_id: UInt32;
811
975
  }
976
+ class dbgpagerows extends Struct {
977
+ rows: UInt32;
978
+ }
979
+ class dbgpurge extends Struct {
980
+ table_name: Name;
981
+ scope?: Name;
982
+ }
983
+ class dbgseats extends Struct {
984
+ x: Int64;
985
+ y: Int64;
986
+ seats: UInt32;
987
+ }
812
988
  class decomp_bucket extends Struct {
813
989
  category: UInt8;
814
990
  tier: UInt8;
815
- raw_kg: UInt32;
991
+ raw_mass: UInt32;
816
992
  }
817
993
  class decomp_result extends Struct {
818
994
  item_id: UInt16;
819
- processed_kg: UInt64;
995
+ processed_mass: UInt64;
820
996
  buckets: decomp_bucket[];
821
997
  }
822
998
  class delentity extends Struct {
@@ -837,7 +1013,7 @@ declare namespace Types$1 {
837
1013
  ref: cargo_ref;
838
1014
  slot?: cluster_slot;
839
1015
  }
840
- class depot_row extends Struct {
1016
+ class storage_row extends Struct {
841
1017
  id: UInt64;
842
1018
  owner: Name;
843
1019
  item_id: UInt64;
@@ -850,12 +1026,7 @@ declare namespace Types$1 {
850
1026
  player_cap: UInt64;
851
1027
  stored_mass: UInt64;
852
1028
  reserved_mass: UInt64;
853
- rows: depot_row[];
854
- }
855
- class depotacct_row extends Struct {
856
- owner: Name;
857
- stored_mass: UInt64;
858
- reserved_mass: UInt64;
1029
+ rows: storage_row[];
859
1030
  }
860
1031
  class depotstore extends Struct {
861
1032
  ship_id: UInt64;
@@ -935,6 +1106,7 @@ declare namespace Types$1 {
935
1106
  energy_cost?: UInt32;
936
1107
  target_item_id?: UInt16;
937
1108
  refit?: refit_op;
1109
+ charter_node?: UInt32;
938
1110
  }
939
1111
  class schedule extends Struct {
940
1112
  started: TimePoint;
@@ -1078,6 +1250,15 @@ declare namespace Types$1 {
1078
1250
  class genesisfleet extends Struct {
1079
1251
  entities: entity_row[];
1080
1252
  }
1253
+ class genesisworld extends Struct {
1254
+ founder: Name;
1255
+ x: Int64;
1256
+ y: Int64;
1257
+ node_ids: UInt32[];
1258
+ }
1259
+ class getbuildjobs extends Struct {
1260
+ building_id: UInt64;
1261
+ }
1081
1262
  class getcharter extends Struct {
1082
1263
  x: Int64;
1083
1264
  y: Int64;
@@ -1091,6 +1272,9 @@ declare namespace Types$1 {
1091
1272
  }
1092
1273
  class getconfig extends Struct {
1093
1274
  }
1275
+ class getcraftjobs extends Struct {
1276
+ building_id: UInt64;
1277
+ }
1094
1278
  class getdecomp extends Struct {
1095
1279
  item_id: UInt16;
1096
1280
  }
@@ -1153,9 +1337,6 @@ declare namespace Types$1 {
1153
1337
  }
1154
1338
  class getitemtypes extends Struct {
1155
1339
  }
1156
- class getjobs extends Struct {
1157
- workshop_id: UInt64;
1158
- }
1159
1340
  class getkindmeta extends Struct {
1160
1341
  }
1161
1342
  class getlocation extends Struct {
@@ -1210,9 +1391,6 @@ declare namespace Types$1 {
1210
1391
  }
1211
1392
  class getresources extends Struct {
1212
1393
  }
1213
- class getservice extends Struct {
1214
- workshop_id: UInt64;
1215
- }
1216
1394
  class getslots extends Struct {
1217
1395
  }
1218
1396
  class getstratum extends Struct {
@@ -1224,14 +1402,12 @@ declare namespace Types$1 {
1224
1402
  owner: Name;
1225
1403
  entity_type?: Name;
1226
1404
  }
1227
- class getupgjobs extends Struct {
1228
- dock_id: UInt64;
1229
- }
1230
1405
  class getvoteready extends Struct {
1231
1406
  }
1232
1407
  class getvotes extends Struct {
1233
1408
  x: Int64;
1234
1409
  y: Int64;
1410
+ player: Name;
1235
1411
  }
1236
1412
  class getwormhole extends Struct {
1237
1413
  x: Int64;
@@ -1304,10 +1480,6 @@ declare namespace Types$1 {
1304
1480
  class importstate extends Struct {
1305
1481
  row: state_row;
1306
1482
  }
1307
- class infballot_row extends Struct {
1308
- location_id: UInt64;
1309
- epoch: UInt32;
1310
- }
1311
1483
  class infburn_row extends Struct {
1312
1484
  bps: UInt16;
1313
1485
  }
@@ -1316,25 +1488,14 @@ declare namespace Types$1 {
1316
1488
  base: UInt64;
1317
1489
  floor: UInt64;
1318
1490
  }
1319
- class infloc_row extends Struct {
1320
- location_id: UInt64;
1321
- lifetime: UInt64;
1322
- active: UInt64;
1323
- last_update_epoch: UInt32;
1324
- watermark: UInt64;
1325
- chosen: UInt32;
1326
- chosen_epoch: UInt32;
1327
- founder: Name;
1328
- founded: UInt32;
1329
- }
1330
1491
  class influence_totals extends Struct {
1331
- player_lifetime: UInt64;
1332
- player_active: UInt64;
1333
1492
  standing_lifetime: UInt64;
1334
1493
  standing_active: UInt64;
1494
+ citizenship_lifetime: UInt64;
1495
+ citizenship_active: UInt64;
1335
1496
  location_lifetime: UInt64;
1336
1497
  location_active: UInt64;
1337
- watermark: UInt64;
1498
+ spent: UInt64;
1338
1499
  mandate: UInt32;
1339
1500
  founder: Name;
1340
1501
  founded: UInt32;
@@ -1345,18 +1506,6 @@ declare namespace Types$1 {
1345
1506
  tier: UInt8;
1346
1507
  threshold: UInt64;
1347
1508
  }
1348
- class infplayer_row extends Struct {
1349
- account: Name;
1350
- lifetime: UInt64;
1351
- active: UInt64;
1352
- last_update_epoch: UInt32;
1353
- }
1354
- class infplayerloc_row extends Struct {
1355
- location_id: UInt64;
1356
- lifetime: UInt64;
1357
- active: UInt64;
1358
- last_update_epoch: UInt32;
1359
- }
1360
1509
  class infpool_row extends Struct {
1361
1510
  category: UInt8;
1362
1511
  tier: UInt8;
@@ -1368,20 +1517,10 @@ declare namespace Types$1 {
1368
1517
  class infquality_row extends Struct {
1369
1518
  d1: UInt32;
1370
1519
  }
1371
- class inftally_row extends Struct {
1372
- node_id: UInt64;
1373
- total: UInt64;
1374
- }
1375
1520
  class infvalue_result extends Struct {
1376
1521
  total_atomic: UInt64;
1377
1522
  per_item_atomic: UInt64[];
1378
1523
  }
1379
- class infvote_row extends Struct {
1380
- account: Name;
1381
- epoch: UInt32;
1382
- node_id: UInt32;
1383
- weight: UInt64;
1384
- }
1385
1524
  class infweight_row extends Struct {
1386
1525
  category: UInt8;
1387
1526
  tier: UInt8;
@@ -1434,23 +1573,6 @@ declare namespace Types$1 {
1434
1573
  starts_at: TimePoint;
1435
1574
  completes_at: TimePoint;
1436
1575
  }
1437
- class job_row extends Struct {
1438
- id: UInt64;
1439
- workshop: UInt64;
1440
- socket: UInt8;
1441
- owner: Name;
1442
- ship_id: UInt64;
1443
- coords: coordinates;
1444
- starts_at: TimePoint;
1445
- completes_at: TimePoint;
1446
- recipe_id: UInt16;
1447
- quantity: UInt32;
1448
- energy_paid: UInt32;
1449
- cargo: cargo_item[];
1450
- }
1451
- class jobs_result extends Struct {
1452
- jobs: job_row[];
1453
- }
1454
1576
  class join extends Struct {
1455
1577
  account: Name;
1456
1578
  }
@@ -1496,6 +1618,15 @@ declare namespace Types$1 {
1496
1618
  is_system: boolean;
1497
1619
  is_wormhole: boolean;
1498
1620
  }
1621
+ class locker_row extends Struct {
1622
+ depot_id: UInt64;
1623
+ stored_mass: UInt64;
1624
+ reserved_mass: UInt64;
1625
+ }
1626
+ class mandates_row extends Struct {
1627
+ node_id: UInt32;
1628
+ repeats: UInt16;
1629
+ }
1499
1630
  class mint_threshold_view extends Struct {
1500
1631
  category: UInt8;
1501
1632
  tier: UInt8;
@@ -1639,6 +1770,10 @@ declare namespace Types$1 {
1639
1770
  class pools_result extends Struct {
1640
1771
  pools: pool_view[];
1641
1772
  }
1773
+ class progress_row extends Struct {
1774
+ node_id: UInt32;
1775
+ amount: UInt64;
1776
+ }
1642
1777
  class projected_state extends Struct {
1643
1778
  owner: Name;
1644
1779
  coordinates: coordinates;
@@ -1731,13 +1866,6 @@ declare namespace Types$1 {
1731
1866
  x: Int64;
1732
1867
  y: Int64;
1733
1868
  }
1734
- class service_socket extends Struct {
1735
- open: boolean;
1736
- }
1737
- class service_row extends Struct {
1738
- entity: UInt64;
1739
- sockets: service_socket[];
1740
- }
1741
1869
  class setcivic extends Struct {
1742
1870
  account: Name;
1743
1871
  }
@@ -1778,14 +1906,16 @@ declare namespace Types$1 {
1778
1906
  template_id: Int32;
1779
1907
  schema_name: Name;
1780
1908
  }
1781
- class setsocket extends Struct {
1782
- workshop_id: UInt64;
1783
- slot: UInt8;
1784
- open: boolean;
1785
- }
1786
1909
  class setthreshold extends Struct {
1787
1910
  threshold: UInt8;
1788
1911
  }
1912
+ class settleballot extends Struct {
1913
+ ballot_id: UInt64;
1914
+ max_pages: UInt32;
1915
+ }
1916
+ class setunwrapmin extends Struct {
1917
+ asset_id: UInt64;
1918
+ }
1789
1919
  class setwrapcost extends Struct {
1790
1920
  item_type: UInt8;
1791
1921
  tier: UInt8;
@@ -1801,6 +1931,12 @@ declare namespace Types$1 {
1801
1931
  to_id: UInt64;
1802
1932
  items: cargo_item[];
1803
1933
  }
1934
+ class standing_row extends Struct {
1935
+ account: Name;
1936
+ lifetime: UInt64;
1937
+ active: UInt64;
1938
+ active_epoch: UInt32;
1939
+ }
1804
1940
  class stowcargo extends Struct {
1805
1941
  owner: Name;
1806
1942
  entity_id: UInt64;
@@ -1865,17 +2001,20 @@ declare namespace Types$1 {
1865
2001
  class vote_option extends Struct {
1866
2002
  node_id: UInt32;
1867
2003
  cost: UInt64;
1868
- total: UInt64;
1869
- eligible: boolean;
2004
+ seat: UInt32;
2005
+ weight: UInt64;
2006
+ rank: UInt32;
1870
2007
  }
1871
2008
  class vote_result extends Struct {
1872
2009
  location_id: UInt64;
2010
+ ballot_id: UInt64;
1873
2011
  epoch: UInt32;
1874
- ballot_epoch: UInt32;
1875
- chosen: UInt32;
1876
- chosen_epoch: UInt32;
1877
- effective: UInt32;
2012
+ settled_epoch: UInt32;
2013
+ seats: UInt32;
2014
+ settling: boolean;
2015
+ queue: UInt32[];
1878
2016
  options: vote_option[];
2017
+ picks: UInt32[];
1879
2018
  }
1880
2019
  class types_row extends Struct {
1881
2020
  id: UInt64;
@@ -1904,20 +2043,6 @@ declare namespace Types$1 {
1904
2043
  to_id: UInt64;
1905
2044
  items: cargo_item[];
1906
2045
  }
1907
- class upgjob_row extends Struct {
1908
- id: UInt64;
1909
- dock: UInt64;
1910
- target: UInt64;
1911
- owner: Name;
1912
- coords: coordinates;
1913
- starts_at: TimePoint;
1914
- completes_at: TimePoint;
1915
- target_item_id: UInt16;
1916
- cargo: cargo_item[];
1917
- }
1918
- class upgjobs_result extends Struct {
1919
- jobs: upgjob_row[];
1920
- }
1921
2046
  class upgrade extends Struct {
1922
2047
  builder_id: UInt64;
1923
2048
  target_id: UInt64;
@@ -1925,20 +2050,8 @@ declare namespace Types$1 {
1925
2050
  inputs: cargo_item[];
1926
2051
  slot?: UInt8;
1927
2052
  }
1928
- class upgradejob extends Struct {
1929
- target_id: UInt64;
1930
- dock_id: UInt64;
1931
- target_item_id: UInt16;
1932
- inputs: cargo_item[];
1933
- }
1934
- class votecharter extends Struct {
1935
- player: Name;
1936
- x: Int64;
1937
- y: Int64;
1938
- node_id: UInt32;
1939
- }
1940
2053
  class voteready extends Struct {
1941
- max_ballots: UInt32;
2054
+ max_pages: UInt32;
1942
2055
  }
1943
2056
  class warp extends Struct {
1944
2057
  id: UInt64;
@@ -1947,6 +2060,17 @@ declare namespace Types$1 {
1947
2060
  }
1948
2061
  class wipe extends Struct {
1949
2062
  }
2063
+ class worlds_row extends Struct {
2064
+ location_id: UInt64;
2065
+ lifetime: UInt64;
2066
+ active: UInt64;
2067
+ active_epoch: UInt32;
2068
+ spent: UInt64;
2069
+ unassigned: UInt64;
2070
+ ballot_id: UInt64;
2071
+ founder: Name;
2072
+ founded: UInt32;
2073
+ }
1950
2074
  class wormhole_info extends Struct {
1951
2075
  coords: coordinates;
1952
2076
  is_wormhole: boolean;
@@ -1955,6 +2079,7 @@ declare namespace Types$1 {
1955
2079
  class wrapconfig_row extends Struct {
1956
2080
  fee_pct: UInt16;
1957
2081
  fee_account: Name;
2082
+ min_asset_id: UInt64;
1958
2083
  }
1959
2084
  class wrapcost_row extends Struct {
1960
2085
  item_type: UInt8;
@@ -1963,82 +2088,86 @@ declare namespace Types$1 {
1963
2088
  }
1964
2089
  }
1965
2090
  declare const TableMap$1: {
2091
+ ballot: typeof Types$1.ballot_row;
2092
+ ballotpicks: typeof Types$1.ballotpicks_row;
2093
+ ballotseq: typeof Types$1.ballot_seq_row;
2094
+ ballotsettle: typeof Types$1.ballotsettle_row;
2095
+ buildings: typeof Types$1.buildings_row;
2096
+ buildjobs: typeof Types$1.buildjob_row;
1966
2097
  cargo: typeof Types$1.cargo_row;
1967
- charters: typeof Types$1.charters_row;
2098
+ citizenship: typeof Types$1.citizenship_row;
1968
2099
  civicconfig: typeof Types$1.civicconfig_row;
1969
2100
  claims: typeof Types$1.claim_row;
1970
2101
  cluster: typeof Types$1.cluster_row;
1971
2102
  commit: typeof Types$1.commit_row;
1972
- depot: typeof Types$1.depot_row;
1973
- depotacct: typeof Types$1.depotacct_row;
2103
+ craftjobs: typeof Types$1.craftjob_row;
1974
2104
  entity: typeof Types$1.entity_row;
1975
2105
  entitygroup: typeof Types$1.entitygroup_row;
1976
2106
  entityseq: typeof Types$1.entity_seq_row;
1977
2107
  epoch: typeof Types$1.epoch_row;
1978
- infballot: typeof Types$1.infballot_row;
1979
2108
  infburn: typeof Types$1.infburn_row;
1980
2109
  infdemand: typeof Types$1.infdemand_row;
1981
- infloc: typeof Types$1.infloc_row;
1982
2110
  infmint: typeof Types$1.infmint_row;
1983
- infplayer: typeof Types$1.infplayer_row;
1984
- infplayerloc: typeof Types$1.infplayerloc_row;
1985
2111
  infpool: typeof Types$1.infpool_row;
1986
2112
  infquality: typeof Types$1.infquality_row;
1987
- inftally: typeof Types$1.inftally_row;
1988
- infvote: typeof Types$1.infvote_row;
1989
2113
  infweight: typeof Types$1.infweight_row;
1990
- jobs: typeof Types$1.job_row;
2114
+ lockers: typeof Types$1.locker_row;
2115
+ mandates: typeof Types$1.mandates_row;
1991
2116
  mintq: typeof Types$1.mintq_row;
1992
2117
  nftconfig: typeof Types$1.nftconfig_row;
1993
2118
  oraclecfg: typeof Types$1.oracle_config_row;
1994
2119
  oracles: typeof Types$1.oracle_row;
1995
2120
  player: typeof Types$1.player_row;
2121
+ progress: typeof Types$1.progress_row;
1996
2122
  reserve: typeof Types$1.reserve_row;
1997
2123
  reveal: typeof Types$1.reveal_row;
1998
- service: typeof Types$1.service_row;
2124
+ standing: typeof Types$1.standing_row;
1999
2125
  state: typeof Types$1.state_row;
2126
+ storage: typeof Types$1.storage_row;
2000
2127
  types: typeof Types$1.types_row;
2001
- upgjobs: typeof Types$1.upgjob_row;
2128
+ worlds: typeof Types$1.worlds_row;
2002
2129
  wrapconfig: typeof Types$1.wrapconfig_row;
2003
2130
  wrapcost: typeof Types$1.wrapcost_row;
2004
2131
  };
2005
2132
  interface TableTypes$1 {
2133
+ ballot: Types$1.ballot_row;
2134
+ ballotpicks: Types$1.ballotpicks_row;
2135
+ ballotseq: Types$1.ballot_seq_row;
2136
+ ballotsettle: Types$1.ballotsettle_row;
2137
+ buildings: Types$1.buildings_row;
2138
+ buildjobs: Types$1.buildjob_row;
2006
2139
  cargo: Types$1.cargo_row;
2007
- charters: Types$1.charters_row;
2140
+ citizenship: Types$1.citizenship_row;
2008
2141
  civicconfig: Types$1.civicconfig_row;
2009
2142
  claims: Types$1.claim_row;
2010
2143
  cluster: Types$1.cluster_row;
2011
2144
  commit: Types$1.commit_row;
2012
- depot: Types$1.depot_row;
2013
- depotacct: Types$1.depotacct_row;
2145
+ craftjobs: Types$1.craftjob_row;
2014
2146
  entity: Types$1.entity_row;
2015
2147
  entitygroup: Types$1.entitygroup_row;
2016
2148
  entityseq: Types$1.entity_seq_row;
2017
2149
  epoch: Types$1.epoch_row;
2018
- infballot: Types$1.infballot_row;
2019
2150
  infburn: Types$1.infburn_row;
2020
2151
  infdemand: Types$1.infdemand_row;
2021
- infloc: Types$1.infloc_row;
2022
2152
  infmint: Types$1.infmint_row;
2023
- infplayer: Types$1.infplayer_row;
2024
- infplayerloc: Types$1.infplayerloc_row;
2025
2153
  infpool: Types$1.infpool_row;
2026
2154
  infquality: Types$1.infquality_row;
2027
- inftally: Types$1.inftally_row;
2028
- infvote: Types$1.infvote_row;
2029
2155
  infweight: Types$1.infweight_row;
2030
- jobs: Types$1.job_row;
2156
+ lockers: Types$1.locker_row;
2157
+ mandates: Types$1.mandates_row;
2031
2158
  mintq: Types$1.mintq_row;
2032
2159
  nftconfig: Types$1.nftconfig_row;
2033
2160
  oraclecfg: Types$1.oracle_config_row;
2034
2161
  oracles: Types$1.oracle_row;
2035
2162
  player: Types$1.player_row;
2163
+ progress: Types$1.progress_row;
2036
2164
  reserve: Types$1.reserve_row;
2037
2165
  reveal: Types$1.reveal_row;
2038
- service: Types$1.service_row;
2166
+ standing: Types$1.standing_row;
2039
2167
  state: Types$1.state_row;
2168
+ storage: Types$1.storage_row;
2040
2169
  types: Types$1.types_row;
2041
- upgjobs: Types$1.upgjob_row;
2170
+ worlds: Types$1.worlds_row;
2042
2171
  wrapconfig: Types$1.wrapconfig_row;
2043
2172
  wrapcost: Types$1.wrapcost_row;
2044
2173
  }
@@ -2131,6 +2260,7 @@ declare namespace ActionParams$1 {
2131
2260
  energy_cost?: UInt32Type;
2132
2261
  target_item_id?: UInt16Type;
2133
2262
  refit?: Type.refit_op;
2263
+ charter_node?: UInt32Type;
2134
2264
  }
2135
2265
  interface coupling {
2136
2266
  counterpart: Type.entity_ref;
@@ -2242,6 +2372,13 @@ declare namespace ActionParams$1 {
2242
2372
  id: UInt64Type;
2243
2373
  inputs: Type.cargo_item[];
2244
2374
  }
2375
+ interface buildjob {
2376
+ target_id: UInt64Type;
2377
+ dock_id: UInt64Type;
2378
+ slot: UInt8Type;
2379
+ target_item_id: UInt16Type;
2380
+ inputs: Type.cargo_item[];
2381
+ }
2245
2382
  interface buildplot {
2246
2383
  builder_id: UInt64Type;
2247
2384
  plot_id: UInt64Type;
@@ -2251,18 +2388,26 @@ declare namespace ActionParams$1 {
2251
2388
  lane_key: UInt8Type;
2252
2389
  count: UInt64Type;
2253
2390
  }
2254
- interface canceljob {
2391
+ interface cancelbuild {
2255
2392
  job_id: UInt64Type;
2256
- ship_id: UInt64Type;
2257
2393
  }
2258
- interface cancelupgrade {
2394
+ interface cancelcraft {
2259
2395
  job_id: UInt64Type;
2396
+ ship_id: UInt64Type;
2397
+ }
2398
+ interface castballot {
2399
+ player: NameType;
2400
+ ballot_id: UInt64Type;
2401
+ picks: UInt32Type[];
2260
2402
  }
2261
2403
  interface charterready {
2262
2404
  x: Int64Type;
2263
2405
  y: Int64Type;
2264
2406
  }
2265
- interface claimjob {
2407
+ interface claimbuild {
2408
+ job_id: UInt64Type;
2409
+ }
2410
+ interface claimcraft {
2266
2411
  job_id: UInt64Type;
2267
2412
  ship_id: UInt64Type;
2268
2413
  }
@@ -2274,9 +2419,6 @@ declare namespace ActionParams$1 {
2274
2419
  interface claimstarter {
2275
2420
  owner: NameType;
2276
2421
  }
2277
- interface claimupgrade {
2278
- job_id: UInt64Type;
2279
- }
2280
2422
  interface cleanrsvp {
2281
2423
  epoch: UInt64Type;
2282
2424
  max_rows: UInt64Type;
@@ -2323,12 +2465,25 @@ declare namespace ActionParams$1 {
2323
2465
  x: Int64Type;
2324
2466
  y: Int64Type;
2325
2467
  amount_atomic: UInt64Type;
2468
+ node?: UInt32Type;
2326
2469
  }
2327
2470
  interface dbgmandate {
2328
2471
  x: Int64Type;
2329
2472
  y: Int64Type;
2330
2473
  node_id: UInt32Type;
2331
2474
  }
2475
+ interface dbgpagerows {
2476
+ rows: UInt32Type;
2477
+ }
2478
+ interface dbgpurge {
2479
+ table_name: NameType;
2480
+ scope?: NameType;
2481
+ }
2482
+ interface dbgseats {
2483
+ x: Int64Type;
2484
+ y: Int64Type;
2485
+ seats: UInt32Type;
2486
+ }
2332
2487
  interface delentity {
2333
2488
  entity_id: UInt64Type;
2334
2489
  }
@@ -2391,6 +2546,15 @@ declare namespace ActionParams$1 {
2391
2546
  interface genesisfleet {
2392
2547
  entities: Type.entity_row[];
2393
2548
  }
2549
+ interface genesisworld {
2550
+ founder: NameType;
2551
+ x: Int64Type;
2552
+ y: Int64Type;
2553
+ node_ids: UInt32Type[];
2554
+ }
2555
+ interface getbuildjobs {
2556
+ building_id: UInt64Type;
2557
+ }
2394
2558
  interface getcharter {
2395
2559
  x: Int64Type;
2396
2560
  y: Int64Type;
@@ -2404,6 +2568,9 @@ declare namespace ActionParams$1 {
2404
2568
  }
2405
2569
  interface getconfig {
2406
2570
  }
2571
+ interface getcraftjobs {
2572
+ building_id: UInt64Type;
2573
+ }
2407
2574
  interface getdecomp {
2408
2575
  item_id: UInt16Type;
2409
2576
  }
@@ -2466,9 +2633,6 @@ declare namespace ActionParams$1 {
2466
2633
  }
2467
2634
  interface getitemtypes {
2468
2635
  }
2469
- interface getjobs {
2470
- workshop_id: UInt64Type;
2471
- }
2472
2636
  interface getkindmeta {
2473
2637
  }
2474
2638
  interface getlocation {
@@ -2523,9 +2687,6 @@ declare namespace ActionParams$1 {
2523
2687
  }
2524
2688
  interface getresources {
2525
2689
  }
2526
- interface getservice {
2527
- workshop_id: UInt64Type;
2528
- }
2529
2690
  interface getslots {
2530
2691
  }
2531
2692
  interface getstratum {
@@ -2537,14 +2698,12 @@ declare namespace ActionParams$1 {
2537
2698
  owner: NameType;
2538
2699
  entity_type?: NameType;
2539
2700
  }
2540
- interface getupgjobs {
2541
- dock_id: UInt64Type;
2542
- }
2543
2701
  interface getvoteready {
2544
2702
  }
2545
2703
  interface getvotes {
2546
2704
  x: Int64Type;
2547
2705
  y: Int64Type;
2706
+ player: NameType;
2548
2707
  }
2549
2708
  interface getwormhole {
2550
2709
  x: Int64Type;
@@ -2722,14 +2881,16 @@ declare namespace ActionParams$1 {
2722
2881
  template_id: Int32Type;
2723
2882
  schema_name: NameType;
2724
2883
  }
2725
- interface setsocket {
2726
- workshop_id: UInt64Type;
2727
- slot: UInt8Type;
2728
- open: boolean;
2729
- }
2730
2884
  interface setthreshold {
2731
2885
  threshold: UInt8Type;
2732
2886
  }
2887
+ interface settleballot {
2888
+ ballot_id: UInt64Type;
2889
+ max_pages: UInt32Type;
2890
+ }
2891
+ interface setunwrapmin {
2892
+ asset_id: UInt64Type;
2893
+ }
2733
2894
  interface setwrapcost {
2734
2895
  item_type: UInt8Type;
2735
2896
  tier: UInt8Type;
@@ -2803,20 +2964,8 @@ declare namespace ActionParams$1 {
2803
2964
  inputs: Type.cargo_item[];
2804
2965
  slot?: UInt8Type;
2805
2966
  }
2806
- interface upgradejob {
2807
- target_id: UInt64Type;
2808
- dock_id: UInt64Type;
2809
- target_item_id: UInt16Type;
2810
- inputs: Type.cargo_item[];
2811
- }
2812
- interface votecharter {
2813
- player: NameType;
2814
- x: Int64Type;
2815
- y: Int64Type;
2816
- node_id: UInt32Type;
2817
- }
2818
2967
  interface voteready {
2819
- max_ballots: UInt32Type;
2968
+ max_pages: UInt32Type;
2820
2969
  }
2821
2970
  interface warp {
2822
2971
  id: UInt64Type;
@@ -2833,15 +2982,17 @@ interface ActionNameParams$1 {
2833
2982
  addnexus: ActionParams$1.addnexus;
2834
2983
  addoracle: ActionParams$1.addoracle;
2835
2984
  blend: ActionParams$1.blend;
2985
+ buildjob: ActionParams$1.buildjob;
2836
2986
  buildplot: ActionParams$1.buildplot;
2837
2987
  cancel: ActionParams$1.cancel;
2838
- canceljob: ActionParams$1.canceljob;
2839
- cancelupgrade: ActionParams$1.cancelupgrade;
2988
+ cancelbuild: ActionParams$1.cancelbuild;
2989
+ cancelcraft: ActionParams$1.cancelcraft;
2990
+ castballot: ActionParams$1.castballot;
2840
2991
  charterready: ActionParams$1.charterready;
2841
- claimjob: ActionParams$1.claimjob;
2992
+ claimbuild: ActionParams$1.claimbuild;
2993
+ claimcraft: ActionParams$1.claimcraft;
2842
2994
  claimplot: ActionParams$1.claimplot;
2843
2995
  claimstarter: ActionParams$1.claimstarter;
2844
- claimupgrade: ActionParams$1.claimupgrade;
2845
2996
  cleanrsvp: ActionParams$1.cleanrsvp;
2846
2997
  cleartable: ActionParams$1.cleartable;
2847
2998
  clustercraft: ActionParams$1.clustercraft;
@@ -2851,6 +3002,9 @@ interface ActionNameParams$1 {
2851
3002
  craftjob: ActionParams$1.craftjob;
2852
3003
  dbgcredit: ActionParams$1.dbgcredit;
2853
3004
  dbgmandate: ActionParams$1.dbgmandate;
3005
+ dbgpagerows: ActionParams$1.dbgpagerows;
3006
+ dbgpurge: ActionParams$1.dbgpurge;
3007
+ dbgseats: ActionParams$1.dbgseats;
2854
3008
  delentity: ActionParams$1.delentity;
2855
3009
  demolish: ActionParams$1.demolish;
2856
3010
  deploy: ActionParams$1.deploy;
@@ -2865,11 +3019,14 @@ interface ActionNameParams$1 {
2865
3019
  gather: ActionParams$1.gather;
2866
3020
  gatherplan: ActionParams$1.gatherplan;
2867
3021
  genesisfleet: ActionParams$1.genesisfleet;
3022
+ genesisworld: ActionParams$1.genesisworld;
3023
+ getbuildjobs: ActionParams$1.getbuildjobs;
2868
3024
  getcharter: ActionParams$1.getcharter;
2869
3025
  getcharttree: ActionParams$1.getcharttree;
2870
3026
  getchrtready: ActionParams$1.getchrtready;
2871
3027
  getcluster: ActionParams$1.getcluster;
2872
3028
  getconfig: ActionParams$1.getconfig;
3029
+ getcraftjobs: ActionParams$1.getcraftjobs;
2873
3030
  getdecomp: ActionParams$1.getdecomp;
2874
3031
  getdemand: ActionParams$1.getdemand;
2875
3032
  getdeposit: ActionParams$1.getdeposit;
@@ -2888,7 +3045,6 @@ interface ActionNameParams$1 {
2888
3045
  getitems: ActionParams$1.getitems;
2889
3046
  getitemtype: ActionParams$1.getitemtype;
2890
3047
  getitemtypes: ActionParams$1.getitemtypes;
2891
- getjobs: ActionParams$1.getjobs;
2892
3048
  getkindmeta: ActionParams$1.getkindmeta;
2893
3049
  getlocation: ActionParams$1.getlocation;
2894
3050
  getlocdata: ActionParams$1.getlocdata;
@@ -2908,11 +3064,9 @@ interface ActionNameParams$1 {
2908
3064
  getrescats: ActionParams$1.getrescats;
2909
3065
  getreserves: ActionParams$1.getreserves;
2910
3066
  getresources: ActionParams$1.getresources;
2911
- getservice: ActionParams$1.getservice;
2912
3067
  getslots: ActionParams$1.getslots;
2913
3068
  getstratum: ActionParams$1.getstratum;
2914
3069
  getsummaries: ActionParams$1.getsummaries;
2915
- getupgjobs: ActionParams$1.getupgjobs;
2916
3070
  getvoteready: ActionParams$1.getvoteready;
2917
3071
  getvotes: ActionParams$1.getvotes;
2918
3072
  getwormhole: ActionParams$1.getwormhole;
@@ -2959,8 +3113,9 @@ interface ActionNameParams$1 {
2959
3113
  setinfweight: ActionParams$1.setinfweight;
2960
3114
  setnextid: ActionParams$1.setnextid;
2961
3115
  setnftcfg: ActionParams$1.setnftcfg;
2962
- setsocket: ActionParams$1.setsocket;
2963
3116
  setthreshold: ActionParams$1.setthreshold;
3117
+ settleballot: ActionParams$1.settleballot;
3118
+ setunwrapmin: ActionParams$1.setunwrapmin;
2964
3119
  setwrapcost: ActionParams$1.setwrapcost;
2965
3120
  setwrapfee: ActionParams$1.setwrapfee;
2966
3121
  shuttle: ActionParams$1.shuttle;
@@ -2974,8 +3129,6 @@ interface ActionNameParams$1 {
2974
3129
  undeploy: ActionParams$1.undeploy;
2975
3130
  unload: ActionParams$1.unload;
2976
3131
  upgrade: ActionParams$1.upgrade;
2977
- upgradejob: ActionParams$1.upgradejob;
2978
- votecharter: ActionParams$1.votecharter;
2979
3132
  voteready: ActionParams$1.voteready;
2980
3133
  warp: ActionParams$1.warp;
2981
3134
  wipe: ActionParams$1.wipe;
@@ -2984,6 +3137,7 @@ type ActionNames$1 = keyof ActionNameParams$1;
2984
3137
  interface ActionReturnValues {
2985
3138
  abandonplot: Types$1.task_results;
2986
3139
  addcontrib: Types$1.task_results;
3140
+ buildjob: Types$1.job_receipt;
2987
3141
  buildplot: Types$1.task_results;
2988
3142
  cancel: Types$1.cancel_results;
2989
3143
  claimplot: Types$1.task_results;
@@ -2997,11 +3151,13 @@ interface ActionReturnValues {
2997
3151
  descentity: string;
2998
3152
  gather: Types$1.task_results;
2999
3153
  gatherplan: Types$1.task_results;
3154
+ getbuildjobs: Types$1.buildjobs_result;
3000
3155
  getcharter: Types$1.charter_result;
3001
3156
  getcharttree: Types$1.charter_tree_result;
3002
3157
  getchrtready: Types$1.charterready_result;
3003
3158
  getcluster: Types$1.cluster_row;
3004
3159
  getconfig: Types$1.game_config;
3160
+ getcraftjobs: Types$1.craftjobs_result;
3005
3161
  getdecomp: Types$1.decomp_result;
3006
3162
  getdemand: Types$1.demand_result;
3007
3163
  getdeposit: ExtendedAsset;
@@ -3020,7 +3176,6 @@ interface ActionReturnValues {
3020
3176
  getitems: Types$1.items_info;
3021
3177
  getitemtype: UInt8;
3022
3178
  getitemtypes: Types$1.enum_result;
3023
- getjobs: Types$1.jobs_result;
3024
3179
  getkindmeta: Types$1.kind_meta_result;
3025
3180
  getlocation: Types$1.location_info;
3026
3181
  getlocdata: Types$1.location_derived;
@@ -3040,11 +3195,9 @@ interface ActionReturnValues {
3040
3195
  getrescats: Types$1.enum_result;
3041
3196
  getreserves: Types$1.stratum_remaining[];
3042
3197
  getresources: Types$1.resources_result;
3043
- getservice: Types$1.service_row;
3044
3198
  getslots: Types$1.entity_layouts_result;
3045
3199
  getstratum: Types$1.stratum_data;
3046
3200
  getsummaries: Types$1.entity_summary[];
3047
- getupgjobs: Types$1.upgjobs_result;
3048
3201
  getvoteready: UInt32;
3049
3202
  getvotes: Types$1.vote_result;
3050
3203
  getwormhole: Types$1.wormhole_info;
@@ -3072,7 +3225,6 @@ interface ActionReturnValues {
3072
3225
  undeploy: Types$1.task_results;
3073
3226
  unload: Types$1.task_results;
3074
3227
  upgrade: Types$1.task_results;
3075
- upgradejob: Types$1.job_receipt;
3076
3228
  warp: Types$1.task_results;
3077
3229
  }
3078
3230
  type ActionReturnNames = keyof ActionReturnValues;
@@ -3333,9 +3485,16 @@ declare const ITEM_NOT_AVAILABLE_AT_LOCATION = "Item is not tradeable at ship lo
3333
3485
  declare const INSUFFICIENT_BALANCE = "Insufficient balance.";
3334
3486
  declare const INSUFFICIENT_ITEM_QUANTITY = "Insufficient quantity in cargo.";
3335
3487
  declare const INSUFFICIENT_ITEM_SUPPLY = "Insufficient supply of item at location.";
3488
+ declare const VOTE_NOT_CITIZEN = "player is not a citizen of this world";
3489
+ declare const BALLOT_SETTLING = "world is settling the last epoch";
3490
+ declare const BALLOT_NOT_DUE = "ballot is not due";
3491
+ declare const BALLOT_NONE_DUE = "no ballots are due";
3492
+ declare function isSettling(error: unknown): boolean;
3336
3493
 
3337
3494
  declare const PRECISION = 10000;
3338
- declare const CRAFT_ENERGY_DIVISOR = 150000;
3495
+ declare const MASS_UNITS_PER_TONNE = 10;
3496
+ declare const MASS_STAT_SCALE = 100;
3497
+ declare const CRAFT_ENERGY_DIVISOR = 1500;
3339
3498
  declare const PLANETARY_STRUCTURE_Z = 0;
3340
3499
  declare const CONTAINER_Z = 300;
3341
3500
  declare const TRAVEL_MAX_DURATION = 86400;
@@ -3343,7 +3502,7 @@ declare const BASE_HAUL_PENALTY_MILLI = 300;
3343
3502
  declare const HAULER_EFFICIENCY_DENOM = 10000;
3344
3503
  declare const MIN_ORBITAL_ALTITUDE = 800;
3345
3504
  declare const MAX_ORBITAL_ALTITUDE = 3000;
3346
- declare const BASE_ORBITAL_MASS = 100000;
3505
+ declare const BASE_ORBITAL_MASS = 1000;
3347
3506
  declare const MIN_TRANSFER_DISTANCE_PLANETARY_STRUCTURE = 100;
3348
3507
  declare const MIN_TRANSFER_DISTANCE_ORBITAL_VESSEL = 200;
3349
3508
  interface ClusterSlotType {
@@ -3384,7 +3543,9 @@ declare enum TaskType {
3384
3543
  UPGRADE = 17,
3385
3544
  SHUTTLE = 18,
3386
3545
  REFIT = 19,
3387
- CONTRIBUTE = 20
3546
+ CONTRIBUTE = 20,
3547
+ DEPOT_STORE = 21,
3548
+ DEPOT_TAKE = 22
3388
3549
  }
3389
3550
  declare enum RefitOp {
3390
3551
  ADD = 0,
@@ -3601,7 +3762,9 @@ declare function getEntityLayout(entityItemId: number): EntityLayout | undefined
3601
3762
  declare const CAP_WRAP = 1;
3602
3763
  declare const CAP_UNDEPLOY = 2;
3603
3764
  declare const CAP_DEMOLISH = 4;
3765
+ declare const CAP_CATCH = 8;
3604
3766
  declare const CAP_MODULES = 16;
3767
+ declare const CAP_STORE_CARGO = 32;
3605
3768
  declare enum EntityClass {
3606
3769
  OrbitalVessel = 0,
3607
3770
  PlanetaryStructure = 1,
@@ -3626,6 +3789,8 @@ declare function getKindMeta(kind: NameType | EntityTypeName): KindMeta | undefi
3626
3789
  declare function getTemplateMeta(itemId: number): TemplateMeta | undefined;
3627
3790
  declare function getPackedEntityType(itemId: number): Name | null;
3628
3791
  declare function kindCan(kind: NameType | EntityTypeName, cap: number): boolean;
3792
+ declare function canCatch(kind: NameType | EntityTypeName): boolean;
3793
+ declare function canStoreCargo(kind: NameType | EntityTypeName): boolean;
3629
3794
  declare function getEntityClass(kind: NameType | EntityTypeName): EntityClass;
3630
3795
  declare const ENTITY_SHIP: Name;
3631
3796
  declare const ENTITY_WAREHOUSE: Name;
@@ -3781,10 +3946,10 @@ interface HasCargo {
3781
3946
  cargo: Types$1.cargo_item[];
3782
3947
  }
3783
3948
  interface HasCapacity {
3784
- capacity: UInt32;
3949
+ capacity: UInt32Type;
3785
3950
  }
3786
3951
  interface HasCargomass {
3787
- cargomass: UInt32;
3952
+ cargomass: UInt32Type;
3788
3953
  }
3789
3954
  interface MassInput {
3790
3955
  item_id: UInt16;
@@ -4479,12 +4644,11 @@ declare class ActionsManager extends BaseManager {
4479
4644
  craft(entityId: UInt64Type, recipeId: number, quantity: number, inputs: ActionParams$1.Type.cargo_item[], target?: UInt64Type, slot?: UInt8Type): Action;
4480
4645
  craftjob(shipId: UInt64Type, workshopId: UInt64Type, slot: UInt8Type, recipeId: UInt16Type, quantity: UInt32Type, inputs: ActionParams$1.Type.cargo_item[]): Action;
4481
4646
  clustercraft(entityId: UInt64Type, recipeId: number, quantity: number, sources: ActionParams$1.Type.cluster_source[], target?: UInt64Type, slot?: UInt8Type): Action;
4482
- claimjob(jobId: UInt64Type, shipId: UInt64Type): Action;
4483
- canceljob(jobId: UInt64Type, shipId: UInt64Type): Action;
4484
- upgradejob(targetId: UInt64Type, dockId: UInt64Type, targetItemId: UInt16Type, inputs: ActionParams$1.Type.cargo_item[]): Action;
4485
- claimupgrade(jobId: UInt64Type): Action;
4486
- cancelupgrade(jobId: UInt64Type): Action;
4487
- setsocket(workshopId: UInt64Type, slot: UInt8Type, open: boolean): Action;
4647
+ claimcraft(jobId: UInt64Type, shipId: UInt64Type): Action;
4648
+ cancelcraft(jobId: UInt64Type, shipId: UInt64Type): Action;
4649
+ buildjob(targetId: UInt64Type, dockId: UInt64Type, slot: UInt8Type, targetItemId: UInt16Type, inputs: ActionParams$1.Type.cargo_item[]): Action;
4650
+ claimbuild(jobId: UInt64Type): Action;
4651
+ cancelbuild(jobId: UInt64Type): Action;
4488
4652
  blend(entityId: UInt64Type, inputs: ActionParams$1.Type.cargo_item[]): Action;
4489
4653
  deploy(entityId: UInt64Type, ref: ActionParams$1.Type.cargo_ref, slot?: ClusterSlotType): Action;
4490
4654
  upgrade(builderId: UInt64Type, targetId: UInt64Type, targetItemId: UInt16Type, inputs: ActionParams$1.Type.cargo_item[], slot?: UInt8Type): Action;
@@ -4513,6 +4677,7 @@ declare class ActionsManager extends BaseManager {
4513
4677
  wrapEntity(owner: NameType, entityId: UInt64Type, nexusId: UInt64Type, opts?: {
4514
4678
  claimRam?: boolean;
4515
4679
  }): Promise<Action[]>;
4680
+ setunwrapmin(assetId: UInt64Type): Action;
4516
4681
  placecargo(owner: NameType, hostId: UInt64Type, assetId: UInt64Type): Action;
4517
4682
  placeentity(owner: NameType, assetId: UInt64Type, targetNexusId: UInt64Type): Action;
4518
4683
  transferForUnwrap(owner: NameType, assetId: UInt64Type): Action;
@@ -4529,14 +4694,18 @@ declare class ActionsManager extends BaseManager {
4529
4694
  removeoracle(oracleId: NameType): Action;
4530
4695
  setthreshold(threshold: UInt8Type): Action;
4531
4696
  cleanrsvp(epoch: UInt64Type, maxRows: UInt64Type): Action;
4697
+ addFundToken(tokenContract: NameType, tokenSymbol: Asset.SymbolType): Action;
4698
+ removeFundToken(tokenContract: NameType): Action;
4699
+ collectFund(): Action;
4532
4700
  found(player: NameType, entityId: UInt64Type, location: CoordinatesType): Action;
4533
4701
  naturalize(player: NameType, location: CoordinatesType): Action;
4534
4702
  contribute(player: NameType, entityId: UInt64Type, location: CoordinatesType, bundle: ActionParams$1.Type.cargo_item[]): Action;
4535
4703
  firstContribution(player: NameType, entityId: UInt64Type, location: CoordinatesType, bundle: ActionParams$1.Type.cargo_item[]): Action[];
4536
4704
  mintready(maxMints?: UInt32Type): Action;
4537
4705
  charterready(location: CoordinatesType): Action;
4538
- votecharter(player: NameType, location: CoordinatesType, nodeId: UInt32Type): Action;
4539
- voteready(maxBallots?: UInt32Type): Action;
4706
+ castballot(player: NameType, ballotId: UInt64Type, picks: number[]): Action;
4707
+ settleballot(ballotId: UInt64Type, maxPages?: UInt32Type): Action;
4708
+ voteready(maxPages?: UInt32Type): Action;
4540
4709
  }
4541
4710
 
4542
4711
  interface GridCell {
@@ -4658,7 +4827,7 @@ declare function splitJobCargo<T>(cargo: readonly T[]): {
4658
4827
  };
4659
4828
  interface OwnedJob {
4660
4829
  id: number;
4661
- workshop: number;
4830
+ building: number;
4662
4831
  socket: number;
4663
4832
  shipId: number;
4664
4833
  coords: {
@@ -4686,18 +4855,17 @@ declare class JobsManager extends BaseManager {
4686
4855
  declare const INFLUENCE_ATOMIC_PER_POINT = 10000;
4687
4856
  declare const NEED_FP_SCALE = 10000;
4688
4857
  declare const WEIGHT_FP_SCALE = 10000;
4689
- declare const MASS_KG_PER_TONNE = 1000;
4690
4858
  declare const INFLUENCE_WEIGHT_FP_MAX = 1000000n;
4691
4859
  declare const INFLUENCE_NEED_FP_MAX = 1000000n;
4692
- declare const INFLUENCE_MASS_KG_MAX: bigint;
4860
+ declare const INFLUENCE_MASS_MAX: bigint;
4693
4861
  declare const DECAY_RETAIN_NUM = 19n;
4694
4862
  declare const DECAY_RETAIN_DEN = 20n;
4695
4863
  declare const DECAY_MAX_ITERATIONS = 1024;
4696
- declare const W_EFF_ATOMIC_PER_KG: bigint;
4864
+ declare const W_EFF_ATOMIC_PER_UNIT: bigint;
4697
4865
  declare const DECOMP_MAX_BUCKETS = 12;
4698
4866
  declare const DECOMP_MAX_DEPTH = 8;
4699
- declare const DECOMP_RAW_KG_MAX = 100000000;
4700
- declare const DECOMP_PROCESSED_KG_MAX = 100000000;
4867
+ declare const DECOMP_RAW_MASS_MAX = 1000000;
4868
+ declare const DECOMP_PROCESSED_MASS_MAX = 1000000;
4701
4869
  declare const RESOURCE_ORE = 0;
4702
4870
  declare const RESOURCE_GAS = 1;
4703
4871
  declare const RESOURCE_REGOLITH = 2;
@@ -4715,13 +4883,31 @@ declare const BAR_STEP_UNIT = 20;
4715
4883
  declare const BAR_STEP_UP: number;
4716
4884
  declare const BAR_STEP_DOWN = 20;
4717
4885
  declare const CHARTER_NONE = 0;
4718
- declare const CHARTER_WORKSHOP = 1;
4719
- declare const CHARTER_EFFECT_SPAWN_ENTITY = 1;
4720
- declare const CHARTER_EFFECT_REFIT_MODULES = 2;
4886
+ declare const CHARTER_WORKSHOP = 10001;
4887
+ declare const CIVIC_GRANT_NONE = 0;
4888
+ declare const CIVIC_GRANT_MODULE = 1;
4889
+ declare const CIVIC_GRANT_RUNG = 2;
4890
+ declare const CIVIC_GRANT_LEVEL_GATE = 3;
4891
+ declare const CIVIC_GRANT_ADVANCEMENT = 4;
4892
+ declare const CIVIC_WORLD = 0;
4893
+ declare const CIVIC_WORKSHOP = 1;
4894
+ declare const CIVIC_NEXUS = 2;
4895
+ declare const CIVIC_DOCK = 3;
4896
+ declare const CIVIC_DEPOT = 4;
4897
+ declare const CIVIC_STAT_NONE = 0;
4898
+ declare const CIVIC_STAT_CRAFT_SPEED = 1;
4899
+ declare const CIVIC_STAT_BUILD_SPEED = 2;
4900
+ declare const CIVIC_STAT_TRANSFER_SPEED = 3;
4901
+ declare const CIVIC_STAT_STORAGE_CAPACITY = 4;
4721
4902
  declare const VOTE_READY_DEFAULT_MAX = 20;
4903
+ declare const BALLOT_CHARTER = 1;
4904
+ declare const BALLOT_MAX_PICKS = 8;
4722
4905
  declare const CHARTER_WORKSHOP_COST = 2000000000n;
4723
- declare const CHARTER_BASELINE_STAT = 213;
4906
+ declare const CHARTER_BASELINE_STAT = 200;
4907
+ declare const CHARTER_RUNG_STEP = 50;
4908
+ declare const CIVIC_SPEED_CAP = 999;
4724
4909
  declare const CHARTER_MAX_PREREQS = 4;
4910
+ declare const CHARTER_MAX_GRANTS = 4;
4725
4911
  declare const INFLUENCE_D1_SEED = 45369;
4726
4912
  declare const DEMAND_TRIPLE_SEED: {
4727
4913
  peak: bigint;
@@ -4750,11 +4936,11 @@ declare function qualityFactor(packedStats: bigint, nStats: number, d1: number):
4750
4936
  interface DecompBucket {
4751
4937
  category: number;
4752
4938
  tier: number;
4753
- rawKg: number;
4939
+ rawMass: number;
4754
4940
  }
4755
4941
  interface DecompEntry {
4756
4942
  itemId: number;
4757
- processedKg: number;
4943
+ processedMass: number;
4758
4944
  buckets: DecompBucket[];
4759
4945
  }
4760
4946
  declare const DECOMP_REGISTRY: DecompEntry[];
@@ -4797,10 +4983,10 @@ interface ValuedItem {
4797
4983
  quantity: number;
4798
4984
  stats: bigint;
4799
4985
  }
4800
- declare function weightedQualityAtomic(weightedKgFp: bigint, sumSq: number, nStats: number, d1: number, needFp: bigint): bigint;
4801
- declare function resourceValueAtomic(massKg: bigint, weightFp: bigint, sumSq: number, nStats: number, d1: number, needFp: bigint): bigint;
4802
- declare function componentBaseAtomic(weightedRawKgFp: bigint, sumSq: number, nStats: number, d1: number): bigint;
4803
- declare function componentEffortAtomic(processedKgPerUnit: number, quantity: number): bigint;
4986
+ declare function weightedQualityAtomic(weightedMassFp: bigint, sumSq: number, nStats: number, d1: number, needFp: bigint): bigint;
4987
+ declare function resourceValueAtomic(mass: bigint, weightFp: bigint, sumSq: number, nStats: number, d1: number, needFp: bigint): bigint;
4988
+ declare function componentBaseAtomic(weightedRawMassFp: bigint, sumSq: number, nStats: number, d1: number): bigint;
4989
+ declare function componentEffortAtomic(processedMassPerUnit: number, quantity: number): bigint;
4804
4990
  declare function valueCargoItem(item: ValuedItem, demand: DemandView, pricing: InfluencePricing): bigint;
4805
4991
  declare function valueContribution(bundle: ValuedItem[], demand: DemandView, pricing: InfluencePricing): bigint;
4806
4992
  declare function pricingFromWeights(d1: number, weights: Iterable<{
@@ -4814,60 +5000,163 @@ interface CivicLoaderStats {
4814
5000
  mass: number;
4815
5001
  }
4816
5002
  declare function civicLoader(): CivicLoaderStats;
4817
- declare function contributeDuration(totalMassKg: number, altitudeZ?: number): number;
5003
+ declare function contributeDuration(totalMass: number, altitudeZ?: number): number;
4818
5004
  declare function contributeDurationForTonnes(tonnes: number, altitudeZ?: number): number;
5005
+ declare const DEPOT_LOADER_SLOT = 0;
5006
+ interface DepotTransferParams {
5007
+ depotModules: Types$1.module_entry[];
5008
+ depotItemId: number;
5009
+ depotKind: NameType;
5010
+ depotZ: number;
5011
+ shipKind: NameType;
5012
+ shipZ: number;
5013
+ cargoMass: number;
5014
+ }
5015
+ declare function depotTransferDuration(params: DepotTransferParams): number;
4819
5016
 
4820
5017
  declare function citizenryName(gameSeed: Checksum256Type, coordinates: CoordinatesType): string | undefined;
4821
5018
  declare function citizenryPatternCount(): number;
4822
5019
 
4823
- interface CharterEffect {
5020
+ interface CharterGrant {
4824
5021
  kind: number;
4825
- itemId: number;
4826
- targetItemId: number;
4827
- slotMask: number;
5022
+ building: number;
4828
5023
  stat: number;
5024
+ value: number;
4829
5025
  }
4830
5026
  interface CharterNode {
4831
5027
  nodeId: number;
4832
5028
  cost: bigint;
4833
5029
  prereqs: number[];
4834
- effect: CharterEffect;
5030
+ grants: CharterGrant[];
5031
+ exclusionGroup: number;
5032
+ repeatCap: number;
4835
5033
  }
4836
5034
  declare const CHARTER_REGISTRY: CharterNode[];
4837
5035
  declare function charterNode(nodeId: number): CharterNode | undefined;
4838
- type CharterIneligibility = 'already-taken' | 'prereq-missing' | 'refit-target-missing';
5036
+ type CharterIneligibility = 'already-taken' | 'prereq-missing';
4839
5037
  declare const CHARTER_INELIGIBILITY_MESSAGES: Record<CharterIneligibility, string>;
4840
5038
  interface BuiltCharter {
4841
5039
  nodeId: number;
4842
- entityId: bigint;
5040
+ repeats: number;
4843
5041
  }
4844
5042
  interface CharterWorld {
4845
5043
  built: BuiltCharter[];
4846
- entityExists?: (entityId: bigint) => boolean;
4847
5044
  }
4848
- interface ChosenCharter {
4849
- chosen: number;
4850
- chosenEpoch: number;
5045
+ interface WorldBuilding {
5046
+ entityId: bigint;
5047
+ building: number;
4851
5048
  }
4852
- declare function charterSpawnNodeFor(targetItemId: number): CharterNode | undefined;
5049
+ declare function charterGateNodeFor(building: number, level?: number): CharterNode | undefined;
5050
+ declare function charterBuildingEntity(buildings: WorldBuilding[], building: number): bigint;
5051
+ declare function charterRungValue(world: CharterWorld, building: number, stat: number): number;
5052
+ declare function charterModuleCount(world: CharterWorld, building: number): number;
4853
5053
  declare function charterPrereqsMet(world: CharterWorld, node: CharterNode): boolean;
4854
- declare function charterEffectTargetEntity(world: CharterWorld, node: CharterNode): bigint;
4855
- declare function charterEffectTargetPresent(world: CharterWorld, node: CharterNode): boolean;
4856
5054
  declare function charterIneligible(world: CharterWorld, node: CharterNode): CharterIneligibility | undefined;
4857
5055
  declare function charterEligible(world: CharterWorld, node: CharterNode): boolean;
4858
5056
  declare function eligibleCharters(world: CharterWorld): CharterNode[];
4859
5057
  declare function charterSingletonMandate(world: CharterWorld): number;
4860
- declare function effectiveMandate(stored: ChosenCharter, world: CharterWorld, epoch: number): number;
5058
+ declare function charterEligibleChained(world: CharterWorld, node: CharterNode, seated: number[]): boolean;
5059
+
5060
+ interface BallotVoter {
5061
+ account: string;
5062
+ weight: bigint;
5063
+ picks: number[];
5064
+ }
5065
+ /** Projects a full settlement from scratch; it does not resume an in-flight partial round. */
5066
+ interface BallotInput {
5067
+ world: CharterWorld;
5068
+ seats: number;
5069
+ voters: BallotVoter[];
5070
+ picks?: number[];
5071
+ }
5072
+ interface ProjectedSeat {
5073
+ nodeId: number;
5074
+ weight: bigint;
5075
+ }
5076
+ interface ProjectedOption {
5077
+ nodeId: number;
5078
+ cost: bigint;
5079
+ seat: number;
5080
+ weight: bigint;
5081
+ rank: number;
5082
+ }
5083
+ interface BallotProjection {
5084
+ seats: ProjectedSeat[];
5085
+ options: ProjectedOption[];
5086
+ }
5087
+ declare function projectBallot(input: BallotInput): BallotProjection;
5088
+
5089
+ declare function civicBuildingLabel(building: number): string;
5090
+ declare function civicStatLabel(stat: number): string;
5091
+ interface CharterMeta {
5092
+ name: string;
5093
+ summary: string;
5094
+ }
5095
+ declare const charterMetadata: Record<number, CharterMeta>;
5096
+ declare function charterName(nodeId: number): string;
5097
+ declare function charterSummary(nodeId: number): string;
5098
+ interface CharterGateSignature {
5099
+ kind: 'gate';
5100
+ buildingLabel: string;
5101
+ level: number;
5102
+ }
5103
+ interface CharterModuleSignature {
5104
+ kind: 'module';
5105
+ buildingLabel: string;
5106
+ count: number;
5107
+ rank: number;
5108
+ rankCount: number;
5109
+ }
5110
+ interface CharterRungSignature {
5111
+ kind: 'rung';
5112
+ buildingLabel: string;
5113
+ statLabel: string;
5114
+ rank: number;
5115
+ rankCount: number;
5116
+ }
5117
+ type CharterSignature = CharterGateSignature | CharterModuleSignature | CharterRungSignature;
5118
+ declare function romanNumeral(rank: number): string;
5119
+ declare function charterSignature(node: CharterNode): CharterSignature | undefined;
5120
+
5121
+ type ModuleEntry$4 = Types$1.module_entry;
5122
+ interface CivicStatDef {
5123
+ building: number;
5124
+ stat: number;
5125
+ base: number;
5126
+ cap: number;
5127
+ }
5128
+ declare const CIVIC_STAT_DEFS: readonly CivicStatDef[];
5129
+ declare function findCivicStatDef(building: number, stat: number): CivicStatDef | undefined;
5130
+ declare function civicHullItem(building: number): number;
5131
+ declare function civicModuleItemFor(moduleType: number): number;
5132
+ declare function civicStatModuleType(stat: number): number;
5133
+ declare function civicBuildingKind(building: number): Name | undefined;
5134
+ declare function civicBuildingFor(kind: NameType): number | undefined;
5135
+ declare function isCivicKind(kind: NameType): boolean;
5136
+ declare function isCivicEntity(entity: {
5137
+ owner: NameType;
5138
+ }, civicOwner: NameType): boolean;
5139
+ declare function emptyCivicModules(building: number): ModuleEntry$4[];
5140
+ declare function fitCivicModules(modules: ModuleEntry$4[], count: number): ModuleEntry$4[];
5141
+ declare function raiseCivicStat(modules: ModuleEntry$4[], grant: CharterGrant): ModuleEntry$4[];
5142
+ interface CivicBuildingPreview {
5143
+ building: number;
5144
+ itemId: number;
5145
+ spawned: boolean;
5146
+ modules: ModuleEntry$4[];
5147
+ }
5148
+ type CivicStanding = Partial<Record<number, ModuleEntry$4[]>>;
5149
+ declare function previewCharterGrants(node: CharterNode, standing?: CivicStanding): CivicBuildingPreview[];
4861
5150
 
4862
5151
  interface InfluenceStanding {
4863
5152
  epoch: number;
4864
- playerLifetime: bigint;
4865
- playerActive: bigint;
4866
5153
  standingLifetime: bigint;
4867
5154
  standingActive: bigint;
5155
+ citizenshipLifetime: bigint;
5156
+ citizenshipActive: bigint;
4868
5157
  locationLifetime: bigint;
4869
5158
  locationActive: bigint;
4870
- watermark: bigint;
5159
+ spent: bigint;
4871
5160
  mandate: number;
4872
5161
  founder: Name;
4873
5162
  founded: number;
@@ -4875,30 +5164,34 @@ interface InfluenceStanding {
4875
5164
  interface CharterProgress {
4876
5165
  locationId: bigint;
4877
5166
  lifetime: bigint;
4878
- watermark: bigint;
4879
- surplus: bigint;
5167
+ spent: bigint;
5168
+ unassigned: bigint;
4880
5169
  mandate: number;
4881
5170
  nextCost: bigint;
4882
5171
  prereqsMet: boolean;
4883
5172
  buildable: boolean;
4884
5173
  epoch: number;
4885
- built: {
4886
- nodeId: number;
4887
- completedEpoch: number;
4888
- entityId: bigint;
4889
- }[];
5174
+ built: BuiltCharter[];
5175
+ ballotId: bigint;
5176
+ settling: boolean;
5177
+ queue: QueuedSeat[];
5178
+ progress: NodeProgress[];
5179
+ }
5180
+ interface NodeProgress {
5181
+ nodeId: number;
5182
+ amount: bigint;
4890
5183
  }
4891
5184
  interface ContributePreviewRow {
4892
5185
  itemId: number;
4893
5186
  quantity: number;
4894
5187
  stats: bigint;
4895
5188
  valueAtomic: bigint;
4896
- massKg: number;
5189
+ mass: number;
4897
5190
  }
4898
5191
  interface ContributePreview {
4899
5192
  rows: ContributePreviewRow[];
4900
5193
  totalAtomic: bigint;
4901
- totalMassKg: number;
5194
+ totalMass: number;
4902
5195
  durationSeconds: number;
4903
5196
  demand: DemandView;
4904
5197
  }
@@ -4908,9 +5201,8 @@ interface FoundedWorld {
4908
5201
  y: number;
4909
5202
  lifetime: bigint;
4910
5203
  active: bigint;
4911
- watermark: bigint;
4912
- chosen: number;
4913
- chosenEpoch: number;
5204
+ spent: bigint;
5205
+ ballotId: bigint;
4914
5206
  mandate: number | undefined;
4915
5207
  founder: Name;
4916
5208
  founded: number;
@@ -4923,30 +5215,39 @@ interface FoundedWorldRef {
4923
5215
  interface VoteOption {
4924
5216
  nodeId: number;
4925
5217
  cost: bigint;
4926
- eligible: boolean;
4927
- total: bigint | undefined;
5218
+ seat: number;
5219
+ weight: bigint;
5220
+ rank: number;
4928
5221
  }
4929
5222
  interface VoteStandings {
4930
5223
  locationId: bigint;
5224
+ ballotId: bigint;
4931
5225
  epoch: number;
4932
- chosen: number;
4933
- chosenEpoch: number;
4934
- mandate: number;
4935
- ballotEpoch: number | undefined;
4936
- talliesSuppressed: boolean;
5226
+ settledEpoch: number;
5227
+ seats: number;
5228
+ settling: boolean;
5229
+ queue: number[];
4937
5230
  options: VoteOption[];
5231
+ picks: number[];
4938
5232
  }
4939
- interface VoteCast {
5233
+ interface BallotVote {
4940
5234
  account: Name;
4941
- epoch: number;
4942
- nodeId: number;
4943
- weight: bigint;
5235
+ picks: number[];
4944
5236
  }
4945
- interface PendingBallot {
4946
- locationId: bigint;
4947
- x: number;
4948
- y: number;
4949
- epoch: number;
5237
+ interface Ballot {
5238
+ ballotId: bigint;
5239
+ kind: number;
5240
+ subject: bigint;
5241
+ seats: number;
5242
+ settledEpoch: number;
5243
+ queue: number[];
5244
+ settling: boolean;
5245
+ }
5246
+ interface QueuedSeat {
5247
+ nodeId: number;
5248
+ cost: bigint;
5249
+ progress: bigint;
5250
+ gap: bigint;
4950
5251
  }
4951
5252
  declare class InfluenceManager extends BaseManager {
4952
5253
  getStanding(owner: NameType, location: CoordinatesType): Promise<InfluenceStanding>;
@@ -4954,6 +5255,10 @@ declare class InfluenceManager extends BaseManager {
4954
5255
  getQualityDivisor(): Promise<number>;
4955
5256
  getWeights(): Promise<Types$1.infweight_row[]>;
4956
5257
  getDemand(location: CoordinatesType): Promise<DemandView>;
5258
+ getCivicOwner(): Promise<Name>;
5259
+ isCivic(entity: {
5260
+ owner: NameType;
5261
+ }): Promise<boolean>;
4957
5262
  getCitizenryName(location: CoordinatesType): Promise<string | undefined>;
4958
5263
  previewContribution(location: CoordinatesType, bundle: ValuedItem[], opts?: {
4959
5264
  altitudeZ?: number;
@@ -4965,14 +5270,12 @@ declare class InfluenceManager extends BaseManager {
4965
5270
  getMintReady(): Promise<number>;
4966
5271
  getVoteReady(): Promise<number>;
4967
5272
  getCharterReady(): Promise<FoundedWorldRef[]>;
4968
- getVotes(location: CoordinatesType): Promise<VoteStandings>;
4969
- getVoteCasts(location: CoordinatesType): Promise<VoteCast[]>;
4970
- getVoteTallies(location: CoordinatesType): Promise<{
4971
- nodeId: number;
4972
- total: bigint;
4973
- }[]>;
5273
+ getVotes(location: CoordinatesType, player?: NameType): Promise<VoteStandings>;
5274
+ getBallotId(location: CoordinatesType): Promise<bigint | undefined>;
5275
+ getBallot(ballotId: bigint): Promise<Ballot | undefined>;
5276
+ getBallotVotes(ballotId: bigint): Promise<BallotVote[]>;
4974
5277
  getBuiltCharters(location: CoordinatesType): Promise<BuiltCharter[]>;
4975
- getBallotQueue(): Promise<PendingBallot[]>;
5278
+ getBuildings(location: CoordinatesType): Promise<WorldBuilding[]>;
4976
5279
  getFoundedWorlds(opts?: {
4977
5280
  withMandate?: boolean;
4978
5281
  }): Promise<FoundedWorld[]>;
@@ -5205,6 +5508,7 @@ declare class GameContext {
5205
5508
  readonly server: Contract$4;
5206
5509
  readonly platform: Contract$4;
5207
5510
  readonly atomicAssetsAccount: string;
5511
+ readonly fund: Contract$4;
5208
5512
  private _entities?;
5209
5513
  private _players?;
5210
5514
  private _locations?;
@@ -5220,7 +5524,7 @@ declare class GameContext {
5220
5524
  private _subscriptionsUrl?;
5221
5525
  private _gameCache?;
5222
5526
  private _stateCache?;
5223
- constructor(client: APIClient, server: Contract$4, platform: Contract$4, atomicAssetsAccount?: string);
5527
+ constructor(client: APIClient, server: Contract$4, platform: Contract$4, atomicAssetsAccount?: string, fund?: Contract$4);
5224
5528
  get entities(): EntitiesManager;
5225
5529
  get players(): PlayersManager;
5226
5530
  get locations(): LocationsManager;
@@ -5246,6 +5550,7 @@ declare abstract class BaseManager {
5246
5550
  protected get client(): _wharfkit_antelope.APIClient;
5247
5551
  protected get server(): _wharfkit_contract.Contract;
5248
5552
  protected get platform(): _wharfkit_contract.Contract;
5553
+ protected get fund(): _wharfkit_contract.Contract;
5249
5554
  protected get atomicAssetsAccount(): string;
5250
5555
  protected getGame(): Promise<Types$2.game_row>;
5251
5556
  protected getState(reload?: boolean): Promise<GameState>;
@@ -5264,6 +5569,7 @@ declare class EntitiesManager extends BaseManager {
5264
5569
  interface ShiploadOptions {
5265
5570
  platformContractName?: string;
5266
5571
  serverContractName?: string;
5572
+ fundContractName?: string;
5267
5573
  client?: APIClient;
5268
5574
  subscriptionsUrl?: string;
5269
5575
  atomicAssetsAccount?: string;
@@ -5271,6 +5577,7 @@ interface ShiploadOptions {
5271
5577
  interface ShiploadConstructorOptions extends ShiploadOptions {
5272
5578
  platformContract?: Contract$4;
5273
5579
  serverContract?: Contract$4;
5580
+ fundContract?: Contract$4;
5274
5581
  }
5275
5582
  declare class Shipload {
5276
5583
  private readonly _context;
@@ -5280,6 +5587,7 @@ declare class Shipload {
5280
5587
  get atomicAssetsAccount(): string;
5281
5588
  get server(): Contract$4;
5282
5589
  get platform(): Contract$4;
5590
+ get fund(): Contract$4;
5283
5591
  get entities(): EntitiesManager;
5284
5592
  get players(): PlayersManager;
5285
5593
  get locations(): LocationsManager;
@@ -5434,6 +5742,7 @@ declare class ConstructionManager extends BaseManager {
5434
5742
 
5435
5743
  declare const itemIds: number[];
5436
5744
  declare function getItem(itemId: UInt16Type): Item;
5745
+ declare function tryGetItem(itemId: UInt16Type): Item | undefined;
5437
5746
  declare function getItems(): Item[];
5438
5747
  declare function getResources(opts?: {
5439
5748
  category?: ResourceCategory;
@@ -5646,14 +5955,19 @@ declare function sdkSystemGraph(seed: Checksum256Type, scan: ScanProvider): Syst
5646
5955
 
5647
5956
  interface ReachStats {
5648
5957
  generator?: {
5649
- capacity: bigint;
5958
+ capacity: bigint | number;
5650
5959
  };
5651
5960
  engines?: {
5652
- drain: bigint;
5961
+ drain: bigint | number;
5653
5962
  };
5963
+ energy?: bigint | number;
5964
+ hasMovement?: boolean;
5654
5965
  }
5655
- declare function computePerLegReach(s: ReachStats): number;
5656
- declare function computeGroupPerLegReach(participants: ReachStats[]): number;
5966
+ interface ComputePerLegReachOptions {
5967
+ basis?: 'capacity' | 'current';
5968
+ }
5969
+ declare function computePerLegReach(s: ReachStats, opts?: ComputePerLegReachOptions): number;
5970
+ declare function computeGroupPerLegReach(participants: ReachStats[], opts?: ComputePerLegReachOptions): number;
5657
5971
 
5658
5972
  interface RouteMoverInput {
5659
5973
  ref: {
@@ -5708,6 +6022,18 @@ declare function simulateRoute(movers: RouteMoverInput[], waypoints: {
5708
6022
  y: number;
5709
6023
  }, recharge: boolean): RouteSim;
5710
6024
 
6025
+ declare function planRouteWithRetry(input: {
6026
+ origin: Coord;
6027
+ dest: Coord;
6028
+ perLegReach: number;
6029
+ graph: SystemGraph;
6030
+ maxLegs?: number;
6031
+ legCost?: RouteLegCost;
6032
+ heuristicCost?: RouteHeuristicCost;
6033
+ }): RouteResult;
6034
+ declare function contractRouteLegCost(movers: readonly RouteMoverInput[]): RouteLegCost;
6035
+ declare function contractRouteHeuristic(movers: readonly RouteMoverInput[]): RouteHeuristicCost;
6036
+
5711
6037
  type ModuleEntry$3 = Types$1.module_entry;
5712
6038
  type Lane = Types$1.lane;
5713
6039
  type Schedule = Types$1.schedule;
@@ -5854,7 +6180,15 @@ interface TaskCargoChange {
5854
6180
  modules: Types$1.module_entry[];
5855
6181
  quantity: number;
5856
6182
  }
6183
+ type TaskCargoResult = {
6184
+ known: true;
6185
+ changes: TaskCargoChange[];
6186
+ } | {
6187
+ known: false;
6188
+ taskType: number;
6189
+ };
5857
6190
  declare function taskCargoChanges(task: Types$1.task): TaskCargoChange[];
6191
+ declare function taskCargoChangesChecked(task: Types$1.task): TaskCargoResult;
5858
6192
 
5859
6193
  type EntityInfo$1 = Types$1.entity_info;
5860
6194
  type CounterpartLookup = (entityId: UInt64) => EntityInfo$1 | undefined;
@@ -5888,6 +6222,13 @@ interface IncomingSource {
5888
6222
  declare function hasSourceCoupling(task: Task): boolean;
5889
6223
  declare function hasIncomingCoupling(task: Task): boolean;
5890
6224
  declare function calcCounterpartDelivery(task: Task, coupling: Coupling): CargoItem$2[];
6225
+ interface IncomingHoldEntity extends ScheduleData {
6226
+ id: {
6227
+ toString(): string;
6228
+ };
6229
+ holds?: Types$1.hold[];
6230
+ }
6231
+ declare function incomingSources(entity: IncomingHoldEntity, findCounterpart: (entityId: string) => ScheduleData | undefined, excludedHoldIds?: readonly string[]): IncomingSource[];
5891
6232
  declare function taskCargoEffect(task: Task): CargoEffect;
5892
6233
  declare function cargoKey(item: CargoItem$2): string;
5893
6234
  declare function cargoInputKey(input: CargoInput): string;
@@ -6015,10 +6356,11 @@ interface CrafterCapability {
6015
6356
  }
6016
6357
  declare function capsHasCrafter(caps: EntityCapabilities): boolean;
6017
6358
  declare function calc_craft_duration(speed: number, totalInputMass: number): UInt32;
6018
- declare const INTAKE_RATE = 36000;
6359
+ declare const INTAKE_RATE = 360;
6019
6360
  declare function calcClusterIntake(sourcedMass: number): number;
6020
6361
  declare function calcClustercraftDuration(speed: number, totalInputMass: number, sourcedMass: number): UInt32;
6021
6362
  declare function calc_craft_energy(drain: number, totalInputMass: number): UInt32;
6363
+ declare function craftEnergyCost(lane: Types$1.crafter_lane, recipe: Recipe, units: number): number;
6022
6364
  declare function calc_build_duration(speed: number, totalInputMass: number): UInt32;
6023
6365
  declare function calc_build_energy(drain: number, totalInputMass: number): UInt32;
6024
6366
 
@@ -6206,7 +6548,7 @@ declare function filterByBuildMethod<T extends {
6206
6548
  declare function allBuildableItems(): Item[];
6207
6549
  declare function allPlotBuildableItems(): Item[];
6208
6550
 
6209
- declare const DEFAULT_BASE_HULLMASS = 100000;
6551
+ declare const DEFAULT_BASE_HULLMASS = 1000;
6210
6552
  declare function getBaseHullmassFor(itemId: number): number;
6211
6553
  declare function computeShipHullCapabilities(stats: Record<string, number>, itemId?: number): {
6212
6554
  hullmass: number;
@@ -6527,7 +6869,7 @@ declare function deserializeEntity(data: Record<string, any>, itemId: number): N
6527
6869
  declare function deserializeAsset(data: Record<string, any>, itemId: number): NFTCargoItem;
6528
6870
 
6529
6871
  declare function toWholeEnergy(milli: number): number;
6530
- declare function formatMassTonnes(kg: number): string;
6872
+ declare function formatMassTonnes(mass: number): string;
6531
6873
  declare function computeBaseHullmass(itemId: number, stats: bigint): number;
6532
6874
  declare function computeBaseCapacityShip(stats: bigint): number;
6533
6875
  declare function computeBaseCapacityContainer(stats: bigint): number;
@@ -6799,13 +7141,13 @@ declare const MODULE_STAT_SCALING_ANCHOR = 213;
6799
7141
  declare const MODULE_STAT_SCALING_POST_ANCHOR_PERCENT = 40;
6800
7142
  declare function computeEffectiveModuleStat(stat: number): number;
6801
7143
 
6802
- declare function formatMass(kg: number): string;
6803
- declare function formatMassDelta(kg: number): string;
7144
+ declare function formatMass(mass: number): string;
7145
+ declare function formatMassDelta(mass: number): string;
6804
7146
  declare function formatLocation(loc: {
6805
7147
  x: number;
6806
7148
  y: number;
6807
7149
  }): string;
6808
- declare function formatMassScaled(kg: number): string;
7150
+ declare function formatMassScaled(mass: number): string;
6809
7151
  declare function formatInfluence(atomic: bigint | number | string): string;
6810
7152
  declare function formatNeedMultiplier(needFp: bigint | number | string): string;
6811
7153
 
@@ -6824,7 +7166,7 @@ declare function displayName(item: DisplayNameInput): string;
6824
7166
  interface DescribeOptions {
6825
7167
  translate?: (key: string) => string;
6826
7168
  formatNumber?: (n: number) => string;
6827
- formatMass?: (kg: number) => string;
7169
+ formatMass?: (mass: number) => string;
6828
7170
  }
6829
7171
  declare function describeItem(resolved: ResolvedItem, opts?: DescribeOptions): string;
6830
7172
 
@@ -6877,6 +7219,7 @@ declare function parseWireEntity(raw: WireEntity): Types$1.entity_info;
6877
7219
  declare function setSubscriptionsDebug(on: boolean): void;
6878
7220
  declare function isSubscriptionsDebugEnabled(): boolean;
6879
7221
 
7222
+ type GatherLane = Types$1.gatherer_lane;
6880
7223
  interface LanePlanEntry {
6881
7224
  slot: number;
6882
7225
  quantity: number;
@@ -6926,8 +7269,47 @@ declare function gatherEnergyCost(lane: Types$1.gatherer_lane, quantity: number,
6926
7269
  declare function splitCost(reaching: Types$1.gatherer_lane[], quantity: number, stratum: number, itemMass: number, richness: number): number;
6927
7270
  declare function maxQtyForCharge(reaching: Types$1.gatherer_lane[], hi: number, capacity: number, stratum: number, itemMass: number, richness: number): number;
6928
7271
  declare function buildGatherPlan(entity: GatherPlanEntity, stratum: number, target: PlanTarget, opts: BuildGatherPlanOpts): GatherPlan;
7272
+ interface SingleGatherPlan {
7273
+ laneKey: number;
7274
+ quantity: number;
7275
+ energyCost: number;
7276
+ needsRecharge: boolean;
7277
+ }
7278
+ interface SingleGatherInput {
7279
+ modules: Types$1.module_entry[];
7280
+ entityItemId: number;
7281
+ lanes: Types$1.lane[];
7282
+ gathererLanes: GatherLane[];
7283
+ stratum: number;
7284
+ desiredQuantity: number;
7285
+ itemMass: number;
7286
+ richness: number;
7287
+ generatorCapacity: number;
7288
+ currentEnergy: number;
7289
+ }
7290
+ declare function planSingleGather(opts: SingleGatherInput): SingleGatherPlan;
6929
7291
  declare function planParallelTransfer(entity: GatherPlanEntity, target: PlanTarget): LanePlanEntry[];
6930
7292
 
7293
+ interface GathererLaneSource {
7294
+ gathererLanes?: ComputedCapabilities['gathererLanes'];
7295
+ gatherer?: ComputedCapabilities['gatherer'];
7296
+ }
7297
+ declare function hydrateEntityLanes(caps: GathererLaneSource): GatherLane[];
7298
+ interface RouteMoverRow {
7299
+ id: UInt64Type;
7300
+ energy?: UInt32Type | number;
7301
+ cargomass?: UInt32Type | number;
7302
+ }
7303
+ type RouteMoverCaps = Pick<ComputedCapabilities, 'hullmass' | 'engines' | 'generator' | 'hauler' | 'loaderLanes'>;
7304
+ interface RouteMoverOpts {
7305
+ entityType?: string;
7306
+ hasMovement?: boolean;
7307
+ priorMobilityEnd?: number;
7308
+ narrowBarrierEnd?: number;
7309
+ allLanesEnd?: number;
7310
+ }
7311
+ declare function entityToRouteMover(row: RouteMoverRow, caps: RouteMoverCaps, opts?: RouteMoverOpts): RouteMoverInput;
7312
+
6931
7313
  type Ship = Entity$1;
6932
7314
  type Warehouse = Entity$1;
6933
7315
  type Container = Entity$1;
@@ -6945,4 +7327,4 @@ type entity_row = Types$1.entity_row;
6945
7327
  type location_static = Types$1.location_static;
6946
7328
  type location_derived = Types$1.location_derived;
6947
7329
 
6948
- 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, BalancesManager, 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, DepositConfig, 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, FoundedWorldRef, 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, PlatformBalance, platform as PlatformContract, Types$2 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$1 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, TokenBalance, token as TokenContract, 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, WrapConfig, WrapDeposit, WrapGate, 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, itemTypeIndex, 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, wrapCostKey, yieldThresholdAt };
7330
+ export { ALL_ENTITY_TYPES, ATOMICASSETS_ACCOUNT, AckMessage, ActionsManager, AnyEntity, AtomicAssetRow, AtomicAttributeType, AtomicSchemaRow, BALLOT_CHARTER, BALLOT_MAX_PICKS, BALLOT_NONE_DUE, BALLOT_NOT_DUE, BALLOT_SETTLING, 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, BalancesManager, Ballot, BallotInput, BallotProjection, BallotVote, BallotVoter, BoundingBox, BoundsDeltaMessage, BoundsSubscriptionHandle, BroadEntitySubscriptionFilter, BuildGatherPlanOpts, BuildMethod, BuildState, BuildableTarget, BuilderStats, BuiltCharter, CANCEL_CONTAINS_GROUPED_TASK, CAPACITY_TIER_TABLE, CAP_CATCH, CAP_DEMOLISH, CAP_MODULES, CAP_STORE_CARGO, CAP_UNDEPLOY, CAP_WRAP, CATEGORY_LABELS, CHARTER_BASELINE_STAT, CHARTER_INELIGIBILITY_MESSAGES, CHARTER_MAX_GRANTS, CHARTER_MAX_PREREQS, CHARTER_NONE, CHARTER_REGISTRY, CHARTER_RUNG_STEP, CHARTER_WORKSHOP, CHARTER_WORKSHOP_COST, CIVIC_DEPOT, CIVIC_DOCK, CIVIC_GRANT_ADVANCEMENT, CIVIC_GRANT_LEVEL_GATE, CIVIC_GRANT_MODULE, CIVIC_GRANT_NONE, CIVIC_GRANT_RUNG, CIVIC_LOADER_STAT, CIVIC_LOADER_TIER, CIVIC_NEXUS, CIVIC_SPEED_CAP, CIVIC_STAT_BUILD_SPEED, CIVIC_STAT_CRAFT_SPEED, CIVIC_STAT_DEFS, CIVIC_STAT_NONE, CIVIC_STAT_STORAGE_CAPACITY, CIVIC_STAT_TRANSFER_SPEED, CIVIC_WORKSHOP, CIVIC_WORLD, 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, CharterGateSignature, CharterGrant, CharterIneligibility, CharterMeta, CharterNode, CharterProgress, CharterRungSignature, CharterSignature, CharterWorld, CivicBuildingPreview, CivicLoaderStats, CivicStanding, CivicStatDef, 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_MASS_MAX, DECOMP_RAW_MASS_MAX, DECOMP_REGISTRY, DEFAULT_BASE_HULLMASS, DEFAULT_ORBITAL_Z, DEMAND_TRIPLE_SEED, DEPLOY_ENTITY_HAS_SCHEDULE, DEPOT_LOADER_SLOT, 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, DepositConfig, DepotTransferParams, 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, FoundedWorldRef, fund as FundContract, Types$3 as FundTypes, 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, GatherLane, GatherLimpet, GatherPlan, GatherPlanEntity, GathererCapability, GathererDepthParams, GathererLaneSource, GathererStats, GridCell, HAULER_EFFICIENCY_DENOM, HasCapacity, HasCargo, HasCargomass, HasScheduleAndLocation, HoldKind, INFLUENCE_ATOMIC_PER_POINT, INFLUENCE_D1_SEED, INFLUENCE_MASS_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, IncomingHoldEntity, 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_STAT_SCALE, MASS_UNITS_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, NodeProgress, 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, PingMessage, PlanRouteParams, PlanTarget, PlanetSubtypeInfo, PlatformBalance, platform as PlatformContract, Types$2 as PlatformTypes, Player, PlayerRosterEntry, PlayerStateInput, PlayersManager, PongMessage, Projectable, ProjectedEntity, ProjectedOption, ProjectedSeat, ProjectionOptions, QueuedSeat, 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, RouteMoverCaps, RouteMoverInput, RouteMoverOpts, RouteMoverRow, 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$1 as ServerTypes, Ship, ShipEntity, ShipLike, Shipload, SingleGatherInput, SingleGatherPlan, 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, TaskCargoResult, TaskType, TemplateMeta, TextSpan, TierRange, TokenBalance, token as TokenContract, TransferEntity, TravelDrainBreakdown, UnsubscribeEntityMessage, UnsubscribeEventsMessage, UnsubscribeMessage, UnwrapDestination, UnwrapItem, UpdateBoundsMessage, UpdateMessage, VOTE_NOT_CITIZEN, VOTE_READY_DEFAULT_MAX, ValidateDisplayNameOptions, ValuedItem, 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_UNIT, Warehouse, WarehouseEntity, WebSocketConnection, WebSocketConnectionOptions, WireCoordinates, WireEntity, WorldBuilding, WrapConfig, WrapDeposit, WrapGate, 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, canCatch, canMove, canStoreCargo, 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, charterBuildingEntity, charterEligible, charterEligibleChained, charterGateNodeFor, charterIneligible, charterMetadata, charterModuleCount, charterName, charterNode, charterPrereqsMet, charterRungValue, charterSignature, charterSingletonMandate, charterSummary, citizenryName, citizenryPatternCount, civicBuildingFor, civicBuildingKind, civicBuildingLabel, civicHullItem, civicLoader, civicModuleItemFor, civicStatLabel, civicStatModuleType, 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, contractRouteHeuristic, contractRouteLegCost, contributeDuration, contributeDurationForTonnes, coordsToLocationId, coupling, craftEnergyCost, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decayActive, decodeAddress, decodeAtomicAsset, decodeCraftedItemStats, decodeRegion, decodeSector, decodeStat, decodeStats, Shipload as default, demandRoll, depotTransferDuration, deriveDemand, deriveLocation, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStatMappings, deriveStrata, deriveStratum, derivedLoaders, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeAtomicData, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, easeFlightProgress, eligibleCharters, eligibleUpgrades, emptyCivicModules, encodeAddress, encodeAddressMemo, encodeGatheredCargoStats, encodeRegion, encodeSector, encodeStats, energyAtTime, energyPercent, energy_stats, entityDisplayName, entityToRouteMover, entity_row, estimateDealTravelTime, estimateTravelTime, estimateUnwrapDuration, feistel, feistelInv, fetchAtomicAssetsForOwner, fetchAtomicSchemas, filterByBuildMethod, findCivicStatDef, findDecomp, findNearbyPlanets, fitCivicModules, 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, hydrateEntityLanes, incomingHoldMass, incomingSources, influenceWeightKey, interpolateFlightPosition, isAbundant, isAcute, isBuildable, isCivicEntity, isCivicKind, isConstructionDock, isContainer, isCraftedItem, isDepot, isExtractor, isFactory, isFull$1 as isFull, isFullFromMass, isGatherableLocation, isHub, isInvertedAttribute, isLocationBuildable, isModuleItem, isNexus, isPlot, isPlotBuildable, isRelatedItem, isSettling, isShip, isSubscriptionsDebugEnabled, isValidWormholePair, isWarehouse, isWorkshop, itemAbbreviations, itemCategory, itemIds, itemOffset, itemTier, itemTypeCode, itemTypeIndex, 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, planRouteWithRetry, planSingleGather, poolKey, popcount5, previewCharterGrants, pricingFromWeights, projectBallot, projectEntity, projectEntityAt, projectRemainingAt, projectedCargoAvailableAt, projectedPeakCargomass, qualityFactor, raiseCivicStat, rawScheduleEnd, readCommonBase, receiveFits, regionOf, removeFromStacks, renderDescription, resolveItem, resolveItemCategory, resolveLaneBuilder, resolveLaneCrafter, resolveLaneGatherer, resolveLaneLoader, resolveLockedAmount, resolveStats, resourceValueAtomic, rollTier, rollWithinTier, rollupBuilder, rollupCrafter, rollupGatherer, rollupLoaders, romanNumeral, rotation, schedule, sdkSystemGraph, selectGatherLane, setSubscriptionsDebug, simulateRoute, slotAcceptsModule, socketTail, sourceLabelForOutput, splitCost, splitJobCargo, stackKey, stackToCargoItem, stacksEqual, starRating, starsForStat, statMagnitude, statsSumSq, subtractFromStacks, task, taskCargoChanges, taskCargoChangesChecked, taskCargoEffect, tierAdjective, tierColors, tierOfReserve, toLocation, tryGetItem, typeLabel, unwrapLoadDuration, unwrapTransitDuration, usedInputStatKeys, validateDisplayName, validateSchedule, valueCargoItem, valueContribution, weightedQualityAtomic, workerLaneKey, wormholeAt, wormholeAtRegionEndpoint, wrapCostKey, yieldThresholdAt };