@shipload/sdk 1.0.0-next.64 → 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 +754 -316
  2. package/lib/shipload.js +2650 -1336
  3. package/lib/shipload.js.map +1 -1
  4. package/lib/shipload.m.js +2564 -1308
  5. package/lib/shipload.m.js.map +1 -1
  6. package/lib/testing.d.ts +219 -145
  7. package/lib/testing.js +910 -557
  8. package/lib/testing.js.map +1 -1
  9. package/lib/testing.m.js +910 -557
  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 +110 -5
  18. package/src/contracts/platform.ts +10 -1
  19. package/src/contracts/server.ts +498 -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 +33 -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 +5 -2
  54. package/src/managers/influence.test.ts +18 -20
  55. package/src/managers/influence.ts +162 -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 +23 -4
  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, UInt64Type, AssetType, UInt32Type, Action, UInt8, Int64, Checksum256, TimePointSec, ExtendedAsset, UInt8Type, Checksum256Type, Int64Type, ExtendedAssetType, TimePoint, Int8, Bytes, Int32, BlockTimestamp, Int8Type, TimePointType, Int32Type, BytesType, Checksum512, APIClient } from '@wharfkit/antelope';
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,9 +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
+ }
43
+ class gettendable extends Struct {
44
+ max_lots: UInt32;
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
+ }
28
58
  class lots_row extends Struct {
29
59
  asset_id: UInt64;
30
60
  grade: Name;
@@ -57,14 +87,23 @@ declare namespace Types$3 {
57
87
  token_contract: Name;
58
88
  token_symbol: Asset.Symbol;
59
89
  }
60
- class tend extends Struct {
90
+ class sweep extends Struct {
61
91
  max_lots: UInt32;
62
92
  }
93
+ class tend extends Struct {
94
+ asset_ids: UInt64[];
95
+ }
63
96
  class terms_row extends Struct {
64
97
  grade: Name;
65
98
  starting_bid: Asset;
66
99
  duration: UInt32;
67
100
  }
101
+ class token_row extends Struct {
102
+ token_contract: Name;
103
+ token_symbol: Asset.Symbol;
104
+ }
105
+ class wipe extends Struct {
106
+ }
68
107
  }
69
108
  declare const TableMap$3: {
70
109
  accrued: typeof Types$3.accrued_row;
@@ -73,6 +112,7 @@ declare const TableMap$3: {
73
112
  lots: typeof Types$3.lots_row;
74
113
  settings: typeof Types$3.settings_row;
75
114
  terms: typeof Types$3.terms_row;
115
+ tokens: typeof Types$3.token_row;
76
116
  };
77
117
  interface TableTypes$3 {
78
118
  accrued: Types$3.accrued_row;
@@ -81,6 +121,7 @@ interface TableTypes$3 {
81
121
  lots: Types$3.lots_row;
82
122
  settings: Types$3.settings_row;
83
123
  terms: Types$3.terms_row;
124
+ tokens: Types$3.token_row;
84
125
  }
85
126
  type RowType$3<T> = T extends keyof TableTypes$3 ? TableTypes$3[T] : any;
86
127
  type TableNames$3 = keyof TableTypes$3;
@@ -91,9 +132,27 @@ declare namespace ActionParams$3 {
91
132
  bps: UInt16Type;
92
133
  }
93
134
  }
135
+ interface addtoken {
136
+ token_contract: NameType;
137
+ token_symbol: Asset.SymbolType;
138
+ }
94
139
  interface claim {
95
140
  beneficiary_account: NameType;
96
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
+ }
153
+ interface gettendable {
154
+ max_lots: UInt32Type;
155
+ }
97
156
  interface rescuenft {
98
157
  asset_ids: UInt64Type[];
99
158
  to: NameType;
@@ -115,23 +174,42 @@ declare namespace ActionParams$3 {
115
174
  token_contract: NameType;
116
175
  token_symbol: Asset.SymbolType;
117
176
  }
118
- interface tend {
177
+ interface sweep {
119
178
  max_lots: UInt32Type;
120
179
  }
180
+ interface tend {
181
+ asset_ids: UInt64Type[];
182
+ }
183
+ interface wipe {
184
+ }
121
185
  }
122
186
  interface ActionNameParams$3 {
187
+ addtoken: ActionParams$3.addtoken;
123
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;
193
+ gettendable: ActionParams$3.gettendable;
124
194
  rescuenft: ActionParams$3.rescuenft;
125
195
  setbenef: ActionParams$3.setbenef;
126
196
  setmarket: ActionParams$3.setmarket;
127
197
  setterms: ActionParams$3.setterms;
128
198
  settoken: ActionParams$3.settoken;
199
+ sweep: ActionParams$3.sweep;
129
200
  tend: ActionParams$3.tend;
201
+ wipe: ActionParams$3.wipe;
130
202
  }
131
203
  type ActionNames$3 = keyof ActionNameParams$3;
204
+ interface ActionReturnValues$1 {
205
+ getlots: Types$3.lots_result;
206
+ gettendable: UInt64[];
207
+ }
208
+ type ActionReturnNames$1 = keyof ActionReturnValues$1;
132
209
  declare class Contract$3 extends Contract$4 {
133
210
  constructor(args: PartialBy<ContractArgs, 'abi' | 'account'>);
134
211
  action<T extends ActionNames$3>(name: T, data: ActionNameParams$3[T], options?: ActionOptions): Action;
212
+ readonly<T extends ActionReturnNames$1>(name: T, data?: ActionNameParams$3[T]): ActionReturnValues$1[T];
135
213
  table<T extends TableNames$3>(name: T, scope?: NameType): Table<RowType$3<T>>;
136
214
  }
137
215
 
@@ -147,6 +225,8 @@ declare namespace fund {
147
225
  ActionParams$3 as ActionParams,
148
226
  ActionNameParams$3 as ActionNameParams,
149
227
  ActionNames$3 as ActionNames,
228
+ ActionReturnValues$1 as ActionReturnValues,
229
+ ActionReturnNames$1 as ActionReturnNames,
150
230
  Contract$3 as Contract,
151
231
  };
152
232
  }
@@ -195,6 +275,9 @@ declare namespace Types$2 {
195
275
  y: Int64;
196
276
  bundle: cargo_item[];
197
277
  }
278
+ class dbgrefund extends Struct {
279
+ owners: Name[];
280
+ }
198
281
  class debitdeposit extends Struct {
199
282
  owner: Name;
200
283
  token: Name;
@@ -382,6 +465,9 @@ declare namespace ActionParams$2 {
382
465
  y: Int64Type;
383
466
  bundle: Type.cargo_item[];
384
467
  }
468
+ interface dbgrefund {
469
+ owners: NameType[];
470
+ }
385
471
  interface debitdeposit {
386
472
  owner: NameType;
387
473
  token: NameType;
@@ -465,6 +551,7 @@ interface ActionNameParams$2 {
465
551
  cleartable: ActionParams$2.cleartable;
466
552
  close: ActionParams$2.close;
467
553
  contribute: ActionParams$2.contribute;
554
+ dbgrefund: ActionParams$2.dbgrefund;
468
555
  debitdeposit: ActionParams$2.debitdeposit;
469
556
  enable: ActionParams$2.enable;
470
557
  enablegame: ActionParams$2.enablegame;
@@ -554,6 +641,40 @@ declare namespace Types$1 {
554
641
  class addoracle extends Struct {
555
642
  oracle_id: Name;
556
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
+ }
557
678
  class blend extends Struct {
558
679
  id: UInt64;
559
680
  inputs: cargo_item[];
@@ -564,6 +685,37 @@ declare namespace Types$1 {
564
685
  drain: UInt32;
565
686
  output_pct: UInt16;
566
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
+ }
567
719
  class buildplot extends Struct {
568
720
  builder_id: UInt64;
569
721
  plot_id: UInt64;
@@ -585,12 +737,12 @@ declare namespace Types$1 {
585
737
  entitygroup?: UInt64;
586
738
  group_members?: entity_ref[];
587
739
  }
588
- class canceljob extends Struct {
740
+ class cancelbuild extends Struct {
589
741
  job_id: UInt64;
590
- ship_id: UInt64;
591
742
  }
592
- class cancelupgrade extends Struct {
743
+ class cancelcraft extends Struct {
593
744
  job_id: UInt64;
745
+ ship_id: UInt64;
594
746
  }
595
747
  class cargo_row extends Struct {
596
748
  id: UInt64;
@@ -609,35 +761,59 @@ declare namespace Types$1 {
609
761
  id: UInt64;
610
762
  entity_id?: UInt64;
611
763
  }
612
- 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 {
613
770
  kind: UInt8;
614
- item_id: UInt16;
615
- target_item_id: UInt16;
616
- slot_mask: UInt16;
617
- stat: UInt16;
771
+ building: UInt8;
772
+ stat: UInt8;
773
+ value: UInt16;
618
774
  }
619
775
  class charter_node_def extends Struct {
620
776
  node_id: UInt32;
621
777
  cost: UInt64;
622
778
  prereqs: UInt32[];
623
- effect: charter_effect;
779
+ grants: civic_grant[];
780
+ exclusion_group: UInt16;
781
+ repeat_cap: UInt8;
782
+ }
783
+ class charter_ready_view extends Struct {
784
+ x: Int64;
785
+ y: Int64;
786
+ mandate: UInt32;
624
787
  }
625
788
  class charter_view extends Struct {
626
789
  node_id: UInt32;
627
- completed_epoch: UInt32;
628
- 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;
629
801
  }
630
802
  class charter_result extends Struct {
631
803
  location_id: UInt64;
632
804
  lifetime: UInt64;
633
- watermark: UInt64;
634
- surplus: UInt64;
805
+ spent: UInt64;
806
+ unassigned: UInt64;
635
807
  mandate: UInt32;
636
808
  next_cost: UInt64;
637
809
  prereqs_met: boolean;
638
810
  buildable: boolean;
639
811
  epoch: UInt32;
640
812
  built: charter_view[];
813
+ ballot_id: UInt64;
814
+ settling: boolean;
815
+ queue: seat_view[];
816
+ progress: progress_view[];
641
817
  }
642
818
  class charter_tree_result extends Struct {
643
819
  nodes: charter_node_def[];
@@ -646,10 +822,14 @@ declare namespace Types$1 {
646
822
  x: Int64;
647
823
  y: Int64;
648
824
  }
649
- class charters_row extends Struct {
650
- node_id: UInt32;
651
- completed_epoch: UInt32;
652
- entity_id: UInt64;
825
+ class charterready_result extends Struct {
826
+ worlds: charter_ready_view[];
827
+ }
828
+ class citizenship_row extends Struct {
829
+ location_id: UInt64;
830
+ lifetime: UInt64;
831
+ active: UInt64;
832
+ active_epoch: UInt32;
653
833
  }
654
834
  class civicconfig_row extends Struct {
655
835
  civic_owner: Name;
@@ -657,7 +837,10 @@ declare namespace Types$1 {
657
837
  class claim_row extends Struct {
658
838
  owner: Name;
659
839
  }
660
- class claimjob extends Struct {
840
+ class claimbuild extends Struct {
841
+ job_id: UInt64;
842
+ }
843
+ class claimcraft extends Struct {
661
844
  job_id: UInt64;
662
845
  ship_id: UInt64;
663
846
  }
@@ -674,9 +857,6 @@ declare namespace Types$1 {
674
857
  class claimstarter extends Struct {
675
858
  owner: Name;
676
859
  }
677
- class claimupgrade extends Struct {
678
- job_id: UInt64;
679
- }
680
860
  class cleanrsvp extends Struct {
681
861
  epoch: UInt64;
682
862
  max_rows: UInt64;
@@ -737,11 +917,6 @@ declare namespace Types$1 {
737
917
  class configlog extends Struct {
738
918
  config: game_config;
739
919
  }
740
- class coordinates extends Struct {
741
- x: Int64;
742
- y: Int64;
743
- z?: UInt16;
744
- }
745
920
  class coupling extends Struct {
746
921
  counterpart: entity_ref;
747
922
  hold: UInt64;
@@ -769,25 +944,55 @@ declare namespace Types$1 {
769
944
  quantity: UInt32;
770
945
  inputs: cargo_item[];
771
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
+ }
772
964
  class dbgcredit extends Struct {
773
965
  owner: Name;
774
966
  x: Int64;
775
967
  y: Int64;
776
968
  amount_atomic: UInt64;
969
+ node?: UInt32;
777
970
  }
778
971
  class dbgmandate extends Struct {
779
972
  x: Int64;
780
973
  y: Int64;
781
974
  node_id: UInt32;
782
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
+ }
783
988
  class decomp_bucket extends Struct {
784
989
  category: UInt8;
785
990
  tier: UInt8;
786
- raw_kg: UInt32;
991
+ raw_mass: UInt32;
787
992
  }
788
993
  class decomp_result extends Struct {
789
994
  item_id: UInt16;
790
- processed_kg: UInt64;
995
+ processed_mass: UInt64;
791
996
  buckets: decomp_bucket[];
792
997
  }
793
998
  class delentity extends Struct {
@@ -808,7 +1013,7 @@ declare namespace Types$1 {
808
1013
  ref: cargo_ref;
809
1014
  slot?: cluster_slot;
810
1015
  }
811
- class depot_row extends Struct {
1016
+ class storage_row extends Struct {
812
1017
  id: UInt64;
813
1018
  owner: Name;
814
1019
  item_id: UInt64;
@@ -821,12 +1026,7 @@ declare namespace Types$1 {
821
1026
  player_cap: UInt64;
822
1027
  stored_mass: UInt64;
823
1028
  reserved_mass: UInt64;
824
- rows: depot_row[];
825
- }
826
- class depotacct_row extends Struct {
827
- owner: Name;
828
- stored_mass: UInt64;
829
- reserved_mass: UInt64;
1029
+ rows: storage_row[];
830
1030
  }
831
1031
  class depotstore extends Struct {
832
1032
  ship_id: UInt64;
@@ -906,6 +1106,7 @@ declare namespace Types$1 {
906
1106
  energy_cost?: UInt32;
907
1107
  target_item_id?: UInt16;
908
1108
  refit?: refit_op;
1109
+ charter_node?: UInt32;
909
1110
  }
910
1111
  class schedule extends Struct {
911
1112
  started: TimePoint;
@@ -1049,17 +1250,31 @@ declare namespace Types$1 {
1049
1250
  class genesisfleet extends Struct {
1050
1251
  entities: entity_row[];
1051
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
+ }
1052
1262
  class getcharter extends Struct {
1053
1263
  x: Int64;
1054
1264
  y: Int64;
1055
1265
  }
1056
1266
  class getcharttree extends Struct {
1057
1267
  }
1268
+ class getchrtready extends Struct {
1269
+ }
1058
1270
  class getcluster extends Struct {
1059
1271
  hub_id: UInt64;
1060
1272
  }
1061
1273
  class getconfig extends Struct {
1062
1274
  }
1275
+ class getcraftjobs extends Struct {
1276
+ building_id: UInt64;
1277
+ }
1063
1278
  class getdecomp extends Struct {
1064
1279
  item_id: UInt16;
1065
1280
  }
@@ -1122,9 +1337,6 @@ declare namespace Types$1 {
1122
1337
  }
1123
1338
  class getitemtypes extends Struct {
1124
1339
  }
1125
- class getjobs extends Struct {
1126
- workshop_id: UInt64;
1127
- }
1128
1340
  class getkindmeta extends Struct {
1129
1341
  }
1130
1342
  class getlocation extends Struct {
@@ -1137,6 +1349,8 @@ declare namespace Types$1 {
1137
1349
  }
1138
1350
  class getmintcfg extends Struct {
1139
1351
  }
1352
+ class getmintready extends Struct {
1353
+ }
1140
1354
  class getmodtypes extends Struct {
1141
1355
  }
1142
1356
  class getmodules extends Struct {
@@ -1177,9 +1391,6 @@ declare namespace Types$1 {
1177
1391
  }
1178
1392
  class getresources extends Struct {
1179
1393
  }
1180
- class getservice extends Struct {
1181
- workshop_id: UInt64;
1182
- }
1183
1394
  class getslots extends Struct {
1184
1395
  }
1185
1396
  class getstratum extends Struct {
@@ -1191,12 +1402,12 @@ declare namespace Types$1 {
1191
1402
  owner: Name;
1192
1403
  entity_type?: Name;
1193
1404
  }
1194
- class getupgjobs extends Struct {
1195
- dock_id: UInt64;
1405
+ class getvoteready extends Struct {
1196
1406
  }
1197
1407
  class getvotes extends Struct {
1198
1408
  x: Int64;
1199
1409
  y: Int64;
1410
+ player: Name;
1200
1411
  }
1201
1412
  class getwormhole extends Struct {
1202
1413
  x: Int64;
@@ -1269,10 +1480,6 @@ declare namespace Types$1 {
1269
1480
  class importstate extends Struct {
1270
1481
  row: state_row;
1271
1482
  }
1272
- class infballot_row extends Struct {
1273
- location_id: UInt64;
1274
- epoch: UInt32;
1275
- }
1276
1483
  class infburn_row extends Struct {
1277
1484
  bps: UInt16;
1278
1485
  }
@@ -1281,25 +1488,14 @@ declare namespace Types$1 {
1281
1488
  base: UInt64;
1282
1489
  floor: UInt64;
1283
1490
  }
1284
- class infloc_row extends Struct {
1285
- location_id: UInt64;
1286
- lifetime: UInt64;
1287
- active: UInt64;
1288
- last_update_epoch: UInt32;
1289
- watermark: UInt64;
1290
- chosen: UInt32;
1291
- chosen_epoch: UInt32;
1292
- founder: Name;
1293
- founded: UInt32;
1294
- }
1295
1491
  class influence_totals extends Struct {
1296
- player_lifetime: UInt64;
1297
- player_active: UInt64;
1298
1492
  standing_lifetime: UInt64;
1299
1493
  standing_active: UInt64;
1494
+ citizenship_lifetime: UInt64;
1495
+ citizenship_active: UInt64;
1300
1496
  location_lifetime: UInt64;
1301
1497
  location_active: UInt64;
1302
- watermark: UInt64;
1498
+ spent: UInt64;
1303
1499
  mandate: UInt32;
1304
1500
  founder: Name;
1305
1501
  founded: UInt32;
@@ -1310,18 +1506,6 @@ declare namespace Types$1 {
1310
1506
  tier: UInt8;
1311
1507
  threshold: UInt64;
1312
1508
  }
1313
- class infplayer_row extends Struct {
1314
- account: Name;
1315
- lifetime: UInt64;
1316
- active: UInt64;
1317
- last_update_epoch: UInt32;
1318
- }
1319
- class infplayerloc_row extends Struct {
1320
- location_id: UInt64;
1321
- lifetime: UInt64;
1322
- active: UInt64;
1323
- last_update_epoch: UInt32;
1324
- }
1325
1509
  class infpool_row extends Struct {
1326
1510
  category: UInt8;
1327
1511
  tier: UInt8;
@@ -1333,20 +1517,10 @@ declare namespace Types$1 {
1333
1517
  class infquality_row extends Struct {
1334
1518
  d1: UInt32;
1335
1519
  }
1336
- class inftally_row extends Struct {
1337
- node_id: UInt64;
1338
- total: UInt64;
1339
- }
1340
1520
  class infvalue_result extends Struct {
1341
1521
  total_atomic: UInt64;
1342
1522
  per_item_atomic: UInt64[];
1343
1523
  }
1344
- class infvote_row extends Struct {
1345
- account: Name;
1346
- epoch: UInt32;
1347
- node_id: UInt32;
1348
- weight: UInt64;
1349
- }
1350
1524
  class infweight_row extends Struct {
1351
1525
  category: UInt8;
1352
1526
  tier: UInt8;
@@ -1399,23 +1573,6 @@ declare namespace Types$1 {
1399
1573
  starts_at: TimePoint;
1400
1574
  completes_at: TimePoint;
1401
1575
  }
1402
- class job_row extends Struct {
1403
- id: UInt64;
1404
- workshop: UInt64;
1405
- socket: UInt8;
1406
- owner: Name;
1407
- ship_id: UInt64;
1408
- coords: coordinates;
1409
- starts_at: TimePoint;
1410
- completes_at: TimePoint;
1411
- recipe_id: UInt16;
1412
- quantity: UInt32;
1413
- energy_paid: UInt32;
1414
- cargo: cargo_item[];
1415
- }
1416
- class jobs_result extends Struct {
1417
- jobs: job_row[];
1418
- }
1419
1576
  class join extends Struct {
1420
1577
  account: Name;
1421
1578
  }
@@ -1461,6 +1618,15 @@ declare namespace Types$1 {
1461
1618
  is_system: boolean;
1462
1619
  is_wormhole: boolean;
1463
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
+ }
1464
1630
  class mint_threshold_view extends Struct {
1465
1631
  category: UInt8;
1466
1632
  tier: UInt8;
@@ -1604,6 +1770,10 @@ declare namespace Types$1 {
1604
1770
  class pools_result extends Struct {
1605
1771
  pools: pool_view[];
1606
1772
  }
1773
+ class progress_row extends Struct {
1774
+ node_id: UInt32;
1775
+ amount: UInt64;
1776
+ }
1607
1777
  class projected_state extends Struct {
1608
1778
  owner: Name;
1609
1779
  coordinates: coordinates;
@@ -1696,13 +1866,6 @@ declare namespace Types$1 {
1696
1866
  x: Int64;
1697
1867
  y: Int64;
1698
1868
  }
1699
- class service_socket extends Struct {
1700
- open: boolean;
1701
- }
1702
- class service_row extends Struct {
1703
- entity: UInt64;
1704
- sockets: service_socket[];
1705
- }
1706
1869
  class setcivic extends Struct {
1707
1870
  account: Name;
1708
1871
  }
@@ -1743,14 +1906,16 @@ declare namespace Types$1 {
1743
1906
  template_id: Int32;
1744
1907
  schema_name: Name;
1745
1908
  }
1746
- class setsocket extends Struct {
1747
- workshop_id: UInt64;
1748
- slot: UInt8;
1749
- open: boolean;
1750
- }
1751
1909
  class setthreshold extends Struct {
1752
1910
  threshold: UInt8;
1753
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
+ }
1754
1919
  class setwrapcost extends Struct {
1755
1920
  item_type: UInt8;
1756
1921
  tier: UInt8;
@@ -1766,6 +1931,12 @@ declare namespace Types$1 {
1766
1931
  to_id: UInt64;
1767
1932
  items: cargo_item[];
1768
1933
  }
1934
+ class standing_row extends Struct {
1935
+ account: Name;
1936
+ lifetime: UInt64;
1937
+ active: UInt64;
1938
+ active_epoch: UInt32;
1939
+ }
1769
1940
  class stowcargo extends Struct {
1770
1941
  owner: Name;
1771
1942
  entity_id: UInt64;
@@ -1830,17 +2001,20 @@ declare namespace Types$1 {
1830
2001
  class vote_option extends Struct {
1831
2002
  node_id: UInt32;
1832
2003
  cost: UInt64;
1833
- total: UInt64;
1834
- eligible: boolean;
2004
+ seat: UInt32;
2005
+ weight: UInt64;
2006
+ rank: UInt32;
1835
2007
  }
1836
2008
  class vote_result extends Struct {
1837
2009
  location_id: UInt64;
2010
+ ballot_id: UInt64;
1838
2011
  epoch: UInt32;
1839
- ballot_epoch: UInt32;
1840
- chosen: UInt32;
1841
- chosen_epoch: UInt32;
1842
- effective: UInt32;
2012
+ settled_epoch: UInt32;
2013
+ seats: UInt32;
2014
+ settling: boolean;
2015
+ queue: UInt32[];
1843
2016
  options: vote_option[];
2017
+ picks: UInt32[];
1844
2018
  }
1845
2019
  class types_row extends Struct {
1846
2020
  id: UInt64;
@@ -1856,6 +2030,7 @@ declare namespace Types$1 {
1856
2030
  pool_pair_result_type: pool_pair_result;
1857
2031
  mintcfg_result_type: mintcfg_result;
1858
2032
  charter_result_type: charter_result;
2033
+ charterready_result_type: charterready_result;
1859
2034
  vote_result_type: vote_result;
1860
2035
  depot_view_type: depot_view;
1861
2036
  }
@@ -1868,20 +2043,6 @@ declare namespace Types$1 {
1868
2043
  to_id: UInt64;
1869
2044
  items: cargo_item[];
1870
2045
  }
1871
- class upgjob_row extends Struct {
1872
- id: UInt64;
1873
- dock: UInt64;
1874
- target: UInt64;
1875
- owner: Name;
1876
- coords: coordinates;
1877
- starts_at: TimePoint;
1878
- completes_at: TimePoint;
1879
- target_item_id: UInt16;
1880
- cargo: cargo_item[];
1881
- }
1882
- class upgjobs_result extends Struct {
1883
- jobs: upgjob_row[];
1884
- }
1885
2046
  class upgrade extends Struct {
1886
2047
  builder_id: UInt64;
1887
2048
  target_id: UInt64;
@@ -1889,20 +2050,8 @@ declare namespace Types$1 {
1889
2050
  inputs: cargo_item[];
1890
2051
  slot?: UInt8;
1891
2052
  }
1892
- class upgradejob extends Struct {
1893
- target_id: UInt64;
1894
- dock_id: UInt64;
1895
- target_item_id: UInt16;
1896
- inputs: cargo_item[];
1897
- }
1898
- class votecharter extends Struct {
1899
- player: Name;
1900
- x: Int64;
1901
- y: Int64;
1902
- node_id: UInt32;
1903
- }
1904
2053
  class voteready extends Struct {
1905
- max_ballots: UInt32;
2054
+ max_pages: UInt32;
1906
2055
  }
1907
2056
  class warp extends Struct {
1908
2057
  id: UInt64;
@@ -1911,6 +2060,17 @@ declare namespace Types$1 {
1911
2060
  }
1912
2061
  class wipe extends Struct {
1913
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
+ }
1914
2074
  class wormhole_info extends Struct {
1915
2075
  coords: coordinates;
1916
2076
  is_wormhole: boolean;
@@ -1919,6 +2079,7 @@ declare namespace Types$1 {
1919
2079
  class wrapconfig_row extends Struct {
1920
2080
  fee_pct: UInt16;
1921
2081
  fee_account: Name;
2082
+ min_asset_id: UInt64;
1922
2083
  }
1923
2084
  class wrapcost_row extends Struct {
1924
2085
  item_type: UInt8;
@@ -1927,82 +2088,86 @@ declare namespace Types$1 {
1927
2088
  }
1928
2089
  }
1929
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;
1930
2097
  cargo: typeof Types$1.cargo_row;
1931
- charters: typeof Types$1.charters_row;
2098
+ citizenship: typeof Types$1.citizenship_row;
1932
2099
  civicconfig: typeof Types$1.civicconfig_row;
1933
2100
  claims: typeof Types$1.claim_row;
1934
2101
  cluster: typeof Types$1.cluster_row;
1935
2102
  commit: typeof Types$1.commit_row;
1936
- depot: typeof Types$1.depot_row;
1937
- depotacct: typeof Types$1.depotacct_row;
2103
+ craftjobs: typeof Types$1.craftjob_row;
1938
2104
  entity: typeof Types$1.entity_row;
1939
2105
  entitygroup: typeof Types$1.entitygroup_row;
1940
2106
  entityseq: typeof Types$1.entity_seq_row;
1941
2107
  epoch: typeof Types$1.epoch_row;
1942
- infballot: typeof Types$1.infballot_row;
1943
2108
  infburn: typeof Types$1.infburn_row;
1944
2109
  infdemand: typeof Types$1.infdemand_row;
1945
- infloc: typeof Types$1.infloc_row;
1946
2110
  infmint: typeof Types$1.infmint_row;
1947
- infplayer: typeof Types$1.infplayer_row;
1948
- infplayerloc: typeof Types$1.infplayerloc_row;
1949
2111
  infpool: typeof Types$1.infpool_row;
1950
2112
  infquality: typeof Types$1.infquality_row;
1951
- inftally: typeof Types$1.inftally_row;
1952
- infvote: typeof Types$1.infvote_row;
1953
2113
  infweight: typeof Types$1.infweight_row;
1954
- jobs: typeof Types$1.job_row;
2114
+ lockers: typeof Types$1.locker_row;
2115
+ mandates: typeof Types$1.mandates_row;
1955
2116
  mintq: typeof Types$1.mintq_row;
1956
2117
  nftconfig: typeof Types$1.nftconfig_row;
1957
2118
  oraclecfg: typeof Types$1.oracle_config_row;
1958
2119
  oracles: typeof Types$1.oracle_row;
1959
2120
  player: typeof Types$1.player_row;
2121
+ progress: typeof Types$1.progress_row;
1960
2122
  reserve: typeof Types$1.reserve_row;
1961
2123
  reveal: typeof Types$1.reveal_row;
1962
- service: typeof Types$1.service_row;
2124
+ standing: typeof Types$1.standing_row;
1963
2125
  state: typeof Types$1.state_row;
2126
+ storage: typeof Types$1.storage_row;
1964
2127
  types: typeof Types$1.types_row;
1965
- upgjobs: typeof Types$1.upgjob_row;
2128
+ worlds: typeof Types$1.worlds_row;
1966
2129
  wrapconfig: typeof Types$1.wrapconfig_row;
1967
2130
  wrapcost: typeof Types$1.wrapcost_row;
1968
2131
  };
1969
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;
1970
2139
  cargo: Types$1.cargo_row;
1971
- charters: Types$1.charters_row;
2140
+ citizenship: Types$1.citizenship_row;
1972
2141
  civicconfig: Types$1.civicconfig_row;
1973
2142
  claims: Types$1.claim_row;
1974
2143
  cluster: Types$1.cluster_row;
1975
2144
  commit: Types$1.commit_row;
1976
- depot: Types$1.depot_row;
1977
- depotacct: Types$1.depotacct_row;
2145
+ craftjobs: Types$1.craftjob_row;
1978
2146
  entity: Types$1.entity_row;
1979
2147
  entitygroup: Types$1.entitygroup_row;
1980
2148
  entityseq: Types$1.entity_seq_row;
1981
2149
  epoch: Types$1.epoch_row;
1982
- infballot: Types$1.infballot_row;
1983
2150
  infburn: Types$1.infburn_row;
1984
2151
  infdemand: Types$1.infdemand_row;
1985
- infloc: Types$1.infloc_row;
1986
2152
  infmint: Types$1.infmint_row;
1987
- infplayer: Types$1.infplayer_row;
1988
- infplayerloc: Types$1.infplayerloc_row;
1989
2153
  infpool: Types$1.infpool_row;
1990
2154
  infquality: Types$1.infquality_row;
1991
- inftally: Types$1.inftally_row;
1992
- infvote: Types$1.infvote_row;
1993
2155
  infweight: Types$1.infweight_row;
1994
- jobs: Types$1.job_row;
2156
+ lockers: Types$1.locker_row;
2157
+ mandates: Types$1.mandates_row;
1995
2158
  mintq: Types$1.mintq_row;
1996
2159
  nftconfig: Types$1.nftconfig_row;
1997
2160
  oraclecfg: Types$1.oracle_config_row;
1998
2161
  oracles: Types$1.oracle_row;
1999
2162
  player: Types$1.player_row;
2163
+ progress: Types$1.progress_row;
2000
2164
  reserve: Types$1.reserve_row;
2001
2165
  reveal: Types$1.reveal_row;
2002
- service: Types$1.service_row;
2166
+ standing: Types$1.standing_row;
2003
2167
  state: Types$1.state_row;
2168
+ storage: Types$1.storage_row;
2004
2169
  types: Types$1.types_row;
2005
- upgjobs: Types$1.upgjob_row;
2170
+ worlds: Types$1.worlds_row;
2006
2171
  wrapconfig: Types$1.wrapconfig_row;
2007
2172
  wrapcost: Types$1.wrapcost_row;
2008
2173
  }
@@ -2095,6 +2260,7 @@ declare namespace ActionParams$1 {
2095
2260
  energy_cost?: UInt32Type;
2096
2261
  target_item_id?: UInt16Type;
2097
2262
  refit?: Type.refit_op;
2263
+ charter_node?: UInt32Type;
2098
2264
  }
2099
2265
  interface coupling {
2100
2266
  counterpart: Type.entity_ref;
@@ -2206,6 +2372,13 @@ declare namespace ActionParams$1 {
2206
2372
  id: UInt64Type;
2207
2373
  inputs: Type.cargo_item[];
2208
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
+ }
2209
2382
  interface buildplot {
2210
2383
  builder_id: UInt64Type;
2211
2384
  plot_id: UInt64Type;
@@ -2215,18 +2388,26 @@ declare namespace ActionParams$1 {
2215
2388
  lane_key: UInt8Type;
2216
2389
  count: UInt64Type;
2217
2390
  }
2218
- interface canceljob {
2391
+ interface cancelbuild {
2219
2392
  job_id: UInt64Type;
2220
- ship_id: UInt64Type;
2221
2393
  }
2222
- interface cancelupgrade {
2394
+ interface cancelcraft {
2223
2395
  job_id: UInt64Type;
2396
+ ship_id: UInt64Type;
2397
+ }
2398
+ interface castballot {
2399
+ player: NameType;
2400
+ ballot_id: UInt64Type;
2401
+ picks: UInt32Type[];
2224
2402
  }
2225
2403
  interface charterready {
2226
2404
  x: Int64Type;
2227
2405
  y: Int64Type;
2228
2406
  }
2229
- interface claimjob {
2407
+ interface claimbuild {
2408
+ job_id: UInt64Type;
2409
+ }
2410
+ interface claimcraft {
2230
2411
  job_id: UInt64Type;
2231
2412
  ship_id: UInt64Type;
2232
2413
  }
@@ -2238,9 +2419,6 @@ declare namespace ActionParams$1 {
2238
2419
  interface claimstarter {
2239
2420
  owner: NameType;
2240
2421
  }
2241
- interface claimupgrade {
2242
- job_id: UInt64Type;
2243
- }
2244
2422
  interface cleanrsvp {
2245
2423
  epoch: UInt64Type;
2246
2424
  max_rows: UInt64Type;
@@ -2287,12 +2465,25 @@ declare namespace ActionParams$1 {
2287
2465
  x: Int64Type;
2288
2466
  y: Int64Type;
2289
2467
  amount_atomic: UInt64Type;
2468
+ node?: UInt32Type;
2290
2469
  }
2291
2470
  interface dbgmandate {
2292
2471
  x: Int64Type;
2293
2472
  y: Int64Type;
2294
2473
  node_id: UInt32Type;
2295
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
+ }
2296
2487
  interface delentity {
2297
2488
  entity_id: UInt64Type;
2298
2489
  }
@@ -2355,17 +2546,31 @@ declare namespace ActionParams$1 {
2355
2546
  interface genesisfleet {
2356
2547
  entities: Type.entity_row[];
2357
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
+ }
2358
2558
  interface getcharter {
2359
2559
  x: Int64Type;
2360
2560
  y: Int64Type;
2361
2561
  }
2362
2562
  interface getcharttree {
2363
2563
  }
2564
+ interface getchrtready {
2565
+ }
2364
2566
  interface getcluster {
2365
2567
  hub_id: UInt64Type;
2366
2568
  }
2367
2569
  interface getconfig {
2368
2570
  }
2571
+ interface getcraftjobs {
2572
+ building_id: UInt64Type;
2573
+ }
2369
2574
  interface getdecomp {
2370
2575
  item_id: UInt16Type;
2371
2576
  }
@@ -2428,9 +2633,6 @@ declare namespace ActionParams$1 {
2428
2633
  }
2429
2634
  interface getitemtypes {
2430
2635
  }
2431
- interface getjobs {
2432
- workshop_id: UInt64Type;
2433
- }
2434
2636
  interface getkindmeta {
2435
2637
  }
2436
2638
  interface getlocation {
@@ -2443,6 +2645,8 @@ declare namespace ActionParams$1 {
2443
2645
  }
2444
2646
  interface getmintcfg {
2445
2647
  }
2648
+ interface getmintready {
2649
+ }
2446
2650
  interface getmodtypes {
2447
2651
  }
2448
2652
  interface getmodules {
@@ -2483,9 +2687,6 @@ declare namespace ActionParams$1 {
2483
2687
  }
2484
2688
  interface getresources {
2485
2689
  }
2486
- interface getservice {
2487
- workshop_id: UInt64Type;
2488
- }
2489
2690
  interface getslots {
2490
2691
  }
2491
2692
  interface getstratum {
@@ -2497,12 +2698,12 @@ declare namespace ActionParams$1 {
2497
2698
  owner: NameType;
2498
2699
  entity_type?: NameType;
2499
2700
  }
2500
- interface getupgjobs {
2501
- dock_id: UInt64Type;
2701
+ interface getvoteready {
2502
2702
  }
2503
2703
  interface getvotes {
2504
2704
  x: Int64Type;
2505
2705
  y: Int64Type;
2706
+ player: NameType;
2506
2707
  }
2507
2708
  interface getwormhole {
2508
2709
  x: Int64Type;
@@ -2680,14 +2881,16 @@ declare namespace ActionParams$1 {
2680
2881
  template_id: Int32Type;
2681
2882
  schema_name: NameType;
2682
2883
  }
2683
- interface setsocket {
2684
- workshop_id: UInt64Type;
2685
- slot: UInt8Type;
2686
- open: boolean;
2687
- }
2688
2884
  interface setthreshold {
2689
2885
  threshold: UInt8Type;
2690
2886
  }
2887
+ interface settleballot {
2888
+ ballot_id: UInt64Type;
2889
+ max_pages: UInt32Type;
2890
+ }
2891
+ interface setunwrapmin {
2892
+ asset_id: UInt64Type;
2893
+ }
2691
2894
  interface setwrapcost {
2692
2895
  item_type: UInt8Type;
2693
2896
  tier: UInt8Type;
@@ -2761,20 +2964,8 @@ declare namespace ActionParams$1 {
2761
2964
  inputs: Type.cargo_item[];
2762
2965
  slot?: UInt8Type;
2763
2966
  }
2764
- interface upgradejob {
2765
- target_id: UInt64Type;
2766
- dock_id: UInt64Type;
2767
- target_item_id: UInt16Type;
2768
- inputs: Type.cargo_item[];
2769
- }
2770
- interface votecharter {
2771
- player: NameType;
2772
- x: Int64Type;
2773
- y: Int64Type;
2774
- node_id: UInt32Type;
2775
- }
2776
2967
  interface voteready {
2777
- max_ballots: UInt32Type;
2968
+ max_pages: UInt32Type;
2778
2969
  }
2779
2970
  interface warp {
2780
2971
  id: UInt64Type;
@@ -2791,15 +2982,17 @@ interface ActionNameParams$1 {
2791
2982
  addnexus: ActionParams$1.addnexus;
2792
2983
  addoracle: ActionParams$1.addoracle;
2793
2984
  blend: ActionParams$1.blend;
2985
+ buildjob: ActionParams$1.buildjob;
2794
2986
  buildplot: ActionParams$1.buildplot;
2795
2987
  cancel: ActionParams$1.cancel;
2796
- canceljob: ActionParams$1.canceljob;
2797
- cancelupgrade: ActionParams$1.cancelupgrade;
2988
+ cancelbuild: ActionParams$1.cancelbuild;
2989
+ cancelcraft: ActionParams$1.cancelcraft;
2990
+ castballot: ActionParams$1.castballot;
2798
2991
  charterready: ActionParams$1.charterready;
2799
- claimjob: ActionParams$1.claimjob;
2992
+ claimbuild: ActionParams$1.claimbuild;
2993
+ claimcraft: ActionParams$1.claimcraft;
2800
2994
  claimplot: ActionParams$1.claimplot;
2801
2995
  claimstarter: ActionParams$1.claimstarter;
2802
- claimupgrade: ActionParams$1.claimupgrade;
2803
2996
  cleanrsvp: ActionParams$1.cleanrsvp;
2804
2997
  cleartable: ActionParams$1.cleartable;
2805
2998
  clustercraft: ActionParams$1.clustercraft;
@@ -2809,6 +3002,9 @@ interface ActionNameParams$1 {
2809
3002
  craftjob: ActionParams$1.craftjob;
2810
3003
  dbgcredit: ActionParams$1.dbgcredit;
2811
3004
  dbgmandate: ActionParams$1.dbgmandate;
3005
+ dbgpagerows: ActionParams$1.dbgpagerows;
3006
+ dbgpurge: ActionParams$1.dbgpurge;
3007
+ dbgseats: ActionParams$1.dbgseats;
2812
3008
  delentity: ActionParams$1.delentity;
2813
3009
  demolish: ActionParams$1.demolish;
2814
3010
  deploy: ActionParams$1.deploy;
@@ -2823,10 +3019,14 @@ interface ActionNameParams$1 {
2823
3019
  gather: ActionParams$1.gather;
2824
3020
  gatherplan: ActionParams$1.gatherplan;
2825
3021
  genesisfleet: ActionParams$1.genesisfleet;
3022
+ genesisworld: ActionParams$1.genesisworld;
3023
+ getbuildjobs: ActionParams$1.getbuildjobs;
2826
3024
  getcharter: ActionParams$1.getcharter;
2827
3025
  getcharttree: ActionParams$1.getcharttree;
3026
+ getchrtready: ActionParams$1.getchrtready;
2828
3027
  getcluster: ActionParams$1.getcluster;
2829
3028
  getconfig: ActionParams$1.getconfig;
3029
+ getcraftjobs: ActionParams$1.getcraftjobs;
2830
3030
  getdecomp: ActionParams$1.getdecomp;
2831
3031
  getdemand: ActionParams$1.getdemand;
2832
3032
  getdeposit: ActionParams$1.getdeposit;
@@ -2845,11 +3045,11 @@ interface ActionNameParams$1 {
2845
3045
  getitems: ActionParams$1.getitems;
2846
3046
  getitemtype: ActionParams$1.getitemtype;
2847
3047
  getitemtypes: ActionParams$1.getitemtypes;
2848
- getjobs: ActionParams$1.getjobs;
2849
3048
  getkindmeta: ActionParams$1.getkindmeta;
2850
3049
  getlocation: ActionParams$1.getlocation;
2851
3050
  getlocdata: ActionParams$1.getlocdata;
2852
3051
  getmintcfg: ActionParams$1.getmintcfg;
3052
+ getmintready: ActionParams$1.getmintready;
2853
3053
  getmodtypes: ActionParams$1.getmodtypes;
2854
3054
  getmodules: ActionParams$1.getmodules;
2855
3055
  getnearby: ActionParams$1.getnearby;
@@ -2864,11 +3064,10 @@ interface ActionNameParams$1 {
2864
3064
  getrescats: ActionParams$1.getrescats;
2865
3065
  getreserves: ActionParams$1.getreserves;
2866
3066
  getresources: ActionParams$1.getresources;
2867
- getservice: ActionParams$1.getservice;
2868
3067
  getslots: ActionParams$1.getslots;
2869
3068
  getstratum: ActionParams$1.getstratum;
2870
3069
  getsummaries: ActionParams$1.getsummaries;
2871
- getupgjobs: ActionParams$1.getupgjobs;
3070
+ getvoteready: ActionParams$1.getvoteready;
2872
3071
  getvotes: ActionParams$1.getvotes;
2873
3072
  getwormhole: ActionParams$1.getwormhole;
2874
3073
  grouptransit: ActionParams$1.grouptransit;
@@ -2914,8 +3113,9 @@ interface ActionNameParams$1 {
2914
3113
  setinfweight: ActionParams$1.setinfweight;
2915
3114
  setnextid: ActionParams$1.setnextid;
2916
3115
  setnftcfg: ActionParams$1.setnftcfg;
2917
- setsocket: ActionParams$1.setsocket;
2918
3116
  setthreshold: ActionParams$1.setthreshold;
3117
+ settleballot: ActionParams$1.settleballot;
3118
+ setunwrapmin: ActionParams$1.setunwrapmin;
2919
3119
  setwrapcost: ActionParams$1.setwrapcost;
2920
3120
  setwrapfee: ActionParams$1.setwrapfee;
2921
3121
  shuttle: ActionParams$1.shuttle;
@@ -2929,8 +3129,6 @@ interface ActionNameParams$1 {
2929
3129
  undeploy: ActionParams$1.undeploy;
2930
3130
  unload: ActionParams$1.unload;
2931
3131
  upgrade: ActionParams$1.upgrade;
2932
- upgradejob: ActionParams$1.upgradejob;
2933
- votecharter: ActionParams$1.votecharter;
2934
3132
  voteready: ActionParams$1.voteready;
2935
3133
  warp: ActionParams$1.warp;
2936
3134
  wipe: ActionParams$1.wipe;
@@ -2939,6 +3137,7 @@ type ActionNames$1 = keyof ActionNameParams$1;
2939
3137
  interface ActionReturnValues {
2940
3138
  abandonplot: Types$1.task_results;
2941
3139
  addcontrib: Types$1.task_results;
3140
+ buildjob: Types$1.job_receipt;
2942
3141
  buildplot: Types$1.task_results;
2943
3142
  cancel: Types$1.cancel_results;
2944
3143
  claimplot: Types$1.task_results;
@@ -2952,10 +3151,13 @@ interface ActionReturnValues {
2952
3151
  descentity: string;
2953
3152
  gather: Types$1.task_results;
2954
3153
  gatherplan: Types$1.task_results;
3154
+ getbuildjobs: Types$1.buildjobs_result;
2955
3155
  getcharter: Types$1.charter_result;
2956
3156
  getcharttree: Types$1.charter_tree_result;
3157
+ getchrtready: Types$1.charterready_result;
2957
3158
  getcluster: Types$1.cluster_row;
2958
3159
  getconfig: Types$1.game_config;
3160
+ getcraftjobs: Types$1.craftjobs_result;
2959
3161
  getdecomp: Types$1.decomp_result;
2960
3162
  getdemand: Types$1.demand_result;
2961
3163
  getdeposit: ExtendedAsset;
@@ -2974,11 +3176,11 @@ interface ActionReturnValues {
2974
3176
  getitems: Types$1.items_info;
2975
3177
  getitemtype: UInt8;
2976
3178
  getitemtypes: Types$1.enum_result;
2977
- getjobs: Types$1.jobs_result;
2978
3179
  getkindmeta: Types$1.kind_meta_result;
2979
3180
  getlocation: Types$1.location_info;
2980
3181
  getlocdata: Types$1.location_derived;
2981
3182
  getmintcfg: Types$1.mintcfg_result;
3183
+ getmintready: UInt32;
2982
3184
  getmodtypes: Types$1.enum_result;
2983
3185
  getmodules: Types$1.modules_result;
2984
3186
  getnearby: Types$1.nearby_info;
@@ -2993,11 +3195,10 @@ interface ActionReturnValues {
2993
3195
  getrescats: Types$1.enum_result;
2994
3196
  getreserves: Types$1.stratum_remaining[];
2995
3197
  getresources: Types$1.resources_result;
2996
- getservice: Types$1.service_row;
2997
3198
  getslots: Types$1.entity_layouts_result;
2998
3199
  getstratum: Types$1.stratum_data;
2999
3200
  getsummaries: Types$1.entity_summary[];
3000
- getupgjobs: Types$1.upgjobs_result;
3201
+ getvoteready: UInt32;
3001
3202
  getvotes: Types$1.vote_result;
3002
3203
  getwormhole: Types$1.wormhole_info;
3003
3204
  grouptransit: Types$1.task_results;
@@ -3024,7 +3225,6 @@ interface ActionReturnValues {
3024
3225
  undeploy: Types$1.task_results;
3025
3226
  unload: Types$1.task_results;
3026
3227
  upgrade: Types$1.task_results;
3027
- upgradejob: Types$1.job_receipt;
3028
3228
  warp: Types$1.task_results;
3029
3229
  }
3030
3230
  type ActionReturnNames = keyof ActionReturnValues;
@@ -3285,9 +3485,16 @@ declare const ITEM_NOT_AVAILABLE_AT_LOCATION = "Item is not tradeable at ship lo
3285
3485
  declare const INSUFFICIENT_BALANCE = "Insufficient balance.";
3286
3486
  declare const INSUFFICIENT_ITEM_QUANTITY = "Insufficient quantity in cargo.";
3287
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;
3288
3493
 
3289
3494
  declare const PRECISION = 10000;
3290
- 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;
3291
3498
  declare const PLANETARY_STRUCTURE_Z = 0;
3292
3499
  declare const CONTAINER_Z = 300;
3293
3500
  declare const TRAVEL_MAX_DURATION = 86400;
@@ -3295,7 +3502,7 @@ declare const BASE_HAUL_PENALTY_MILLI = 300;
3295
3502
  declare const HAULER_EFFICIENCY_DENOM = 10000;
3296
3503
  declare const MIN_ORBITAL_ALTITUDE = 800;
3297
3504
  declare const MAX_ORBITAL_ALTITUDE = 3000;
3298
- declare const BASE_ORBITAL_MASS = 100000;
3505
+ declare const BASE_ORBITAL_MASS = 1000;
3299
3506
  declare const MIN_TRANSFER_DISTANCE_PLANETARY_STRUCTURE = 100;
3300
3507
  declare const MIN_TRANSFER_DISTANCE_ORBITAL_VESSEL = 200;
3301
3508
  interface ClusterSlotType {
@@ -3336,7 +3543,9 @@ declare enum TaskType {
3336
3543
  UPGRADE = 17,
3337
3544
  SHUTTLE = 18,
3338
3545
  REFIT = 19,
3339
- CONTRIBUTE = 20
3546
+ CONTRIBUTE = 20,
3547
+ DEPOT_STORE = 21,
3548
+ DEPOT_TAKE = 22
3340
3549
  }
3341
3550
  declare enum RefitOp {
3342
3551
  ADD = 0,
@@ -3553,7 +3762,9 @@ declare function getEntityLayout(entityItemId: number): EntityLayout | undefined
3553
3762
  declare const CAP_WRAP = 1;
3554
3763
  declare const CAP_UNDEPLOY = 2;
3555
3764
  declare const CAP_DEMOLISH = 4;
3765
+ declare const CAP_CATCH = 8;
3556
3766
  declare const CAP_MODULES = 16;
3767
+ declare const CAP_STORE_CARGO = 32;
3557
3768
  declare enum EntityClass {
3558
3769
  OrbitalVessel = 0,
3559
3770
  PlanetaryStructure = 1,
@@ -3578,6 +3789,8 @@ declare function getKindMeta(kind: NameType | EntityTypeName): KindMeta | undefi
3578
3789
  declare function getTemplateMeta(itemId: number): TemplateMeta | undefined;
3579
3790
  declare function getPackedEntityType(itemId: number): Name | null;
3580
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;
3581
3794
  declare function getEntityClass(kind: NameType | EntityTypeName): EntityClass;
3582
3795
  declare const ENTITY_SHIP: Name;
3583
3796
  declare const ENTITY_WAREHOUSE: Name;
@@ -3733,10 +3946,10 @@ interface HasCargo {
3733
3946
  cargo: Types$1.cargo_item[];
3734
3947
  }
3735
3948
  interface HasCapacity {
3736
- capacity: UInt32;
3949
+ capacity: UInt32Type;
3737
3950
  }
3738
3951
  interface HasCargomass {
3739
- cargomass: UInt32;
3952
+ cargomass: UInt32Type;
3740
3953
  }
3741
3954
  interface MassInput {
3742
3955
  item_id: UInt16;
@@ -4431,12 +4644,11 @@ declare class ActionsManager extends BaseManager {
4431
4644
  craft(entityId: UInt64Type, recipeId: number, quantity: number, inputs: ActionParams$1.Type.cargo_item[], target?: UInt64Type, slot?: UInt8Type): Action;
4432
4645
  craftjob(shipId: UInt64Type, workshopId: UInt64Type, slot: UInt8Type, recipeId: UInt16Type, quantity: UInt32Type, inputs: ActionParams$1.Type.cargo_item[]): Action;
4433
4646
  clustercraft(entityId: UInt64Type, recipeId: number, quantity: number, sources: ActionParams$1.Type.cluster_source[], target?: UInt64Type, slot?: UInt8Type): Action;
4434
- claimjob(jobId: UInt64Type, shipId: UInt64Type): Action;
4435
- canceljob(jobId: UInt64Type, shipId: UInt64Type): Action;
4436
- upgradejob(targetId: UInt64Type, dockId: UInt64Type, targetItemId: UInt16Type, inputs: ActionParams$1.Type.cargo_item[]): Action;
4437
- claimupgrade(jobId: UInt64Type): Action;
4438
- cancelupgrade(jobId: UInt64Type): Action;
4439
- 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;
4440
4652
  blend(entityId: UInt64Type, inputs: ActionParams$1.Type.cargo_item[]): Action;
4441
4653
  deploy(entityId: UInt64Type, ref: ActionParams$1.Type.cargo_ref, slot?: ClusterSlotType): Action;
4442
4654
  upgrade(builderId: UInt64Type, targetId: UInt64Type, targetItemId: UInt16Type, inputs: ActionParams$1.Type.cargo_item[], slot?: UInt8Type): Action;
@@ -4465,6 +4677,7 @@ declare class ActionsManager extends BaseManager {
4465
4677
  wrapEntity(owner: NameType, entityId: UInt64Type, nexusId: UInt64Type, opts?: {
4466
4678
  claimRam?: boolean;
4467
4679
  }): Promise<Action[]>;
4680
+ setunwrapmin(assetId: UInt64Type): Action;
4468
4681
  placecargo(owner: NameType, hostId: UInt64Type, assetId: UInt64Type): Action;
4469
4682
  placeentity(owner: NameType, assetId: UInt64Type, targetNexusId: UInt64Type): Action;
4470
4683
  transferForUnwrap(owner: NameType, assetId: UInt64Type): Action;
@@ -4481,14 +4694,18 @@ declare class ActionsManager extends BaseManager {
4481
4694
  removeoracle(oracleId: NameType): Action;
4482
4695
  setthreshold(threshold: UInt8Type): Action;
4483
4696
  cleanrsvp(epoch: UInt64Type, maxRows: UInt64Type): Action;
4697
+ addFundToken(tokenContract: NameType, tokenSymbol: Asset.SymbolType): Action;
4698
+ removeFundToken(tokenContract: NameType): Action;
4699
+ collectFund(): Action;
4484
4700
  found(player: NameType, entityId: UInt64Type, location: CoordinatesType): Action;
4485
4701
  naturalize(player: NameType, location: CoordinatesType): Action;
4486
4702
  contribute(player: NameType, entityId: UInt64Type, location: CoordinatesType, bundle: ActionParams$1.Type.cargo_item[]): Action;
4487
4703
  firstContribution(player: NameType, entityId: UInt64Type, location: CoordinatesType, bundle: ActionParams$1.Type.cargo_item[]): Action[];
4488
4704
  mintready(maxMints?: UInt32Type): Action;
4489
4705
  charterready(location: CoordinatesType): Action;
4490
- votecharter(player: NameType, location: CoordinatesType, nodeId: UInt32Type): Action;
4491
- 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;
4492
4709
  }
4493
4710
 
4494
4711
  interface GridCell {
@@ -4610,7 +4827,7 @@ declare function splitJobCargo<T>(cargo: readonly T[]): {
4610
4827
  };
4611
4828
  interface OwnedJob {
4612
4829
  id: number;
4613
- workshop: number;
4830
+ building: number;
4614
4831
  socket: number;
4615
4832
  shipId: number;
4616
4833
  coords: {
@@ -4638,18 +4855,17 @@ declare class JobsManager extends BaseManager {
4638
4855
  declare const INFLUENCE_ATOMIC_PER_POINT = 10000;
4639
4856
  declare const NEED_FP_SCALE = 10000;
4640
4857
  declare const WEIGHT_FP_SCALE = 10000;
4641
- declare const MASS_KG_PER_TONNE = 1000;
4642
4858
  declare const INFLUENCE_WEIGHT_FP_MAX = 1000000n;
4643
4859
  declare const INFLUENCE_NEED_FP_MAX = 1000000n;
4644
- declare const INFLUENCE_MASS_KG_MAX: bigint;
4860
+ declare const INFLUENCE_MASS_MAX: bigint;
4645
4861
  declare const DECAY_RETAIN_NUM = 19n;
4646
4862
  declare const DECAY_RETAIN_DEN = 20n;
4647
4863
  declare const DECAY_MAX_ITERATIONS = 1024;
4648
- declare const W_EFF_ATOMIC_PER_KG: bigint;
4864
+ declare const W_EFF_ATOMIC_PER_UNIT: bigint;
4649
4865
  declare const DECOMP_MAX_BUCKETS = 12;
4650
4866
  declare const DECOMP_MAX_DEPTH = 8;
4651
- declare const DECOMP_RAW_KG_MAX = 100000000;
4652
- declare const DECOMP_PROCESSED_KG_MAX = 100000000;
4867
+ declare const DECOMP_RAW_MASS_MAX = 1000000;
4868
+ declare const DECOMP_PROCESSED_MASS_MAX = 1000000;
4653
4869
  declare const RESOURCE_ORE = 0;
4654
4870
  declare const RESOURCE_GAS = 1;
4655
4871
  declare const RESOURCE_REGOLITH = 2;
@@ -4667,13 +4883,31 @@ declare const BAR_STEP_UNIT = 20;
4667
4883
  declare const BAR_STEP_UP: number;
4668
4884
  declare const BAR_STEP_DOWN = 20;
4669
4885
  declare const CHARTER_NONE = 0;
4670
- declare const CHARTER_WORKSHOP = 1;
4671
- declare const CHARTER_EFFECT_SPAWN_ENTITY = 1;
4672
- 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;
4673
4902
  declare const VOTE_READY_DEFAULT_MAX = 20;
4903
+ declare const BALLOT_CHARTER = 1;
4904
+ declare const BALLOT_MAX_PICKS = 8;
4674
4905
  declare const CHARTER_WORKSHOP_COST = 2000000000n;
4675
- 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;
4676
4909
  declare const CHARTER_MAX_PREREQS = 4;
4910
+ declare const CHARTER_MAX_GRANTS = 4;
4677
4911
  declare const INFLUENCE_D1_SEED = 45369;
4678
4912
  declare const DEMAND_TRIPLE_SEED: {
4679
4913
  peak: bigint;
@@ -4702,11 +4936,11 @@ declare function qualityFactor(packedStats: bigint, nStats: number, d1: number):
4702
4936
  interface DecompBucket {
4703
4937
  category: number;
4704
4938
  tier: number;
4705
- rawKg: number;
4939
+ rawMass: number;
4706
4940
  }
4707
4941
  interface DecompEntry {
4708
4942
  itemId: number;
4709
- processedKg: number;
4943
+ processedMass: number;
4710
4944
  buckets: DecompBucket[];
4711
4945
  }
4712
4946
  declare const DECOMP_REGISTRY: DecompEntry[];
@@ -4749,10 +4983,10 @@ interface ValuedItem {
4749
4983
  quantity: number;
4750
4984
  stats: bigint;
4751
4985
  }
4752
- declare function weightedQualityAtomic(weightedKgFp: bigint, sumSq: number, nStats: number, d1: number, needFp: bigint): bigint;
4753
- declare function resourceValueAtomic(massKg: bigint, weightFp: bigint, sumSq: number, nStats: number, d1: number, needFp: bigint): bigint;
4754
- declare function componentBaseAtomic(weightedRawKgFp: bigint, sumSq: number, nStats: number, d1: number): bigint;
4755
- 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;
4756
4990
  declare function valueCargoItem(item: ValuedItem, demand: DemandView, pricing: InfluencePricing): bigint;
4757
4991
  declare function valueContribution(bundle: ValuedItem[], demand: DemandView, pricing: InfluencePricing): bigint;
4758
4992
  declare function pricingFromWeights(d1: number, weights: Iterable<{
@@ -4766,60 +5000,163 @@ interface CivicLoaderStats {
4766
5000
  mass: number;
4767
5001
  }
4768
5002
  declare function civicLoader(): CivicLoaderStats;
4769
- declare function contributeDuration(totalMassKg: number, altitudeZ?: number): number;
5003
+ declare function contributeDuration(totalMass: number, altitudeZ?: number): number;
4770
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;
4771
5016
 
4772
5017
  declare function citizenryName(gameSeed: Checksum256Type, coordinates: CoordinatesType): string | undefined;
4773
5018
  declare function citizenryPatternCount(): number;
4774
5019
 
4775
- interface CharterEffect {
5020
+ interface CharterGrant {
4776
5021
  kind: number;
4777
- itemId: number;
4778
- targetItemId: number;
4779
- slotMask: number;
5022
+ building: number;
4780
5023
  stat: number;
5024
+ value: number;
4781
5025
  }
4782
5026
  interface CharterNode {
4783
5027
  nodeId: number;
4784
5028
  cost: bigint;
4785
5029
  prereqs: number[];
4786
- effect: CharterEffect;
5030
+ grants: CharterGrant[];
5031
+ exclusionGroup: number;
5032
+ repeatCap: number;
4787
5033
  }
4788
5034
  declare const CHARTER_REGISTRY: CharterNode[];
4789
5035
  declare function charterNode(nodeId: number): CharterNode | undefined;
4790
- type CharterIneligibility = 'already-taken' | 'prereq-missing' | 'refit-target-missing';
5036
+ type CharterIneligibility = 'already-taken' | 'prereq-missing';
4791
5037
  declare const CHARTER_INELIGIBILITY_MESSAGES: Record<CharterIneligibility, string>;
4792
5038
  interface BuiltCharter {
4793
5039
  nodeId: number;
4794
- entityId: bigint;
5040
+ repeats: number;
4795
5041
  }
4796
5042
  interface CharterWorld {
4797
5043
  built: BuiltCharter[];
4798
- entityExists?: (entityId: bigint) => boolean;
4799
5044
  }
4800
- interface ChosenCharter {
4801
- chosen: number;
4802
- chosenEpoch: number;
5045
+ interface WorldBuilding {
5046
+ entityId: bigint;
5047
+ building: number;
4803
5048
  }
4804
- 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;
4805
5053
  declare function charterPrereqsMet(world: CharterWorld, node: CharterNode): boolean;
4806
- declare function charterEffectTargetEntity(world: CharterWorld, node: CharterNode): bigint;
4807
- declare function charterEffectTargetPresent(world: CharterWorld, node: CharterNode): boolean;
4808
5054
  declare function charterIneligible(world: CharterWorld, node: CharterNode): CharterIneligibility | undefined;
4809
5055
  declare function charterEligible(world: CharterWorld, node: CharterNode): boolean;
4810
5056
  declare function eligibleCharters(world: CharterWorld): CharterNode[];
4811
5057
  declare function charterSingletonMandate(world: CharterWorld): number;
4812
- 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[];
4813
5150
 
4814
5151
  interface InfluenceStanding {
4815
5152
  epoch: number;
4816
- playerLifetime: bigint;
4817
- playerActive: bigint;
4818
5153
  standingLifetime: bigint;
4819
5154
  standingActive: bigint;
5155
+ citizenshipLifetime: bigint;
5156
+ citizenshipActive: bigint;
4820
5157
  locationLifetime: bigint;
4821
5158
  locationActive: bigint;
4822
- watermark: bigint;
5159
+ spent: bigint;
4823
5160
  mandate: number;
4824
5161
  founder: Name;
4825
5162
  founded: number;
@@ -4827,30 +5164,34 @@ interface InfluenceStanding {
4827
5164
  interface CharterProgress {
4828
5165
  locationId: bigint;
4829
5166
  lifetime: bigint;
4830
- watermark: bigint;
4831
- surplus: bigint;
5167
+ spent: bigint;
5168
+ unassigned: bigint;
4832
5169
  mandate: number;
4833
5170
  nextCost: bigint;
4834
5171
  prereqsMet: boolean;
4835
5172
  buildable: boolean;
4836
5173
  epoch: number;
4837
- built: {
4838
- nodeId: number;
4839
- completedEpoch: number;
4840
- entityId: bigint;
4841
- }[];
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;
4842
5183
  }
4843
5184
  interface ContributePreviewRow {
4844
5185
  itemId: number;
4845
5186
  quantity: number;
4846
5187
  stats: bigint;
4847
5188
  valueAtomic: bigint;
4848
- massKg: number;
5189
+ mass: number;
4849
5190
  }
4850
5191
  interface ContributePreview {
4851
5192
  rows: ContributePreviewRow[];
4852
5193
  totalAtomic: bigint;
4853
- totalMassKg: number;
5194
+ totalMass: number;
4854
5195
  durationSeconds: number;
4855
5196
  demand: DemandView;
4856
5197
  }
@@ -4860,40 +5201,53 @@ interface FoundedWorld {
4860
5201
  y: number;
4861
5202
  lifetime: bigint;
4862
5203
  active: bigint;
4863
- watermark: bigint;
4864
- chosen: number;
4865
- chosenEpoch: number;
5204
+ spent: bigint;
5205
+ ballotId: bigint;
4866
5206
  mandate: number | undefined;
4867
5207
  founder: Name;
4868
5208
  founded: number;
4869
5209
  }
5210
+ interface FoundedWorldRef {
5211
+ x: number;
5212
+ y: number;
5213
+ mandate: number;
5214
+ }
4870
5215
  interface VoteOption {
4871
5216
  nodeId: number;
4872
5217
  cost: bigint;
4873
- eligible: boolean;
4874
- total: bigint | undefined;
5218
+ seat: number;
5219
+ weight: bigint;
5220
+ rank: number;
4875
5221
  }
4876
5222
  interface VoteStandings {
4877
5223
  locationId: bigint;
5224
+ ballotId: bigint;
4878
5225
  epoch: number;
4879
- chosen: number;
4880
- chosenEpoch: number;
4881
- mandate: number;
4882
- ballotEpoch: number | undefined;
4883
- talliesSuppressed: boolean;
5226
+ settledEpoch: number;
5227
+ seats: number;
5228
+ settling: boolean;
5229
+ queue: number[];
4884
5230
  options: VoteOption[];
5231
+ picks: number[];
4885
5232
  }
4886
- interface VoteCast {
5233
+ interface BallotVote {
4887
5234
  account: Name;
4888
- epoch: number;
4889
- nodeId: number;
4890
- weight: bigint;
5235
+ picks: number[];
4891
5236
  }
4892
- interface PendingBallot {
4893
- locationId: bigint;
4894
- x: number;
4895
- y: number;
4896
- 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;
4897
5251
  }
4898
5252
  declare class InfluenceManager extends BaseManager {
4899
5253
  getStanding(owner: NameType, location: CoordinatesType): Promise<InfluenceStanding>;
@@ -4901,6 +5255,10 @@ declare class InfluenceManager extends BaseManager {
4901
5255
  getQualityDivisor(): Promise<number>;
4902
5256
  getWeights(): Promise<Types$1.infweight_row[]>;
4903
5257
  getDemand(location: CoordinatesType): Promise<DemandView>;
5258
+ getCivicOwner(): Promise<Name>;
5259
+ isCivic(entity: {
5260
+ owner: NameType;
5261
+ }): Promise<boolean>;
4904
5262
  getCitizenryName(location: CoordinatesType): Promise<string | undefined>;
4905
5263
  previewContribution(location: CoordinatesType, bundle: ValuedItem[], opts?: {
4906
5264
  altitudeZ?: number;
@@ -4909,14 +5267,15 @@ declare class InfluenceManager extends BaseManager {
4909
5267
  getPools(): Promise<Types$1.pool_view[]>;
4910
5268
  getPool(category: number, tier: number): Promise<Types$1.pool_pair_result>;
4911
5269
  getMintConfig(): Promise<Types$1.mintcfg_result>;
4912
- getVotes(location: CoordinatesType): Promise<VoteStandings>;
4913
- getVoteCasts(location: CoordinatesType): Promise<VoteCast[]>;
4914
- getVoteTallies(location: CoordinatesType): Promise<{
4915
- nodeId: number;
4916
- total: bigint;
4917
- }[]>;
5270
+ getMintReady(): Promise<number>;
5271
+ getVoteReady(): Promise<number>;
5272
+ getCharterReady(): Promise<FoundedWorldRef[]>;
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[]>;
4918
5277
  getBuiltCharters(location: CoordinatesType): Promise<BuiltCharter[]>;
4919
- getBallotQueue(): Promise<PendingBallot[]>;
5278
+ getBuildings(location: CoordinatesType): Promise<WorldBuilding[]>;
4920
5279
  getFoundedWorlds(opts?: {
4921
5280
  withMandate?: boolean;
4922
5281
  }): Promise<FoundedWorld[]>;
@@ -5149,6 +5508,7 @@ declare class GameContext {
5149
5508
  readonly server: Contract$4;
5150
5509
  readonly platform: Contract$4;
5151
5510
  readonly atomicAssetsAccount: string;
5511
+ readonly fund: Contract$4;
5152
5512
  private _entities?;
5153
5513
  private _players?;
5154
5514
  private _locations?;
@@ -5164,7 +5524,7 @@ declare class GameContext {
5164
5524
  private _subscriptionsUrl?;
5165
5525
  private _gameCache?;
5166
5526
  private _stateCache?;
5167
- 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);
5168
5528
  get entities(): EntitiesManager;
5169
5529
  get players(): PlayersManager;
5170
5530
  get locations(): LocationsManager;
@@ -5190,6 +5550,7 @@ declare abstract class BaseManager {
5190
5550
  protected get client(): _wharfkit_antelope.APIClient;
5191
5551
  protected get server(): _wharfkit_contract.Contract;
5192
5552
  protected get platform(): _wharfkit_contract.Contract;
5553
+ protected get fund(): _wharfkit_contract.Contract;
5193
5554
  protected get atomicAssetsAccount(): string;
5194
5555
  protected getGame(): Promise<Types$2.game_row>;
5195
5556
  protected getState(reload?: boolean): Promise<GameState>;
@@ -5208,6 +5569,7 @@ declare class EntitiesManager extends BaseManager {
5208
5569
  interface ShiploadOptions {
5209
5570
  platformContractName?: string;
5210
5571
  serverContractName?: string;
5572
+ fundContractName?: string;
5211
5573
  client?: APIClient;
5212
5574
  subscriptionsUrl?: string;
5213
5575
  atomicAssetsAccount?: string;
@@ -5215,6 +5577,7 @@ interface ShiploadOptions {
5215
5577
  interface ShiploadConstructorOptions extends ShiploadOptions {
5216
5578
  platformContract?: Contract$4;
5217
5579
  serverContract?: Contract$4;
5580
+ fundContract?: Contract$4;
5218
5581
  }
5219
5582
  declare class Shipload {
5220
5583
  private readonly _context;
@@ -5224,6 +5587,7 @@ declare class Shipload {
5224
5587
  get atomicAssetsAccount(): string;
5225
5588
  get server(): Contract$4;
5226
5589
  get platform(): Contract$4;
5590
+ get fund(): Contract$4;
5227
5591
  get entities(): EntitiesManager;
5228
5592
  get players(): PlayersManager;
5229
5593
  get locations(): LocationsManager;
@@ -5378,6 +5742,7 @@ declare class ConstructionManager extends BaseManager {
5378
5742
 
5379
5743
  declare const itemIds: number[];
5380
5744
  declare function getItem(itemId: UInt16Type): Item;
5745
+ declare function tryGetItem(itemId: UInt16Type): Item | undefined;
5381
5746
  declare function getItems(): Item[];
5382
5747
  declare function getResources(opts?: {
5383
5748
  category?: ResourceCategory;
@@ -5590,14 +5955,19 @@ declare function sdkSystemGraph(seed: Checksum256Type, scan: ScanProvider): Syst
5590
5955
 
5591
5956
  interface ReachStats {
5592
5957
  generator?: {
5593
- capacity: bigint;
5958
+ capacity: bigint | number;
5594
5959
  };
5595
5960
  engines?: {
5596
- drain: bigint;
5961
+ drain: bigint | number;
5597
5962
  };
5963
+ energy?: bigint | number;
5964
+ hasMovement?: boolean;
5965
+ }
5966
+ interface ComputePerLegReachOptions {
5967
+ basis?: 'capacity' | 'current';
5598
5968
  }
5599
- declare function computePerLegReach(s: ReachStats): number;
5600
- declare function computeGroupPerLegReach(participants: ReachStats[]): number;
5969
+ declare function computePerLegReach(s: ReachStats, opts?: ComputePerLegReachOptions): number;
5970
+ declare function computeGroupPerLegReach(participants: ReachStats[], opts?: ComputePerLegReachOptions): number;
5601
5971
 
5602
5972
  interface RouteMoverInput {
5603
5973
  ref: {
@@ -5652,6 +6022,18 @@ declare function simulateRoute(movers: RouteMoverInput[], waypoints: {
5652
6022
  y: number;
5653
6023
  }, recharge: boolean): RouteSim;
5654
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
+
5655
6037
  type ModuleEntry$3 = Types$1.module_entry;
5656
6038
  type Lane = Types$1.lane;
5657
6039
  type Schedule = Types$1.schedule;
@@ -5798,7 +6180,15 @@ interface TaskCargoChange {
5798
6180
  modules: Types$1.module_entry[];
5799
6181
  quantity: number;
5800
6182
  }
6183
+ type TaskCargoResult = {
6184
+ known: true;
6185
+ changes: TaskCargoChange[];
6186
+ } | {
6187
+ known: false;
6188
+ taskType: number;
6189
+ };
5801
6190
  declare function taskCargoChanges(task: Types$1.task): TaskCargoChange[];
6191
+ declare function taskCargoChangesChecked(task: Types$1.task): TaskCargoResult;
5802
6192
 
5803
6193
  type EntityInfo$1 = Types$1.entity_info;
5804
6194
  type CounterpartLookup = (entityId: UInt64) => EntityInfo$1 | undefined;
@@ -5832,6 +6222,13 @@ interface IncomingSource {
5832
6222
  declare function hasSourceCoupling(task: Task): boolean;
5833
6223
  declare function hasIncomingCoupling(task: Task): boolean;
5834
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[];
5835
6232
  declare function taskCargoEffect(task: Task): CargoEffect;
5836
6233
  declare function cargoKey(item: CargoItem$2): string;
5837
6234
  declare function cargoInputKey(input: CargoInput): string;
@@ -5959,10 +6356,11 @@ interface CrafterCapability {
5959
6356
  }
5960
6357
  declare function capsHasCrafter(caps: EntityCapabilities): boolean;
5961
6358
  declare function calc_craft_duration(speed: number, totalInputMass: number): UInt32;
5962
- declare const INTAKE_RATE = 36000;
6359
+ declare const INTAKE_RATE = 360;
5963
6360
  declare function calcClusterIntake(sourcedMass: number): number;
5964
6361
  declare function calcClustercraftDuration(speed: number, totalInputMass: number, sourcedMass: number): UInt32;
5965
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;
5966
6364
  declare function calc_build_duration(speed: number, totalInputMass: number): UInt32;
5967
6365
  declare function calc_build_energy(drain: number, totalInputMass: number): UInt32;
5968
6366
 
@@ -6150,7 +6548,7 @@ declare function filterByBuildMethod<T extends {
6150
6548
  declare function allBuildableItems(): Item[];
6151
6549
  declare function allPlotBuildableItems(): Item[];
6152
6550
 
6153
- declare const DEFAULT_BASE_HULLMASS = 100000;
6551
+ declare const DEFAULT_BASE_HULLMASS = 1000;
6154
6552
  declare function getBaseHullmassFor(itemId: number): number;
6155
6553
  declare function computeShipHullCapabilities(stats: Record<string, number>, itemId?: number): {
6156
6554
  hullmass: number;
@@ -6471,7 +6869,7 @@ declare function deserializeEntity(data: Record<string, any>, itemId: number): N
6471
6869
  declare function deserializeAsset(data: Record<string, any>, itemId: number): NFTCargoItem;
6472
6870
 
6473
6871
  declare function toWholeEnergy(milli: number): number;
6474
- declare function formatMassTonnes(kg: number): string;
6872
+ declare function formatMassTonnes(mass: number): string;
6475
6873
  declare function computeBaseHullmass(itemId: number, stats: bigint): number;
6476
6874
  declare function computeBaseCapacityShip(stats: bigint): number;
6477
6875
  declare function computeBaseCapacityContainer(stats: bigint): number;
@@ -6743,13 +7141,13 @@ declare const MODULE_STAT_SCALING_ANCHOR = 213;
6743
7141
  declare const MODULE_STAT_SCALING_POST_ANCHOR_PERCENT = 40;
6744
7142
  declare function computeEffectiveModuleStat(stat: number): number;
6745
7143
 
6746
- declare function formatMass(kg: number): string;
6747
- declare function formatMassDelta(kg: number): string;
7144
+ declare function formatMass(mass: number): string;
7145
+ declare function formatMassDelta(mass: number): string;
6748
7146
  declare function formatLocation(loc: {
6749
7147
  x: number;
6750
7148
  y: number;
6751
7149
  }): string;
6752
- declare function formatMassScaled(kg: number): string;
7150
+ declare function formatMassScaled(mass: number): string;
6753
7151
  declare function formatInfluence(atomic: bigint | number | string): string;
6754
7152
  declare function formatNeedMultiplier(needFp: bigint | number | string): string;
6755
7153
 
@@ -6768,7 +7166,7 @@ declare function displayName(item: DisplayNameInput): string;
6768
7166
  interface DescribeOptions {
6769
7167
  translate?: (key: string) => string;
6770
7168
  formatNumber?: (n: number) => string;
6771
- formatMass?: (kg: number) => string;
7169
+ formatMass?: (mass: number) => string;
6772
7170
  }
6773
7171
  declare function describeItem(resolved: ResolvedItem, opts?: DescribeOptions): string;
6774
7172
 
@@ -6821,6 +7219,7 @@ declare function parseWireEntity(raw: WireEntity): Types$1.entity_info;
6821
7219
  declare function setSubscriptionsDebug(on: boolean): void;
6822
7220
  declare function isSubscriptionsDebugEnabled(): boolean;
6823
7221
 
7222
+ type GatherLane = Types$1.gatherer_lane;
6824
7223
  interface LanePlanEntry {
6825
7224
  slot: number;
6826
7225
  quantity: number;
@@ -6870,8 +7269,47 @@ declare function gatherEnergyCost(lane: Types$1.gatherer_lane, quantity: number,
6870
7269
  declare function splitCost(reaching: Types$1.gatherer_lane[], quantity: number, stratum: number, itemMass: number, richness: number): number;
6871
7270
  declare function maxQtyForCharge(reaching: Types$1.gatherer_lane[], hi: number, capacity: number, stratum: number, itemMass: number, richness: number): number;
6872
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;
6873
7291
  declare function planParallelTransfer(entity: GatherPlanEntity, target: PlanTarget): LanePlanEntry[];
6874
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
+
6875
7313
  type Ship = Entity$1;
6876
7314
  type Warehouse = Entity$1;
6877
7315
  type Container = Entity$1;
@@ -6889,4 +7327,4 @@ type entity_row = Types$1.entity_row;
6889
7327
  type location_static = Types$1.location_static;
6890
7328
  type location_derived = Types$1.location_derived;
6891
7329
 
6892
- 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, 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 };