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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/lib/shipload.d.ts +786 -321
  2. package/lib/shipload.js +2731 -1305
  3. package/lib/shipload.js.map +1 -1
  4. package/lib/shipload.m.js +2644 -1286
  5. package/lib/shipload.m.js.map +1 -1
  6. package/lib/testing.d.ts +223 -146
  7. package/lib/testing.js +907 -563
  8. package/lib/testing.js.map +1 -1
  9. package/lib/testing.m.js +907 -563
  10. package/lib/testing.m.js.map +1 -1
  11. package/package.json +1 -1
  12. package/src/capabilities/crafting.test.ts +51 -6
  13. package/src/capabilities/crafting.ts +19 -4
  14. package/src/capabilities/gathering.ts +2 -2
  15. package/src/capabilities/storage.test.ts +26 -0
  16. package/src/capabilities/storage.ts +6 -6
  17. package/src/contracts/fund.ts +79 -2
  18. package/src/contracts/platform.ts +10 -1
  19. package/src/contracts/server.ts +521 -330
  20. package/src/data/charters.json +325 -127
  21. package/src/data/entities.json +29 -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/metadata.ts +9 -2
  26. package/src/data/recipes.json +56 -95
  27. package/src/derivation/build-methods.test.ts +59 -1
  28. package/src/derivation/build-methods.ts +2 -0
  29. package/src/derivation/capabilities.ts +7 -7
  30. package/src/derivation/strata.ts +5 -3
  31. package/src/derivation/tiers.ts +5 -5
  32. package/src/entity/hydrate.test.ts +156 -0
  33. package/src/entity/hydrate.ts +86 -0
  34. package/src/errors.ts +9 -0
  35. package/src/format.ts +15 -13
  36. package/src/index-module.ts +32 -5
  37. package/src/influence/ballot.test.ts +103 -0
  38. package/src/influence/ballot.ts +98 -0
  39. package/src/influence/charter-metadata.test.ts +136 -0
  40. package/src/influence/charter-metadata.ts +236 -0
  41. package/src/influence/charters.test.ts +51 -65
  42. package/src/influence/charters.ts +70 -40
  43. package/src/influence/civic-shuttle.test.ts +159 -0
  44. package/src/influence/civic-shuttle.ts +115 -0
  45. package/src/influence/civic.test.ts +287 -0
  46. package/src/influence/civic.ts +269 -0
  47. package/src/influence/constants.ts +30 -9
  48. package/src/influence/decomp.ts +15 -15
  49. package/src/influence/duration.ts +42 -6
  50. package/src/influence/index.ts +59 -6
  51. package/src/influence/influence.test.ts +76 -9
  52. package/src/influence/valuation.ts +17 -17
  53. package/src/managers/actions.ts +99 -37
  54. package/src/managers/base.ts +4 -0
  55. package/src/managers/context.ts +3 -1
  56. package/src/managers/epochs.ts +32 -1
  57. package/src/managers/index.ts +4 -2
  58. package/src/managers/influence.test.ts +18 -20
  59. package/src/managers/influence.ts +137 -84
  60. package/src/managers/jobs.test.ts +2 -2
  61. package/src/managers/jobs.ts +4 -4
  62. package/src/nft/description.ts +10 -11
  63. package/src/planner/index.ts +54 -0
  64. package/src/planner/planner.test.ts +127 -2
  65. package/src/resolution/display-name.ts +1 -1
  66. package/src/scheduling/availability.test.ts +113 -0
  67. package/src/scheduling/availability.ts +48 -8
  68. package/src/scheduling/epoch.ts +1 -0
  69. package/src/scheduling/jobs.ts +1 -1
  70. package/src/scheduling/projection.ts +2 -16
  71. package/src/scheduling/task-cargo.test.ts +62 -1
  72. package/src/scheduling/task-cargo.ts +25 -10
  73. package/src/scheduling/task-effects.test.ts +35 -0
  74. package/src/scheduling/task-effects.ts +34 -0
  75. package/src/scheduling/unwrap.test.ts +3 -3
  76. package/src/scheduling/unwrap.ts +3 -3
  77. package/src/shipload.ts +22 -3
  78. package/src/travel/reach.test.ts +86 -0
  79. package/src/travel/reach.ts +23 -10
  80. package/src/travel/route-build.test.ts +63 -0
  81. package/src/travel/route-build.ts +60 -0
  82. package/src/travel/travel.ts +2 -1
  83. package/src/types.ts +6 -2
  84. package/src/utils/hash.ts +18 -2
  85. package/src/utils/system.ts +6 -1
package/lib/shipload.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _wharfkit_antelope from '@wharfkit/antelope';
2
- import { Blob, ABI, Struct, Name, Asset, UInt16, UInt64, UInt32, NameType, UInt16Type, UInt32Type, UInt64Type, AssetType, Action, UInt8, Int64, Checksum256, TimePointSec, ExtendedAsset, UInt8Type, Checksum256Type, Int64Type, ExtendedAssetType, TimePoint, Int8, Bytes, Int32, BlockTimestamp, Int8Type, TimePointType, Int32Type, BytesType, Checksum512, APIClient } from '@wharfkit/antelope';
2
+ import { Blob, ABI, Struct, Name, Asset, UInt16, UInt64, UInt32, NameType, UInt16Type, UInt64Type, UInt32Type, AssetType, Action, UInt8, Int64, Checksum256, TimePointSec, ExtendedAsset, UInt8Type, Checksum256Type, Int64Type, ExtendedAssetType, TimePoint, Int8, Bytes, Int32, BlockTimestamp, Int8Type, TimePointType, Int32Type, BytesType, Checksum512, APIClient } from '@wharfkit/antelope';
3
3
  import * as _wharfkit_contract from '@wharfkit/contract';
4
4
  import { Contract as Contract$4, PartialBy, ContractArgs, ActionOptions, Table } from '@wharfkit/contract';
5
5
  import { ChainDefinition } from '@wharfkit/common';
@@ -8,9 +8,13 @@ declare const abiBlob$3: Blob;
8
8
  declare const abi$3: ABI;
9
9
  declare namespace Types$3 {
10
10
  class accrued_row extends Struct {
11
- account: Name;
11
+ token_contract: Name;
12
12
  balance: Asset;
13
13
  }
14
+ class addtoken extends Struct {
15
+ token_contract: Name;
16
+ token_symbol: Asset.Symbol;
17
+ }
14
18
  class benef_row extends Struct {
15
19
  account: Name;
16
20
  bps: UInt16;
@@ -22,12 +26,35 @@ declare namespace Types$3 {
22
26
  class claim extends Struct {
23
27
  beneficiary_account: Name;
24
28
  }
29
+ class collect extends Struct {
30
+ }
31
+ class collectfees extends Struct {
32
+ }
25
33
  class cursor_row extends Struct {
26
34
  next_asset_id: UInt64;
27
35
  }
36
+ class deltoken extends Struct {
37
+ token_contract: Name;
38
+ }
39
+ class getlots extends Struct {
40
+ lower_bound: UInt64;
41
+ max_lots: UInt32;
42
+ }
28
43
  class gettendable extends Struct {
29
44
  max_lots: UInt32;
30
45
  }
46
+ class lot_info extends Struct {
47
+ asset_id: UInt64;
48
+ grade: Name;
49
+ auction_id: UInt64;
50
+ item_id: UInt16;
51
+ quantity: UInt32;
52
+ stats: UInt64;
53
+ }
54
+ class lots_result extends Struct {
55
+ lots: lot_info[];
56
+ next: UInt64;
57
+ }
31
58
  class lots_row extends Struct {
32
59
  asset_id: UInt64;
33
60
  grade: Name;
@@ -71,6 +98,12 @@ declare namespace Types$3 {
71
98
  starting_bid: Asset;
72
99
  duration: UInt32;
73
100
  }
101
+ class token_row extends Struct {
102
+ token_contract: Name;
103
+ token_symbol: Asset.Symbol;
104
+ }
105
+ class wipe extends Struct {
106
+ }
74
107
  }
75
108
  declare const TableMap$3: {
76
109
  accrued: typeof Types$3.accrued_row;
@@ -79,6 +112,7 @@ declare const TableMap$3: {
79
112
  lots: typeof Types$3.lots_row;
80
113
  settings: typeof Types$3.settings_row;
81
114
  terms: typeof Types$3.terms_row;
115
+ tokens: typeof Types$3.token_row;
82
116
  };
83
117
  interface TableTypes$3 {
84
118
  accrued: Types$3.accrued_row;
@@ -87,6 +121,7 @@ interface TableTypes$3 {
87
121
  lots: Types$3.lots_row;
88
122
  settings: Types$3.settings_row;
89
123
  terms: Types$3.terms_row;
124
+ tokens: Types$3.token_row;
90
125
  }
91
126
  type RowType$3<T> = T extends keyof TableTypes$3 ? TableTypes$3[T] : any;
92
127
  type TableNames$3 = keyof TableTypes$3;
@@ -97,9 +132,24 @@ declare namespace ActionParams$3 {
97
132
  bps: UInt16Type;
98
133
  }
99
134
  }
135
+ interface addtoken {
136
+ token_contract: NameType;
137
+ token_symbol: Asset.SymbolType;
138
+ }
100
139
  interface claim {
101
140
  beneficiary_account: NameType;
102
141
  }
142
+ interface collect {
143
+ }
144
+ interface collectfees {
145
+ }
146
+ interface deltoken {
147
+ token_contract: NameType;
148
+ }
149
+ interface getlots {
150
+ lower_bound: UInt64Type;
151
+ max_lots: UInt32Type;
152
+ }
103
153
  interface gettendable {
104
154
  max_lots: UInt32Type;
105
155
  }
@@ -130,9 +180,16 @@ declare namespace ActionParams$3 {
130
180
  interface tend {
131
181
  asset_ids: UInt64Type[];
132
182
  }
183
+ interface wipe {
184
+ }
133
185
  }
134
186
  interface ActionNameParams$3 {
187
+ addtoken: ActionParams$3.addtoken;
135
188
  claim: ActionParams$3.claim;
189
+ collect: ActionParams$3.collect;
190
+ collectfees: ActionParams$3.collectfees;
191
+ deltoken: ActionParams$3.deltoken;
192
+ getlots: ActionParams$3.getlots;
136
193
  gettendable: ActionParams$3.gettendable;
137
194
  rescuenft: ActionParams$3.rescuenft;
138
195
  setbenef: ActionParams$3.setbenef;
@@ -141,9 +198,11 @@ interface ActionNameParams$3 {
141
198
  settoken: ActionParams$3.settoken;
142
199
  sweep: ActionParams$3.sweep;
143
200
  tend: ActionParams$3.tend;
201
+ wipe: ActionParams$3.wipe;
144
202
  }
145
203
  type ActionNames$3 = keyof ActionNameParams$3;
146
204
  interface ActionReturnValues$1 {
205
+ getlots: Types$3.lots_result;
147
206
  gettendable: UInt64[];
148
207
  }
149
208
  type ActionReturnNames$1 = keyof ActionReturnValues$1;
@@ -216,6 +275,9 @@ declare namespace Types$2 {
216
275
  y: Int64;
217
276
  bundle: cargo_item[];
218
277
  }
278
+ class dbgrefund extends Struct {
279
+ owners: Name[];
280
+ }
219
281
  class debitdeposit extends Struct {
220
282
  owner: Name;
221
283
  token: Name;
@@ -403,6 +465,9 @@ declare namespace ActionParams$2 {
403
465
  y: Int64Type;
404
466
  bundle: Type.cargo_item[];
405
467
  }
468
+ interface dbgrefund {
469
+ owners: NameType[];
470
+ }
406
471
  interface debitdeposit {
407
472
  owner: NameType;
408
473
  token: NameType;
@@ -486,6 +551,7 @@ interface ActionNameParams$2 {
486
551
  cleartable: ActionParams$2.cleartable;
487
552
  close: ActionParams$2.close;
488
553
  contribute: ActionParams$2.contribute;
554
+ dbgrefund: ActionParams$2.dbgrefund;
489
555
  debitdeposit: ActionParams$2.debitdeposit;
490
556
  enable: ActionParams$2.enable;
491
557
  enablegame: ActionParams$2.enablegame;
@@ -575,6 +641,40 @@ declare namespace Types$1 {
575
641
  class addoracle extends Struct {
576
642
  oracle_id: Name;
577
643
  }
644
+ class ballot_credit extends Struct {
645
+ account: Name;
646
+ amount: UInt64;
647
+ }
648
+ class ballot_row extends Struct {
649
+ ballot_id: UInt64;
650
+ kind: UInt8;
651
+ subject: UInt64;
652
+ seats: UInt32;
653
+ settled_epoch: UInt32;
654
+ queue: UInt32[];
655
+ parked: ballot_credit[];
656
+ }
657
+ class ballot_seq_row extends Struct {
658
+ next_id: UInt64;
659
+ cursor: UInt64;
660
+ page_rows: UInt32;
661
+ }
662
+ class ballot_tally extends Struct {
663
+ option: UInt32;
664
+ weight: UInt64;
665
+ }
666
+ class ballotpicks_row extends Struct {
667
+ account: Name;
668
+ picks: UInt32[];
669
+ }
670
+ class ballotsettle_row extends Struct {
671
+ ballot_id: UInt64;
672
+ round: UInt32;
673
+ cursor: UInt64;
674
+ target_epoch: UInt32;
675
+ tallies: ballot_tally[];
676
+ seated: UInt32[];
677
+ }
578
678
  class blend extends Struct {
579
679
  id: UInt64;
580
680
  inputs: cargo_item[];
@@ -585,6 +685,37 @@ declare namespace Types$1 {
585
685
  drain: UInt32;
586
686
  output_pct: UInt16;
587
687
  }
688
+ class buildings_row extends Struct {
689
+ entity_id: UInt64;
690
+ building: UInt8;
691
+ }
692
+ class buildjob extends Struct {
693
+ target_id: UInt64;
694
+ dock_id: UInt64;
695
+ slot: UInt8;
696
+ target_item_id: UInt16;
697
+ inputs: cargo_item[];
698
+ }
699
+ class coordinates extends Struct {
700
+ x: Int64;
701
+ y: Int64;
702
+ z?: UInt16;
703
+ }
704
+ class buildjob_row extends Struct {
705
+ id: UInt64;
706
+ building: UInt64;
707
+ socket: UInt8;
708
+ target: UInt64;
709
+ owner: Name;
710
+ coords: coordinates;
711
+ starts_at: TimePoint;
712
+ completes_at: TimePoint;
713
+ target_item_id: UInt16;
714
+ cargo: cargo_item[];
715
+ }
716
+ class buildjobs_result extends Struct {
717
+ jobs: buildjob_row[];
718
+ }
588
719
  class buildplot extends Struct {
589
720
  builder_id: UInt64;
590
721
  plot_id: UInt64;
@@ -606,12 +737,17 @@ declare namespace Types$1 {
606
737
  entitygroup?: UInt64;
607
738
  group_members?: entity_ref[];
608
739
  }
609
- class canceljob extends Struct {
740
+ class cancelbuild extends Struct {
610
741
  job_id: UInt64;
611
- ship_id: UInt64;
612
742
  }
613
- class cancelupgrade extends Struct {
743
+ class cancelcivic extends Struct {
744
+ building: UInt64;
745
+ lane_key: UInt8;
746
+ from_id: UInt64;
747
+ }
748
+ class cancelcraft extends Struct {
614
749
  job_id: UInt64;
750
+ ship_id: UInt64;
615
751
  }
616
752
  class cargo_row extends Struct {
617
753
  id: UInt64;
@@ -630,18 +766,24 @@ declare namespace Types$1 {
630
766
  id: UInt64;
631
767
  entity_id?: UInt64;
632
768
  }
633
- class charter_effect extends Struct {
769
+ class castballot extends Struct {
770
+ player: Name;
771
+ ballot_id: UInt64;
772
+ picks: UInt32[];
773
+ }
774
+ class civic_grant extends Struct {
634
775
  kind: UInt8;
635
- item_id: UInt16;
636
- target_item_id: UInt16;
637
- slot_mask: UInt16;
638
- stat: UInt16;
776
+ building: UInt8;
777
+ stat: UInt8;
778
+ value: UInt16;
639
779
  }
640
780
  class charter_node_def extends Struct {
641
781
  node_id: UInt32;
642
782
  cost: UInt64;
643
783
  prereqs: UInt32[];
644
- effect: charter_effect;
784
+ grants: civic_grant[];
785
+ exclusion_group: UInt16;
786
+ repeat_cap: UInt8;
645
787
  }
646
788
  class charter_ready_view extends Struct {
647
789
  x: Int64;
@@ -650,20 +792,33 @@ declare namespace Types$1 {
650
792
  }
651
793
  class charter_view extends Struct {
652
794
  node_id: UInt32;
653
- completed_epoch: UInt32;
654
- entity_id: UInt64;
795
+ repeats: UInt16;
796
+ }
797
+ class seat_view extends Struct {
798
+ node_id: UInt32;
799
+ cost: UInt64;
800
+ progress: UInt64;
801
+ gap: UInt64;
802
+ }
803
+ class progress_view extends Struct {
804
+ node_id: UInt32;
805
+ amount: UInt64;
655
806
  }
656
807
  class charter_result extends Struct {
657
808
  location_id: UInt64;
658
809
  lifetime: UInt64;
659
- watermark: UInt64;
660
- surplus: UInt64;
810
+ spent: UInt64;
811
+ unassigned: UInt64;
661
812
  mandate: UInt32;
662
813
  next_cost: UInt64;
663
814
  prereqs_met: boolean;
664
815
  buildable: boolean;
665
816
  epoch: UInt32;
666
817
  built: charter_view[];
818
+ ballot_id: UInt64;
819
+ settling: boolean;
820
+ queue: seat_view[];
821
+ progress: progress_view[];
667
822
  }
668
823
  class charter_tree_result extends Struct {
669
824
  nodes: charter_node_def[];
@@ -675,18 +830,28 @@ declare namespace Types$1 {
675
830
  class charterready_result extends Struct {
676
831
  worlds: charter_ready_view[];
677
832
  }
678
- class charters_row extends Struct {
679
- node_id: UInt32;
680
- completed_epoch: UInt32;
681
- entity_id: UInt64;
833
+ class citizenship_row extends Struct {
834
+ location_id: UInt64;
835
+ lifetime: UInt64;
836
+ active: UInt64;
837
+ active_epoch: UInt32;
682
838
  }
683
839
  class civicconfig_row extends Struct {
684
840
  civic_owner: Name;
685
841
  }
842
+ class civicshuttle extends Struct {
843
+ building: UInt64;
844
+ from_id: UInt64;
845
+ to_id: UInt64;
846
+ items: cargo_item[];
847
+ }
686
848
  class claim_row extends Struct {
687
849
  owner: Name;
688
850
  }
689
- class claimjob extends Struct {
851
+ class claimbuild extends Struct {
852
+ job_id: UInt64;
853
+ }
854
+ class claimcraft extends Struct {
690
855
  job_id: UInt64;
691
856
  ship_id: UInt64;
692
857
  }
@@ -703,9 +868,6 @@ declare namespace Types$1 {
703
868
  class claimstarter extends Struct {
704
869
  owner: Name;
705
870
  }
706
- class claimupgrade extends Struct {
707
- job_id: UInt64;
708
- }
709
871
  class cleanrsvp extends Struct {
710
872
  epoch: UInt64;
711
873
  max_rows: UInt64;
@@ -715,6 +877,9 @@ declare namespace Types$1 {
715
877
  scope?: Name;
716
878
  max_rows?: UInt64;
717
879
  }
880
+ class closeepoch extends Struct {
881
+ epoch: UInt64;
882
+ }
718
883
  class cluster_cell extends Struct {
719
884
  gx: Int8;
720
885
  gy: Int8;
@@ -766,11 +931,6 @@ declare namespace Types$1 {
766
931
  class configlog extends Struct {
767
932
  config: game_config;
768
933
  }
769
- class coordinates extends Struct {
770
- x: Int64;
771
- y: Int64;
772
- z?: UInt16;
773
- }
774
934
  class coupling extends Struct {
775
935
  counterpart: entity_ref;
776
936
  hold: UInt64;
@@ -798,25 +958,55 @@ declare namespace Types$1 {
798
958
  quantity: UInt32;
799
959
  inputs: cargo_item[];
800
960
  }
961
+ class craftjob_row extends Struct {
962
+ id: UInt64;
963
+ building: UInt64;
964
+ socket: UInt8;
965
+ owner: Name;
966
+ ship_id: UInt64;
967
+ coords: coordinates;
968
+ starts_at: TimePoint;
969
+ completes_at: TimePoint;
970
+ recipe_id: UInt16;
971
+ quantity: UInt32;
972
+ energy_paid: UInt32;
973
+ cargo: cargo_item[];
974
+ }
975
+ class craftjobs_result extends Struct {
976
+ jobs: craftjob_row[];
977
+ }
801
978
  class dbgcredit extends Struct {
802
979
  owner: Name;
803
980
  x: Int64;
804
981
  y: Int64;
805
982
  amount_atomic: UInt64;
983
+ node?: UInt32;
806
984
  }
807
985
  class dbgmandate extends Struct {
808
986
  x: Int64;
809
987
  y: Int64;
810
988
  node_id: UInt32;
811
989
  }
990
+ class dbgpagerows extends Struct {
991
+ rows: UInt32;
992
+ }
993
+ class dbgpurge extends Struct {
994
+ table_name: Name;
995
+ scope?: Name;
996
+ }
997
+ class dbgseats extends Struct {
998
+ x: Int64;
999
+ y: Int64;
1000
+ seats: UInt32;
1001
+ }
812
1002
  class decomp_bucket extends Struct {
813
1003
  category: UInt8;
814
1004
  tier: UInt8;
815
- raw_kg: UInt32;
1005
+ raw_mass: UInt32;
816
1006
  }
817
1007
  class decomp_result extends Struct {
818
1008
  item_id: UInt16;
819
- processed_kg: UInt64;
1009
+ processed_mass: UInt64;
820
1010
  buckets: decomp_bucket[];
821
1011
  }
822
1012
  class delentity extends Struct {
@@ -837,7 +1027,7 @@ declare namespace Types$1 {
837
1027
  ref: cargo_ref;
838
1028
  slot?: cluster_slot;
839
1029
  }
840
- class depot_row extends Struct {
1030
+ class storage_row extends Struct {
841
1031
  id: UInt64;
842
1032
  owner: Name;
843
1033
  item_id: UInt64;
@@ -850,12 +1040,7 @@ declare namespace Types$1 {
850
1040
  player_cap: UInt64;
851
1041
  stored_mass: UInt64;
852
1042
  reserved_mass: UInt64;
853
- rows: depot_row[];
854
- }
855
- class depotacct_row extends Struct {
856
- owner: Name;
857
- stored_mass: UInt64;
858
- reserved_mass: UInt64;
1043
+ rows: storage_row[];
859
1044
  }
860
1045
  class depotstore extends Struct {
861
1046
  ship_id: UInt64;
@@ -935,6 +1120,7 @@ declare namespace Types$1 {
935
1120
  energy_cost?: UInt32;
936
1121
  target_item_id?: UInt16;
937
1122
  refit?: refit_op;
1123
+ charter_node?: UInt32;
938
1124
  }
939
1125
  class schedule extends Struct {
940
1126
  started: TimePoint;
@@ -1078,6 +1264,15 @@ declare namespace Types$1 {
1078
1264
  class genesisfleet extends Struct {
1079
1265
  entities: entity_row[];
1080
1266
  }
1267
+ class genesisworld extends Struct {
1268
+ founder: Name;
1269
+ x: Int64;
1270
+ y: Int64;
1271
+ node_ids: UInt32[];
1272
+ }
1273
+ class getbuildjobs extends Struct {
1274
+ building_id: UInt64;
1275
+ }
1081
1276
  class getcharter extends Struct {
1082
1277
  x: Int64;
1083
1278
  y: Int64;
@@ -1091,6 +1286,9 @@ declare namespace Types$1 {
1091
1286
  }
1092
1287
  class getconfig extends Struct {
1093
1288
  }
1289
+ class getcraftjobs extends Struct {
1290
+ building_id: UInt64;
1291
+ }
1094
1292
  class getdecomp extends Struct {
1095
1293
  item_id: UInt16;
1096
1294
  }
@@ -1153,9 +1351,6 @@ declare namespace Types$1 {
1153
1351
  }
1154
1352
  class getitemtypes extends Struct {
1155
1353
  }
1156
- class getjobs extends Struct {
1157
- workshop_id: UInt64;
1158
- }
1159
1354
  class getkindmeta extends Struct {
1160
1355
  }
1161
1356
  class getlocation extends Struct {
@@ -1210,9 +1405,6 @@ declare namespace Types$1 {
1210
1405
  }
1211
1406
  class getresources extends Struct {
1212
1407
  }
1213
- class getservice extends Struct {
1214
- workshop_id: UInt64;
1215
- }
1216
1408
  class getslots extends Struct {
1217
1409
  }
1218
1410
  class getstratum extends Struct {
@@ -1224,14 +1416,12 @@ declare namespace Types$1 {
1224
1416
  owner: Name;
1225
1417
  entity_type?: Name;
1226
1418
  }
1227
- class getupgjobs extends Struct {
1228
- dock_id: UInt64;
1229
- }
1230
1419
  class getvoteready extends Struct {
1231
1420
  }
1232
1421
  class getvotes extends Struct {
1233
1422
  x: Int64;
1234
1423
  y: Int64;
1424
+ player: Name;
1235
1425
  }
1236
1426
  class getwormhole extends Struct {
1237
1427
  x: Int64;
@@ -1304,10 +1494,6 @@ declare namespace Types$1 {
1304
1494
  class importstate extends Struct {
1305
1495
  row: state_row;
1306
1496
  }
1307
- class infballot_row extends Struct {
1308
- location_id: UInt64;
1309
- epoch: UInt32;
1310
- }
1311
1497
  class infburn_row extends Struct {
1312
1498
  bps: UInt16;
1313
1499
  }
@@ -1316,25 +1502,14 @@ declare namespace Types$1 {
1316
1502
  base: UInt64;
1317
1503
  floor: UInt64;
1318
1504
  }
1319
- class infloc_row extends Struct {
1320
- location_id: UInt64;
1321
- lifetime: UInt64;
1322
- active: UInt64;
1323
- last_update_epoch: UInt32;
1324
- watermark: UInt64;
1325
- chosen: UInt32;
1326
- chosen_epoch: UInt32;
1327
- founder: Name;
1328
- founded: UInt32;
1329
- }
1330
1505
  class influence_totals extends Struct {
1331
- player_lifetime: UInt64;
1332
- player_active: UInt64;
1333
1506
  standing_lifetime: UInt64;
1334
1507
  standing_active: UInt64;
1508
+ citizenship_lifetime: UInt64;
1509
+ citizenship_active: UInt64;
1335
1510
  location_lifetime: UInt64;
1336
1511
  location_active: UInt64;
1337
- watermark: UInt64;
1512
+ spent: UInt64;
1338
1513
  mandate: UInt32;
1339
1514
  founder: Name;
1340
1515
  founded: UInt32;
@@ -1345,18 +1520,6 @@ declare namespace Types$1 {
1345
1520
  tier: UInt8;
1346
1521
  threshold: UInt64;
1347
1522
  }
1348
- class infplayer_row extends Struct {
1349
- account: Name;
1350
- lifetime: UInt64;
1351
- active: UInt64;
1352
- last_update_epoch: UInt32;
1353
- }
1354
- class infplayerloc_row extends Struct {
1355
- location_id: UInt64;
1356
- lifetime: UInt64;
1357
- active: UInt64;
1358
- last_update_epoch: UInt32;
1359
- }
1360
1523
  class infpool_row extends Struct {
1361
1524
  category: UInt8;
1362
1525
  tier: UInt8;
@@ -1368,20 +1531,10 @@ declare namespace Types$1 {
1368
1531
  class infquality_row extends Struct {
1369
1532
  d1: UInt32;
1370
1533
  }
1371
- class inftally_row extends Struct {
1372
- node_id: UInt64;
1373
- total: UInt64;
1374
- }
1375
1534
  class infvalue_result extends Struct {
1376
1535
  total_atomic: UInt64;
1377
1536
  per_item_atomic: UInt64[];
1378
1537
  }
1379
- class infvote_row extends Struct {
1380
- account: Name;
1381
- epoch: UInt32;
1382
- node_id: UInt32;
1383
- weight: UInt64;
1384
- }
1385
1538
  class infweight_row extends Struct {
1386
1539
  category: UInt8;
1387
1540
  tier: UInt8;
@@ -1434,23 +1587,6 @@ declare namespace Types$1 {
1434
1587
  starts_at: TimePoint;
1435
1588
  completes_at: TimePoint;
1436
1589
  }
1437
- class job_row extends Struct {
1438
- id: UInt64;
1439
- workshop: UInt64;
1440
- socket: UInt8;
1441
- owner: Name;
1442
- ship_id: UInt64;
1443
- coords: coordinates;
1444
- starts_at: TimePoint;
1445
- completes_at: TimePoint;
1446
- recipe_id: UInt16;
1447
- quantity: UInt32;
1448
- energy_paid: UInt32;
1449
- cargo: cargo_item[];
1450
- }
1451
- class jobs_result extends Struct {
1452
- jobs: job_row[];
1453
- }
1454
1590
  class join extends Struct {
1455
1591
  account: Name;
1456
1592
  }
@@ -1496,6 +1632,15 @@ declare namespace Types$1 {
1496
1632
  is_system: boolean;
1497
1633
  is_wormhole: boolean;
1498
1634
  }
1635
+ class locker_row extends Struct {
1636
+ depot_id: UInt64;
1637
+ stored_mass: UInt64;
1638
+ reserved_mass: UInt64;
1639
+ }
1640
+ class mandates_row extends Struct {
1641
+ node_id: UInt32;
1642
+ repeats: UInt16;
1643
+ }
1499
1644
  class mint_threshold_view extends Struct {
1500
1645
  category: UInt8;
1501
1646
  tier: UInt8;
@@ -1594,6 +1739,7 @@ declare namespace Types$1 {
1594
1739
  }
1595
1740
  class oracle_config_row extends Struct {
1596
1741
  threshold: UInt8;
1742
+ deadline: UInt32;
1597
1743
  }
1598
1744
  class oracle_row extends Struct {
1599
1745
  id: Name;
@@ -1639,6 +1785,10 @@ declare namespace Types$1 {
1639
1785
  class pools_result extends Struct {
1640
1786
  pools: pool_view[];
1641
1787
  }
1788
+ class progress_row extends Struct {
1789
+ node_id: UInt32;
1790
+ amount: UInt64;
1791
+ }
1642
1792
  class projected_state extends Struct {
1643
1793
  owner: Name;
1644
1794
  coordinates: coordinates;
@@ -1731,13 +1881,6 @@ declare namespace Types$1 {
1731
1881
  x: Int64;
1732
1882
  y: Int64;
1733
1883
  }
1734
- class service_socket extends Struct {
1735
- open: boolean;
1736
- }
1737
- class service_row extends Struct {
1738
- entity: UInt64;
1739
- sockets: service_socket[];
1740
- }
1741
1884
  class setcivic extends Struct {
1742
1885
  account: Name;
1743
1886
  }
@@ -1749,6 +1892,9 @@ declare namespace Types$1 {
1749
1892
  x: Int64;
1750
1893
  y: Int64;
1751
1894
  }
1895
+ class setdeadline extends Struct {
1896
+ deadline: UInt32;
1897
+ }
1752
1898
  class setinfburn extends Struct {
1753
1899
  bps: UInt16;
1754
1900
  }
@@ -1778,14 +1924,16 @@ declare namespace Types$1 {
1778
1924
  template_id: Int32;
1779
1925
  schema_name: Name;
1780
1926
  }
1781
- class setsocket extends Struct {
1782
- workshop_id: UInt64;
1783
- slot: UInt8;
1784
- open: boolean;
1785
- }
1786
1927
  class setthreshold extends Struct {
1787
1928
  threshold: UInt8;
1788
1929
  }
1930
+ class settleballot extends Struct {
1931
+ ballot_id: UInt64;
1932
+ max_pages: UInt32;
1933
+ }
1934
+ class setunwrapmin extends Struct {
1935
+ asset_id: UInt64;
1936
+ }
1789
1937
  class setwrapcost extends Struct {
1790
1938
  item_type: UInt8;
1791
1939
  tier: UInt8;
@@ -1801,6 +1949,12 @@ declare namespace Types$1 {
1801
1949
  to_id: UInt64;
1802
1950
  items: cargo_item[];
1803
1951
  }
1952
+ class standing_row extends Struct {
1953
+ account: Name;
1954
+ lifetime: UInt64;
1955
+ active: UInt64;
1956
+ active_epoch: UInt32;
1957
+ }
1804
1958
  class stowcargo extends Struct {
1805
1959
  owner: Name;
1806
1960
  entity_id: UInt64;
@@ -1865,17 +2019,20 @@ declare namespace Types$1 {
1865
2019
  class vote_option extends Struct {
1866
2020
  node_id: UInt32;
1867
2021
  cost: UInt64;
1868
- total: UInt64;
1869
- eligible: boolean;
2022
+ seat: UInt32;
2023
+ weight: UInt64;
2024
+ rank: UInt32;
1870
2025
  }
1871
2026
  class vote_result extends Struct {
1872
2027
  location_id: UInt64;
2028
+ ballot_id: UInt64;
1873
2029
  epoch: UInt32;
1874
- ballot_epoch: UInt32;
1875
- chosen: UInt32;
1876
- chosen_epoch: UInt32;
1877
- effective: UInt32;
2030
+ settled_epoch: UInt32;
2031
+ seats: UInt32;
2032
+ settling: boolean;
2033
+ queue: UInt32[];
1878
2034
  options: vote_option[];
2035
+ picks: UInt32[];
1879
2036
  }
1880
2037
  class types_row extends Struct {
1881
2038
  id: UInt64;
@@ -1904,20 +2061,6 @@ declare namespace Types$1 {
1904
2061
  to_id: UInt64;
1905
2062
  items: cargo_item[];
1906
2063
  }
1907
- class upgjob_row extends Struct {
1908
- id: UInt64;
1909
- dock: UInt64;
1910
- target: UInt64;
1911
- owner: Name;
1912
- coords: coordinates;
1913
- starts_at: TimePoint;
1914
- completes_at: TimePoint;
1915
- target_item_id: UInt16;
1916
- cargo: cargo_item[];
1917
- }
1918
- class upgjobs_result extends Struct {
1919
- jobs: upgjob_row[];
1920
- }
1921
2064
  class upgrade extends Struct {
1922
2065
  builder_id: UInt64;
1923
2066
  target_id: UInt64;
@@ -1925,20 +2068,8 @@ declare namespace Types$1 {
1925
2068
  inputs: cargo_item[];
1926
2069
  slot?: UInt8;
1927
2070
  }
1928
- class upgradejob extends Struct {
1929
- target_id: UInt64;
1930
- dock_id: UInt64;
1931
- target_item_id: UInt16;
1932
- inputs: cargo_item[];
1933
- }
1934
- class votecharter extends Struct {
1935
- player: Name;
1936
- x: Int64;
1937
- y: Int64;
1938
- node_id: UInt32;
1939
- }
1940
2071
  class voteready extends Struct {
1941
- max_ballots: UInt32;
2072
+ max_pages: UInt32;
1942
2073
  }
1943
2074
  class warp extends Struct {
1944
2075
  id: UInt64;
@@ -1947,6 +2078,17 @@ declare namespace Types$1 {
1947
2078
  }
1948
2079
  class wipe extends Struct {
1949
2080
  }
2081
+ class worlds_row extends Struct {
2082
+ location_id: UInt64;
2083
+ lifetime: UInt64;
2084
+ active: UInt64;
2085
+ active_epoch: UInt32;
2086
+ spent: UInt64;
2087
+ unassigned: UInt64;
2088
+ ballot_id: UInt64;
2089
+ founder: Name;
2090
+ founded: UInt32;
2091
+ }
1950
2092
  class wormhole_info extends Struct {
1951
2093
  coords: coordinates;
1952
2094
  is_wormhole: boolean;
@@ -1955,6 +2097,7 @@ declare namespace Types$1 {
1955
2097
  class wrapconfig_row extends Struct {
1956
2098
  fee_pct: UInt16;
1957
2099
  fee_account: Name;
2100
+ min_asset_id: UInt64;
1958
2101
  }
1959
2102
  class wrapcost_row extends Struct {
1960
2103
  item_type: UInt8;
@@ -1963,82 +2106,86 @@ declare namespace Types$1 {
1963
2106
  }
1964
2107
  }
1965
2108
  declare const TableMap$1: {
2109
+ ballot: typeof Types$1.ballot_row;
2110
+ ballotpicks: typeof Types$1.ballotpicks_row;
2111
+ ballotseq: typeof Types$1.ballot_seq_row;
2112
+ ballotsettle: typeof Types$1.ballotsettle_row;
2113
+ buildings: typeof Types$1.buildings_row;
2114
+ buildjobs: typeof Types$1.buildjob_row;
1966
2115
  cargo: typeof Types$1.cargo_row;
1967
- charters: typeof Types$1.charters_row;
2116
+ citizenship: typeof Types$1.citizenship_row;
1968
2117
  civicconfig: typeof Types$1.civicconfig_row;
1969
2118
  claims: typeof Types$1.claim_row;
1970
2119
  cluster: typeof Types$1.cluster_row;
1971
2120
  commit: typeof Types$1.commit_row;
1972
- depot: typeof Types$1.depot_row;
1973
- depotacct: typeof Types$1.depotacct_row;
2121
+ craftjobs: typeof Types$1.craftjob_row;
1974
2122
  entity: typeof Types$1.entity_row;
1975
2123
  entitygroup: typeof Types$1.entitygroup_row;
1976
2124
  entityseq: typeof Types$1.entity_seq_row;
1977
2125
  epoch: typeof Types$1.epoch_row;
1978
- infballot: typeof Types$1.infballot_row;
1979
2126
  infburn: typeof Types$1.infburn_row;
1980
2127
  infdemand: typeof Types$1.infdemand_row;
1981
- infloc: typeof Types$1.infloc_row;
1982
2128
  infmint: typeof Types$1.infmint_row;
1983
- infplayer: typeof Types$1.infplayer_row;
1984
- infplayerloc: typeof Types$1.infplayerloc_row;
1985
2129
  infpool: typeof Types$1.infpool_row;
1986
2130
  infquality: typeof Types$1.infquality_row;
1987
- inftally: typeof Types$1.inftally_row;
1988
- infvote: typeof Types$1.infvote_row;
1989
2131
  infweight: typeof Types$1.infweight_row;
1990
- jobs: typeof Types$1.job_row;
2132
+ lockers: typeof Types$1.locker_row;
2133
+ mandates: typeof Types$1.mandates_row;
1991
2134
  mintq: typeof Types$1.mintq_row;
1992
2135
  nftconfig: typeof Types$1.nftconfig_row;
1993
2136
  oraclecfg: typeof Types$1.oracle_config_row;
1994
2137
  oracles: typeof Types$1.oracle_row;
1995
2138
  player: typeof Types$1.player_row;
2139
+ progress: typeof Types$1.progress_row;
1996
2140
  reserve: typeof Types$1.reserve_row;
1997
2141
  reveal: typeof Types$1.reveal_row;
1998
- service: typeof Types$1.service_row;
2142
+ standing: typeof Types$1.standing_row;
1999
2143
  state: typeof Types$1.state_row;
2144
+ storage: typeof Types$1.storage_row;
2000
2145
  types: typeof Types$1.types_row;
2001
- upgjobs: typeof Types$1.upgjob_row;
2146
+ worlds: typeof Types$1.worlds_row;
2002
2147
  wrapconfig: typeof Types$1.wrapconfig_row;
2003
2148
  wrapcost: typeof Types$1.wrapcost_row;
2004
2149
  };
2005
2150
  interface TableTypes$1 {
2151
+ ballot: Types$1.ballot_row;
2152
+ ballotpicks: Types$1.ballotpicks_row;
2153
+ ballotseq: Types$1.ballot_seq_row;
2154
+ ballotsettle: Types$1.ballotsettle_row;
2155
+ buildings: Types$1.buildings_row;
2156
+ buildjobs: Types$1.buildjob_row;
2006
2157
  cargo: Types$1.cargo_row;
2007
- charters: Types$1.charters_row;
2158
+ citizenship: Types$1.citizenship_row;
2008
2159
  civicconfig: Types$1.civicconfig_row;
2009
2160
  claims: Types$1.claim_row;
2010
2161
  cluster: Types$1.cluster_row;
2011
2162
  commit: Types$1.commit_row;
2012
- depot: Types$1.depot_row;
2013
- depotacct: Types$1.depotacct_row;
2163
+ craftjobs: Types$1.craftjob_row;
2014
2164
  entity: Types$1.entity_row;
2015
2165
  entitygroup: Types$1.entitygroup_row;
2016
2166
  entityseq: Types$1.entity_seq_row;
2017
2167
  epoch: Types$1.epoch_row;
2018
- infballot: Types$1.infballot_row;
2019
2168
  infburn: Types$1.infburn_row;
2020
2169
  infdemand: Types$1.infdemand_row;
2021
- infloc: Types$1.infloc_row;
2022
2170
  infmint: Types$1.infmint_row;
2023
- infplayer: Types$1.infplayer_row;
2024
- infplayerloc: Types$1.infplayerloc_row;
2025
2171
  infpool: Types$1.infpool_row;
2026
2172
  infquality: Types$1.infquality_row;
2027
- inftally: Types$1.inftally_row;
2028
- infvote: Types$1.infvote_row;
2029
2173
  infweight: Types$1.infweight_row;
2030
- jobs: Types$1.job_row;
2174
+ lockers: Types$1.locker_row;
2175
+ mandates: Types$1.mandates_row;
2031
2176
  mintq: Types$1.mintq_row;
2032
2177
  nftconfig: Types$1.nftconfig_row;
2033
2178
  oraclecfg: Types$1.oracle_config_row;
2034
2179
  oracles: Types$1.oracle_row;
2035
2180
  player: Types$1.player_row;
2181
+ progress: Types$1.progress_row;
2036
2182
  reserve: Types$1.reserve_row;
2037
2183
  reveal: Types$1.reveal_row;
2038
- service: Types$1.service_row;
2184
+ standing: Types$1.standing_row;
2039
2185
  state: Types$1.state_row;
2186
+ storage: Types$1.storage_row;
2040
2187
  types: Types$1.types_row;
2041
- upgjobs: Types$1.upgjob_row;
2188
+ worlds: Types$1.worlds_row;
2042
2189
  wrapconfig: Types$1.wrapconfig_row;
2043
2190
  wrapcost: Types$1.wrapcost_row;
2044
2191
  }
@@ -2131,6 +2278,7 @@ declare namespace ActionParams$1 {
2131
2278
  energy_cost?: UInt32Type;
2132
2279
  target_item_id?: UInt16Type;
2133
2280
  refit?: Type.refit_op;
2281
+ charter_node?: UInt32Type;
2134
2282
  }
2135
2283
  interface coupling {
2136
2284
  counterpart: Type.entity_ref;
@@ -2242,6 +2390,13 @@ declare namespace ActionParams$1 {
2242
2390
  id: UInt64Type;
2243
2391
  inputs: Type.cargo_item[];
2244
2392
  }
2393
+ interface buildjob {
2394
+ target_id: UInt64Type;
2395
+ dock_id: UInt64Type;
2396
+ slot: UInt8Type;
2397
+ target_item_id: UInt16Type;
2398
+ inputs: Type.cargo_item[];
2399
+ }
2245
2400
  interface buildplot {
2246
2401
  builder_id: UInt64Type;
2247
2402
  plot_id: UInt64Type;
@@ -2251,18 +2406,37 @@ declare namespace ActionParams$1 {
2251
2406
  lane_key: UInt8Type;
2252
2407
  count: UInt64Type;
2253
2408
  }
2254
- interface canceljob {
2409
+ interface cancelbuild {
2255
2410
  job_id: UInt64Type;
2256
- ship_id: UInt64Type;
2257
2411
  }
2258
- interface cancelupgrade {
2412
+ interface cancelcivic {
2413
+ building: UInt64Type;
2414
+ lane_key: UInt8Type;
2415
+ from_id: UInt64Type;
2416
+ }
2417
+ interface cancelcraft {
2259
2418
  job_id: UInt64Type;
2419
+ ship_id: UInt64Type;
2420
+ }
2421
+ interface castballot {
2422
+ player: NameType;
2423
+ ballot_id: UInt64Type;
2424
+ picks: UInt32Type[];
2260
2425
  }
2261
2426
  interface charterready {
2262
2427
  x: Int64Type;
2263
2428
  y: Int64Type;
2264
2429
  }
2265
- interface claimjob {
2430
+ interface civicshuttle {
2431
+ building: UInt64Type;
2432
+ from_id: UInt64Type;
2433
+ to_id: UInt64Type;
2434
+ items: Type.cargo_item[];
2435
+ }
2436
+ interface claimbuild {
2437
+ job_id: UInt64Type;
2438
+ }
2439
+ interface claimcraft {
2266
2440
  job_id: UInt64Type;
2267
2441
  ship_id: UInt64Type;
2268
2442
  }
@@ -2274,9 +2448,6 @@ declare namespace ActionParams$1 {
2274
2448
  interface claimstarter {
2275
2449
  owner: NameType;
2276
2450
  }
2277
- interface claimupgrade {
2278
- job_id: UInt64Type;
2279
- }
2280
2451
  interface cleanrsvp {
2281
2452
  epoch: UInt64Type;
2282
2453
  max_rows: UInt64Type;
@@ -2286,6 +2457,9 @@ declare namespace ActionParams$1 {
2286
2457
  scope?: NameType;
2287
2458
  max_rows?: UInt64Type;
2288
2459
  }
2460
+ interface closeepoch {
2461
+ epoch: UInt64Type;
2462
+ }
2289
2463
  interface clustercraft {
2290
2464
  id: UInt64Type;
2291
2465
  recipe_id: UInt16Type;
@@ -2323,12 +2497,25 @@ declare namespace ActionParams$1 {
2323
2497
  x: Int64Type;
2324
2498
  y: Int64Type;
2325
2499
  amount_atomic: UInt64Type;
2500
+ node?: UInt32Type;
2326
2501
  }
2327
2502
  interface dbgmandate {
2328
2503
  x: Int64Type;
2329
2504
  y: Int64Type;
2330
2505
  node_id: UInt32Type;
2331
2506
  }
2507
+ interface dbgpagerows {
2508
+ rows: UInt32Type;
2509
+ }
2510
+ interface dbgpurge {
2511
+ table_name: NameType;
2512
+ scope?: NameType;
2513
+ }
2514
+ interface dbgseats {
2515
+ x: Int64Type;
2516
+ y: Int64Type;
2517
+ seats: UInt32Type;
2518
+ }
2332
2519
  interface delentity {
2333
2520
  entity_id: UInt64Type;
2334
2521
  }
@@ -2391,6 +2578,15 @@ declare namespace ActionParams$1 {
2391
2578
  interface genesisfleet {
2392
2579
  entities: Type.entity_row[];
2393
2580
  }
2581
+ interface genesisworld {
2582
+ founder: NameType;
2583
+ x: Int64Type;
2584
+ y: Int64Type;
2585
+ node_ids: UInt32Type[];
2586
+ }
2587
+ interface getbuildjobs {
2588
+ building_id: UInt64Type;
2589
+ }
2394
2590
  interface getcharter {
2395
2591
  x: Int64Type;
2396
2592
  y: Int64Type;
@@ -2404,6 +2600,9 @@ declare namespace ActionParams$1 {
2404
2600
  }
2405
2601
  interface getconfig {
2406
2602
  }
2603
+ interface getcraftjobs {
2604
+ building_id: UInt64Type;
2605
+ }
2407
2606
  interface getdecomp {
2408
2607
  item_id: UInt16Type;
2409
2608
  }
@@ -2466,9 +2665,6 @@ declare namespace ActionParams$1 {
2466
2665
  }
2467
2666
  interface getitemtypes {
2468
2667
  }
2469
- interface getjobs {
2470
- workshop_id: UInt64Type;
2471
- }
2472
2668
  interface getkindmeta {
2473
2669
  }
2474
2670
  interface getlocation {
@@ -2523,9 +2719,6 @@ declare namespace ActionParams$1 {
2523
2719
  }
2524
2720
  interface getresources {
2525
2721
  }
2526
- interface getservice {
2527
- workshop_id: UInt64Type;
2528
- }
2529
2722
  interface getslots {
2530
2723
  }
2531
2724
  interface getstratum {
@@ -2537,14 +2730,12 @@ declare namespace ActionParams$1 {
2537
2730
  owner: NameType;
2538
2731
  entity_type?: NameType;
2539
2732
  }
2540
- interface getupgjobs {
2541
- dock_id: UInt64Type;
2542
- }
2543
2733
  interface getvoteready {
2544
2734
  }
2545
2735
  interface getvotes {
2546
2736
  x: Int64Type;
2547
2737
  y: Int64Type;
2738
+ player: NameType;
2548
2739
  }
2549
2740
  interface getwormhole {
2550
2741
  x: Int64Type;
@@ -2693,6 +2884,9 @@ declare namespace ActionParams$1 {
2693
2884
  x: Int64Type;
2694
2885
  y: Int64Type;
2695
2886
  }
2887
+ interface setdeadline {
2888
+ deadline: UInt32Type;
2889
+ }
2696
2890
  interface setinfburn {
2697
2891
  bps: UInt16Type;
2698
2892
  }
@@ -2722,14 +2916,16 @@ declare namespace ActionParams$1 {
2722
2916
  template_id: Int32Type;
2723
2917
  schema_name: NameType;
2724
2918
  }
2725
- interface setsocket {
2726
- workshop_id: UInt64Type;
2727
- slot: UInt8Type;
2728
- open: boolean;
2729
- }
2730
2919
  interface setthreshold {
2731
2920
  threshold: UInt8Type;
2732
2921
  }
2922
+ interface settleballot {
2923
+ ballot_id: UInt64Type;
2924
+ max_pages: UInt32Type;
2925
+ }
2926
+ interface setunwrapmin {
2927
+ asset_id: UInt64Type;
2928
+ }
2733
2929
  interface setwrapcost {
2734
2930
  item_type: UInt8Type;
2735
2931
  tier: UInt8Type;
@@ -2803,20 +2999,8 @@ declare namespace ActionParams$1 {
2803
2999
  inputs: Type.cargo_item[];
2804
3000
  slot?: UInt8Type;
2805
3001
  }
2806
- interface upgradejob {
2807
- target_id: UInt64Type;
2808
- dock_id: UInt64Type;
2809
- target_item_id: UInt16Type;
2810
- inputs: Type.cargo_item[];
2811
- }
2812
- interface votecharter {
2813
- player: NameType;
2814
- x: Int64Type;
2815
- y: Int64Type;
2816
- node_id: UInt32Type;
2817
- }
2818
3002
  interface voteready {
2819
- max_ballots: UInt32Type;
3003
+ max_pages: UInt32Type;
2820
3004
  }
2821
3005
  interface warp {
2822
3006
  id: UInt64Type;
@@ -2833,17 +3017,22 @@ interface ActionNameParams$1 {
2833
3017
  addnexus: ActionParams$1.addnexus;
2834
3018
  addoracle: ActionParams$1.addoracle;
2835
3019
  blend: ActionParams$1.blend;
3020
+ buildjob: ActionParams$1.buildjob;
2836
3021
  buildplot: ActionParams$1.buildplot;
2837
3022
  cancel: ActionParams$1.cancel;
2838
- canceljob: ActionParams$1.canceljob;
2839
- cancelupgrade: ActionParams$1.cancelupgrade;
3023
+ cancelbuild: ActionParams$1.cancelbuild;
3024
+ cancelcivic: ActionParams$1.cancelcivic;
3025
+ cancelcraft: ActionParams$1.cancelcraft;
3026
+ castballot: ActionParams$1.castballot;
2840
3027
  charterready: ActionParams$1.charterready;
2841
- claimjob: ActionParams$1.claimjob;
3028
+ civicshuttle: ActionParams$1.civicshuttle;
3029
+ claimbuild: ActionParams$1.claimbuild;
3030
+ claimcraft: ActionParams$1.claimcraft;
2842
3031
  claimplot: ActionParams$1.claimplot;
2843
3032
  claimstarter: ActionParams$1.claimstarter;
2844
- claimupgrade: ActionParams$1.claimupgrade;
2845
3033
  cleanrsvp: ActionParams$1.cleanrsvp;
2846
3034
  cleartable: ActionParams$1.cleartable;
3035
+ closeepoch: ActionParams$1.closeepoch;
2847
3036
  clustercraft: ActionParams$1.clustercraft;
2848
3037
  commit: ActionParams$1.commit;
2849
3038
  configlog: ActionParams$1.configlog;
@@ -2851,6 +3040,9 @@ interface ActionNameParams$1 {
2851
3040
  craftjob: ActionParams$1.craftjob;
2852
3041
  dbgcredit: ActionParams$1.dbgcredit;
2853
3042
  dbgmandate: ActionParams$1.dbgmandate;
3043
+ dbgpagerows: ActionParams$1.dbgpagerows;
3044
+ dbgpurge: ActionParams$1.dbgpurge;
3045
+ dbgseats: ActionParams$1.dbgseats;
2854
3046
  delentity: ActionParams$1.delentity;
2855
3047
  demolish: ActionParams$1.demolish;
2856
3048
  deploy: ActionParams$1.deploy;
@@ -2865,11 +3057,14 @@ interface ActionNameParams$1 {
2865
3057
  gather: ActionParams$1.gather;
2866
3058
  gatherplan: ActionParams$1.gatherplan;
2867
3059
  genesisfleet: ActionParams$1.genesisfleet;
3060
+ genesisworld: ActionParams$1.genesisworld;
3061
+ getbuildjobs: ActionParams$1.getbuildjobs;
2868
3062
  getcharter: ActionParams$1.getcharter;
2869
3063
  getcharttree: ActionParams$1.getcharttree;
2870
3064
  getchrtready: ActionParams$1.getchrtready;
2871
3065
  getcluster: ActionParams$1.getcluster;
2872
3066
  getconfig: ActionParams$1.getconfig;
3067
+ getcraftjobs: ActionParams$1.getcraftjobs;
2873
3068
  getdecomp: ActionParams$1.getdecomp;
2874
3069
  getdemand: ActionParams$1.getdemand;
2875
3070
  getdeposit: ActionParams$1.getdeposit;
@@ -2888,7 +3083,6 @@ interface ActionNameParams$1 {
2888
3083
  getitems: ActionParams$1.getitems;
2889
3084
  getitemtype: ActionParams$1.getitemtype;
2890
3085
  getitemtypes: ActionParams$1.getitemtypes;
2891
- getjobs: ActionParams$1.getjobs;
2892
3086
  getkindmeta: ActionParams$1.getkindmeta;
2893
3087
  getlocation: ActionParams$1.getlocation;
2894
3088
  getlocdata: ActionParams$1.getlocdata;
@@ -2908,11 +3102,9 @@ interface ActionNameParams$1 {
2908
3102
  getrescats: ActionParams$1.getrescats;
2909
3103
  getreserves: ActionParams$1.getreserves;
2910
3104
  getresources: ActionParams$1.getresources;
2911
- getservice: ActionParams$1.getservice;
2912
3105
  getslots: ActionParams$1.getslots;
2913
3106
  getstratum: ActionParams$1.getstratum;
2914
3107
  getsummaries: ActionParams$1.getsummaries;
2915
- getupgjobs: ActionParams$1.getupgjobs;
2916
3108
  getvoteready: ActionParams$1.getvoteready;
2917
3109
  getvotes: ActionParams$1.getvotes;
2918
3110
  getwormhole: ActionParams$1.getwormhole;
@@ -2952,6 +3144,7 @@ interface ActionNameParams$1 {
2952
3144
  setcivic: ActionParams$1.setcivic;
2953
3145
  setcluster: ActionParams$1.setcluster;
2954
3146
  setcoords: ActionParams$1.setcoords;
3147
+ setdeadline: ActionParams$1.setdeadline;
2955
3148
  setinfburn: ActionParams$1.setinfburn;
2956
3149
  setinfd1: ActionParams$1.setinfd1;
2957
3150
  setinfdemand: ActionParams$1.setinfdemand;
@@ -2959,8 +3152,9 @@ interface ActionNameParams$1 {
2959
3152
  setinfweight: ActionParams$1.setinfweight;
2960
3153
  setnextid: ActionParams$1.setnextid;
2961
3154
  setnftcfg: ActionParams$1.setnftcfg;
2962
- setsocket: ActionParams$1.setsocket;
2963
3155
  setthreshold: ActionParams$1.setthreshold;
3156
+ settleballot: ActionParams$1.settleballot;
3157
+ setunwrapmin: ActionParams$1.setunwrapmin;
2964
3158
  setwrapcost: ActionParams$1.setwrapcost;
2965
3159
  setwrapfee: ActionParams$1.setwrapfee;
2966
3160
  shuttle: ActionParams$1.shuttle;
@@ -2974,8 +3168,6 @@ interface ActionNameParams$1 {
2974
3168
  undeploy: ActionParams$1.undeploy;
2975
3169
  unload: ActionParams$1.unload;
2976
3170
  upgrade: ActionParams$1.upgrade;
2977
- upgradejob: ActionParams$1.upgradejob;
2978
- votecharter: ActionParams$1.votecharter;
2979
3171
  voteready: ActionParams$1.voteready;
2980
3172
  warp: ActionParams$1.warp;
2981
3173
  wipe: ActionParams$1.wipe;
@@ -2984,8 +3176,11 @@ type ActionNames$1 = keyof ActionNameParams$1;
2984
3176
  interface ActionReturnValues {
2985
3177
  abandonplot: Types$1.task_results;
2986
3178
  addcontrib: Types$1.task_results;
3179
+ buildjob: Types$1.job_receipt;
2987
3180
  buildplot: Types$1.task_results;
2988
3181
  cancel: Types$1.cancel_results;
3182
+ cancelcivic: Types$1.cancel_results;
3183
+ civicshuttle: Types$1.task_results;
2989
3184
  claimplot: Types$1.task_results;
2990
3185
  clustercraft: Types$1.task_results;
2991
3186
  craft: Types$1.task_results;
@@ -2997,11 +3192,13 @@ interface ActionReturnValues {
2997
3192
  descentity: string;
2998
3193
  gather: Types$1.task_results;
2999
3194
  gatherplan: Types$1.task_results;
3195
+ getbuildjobs: Types$1.buildjobs_result;
3000
3196
  getcharter: Types$1.charter_result;
3001
3197
  getcharttree: Types$1.charter_tree_result;
3002
3198
  getchrtready: Types$1.charterready_result;
3003
3199
  getcluster: Types$1.cluster_row;
3004
3200
  getconfig: Types$1.game_config;
3201
+ getcraftjobs: Types$1.craftjobs_result;
3005
3202
  getdecomp: Types$1.decomp_result;
3006
3203
  getdemand: Types$1.demand_result;
3007
3204
  getdeposit: ExtendedAsset;
@@ -3020,7 +3217,6 @@ interface ActionReturnValues {
3020
3217
  getitems: Types$1.items_info;
3021
3218
  getitemtype: UInt8;
3022
3219
  getitemtypes: Types$1.enum_result;
3023
- getjobs: Types$1.jobs_result;
3024
3220
  getkindmeta: Types$1.kind_meta_result;
3025
3221
  getlocation: Types$1.location_info;
3026
3222
  getlocdata: Types$1.location_derived;
@@ -3040,11 +3236,9 @@ interface ActionReturnValues {
3040
3236
  getrescats: Types$1.enum_result;
3041
3237
  getreserves: Types$1.stratum_remaining[];
3042
3238
  getresources: Types$1.resources_result;
3043
- getservice: Types$1.service_row;
3044
3239
  getslots: Types$1.entity_layouts_result;
3045
3240
  getstratum: Types$1.stratum_data;
3046
3241
  getsummaries: Types$1.entity_summary[];
3047
- getupgjobs: Types$1.upgjobs_result;
3048
3242
  getvoteready: UInt32;
3049
3243
  getvotes: Types$1.vote_result;
3050
3244
  getwormhole: Types$1.wormhole_info;
@@ -3072,7 +3266,6 @@ interface ActionReturnValues {
3072
3266
  undeploy: Types$1.task_results;
3073
3267
  unload: Types$1.task_results;
3074
3268
  upgrade: Types$1.task_results;
3075
- upgradejob: Types$1.job_receipt;
3076
3269
  warp: Types$1.task_results;
3077
3270
  }
3078
3271
  type ActionReturnNames = keyof ActionReturnValues;
@@ -3333,9 +3526,16 @@ declare const ITEM_NOT_AVAILABLE_AT_LOCATION = "Item is not tradeable at ship lo
3333
3526
  declare const INSUFFICIENT_BALANCE = "Insufficient balance.";
3334
3527
  declare const INSUFFICIENT_ITEM_QUANTITY = "Insufficient quantity in cargo.";
3335
3528
  declare const INSUFFICIENT_ITEM_SUPPLY = "Insufficient supply of item at location.";
3529
+ declare const VOTE_NOT_CITIZEN = "player is not a citizen of this world";
3530
+ declare const BALLOT_SETTLING = "world is settling the last epoch";
3531
+ declare const BALLOT_NOT_DUE = "ballot is not due";
3532
+ declare const BALLOT_NONE_DUE = "no ballots are due";
3533
+ declare function isSettling(error: unknown): boolean;
3336
3534
 
3337
3535
  declare const PRECISION = 10000;
3338
- declare const CRAFT_ENERGY_DIVISOR = 150000;
3536
+ declare const MASS_UNITS_PER_TONNE = 10;
3537
+ declare const MASS_STAT_SCALE = 100;
3538
+ declare const CRAFT_ENERGY_DIVISOR = 1500;
3339
3539
  declare const PLANETARY_STRUCTURE_Z = 0;
3340
3540
  declare const CONTAINER_Z = 300;
3341
3541
  declare const TRAVEL_MAX_DURATION = 86400;
@@ -3343,7 +3543,7 @@ declare const BASE_HAUL_PENALTY_MILLI = 300;
3343
3543
  declare const HAULER_EFFICIENCY_DENOM = 10000;
3344
3544
  declare const MIN_ORBITAL_ALTITUDE = 800;
3345
3545
  declare const MAX_ORBITAL_ALTITUDE = 3000;
3346
- declare const BASE_ORBITAL_MASS = 100000;
3546
+ declare const BASE_ORBITAL_MASS = 1000;
3347
3547
  declare const MIN_TRANSFER_DISTANCE_PLANETARY_STRUCTURE = 100;
3348
3548
  declare const MIN_TRANSFER_DISTANCE_ORBITAL_VESSEL = 200;
3349
3549
  interface ClusterSlotType {
@@ -3384,7 +3584,9 @@ declare enum TaskType {
3384
3584
  UPGRADE = 17,
3385
3585
  SHUTTLE = 18,
3386
3586
  REFIT = 19,
3387
- CONTRIBUTE = 20
3587
+ CONTRIBUTE = 20,
3588
+ DEPOT_STORE = 21,
3589
+ DEPOT_TAKE = 22
3388
3590
  }
3389
3591
  declare enum RefitOp {
3390
3592
  ADD = 0,
@@ -3601,7 +3803,9 @@ declare function getEntityLayout(entityItemId: number): EntityLayout | undefined
3601
3803
  declare const CAP_WRAP = 1;
3602
3804
  declare const CAP_UNDEPLOY = 2;
3603
3805
  declare const CAP_DEMOLISH = 4;
3806
+ declare const CAP_CATCH = 8;
3604
3807
  declare const CAP_MODULES = 16;
3808
+ declare const CAP_STORE_CARGO = 32;
3605
3809
  declare enum EntityClass {
3606
3810
  OrbitalVessel = 0,
3607
3811
  PlanetaryStructure = 1,
@@ -3626,6 +3830,8 @@ declare function getKindMeta(kind: NameType | EntityTypeName): KindMeta | undefi
3626
3830
  declare function getTemplateMeta(itemId: number): TemplateMeta | undefined;
3627
3831
  declare function getPackedEntityType(itemId: number): Name | null;
3628
3832
  declare function kindCan(kind: NameType | EntityTypeName, cap: number): boolean;
3833
+ declare function canCatch(kind: NameType | EntityTypeName): boolean;
3834
+ declare function canStoreCargo(kind: NameType | EntityTypeName): boolean;
3629
3835
  declare function getEntityClass(kind: NameType | EntityTypeName): EntityClass;
3630
3836
  declare const ENTITY_SHIP: Name;
3631
3837
  declare const ENTITY_WAREHOUSE: Name;
@@ -3781,10 +3987,10 @@ interface HasCargo {
3781
3987
  cargo: Types$1.cargo_item[];
3782
3988
  }
3783
3989
  interface HasCapacity {
3784
- capacity: UInt32;
3990
+ capacity: UInt32Type;
3785
3991
  }
3786
3992
  interface HasCargomass {
3787
- cargomass: UInt32;
3993
+ cargomass: UInt32Type;
3788
3994
  }
3789
3995
  interface MassInput {
3790
3996
  item_id: UInt16;
@@ -3854,12 +4060,12 @@ declare function currentTaskProgressFloatForLane(schedule: Schedule$2, now: Date
3854
4060
 
3855
4061
  type Schedule$1 = Types$1.schedule;
3856
4062
  type Task$2 = Types$1.task;
3857
- type Lane$1 = Types$1.lane;
4063
+ type Lane$2 = Types$1.lane;
3858
4064
  type Hold = Types$1.hold;
3859
4065
  declare const LANE_MOBILITY = 0;
3860
4066
  declare const LANE_BARRIER = 255;
3861
4067
  interface ScheduleData {
3862
- lanes?: Lane$1[];
4068
+ lanes?: Lane$2[];
3863
4069
  holds?: Hold[];
3864
4070
  }
3865
4071
  interface LaneView {
@@ -4396,6 +4602,10 @@ declare class CoordinatesManager extends BaseManager {
4396
4602
  }>;
4397
4603
  }
4398
4604
 
4605
+ interface EpochQuorumState {
4606
+ threshold: number;
4607
+ finalized: boolean;
4608
+ }
4399
4609
  declare class EpochsManager extends BaseManager {
4400
4610
  getCurrentHeight(): Promise<UInt64>;
4401
4611
  getFinalizedEpoch(reload?: boolean): Promise<UInt64>;
@@ -4405,9 +4615,13 @@ declare class EpochsManager extends BaseManager {
4405
4615
  getProgress(): Promise<number>;
4406
4616
  fitsInCurrentEpoch(durationMs: number): Promise<boolean>;
4407
4617
  getEpochRow(epoch: UInt64Type): Promise<Types$1.epoch_row | undefined>;
4618
+ getEpochState(epoch: UInt64Type): Promise<EpochQuorumState>;
4408
4619
  getActiveEpochInfo(): Promise<Types$1.epoch_row | undefined>;
4409
4620
  getOracles(): Promise<Types$1.oracle_row[]>;
4410
4621
  getThreshold(): Promise<number>;
4622
+ getDeadline(): Promise<number>;
4623
+ getCloseDueAt(epoch: UInt64Type): Promise<Date>;
4624
+ getSecondsUntilClose(epoch: UInt64Type): Promise<number>;
4411
4625
  getCommitsFor(epoch: UInt64Type): Promise<Types$1.commit_row[]>;
4412
4626
  getRevealsFor(epoch: UInt64Type): Promise<Types$1.reveal_row[]>;
4413
4627
  }
@@ -4469,6 +4683,8 @@ declare class ActionsManager extends BaseManager {
4469
4683
  depotstore(shipId: UInt64Type, depotId: UInt64Type, items: ActionParams$1.Type.cargo_item[]): Action;
4470
4684
  depottake(shipId: UInt64Type, depotId: UInt64Type, items: ActionParams$1.Type.cargo_item[]): Action;
4471
4685
  shuttle(carrierId: UInt64Type, fromId: UInt64Type, toId: UInt64Type, items: ActionParams$1.Type.cargo_item[]): Action;
4686
+ civicshuttle(buildingId: UInt64Type, fromId: UInt64Type, toId: UInt64Type, items: ActionParams$1.Type.cargo_item[]): Action;
4687
+ cancelcivic(buildingId: UInt64Type, laneKey: UInt8Type, fromId: UInt64Type): Action;
4472
4688
  launch(launcherId: UInt64Type, catcherId: UInt64Type, items: ActionParams$1.Type.cargo_item[]): Action;
4473
4689
  getLaunchQuote(launcher: LaunchQuoteLauncher, catcher: LaunchQuoteCatcher, items: ActionParams$1.Type.cargo_item[], start?: Date): LaunchQuote;
4474
4690
  foundCompany(account: NameType, name: string): Action;
@@ -4479,12 +4695,11 @@ declare class ActionsManager extends BaseManager {
4479
4695
  craft(entityId: UInt64Type, recipeId: number, quantity: number, inputs: ActionParams$1.Type.cargo_item[], target?: UInt64Type, slot?: UInt8Type): Action;
4480
4696
  craftjob(shipId: UInt64Type, workshopId: UInt64Type, slot: UInt8Type, recipeId: UInt16Type, quantity: UInt32Type, inputs: ActionParams$1.Type.cargo_item[]): Action;
4481
4697
  clustercraft(entityId: UInt64Type, recipeId: number, quantity: number, sources: ActionParams$1.Type.cluster_source[], target?: UInt64Type, slot?: UInt8Type): Action;
4482
- claimjob(jobId: UInt64Type, shipId: UInt64Type): Action;
4483
- canceljob(jobId: UInt64Type, shipId: UInt64Type): Action;
4484
- upgradejob(targetId: UInt64Type, dockId: UInt64Type, targetItemId: UInt16Type, inputs: ActionParams$1.Type.cargo_item[]): Action;
4485
- claimupgrade(jobId: UInt64Type): Action;
4486
- cancelupgrade(jobId: UInt64Type): Action;
4487
- setsocket(workshopId: UInt64Type, slot: UInt8Type, open: boolean): Action;
4698
+ claimcraft(jobId: UInt64Type, shipId: UInt64Type): Action;
4699
+ cancelcraft(jobId: UInt64Type, shipId: UInt64Type): Action;
4700
+ buildjob(targetId: UInt64Type, dockId: UInt64Type, slot: UInt8Type, targetItemId: UInt16Type, inputs: ActionParams$1.Type.cargo_item[]): Action;
4701
+ claimbuild(jobId: UInt64Type): Action;
4702
+ cancelbuild(jobId: UInt64Type): Action;
4488
4703
  blend(entityId: UInt64Type, inputs: ActionParams$1.Type.cargo_item[]): Action;
4489
4704
  deploy(entityId: UInt64Type, ref: ActionParams$1.Type.cargo_ref, slot?: ClusterSlotType): Action;
4490
4705
  upgrade(builderId: UInt64Type, targetId: UInt64Type, targetItemId: UInt16Type, inputs: ActionParams$1.Type.cargo_item[], slot?: UInt8Type): Action;
@@ -4513,6 +4728,7 @@ declare class ActionsManager extends BaseManager {
4513
4728
  wrapEntity(owner: NameType, entityId: UInt64Type, nexusId: UInt64Type, opts?: {
4514
4729
  claimRam?: boolean;
4515
4730
  }): Promise<Action[]>;
4731
+ setunwrapmin(assetId: UInt64Type): Action;
4516
4732
  placecargo(owner: NameType, hostId: UInt64Type, assetId: UInt64Type): Action;
4517
4733
  placeentity(owner: NameType, assetId: UInt64Type, targetNexusId: UInt64Type): Action;
4518
4734
  transferForUnwrap(owner: NameType, assetId: UInt64Type): Action;
@@ -4528,15 +4744,21 @@ declare class ActionsManager extends BaseManager {
4528
4744
  addoracle(oracleId: NameType): Action;
4529
4745
  removeoracle(oracleId: NameType): Action;
4530
4746
  setthreshold(threshold: UInt8Type): Action;
4747
+ setdeadline(deadline: UInt32Type): Action;
4748
+ closeepoch(epoch: UInt64Type): Action;
4531
4749
  cleanrsvp(epoch: UInt64Type, maxRows: UInt64Type): Action;
4750
+ addFundToken(tokenContract: NameType, tokenSymbol: Asset.SymbolType): Action;
4751
+ removeFundToken(tokenContract: NameType): Action;
4752
+ collectFund(): Action;
4532
4753
  found(player: NameType, entityId: UInt64Type, location: CoordinatesType): Action;
4533
4754
  naturalize(player: NameType, location: CoordinatesType): Action;
4534
4755
  contribute(player: NameType, entityId: UInt64Type, location: CoordinatesType, bundle: ActionParams$1.Type.cargo_item[]): Action;
4535
4756
  firstContribution(player: NameType, entityId: UInt64Type, location: CoordinatesType, bundle: ActionParams$1.Type.cargo_item[]): Action[];
4536
4757
  mintready(maxMints?: UInt32Type): Action;
4537
4758
  charterready(location: CoordinatesType): Action;
4538
- votecharter(player: NameType, location: CoordinatesType, nodeId: UInt32Type): Action;
4539
- voteready(maxBallots?: UInt32Type): Action;
4759
+ castballot(player: NameType, ballotId: UInt64Type, picks: number[]): Action;
4760
+ settleballot(ballotId: UInt64Type, maxPages?: UInt32Type): Action;
4761
+ voteready(maxPages?: UInt32Type): Action;
4540
4762
  }
4541
4763
 
4542
4764
  interface GridCell {
@@ -4615,7 +4837,7 @@ declare class BalancesManager extends BaseManager {
4615
4837
  getWalletBalance(account: NameType, tokenContract?: NameType, symbolCode?: Asset.SymbolCodeType): Promise<TokenBalance | null>;
4616
4838
  }
4617
4839
 
4618
- type CargoItem$3 = Types$1.cargo_item;
4840
+ type CargoItem$4 = Types$1.cargo_item;
4619
4841
  interface JobWindow {
4620
4842
  id: number;
4621
4843
  socket: number;
@@ -4658,7 +4880,7 @@ declare function splitJobCargo<T>(cargo: readonly T[]): {
4658
4880
  };
4659
4881
  interface OwnedJob {
4660
4882
  id: number;
4661
- workshop: number;
4883
+ building: number;
4662
4884
  socket: number;
4663
4885
  shipId: number;
4664
4886
  coords: {
@@ -4670,8 +4892,8 @@ interface OwnedJob {
4670
4892
  recipeId: number;
4671
4893
  quantity: number;
4672
4894
  status: JobStatus;
4673
- output: CargoItem$3 | null;
4674
- inputs: CargoItem$3[];
4895
+ output: CargoItem$4 | null;
4896
+ inputs: CargoItem$4[];
4675
4897
  /** Packed stat roll of `output`, so every job shape answers this the same way. */
4676
4898
  outputStats?: bigint;
4677
4899
  }
@@ -4686,18 +4908,17 @@ declare class JobsManager extends BaseManager {
4686
4908
  declare const INFLUENCE_ATOMIC_PER_POINT = 10000;
4687
4909
  declare const NEED_FP_SCALE = 10000;
4688
4910
  declare const WEIGHT_FP_SCALE = 10000;
4689
- declare const MASS_KG_PER_TONNE = 1000;
4690
4911
  declare const INFLUENCE_WEIGHT_FP_MAX = 1000000n;
4691
4912
  declare const INFLUENCE_NEED_FP_MAX = 1000000n;
4692
- declare const INFLUENCE_MASS_KG_MAX: bigint;
4913
+ declare const INFLUENCE_MASS_MAX: bigint;
4693
4914
  declare const DECAY_RETAIN_NUM = 19n;
4694
4915
  declare const DECAY_RETAIN_DEN = 20n;
4695
4916
  declare const DECAY_MAX_ITERATIONS = 1024;
4696
- declare const W_EFF_ATOMIC_PER_KG: bigint;
4917
+ declare const W_EFF_ATOMIC_PER_UNIT: bigint;
4697
4918
  declare const DECOMP_MAX_BUCKETS = 12;
4698
4919
  declare const DECOMP_MAX_DEPTH = 8;
4699
- declare const DECOMP_RAW_KG_MAX = 100000000;
4700
- declare const DECOMP_PROCESSED_KG_MAX = 100000000;
4920
+ declare const DECOMP_RAW_MASS_MAX = 1000000;
4921
+ declare const DECOMP_PROCESSED_MASS_MAX = 1000000;
4701
4922
  declare const RESOURCE_ORE = 0;
4702
4923
  declare const RESOURCE_GAS = 1;
4703
4924
  declare const RESOURCE_REGOLITH = 2;
@@ -4715,13 +4936,31 @@ declare const BAR_STEP_UNIT = 20;
4715
4936
  declare const BAR_STEP_UP: number;
4716
4937
  declare const BAR_STEP_DOWN = 20;
4717
4938
  declare const CHARTER_NONE = 0;
4718
- declare const CHARTER_WORKSHOP = 1;
4719
- declare const CHARTER_EFFECT_SPAWN_ENTITY = 1;
4720
- declare const CHARTER_EFFECT_REFIT_MODULES = 2;
4939
+ declare const CHARTER_WORKSHOP = 10001;
4940
+ declare const CIVIC_GRANT_NONE = 0;
4941
+ declare const CIVIC_GRANT_MODULE = 1;
4942
+ declare const CIVIC_GRANT_RUNG = 2;
4943
+ declare const CIVIC_GRANT_LEVEL_GATE = 3;
4944
+ declare const CIVIC_GRANT_ADVANCEMENT = 4;
4945
+ declare const CIVIC_WORLD = 0;
4946
+ declare const CIVIC_WORKSHOP = 1;
4947
+ declare const CIVIC_NEXUS = 2;
4948
+ declare const CIVIC_DOCK = 3;
4949
+ declare const CIVIC_DEPOT = 4;
4950
+ declare const CIVIC_STAT_NONE = 0;
4951
+ declare const CIVIC_STAT_CRAFT_SPEED = 1;
4952
+ declare const CIVIC_STAT_BUILD_SPEED = 2;
4953
+ declare const CIVIC_STAT_TRANSFER_SPEED = 3;
4954
+ declare const CIVIC_STAT_STORAGE_CAPACITY = 4;
4721
4955
  declare const VOTE_READY_DEFAULT_MAX = 20;
4956
+ declare const BALLOT_CHARTER = 1;
4957
+ declare const BALLOT_MAX_PICKS = 8;
4722
4958
  declare const CHARTER_WORKSHOP_COST = 2000000000n;
4723
- declare const CHARTER_BASELINE_STAT = 213;
4959
+ declare const CHARTER_BASELINE_STAT = 200;
4960
+ declare const CHARTER_RUNG_STEP = 50;
4961
+ declare const CIVIC_SPEED_CAP = 999;
4724
4962
  declare const CHARTER_MAX_PREREQS = 4;
4963
+ declare const CHARTER_MAX_GRANTS = 4;
4725
4964
  declare const INFLUENCE_D1_SEED = 45369;
4726
4965
  declare const DEMAND_TRIPLE_SEED: {
4727
4966
  peak: bigint;
@@ -4750,11 +4989,11 @@ declare function qualityFactor(packedStats: bigint, nStats: number, d1: number):
4750
4989
  interface DecompBucket {
4751
4990
  category: number;
4752
4991
  tier: number;
4753
- rawKg: number;
4992
+ rawMass: number;
4754
4993
  }
4755
4994
  interface DecompEntry {
4756
4995
  itemId: number;
4757
- processedKg: number;
4996
+ processedMass: number;
4758
4997
  buckets: DecompBucket[];
4759
4998
  }
4760
4999
  declare const DECOMP_REGISTRY: DecompEntry[];
@@ -4797,10 +5036,10 @@ interface ValuedItem {
4797
5036
  quantity: number;
4798
5037
  stats: bigint;
4799
5038
  }
4800
- declare function weightedQualityAtomic(weightedKgFp: bigint, sumSq: number, nStats: number, d1: number, needFp: bigint): bigint;
4801
- declare function resourceValueAtomic(massKg: bigint, weightFp: bigint, sumSq: number, nStats: number, d1: number, needFp: bigint): bigint;
4802
- declare function componentBaseAtomic(weightedRawKgFp: bigint, sumSq: number, nStats: number, d1: number): bigint;
4803
- declare function componentEffortAtomic(processedKgPerUnit: number, quantity: number): bigint;
5039
+ declare function weightedQualityAtomic(weightedMassFp: bigint, sumSq: number, nStats: number, d1: number, needFp: bigint): bigint;
5040
+ declare function resourceValueAtomic(mass: bigint, weightFp: bigint, sumSq: number, nStats: number, d1: number, needFp: bigint): bigint;
5041
+ declare function componentBaseAtomic(weightedRawMassFp: bigint, sumSq: number, nStats: number, d1: number): bigint;
5042
+ declare function componentEffortAtomic(processedMassPerUnit: number, quantity: number): bigint;
4804
5043
  declare function valueCargoItem(item: ValuedItem, demand: DemandView, pricing: InfluencePricing): bigint;
4805
5044
  declare function valueContribution(bundle: ValuedItem[], demand: DemandView, pricing: InfluencePricing): bigint;
4806
5045
  declare function pricingFromWeights(d1: number, weights: Iterable<{
@@ -4814,60 +5053,193 @@ interface CivicLoaderStats {
4814
5053
  mass: number;
4815
5054
  }
4816
5055
  declare function civicLoader(): CivicLoaderStats;
4817
- declare function contributeDuration(totalMassKg: number, altitudeZ?: number): number;
5056
+ declare function contributeDuration(totalMass: number, altitudeZ?: number): number;
4818
5057
  declare function contributeDurationForTonnes(tonnes: number, altitudeZ?: number): number;
5058
+ declare const DEPOT_LOADER_SLOT = 0;
5059
+ interface DepotTransferParams {
5060
+ depotModules: Types$1.module_entry[];
5061
+ depotItemId: number;
5062
+ depotKind: NameType;
5063
+ depotZ: number;
5064
+ shipKind: NameType;
5065
+ shipZ: number;
5066
+ cargoMass: number;
5067
+ }
5068
+ declare function depotTransferDuration(params: DepotTransferParams): number;
5069
+
5070
+ type CargoItem$3 = Types$1.cargo_item;
5071
+ type Lane$1 = Types$1.lane;
5072
+ type ModuleEntry$5 = Types$1.module_entry;
5073
+ declare const CIVIC_TRANSFER_PER_PLAYER_CAP = 4;
5074
+ interface CivicShuttleBay {
5075
+ laneKey: number;
5076
+ slotIndex: number;
5077
+ thrust: number;
5078
+ mass: number;
5079
+ outputPct: number;
5080
+ queued: number;
5081
+ full: boolean;
5082
+ }
5083
+ declare function civicShuttleBays(modules: ModuleEntry$5[], entityItemId: number, lanes: Lane$1[]): CivicShuttleBay[];
5084
+ declare function selectCivicShuttleBay(modules: ModuleEntry$5[], entityItemId: number, lanes: Lane$1[]): CivicShuttleBay | undefined;
5085
+ interface PendingCivicTransfer {
5086
+ laneKey: number;
5087
+ taskIndex: number;
5088
+ senderId: UInt64;
5089
+ receiverId: UInt64;
5090
+ cargo: CargoItem$3[];
5091
+ startsAt: Date;
5092
+ completesAt: Date;
5093
+ isTail: boolean;
5094
+ callable: boolean;
5095
+ }
5096
+ declare function pendingCivicTransfers(entity: ScheduleData): PendingCivicTransfer[];
5097
+ declare function civicTransfersFrom(entity: ScheduleData, senderIds: Array<UInt64 | string | number>): PendingCivicTransfer[];
5098
+ declare function civicTransfersAtCap(entity: ScheduleData, senderIds: Array<UInt64 | string | number>): boolean;
4819
5099
 
4820
5100
  declare function citizenryName(gameSeed: Checksum256Type, coordinates: CoordinatesType): string | undefined;
4821
5101
  declare function citizenryPatternCount(): number;
4822
5102
 
4823
- interface CharterEffect {
5103
+ interface CharterGrant {
4824
5104
  kind: number;
4825
- itemId: number;
4826
- targetItemId: number;
4827
- slotMask: number;
5105
+ building: number;
4828
5106
  stat: number;
5107
+ value: number;
4829
5108
  }
4830
5109
  interface CharterNode {
4831
5110
  nodeId: number;
4832
5111
  cost: bigint;
4833
5112
  prereqs: number[];
4834
- effect: CharterEffect;
5113
+ grants: CharterGrant[];
5114
+ exclusionGroup: number;
5115
+ repeatCap: number;
4835
5116
  }
4836
5117
  declare const CHARTER_REGISTRY: CharterNode[];
4837
5118
  declare function charterNode(nodeId: number): CharterNode | undefined;
4838
- type CharterIneligibility = 'already-taken' | 'prereq-missing' | 'refit-target-missing';
5119
+ type CharterIneligibility = 'already-taken' | 'prereq-missing';
4839
5120
  declare const CHARTER_INELIGIBILITY_MESSAGES: Record<CharterIneligibility, string>;
4840
5121
  interface BuiltCharter {
4841
5122
  nodeId: number;
4842
- entityId: bigint;
5123
+ repeats: number;
4843
5124
  }
4844
5125
  interface CharterWorld {
4845
5126
  built: BuiltCharter[];
4846
- entityExists?: (entityId: bigint) => boolean;
4847
5127
  }
4848
- interface ChosenCharter {
4849
- chosen: number;
4850
- chosenEpoch: number;
5128
+ interface WorldBuilding {
5129
+ entityId: bigint;
5130
+ building: number;
4851
5131
  }
4852
- declare function charterSpawnNodeFor(targetItemId: number): CharterNode | undefined;
5132
+ declare function charterGateNodeFor(building: number, level?: number): CharterNode | undefined;
5133
+ declare function charterBuildingEntity(buildings: WorldBuilding[], building: number): bigint;
5134
+ declare function charterRungValue(world: CharterWorld, building: number, stat: number): number;
5135
+ declare function charterModuleCount(world: CharterWorld, building: number): number;
4853
5136
  declare function charterPrereqsMet(world: CharterWorld, node: CharterNode): boolean;
4854
- declare function charterEffectTargetEntity(world: CharterWorld, node: CharterNode): bigint;
4855
- declare function charterEffectTargetPresent(world: CharterWorld, node: CharterNode): boolean;
4856
5137
  declare function charterIneligible(world: CharterWorld, node: CharterNode): CharterIneligibility | undefined;
4857
5138
  declare function charterEligible(world: CharterWorld, node: CharterNode): boolean;
4858
5139
  declare function eligibleCharters(world: CharterWorld): CharterNode[];
4859
5140
  declare function charterSingletonMandate(world: CharterWorld): number;
4860
- declare function effectiveMandate(stored: ChosenCharter, world: CharterWorld, epoch: number): number;
5141
+ declare function charterEligibleChained(world: CharterWorld, node: CharterNode, seated: number[]): boolean;
5142
+
5143
+ interface BallotVoter {
5144
+ account: string;
5145
+ weight: bigint;
5146
+ picks: number[];
5147
+ }
5148
+ /** Projects a full settlement from scratch; it does not resume an in-flight partial round. */
5149
+ interface BallotInput {
5150
+ world: CharterWorld;
5151
+ seats: number;
5152
+ voters: BallotVoter[];
5153
+ picks?: number[];
5154
+ }
5155
+ interface ProjectedSeat {
5156
+ nodeId: number;
5157
+ weight: bigint;
5158
+ }
5159
+ interface ProjectedOption {
5160
+ nodeId: number;
5161
+ cost: bigint;
5162
+ seat: number;
5163
+ weight: bigint;
5164
+ rank: number;
5165
+ }
5166
+ interface BallotProjection {
5167
+ seats: ProjectedSeat[];
5168
+ options: ProjectedOption[];
5169
+ }
5170
+ declare function projectBallot(input: BallotInput): BallotProjection;
5171
+
5172
+ declare function civicBuildingLabel(building: number): string;
5173
+ declare function civicStatLabel(stat: number): string;
5174
+ interface CharterMeta {
5175
+ name: string;
5176
+ summary: string;
5177
+ }
5178
+ declare const charterMetadata: Record<number, CharterMeta>;
5179
+ declare function charterName(nodeId: number): string;
5180
+ declare function charterSummary(nodeId: number): string;
5181
+ interface CharterGateSignature {
5182
+ kind: 'gate';
5183
+ buildingLabel: string;
5184
+ level: number;
5185
+ }
5186
+ interface CharterModuleSignature {
5187
+ kind: 'module';
5188
+ buildingLabel: string;
5189
+ count: number;
5190
+ rank: number;
5191
+ rankCount: number;
5192
+ }
5193
+ interface CharterRungSignature {
5194
+ kind: 'rung';
5195
+ buildingLabel: string;
5196
+ statLabel: string;
5197
+ rank: number;
5198
+ rankCount: number;
5199
+ }
5200
+ type CharterSignature = CharterGateSignature | CharterModuleSignature | CharterRungSignature;
5201
+ declare function romanNumeral(rank: number): string;
5202
+ declare function charterSignature(node: CharterNode): CharterSignature | undefined;
5203
+
5204
+ type ModuleEntry$4 = Types$1.module_entry;
5205
+ interface CivicStatDef {
5206
+ building: number;
5207
+ stat: number;
5208
+ base: number;
5209
+ cap: number;
5210
+ }
5211
+ declare const CIVIC_STAT_DEFS: readonly CivicStatDef[];
5212
+ declare function findCivicStatDef(building: number, stat: number): CivicStatDef | undefined;
5213
+ declare function civicHullItem(building: number): number;
5214
+ declare function civicModuleItemFor(moduleType: number): number;
5215
+ declare function civicStatModuleType(stat: number): number;
5216
+ declare function civicBuildingKind(building: number): Name | undefined;
5217
+ declare function civicBuildingFor(kind: NameType): number | undefined;
5218
+ declare function isCivicKind(kind: NameType): boolean;
5219
+ declare function isCivicEntity(entity: {
5220
+ owner: NameType;
5221
+ }, civicOwner: NameType): boolean;
5222
+ declare function emptyCivicModules(building: number): ModuleEntry$4[];
5223
+ declare function fitCivicModules(modules: ModuleEntry$4[], count: number): ModuleEntry$4[];
5224
+ declare function raiseCivicStat(modules: ModuleEntry$4[], grant: CharterGrant): ModuleEntry$4[];
5225
+ interface CivicBuildingPreview {
5226
+ building: number;
5227
+ itemId: number;
5228
+ spawned: boolean;
5229
+ modules: ModuleEntry$4[];
5230
+ }
5231
+ type CivicStanding = Partial<Record<number, ModuleEntry$4[]>>;
5232
+ declare function previewCharterGrants(node: CharterNode, standing?: CivicStanding): CivicBuildingPreview[];
4861
5233
 
4862
5234
  interface InfluenceStanding {
4863
5235
  epoch: number;
4864
- playerLifetime: bigint;
4865
- playerActive: bigint;
4866
5236
  standingLifetime: bigint;
4867
5237
  standingActive: bigint;
5238
+ citizenshipLifetime: bigint;
5239
+ citizenshipActive: bigint;
4868
5240
  locationLifetime: bigint;
4869
5241
  locationActive: bigint;
4870
- watermark: bigint;
5242
+ spent: bigint;
4871
5243
  mandate: number;
4872
5244
  founder: Name;
4873
5245
  founded: number;
@@ -4875,30 +5247,34 @@ interface InfluenceStanding {
4875
5247
  interface CharterProgress {
4876
5248
  locationId: bigint;
4877
5249
  lifetime: bigint;
4878
- watermark: bigint;
4879
- surplus: bigint;
5250
+ spent: bigint;
5251
+ unassigned: bigint;
4880
5252
  mandate: number;
4881
5253
  nextCost: bigint;
4882
5254
  prereqsMet: boolean;
4883
5255
  buildable: boolean;
4884
5256
  epoch: number;
4885
- built: {
4886
- nodeId: number;
4887
- completedEpoch: number;
4888
- entityId: bigint;
4889
- }[];
5257
+ built: BuiltCharter[];
5258
+ ballotId: bigint;
5259
+ settling: boolean;
5260
+ queue: QueuedSeat[];
5261
+ progress: NodeProgress[];
5262
+ }
5263
+ interface NodeProgress {
5264
+ nodeId: number;
5265
+ amount: bigint;
4890
5266
  }
4891
5267
  interface ContributePreviewRow {
4892
5268
  itemId: number;
4893
5269
  quantity: number;
4894
5270
  stats: bigint;
4895
5271
  valueAtomic: bigint;
4896
- massKg: number;
5272
+ mass: number;
4897
5273
  }
4898
5274
  interface ContributePreview {
4899
5275
  rows: ContributePreviewRow[];
4900
5276
  totalAtomic: bigint;
4901
- totalMassKg: number;
5277
+ totalMass: number;
4902
5278
  durationSeconds: number;
4903
5279
  demand: DemandView;
4904
5280
  }
@@ -4908,9 +5284,8 @@ interface FoundedWorld {
4908
5284
  y: number;
4909
5285
  lifetime: bigint;
4910
5286
  active: bigint;
4911
- watermark: bigint;
4912
- chosen: number;
4913
- chosenEpoch: number;
5287
+ spent: bigint;
5288
+ ballotId: bigint;
4914
5289
  mandate: number | undefined;
4915
5290
  founder: Name;
4916
5291
  founded: number;
@@ -4923,30 +5298,39 @@ interface FoundedWorldRef {
4923
5298
  interface VoteOption {
4924
5299
  nodeId: number;
4925
5300
  cost: bigint;
4926
- eligible: boolean;
4927
- total: bigint | undefined;
5301
+ seat: number;
5302
+ weight: bigint;
5303
+ rank: number;
4928
5304
  }
4929
5305
  interface VoteStandings {
4930
5306
  locationId: bigint;
5307
+ ballotId: bigint;
4931
5308
  epoch: number;
4932
- chosen: number;
4933
- chosenEpoch: number;
4934
- mandate: number;
4935
- ballotEpoch: number | undefined;
4936
- talliesSuppressed: boolean;
5309
+ settledEpoch: number;
5310
+ seats: number;
5311
+ settling: boolean;
5312
+ queue: number[];
4937
5313
  options: VoteOption[];
5314
+ picks: number[];
4938
5315
  }
4939
- interface VoteCast {
5316
+ interface BallotVote {
4940
5317
  account: Name;
4941
- epoch: number;
4942
- nodeId: number;
4943
- weight: bigint;
5318
+ picks: number[];
4944
5319
  }
4945
- interface PendingBallot {
4946
- locationId: bigint;
4947
- x: number;
4948
- y: number;
4949
- epoch: number;
5320
+ interface Ballot {
5321
+ ballotId: bigint;
5322
+ kind: number;
5323
+ subject: bigint;
5324
+ seats: number;
5325
+ settledEpoch: number;
5326
+ queue: number[];
5327
+ settling: boolean;
5328
+ }
5329
+ interface QueuedSeat {
5330
+ nodeId: number;
5331
+ cost: bigint;
5332
+ progress: bigint;
5333
+ gap: bigint;
4950
5334
  }
4951
5335
  declare class InfluenceManager extends BaseManager {
4952
5336
  getStanding(owner: NameType, location: CoordinatesType): Promise<InfluenceStanding>;
@@ -4954,6 +5338,10 @@ declare class InfluenceManager extends BaseManager {
4954
5338
  getQualityDivisor(): Promise<number>;
4955
5339
  getWeights(): Promise<Types$1.infweight_row[]>;
4956
5340
  getDemand(location: CoordinatesType): Promise<DemandView>;
5341
+ getCivicOwner(): Promise<Name>;
5342
+ isCivic(entity: {
5343
+ owner: NameType;
5344
+ }): Promise<boolean>;
4957
5345
  getCitizenryName(location: CoordinatesType): Promise<string | undefined>;
4958
5346
  previewContribution(location: CoordinatesType, bundle: ValuedItem[], opts?: {
4959
5347
  altitudeZ?: number;
@@ -4965,14 +5353,12 @@ declare class InfluenceManager extends BaseManager {
4965
5353
  getMintReady(): Promise<number>;
4966
5354
  getVoteReady(): Promise<number>;
4967
5355
  getCharterReady(): Promise<FoundedWorldRef[]>;
4968
- getVotes(location: CoordinatesType): Promise<VoteStandings>;
4969
- getVoteCasts(location: CoordinatesType): Promise<VoteCast[]>;
4970
- getVoteTallies(location: CoordinatesType): Promise<{
4971
- nodeId: number;
4972
- total: bigint;
4973
- }[]>;
5356
+ getVotes(location: CoordinatesType, player?: NameType): Promise<VoteStandings>;
5357
+ getBallotId(location: CoordinatesType): Promise<bigint | undefined>;
5358
+ getBallot(ballotId: bigint): Promise<Ballot | undefined>;
5359
+ getBallotVotes(ballotId: bigint): Promise<BallotVote[]>;
4974
5360
  getBuiltCharters(location: CoordinatesType): Promise<BuiltCharter[]>;
4975
- getBallotQueue(): Promise<PendingBallot[]>;
5361
+ getBuildings(location: CoordinatesType): Promise<WorldBuilding[]>;
4976
5362
  getFoundedWorlds(opts?: {
4977
5363
  withMandate?: boolean;
4978
5364
  }): Promise<FoundedWorld[]>;
@@ -5205,6 +5591,7 @@ declare class GameContext {
5205
5591
  readonly server: Contract$4;
5206
5592
  readonly platform: Contract$4;
5207
5593
  readonly atomicAssetsAccount: string;
5594
+ readonly fund: Contract$4;
5208
5595
  private _entities?;
5209
5596
  private _players?;
5210
5597
  private _locations?;
@@ -5220,7 +5607,7 @@ declare class GameContext {
5220
5607
  private _subscriptionsUrl?;
5221
5608
  private _gameCache?;
5222
5609
  private _stateCache?;
5223
- constructor(client: APIClient, server: Contract$4, platform: Contract$4, atomicAssetsAccount?: string);
5610
+ constructor(client: APIClient, server: Contract$4, platform: Contract$4, atomicAssetsAccount?: string, fund?: Contract$4);
5224
5611
  get entities(): EntitiesManager;
5225
5612
  get players(): PlayersManager;
5226
5613
  get locations(): LocationsManager;
@@ -5246,6 +5633,7 @@ declare abstract class BaseManager {
5246
5633
  protected get client(): _wharfkit_antelope.APIClient;
5247
5634
  protected get server(): _wharfkit_contract.Contract;
5248
5635
  protected get platform(): _wharfkit_contract.Contract;
5636
+ protected get fund(): _wharfkit_contract.Contract;
5249
5637
  protected get atomicAssetsAccount(): string;
5250
5638
  protected getGame(): Promise<Types$2.game_row>;
5251
5639
  protected getState(reload?: boolean): Promise<GameState>;
@@ -5264,6 +5652,7 @@ declare class EntitiesManager extends BaseManager {
5264
5652
  interface ShiploadOptions {
5265
5653
  platformContractName?: string;
5266
5654
  serverContractName?: string;
5655
+ fundContractName?: string;
5267
5656
  client?: APIClient;
5268
5657
  subscriptionsUrl?: string;
5269
5658
  atomicAssetsAccount?: string;
@@ -5271,6 +5660,7 @@ interface ShiploadOptions {
5271
5660
  interface ShiploadConstructorOptions extends ShiploadOptions {
5272
5661
  platformContract?: Contract$4;
5273
5662
  serverContract?: Contract$4;
5663
+ fundContract?: Contract$4;
5274
5664
  }
5275
5665
  declare class Shipload {
5276
5666
  private readonly _context;
@@ -5280,6 +5670,7 @@ declare class Shipload {
5280
5670
  get atomicAssetsAccount(): string;
5281
5671
  get server(): Contract$4;
5282
5672
  get platform(): Contract$4;
5673
+ get fund(): Contract$4;
5283
5674
  get entities(): EntitiesManager;
5284
5675
  get players(): PlayersManager;
5285
5676
  get locations(): LocationsManager;
@@ -5434,6 +5825,7 @@ declare class ConstructionManager extends BaseManager {
5434
5825
 
5435
5826
  declare const itemIds: number[];
5436
5827
  declare function getItem(itemId: UInt16Type): Item;
5828
+ declare function tryGetItem(itemId: UInt16Type): Item | undefined;
5437
5829
  declare function getItems(): Item[];
5438
5830
  declare function getResources(opts?: {
5439
5831
  category?: ResourceCategory;
@@ -5646,14 +6038,19 @@ declare function sdkSystemGraph(seed: Checksum256Type, scan: ScanProvider): Syst
5646
6038
 
5647
6039
  interface ReachStats {
5648
6040
  generator?: {
5649
- capacity: bigint;
6041
+ capacity: bigint | number;
5650
6042
  };
5651
6043
  engines?: {
5652
- drain: bigint;
6044
+ drain: bigint | number;
5653
6045
  };
6046
+ energy?: bigint | number;
6047
+ hasMovement?: boolean;
6048
+ }
6049
+ interface ComputePerLegReachOptions {
6050
+ basis?: 'capacity' | 'current';
5654
6051
  }
5655
- declare function computePerLegReach(s: ReachStats): number;
5656
- declare function computeGroupPerLegReach(participants: ReachStats[]): number;
6052
+ declare function computePerLegReach(s: ReachStats, opts?: ComputePerLegReachOptions): number;
6053
+ declare function computeGroupPerLegReach(participants: ReachStats[], opts?: ComputePerLegReachOptions): number;
5657
6054
 
5658
6055
  interface RouteMoverInput {
5659
6056
  ref: {
@@ -5708,6 +6105,18 @@ declare function simulateRoute(movers: RouteMoverInput[], waypoints: {
5708
6105
  y: number;
5709
6106
  }, recharge: boolean): RouteSim;
5710
6107
 
6108
+ declare function planRouteWithRetry(input: {
6109
+ origin: Coord;
6110
+ dest: Coord;
6111
+ perLegReach: number;
6112
+ graph: SystemGraph;
6113
+ maxLegs?: number;
6114
+ legCost?: RouteLegCost;
6115
+ heuristicCost?: RouteHeuristicCost;
6116
+ }): RouteResult;
6117
+ declare function contractRouteLegCost(movers: readonly RouteMoverInput[]): RouteLegCost;
6118
+ declare function contractRouteHeuristic(movers: readonly RouteMoverInput[]): RouteHeuristicCost;
6119
+
5711
6120
  type ModuleEntry$3 = Types$1.module_entry;
5712
6121
  type Lane = Types$1.lane;
5713
6122
  type Schedule = Types$1.schedule;
@@ -5854,7 +6263,15 @@ interface TaskCargoChange {
5854
6263
  modules: Types$1.module_entry[];
5855
6264
  quantity: number;
5856
6265
  }
6266
+ type TaskCargoResult = {
6267
+ known: true;
6268
+ changes: TaskCargoChange[];
6269
+ } | {
6270
+ known: false;
6271
+ taskType: number;
6272
+ };
5857
6273
  declare function taskCargoChanges(task: Types$1.task): TaskCargoChange[];
6274
+ declare function taskCargoChangesChecked(task: Types$1.task): TaskCargoResult;
5858
6275
 
5859
6276
  type EntityInfo$1 = Types$1.entity_info;
5860
6277
  type CounterpartLookup = (entityId: UInt64) => EntityInfo$1 | undefined;
@@ -5888,6 +6305,13 @@ interface IncomingSource {
5888
6305
  declare function hasSourceCoupling(task: Task): boolean;
5889
6306
  declare function hasIncomingCoupling(task: Task): boolean;
5890
6307
  declare function calcCounterpartDelivery(task: Task, coupling: Coupling): CargoItem$2[];
6308
+ interface IncomingHoldEntity extends ScheduleData {
6309
+ id: {
6310
+ toString(): string;
6311
+ };
6312
+ holds?: Types$1.hold[];
6313
+ }
6314
+ declare function incomingSources(entity: IncomingHoldEntity, findCounterpart: (entityId: string) => ScheduleData | undefined, excludedHoldIds?: readonly string[]): IncomingSource[];
5891
6315
  declare function taskCargoEffect(task: Task): CargoEffect;
5892
6316
  declare function cargoKey(item: CargoItem$2): string;
5893
6317
  declare function cargoInputKey(input: CargoInput): string;
@@ -6015,10 +6439,11 @@ interface CrafterCapability {
6015
6439
  }
6016
6440
  declare function capsHasCrafter(caps: EntityCapabilities): boolean;
6017
6441
  declare function calc_craft_duration(speed: number, totalInputMass: number): UInt32;
6018
- declare const INTAKE_RATE = 36000;
6442
+ declare const INTAKE_RATE = 360;
6019
6443
  declare function calcClusterIntake(sourcedMass: number): number;
6020
6444
  declare function calcClustercraftDuration(speed: number, totalInputMass: number, sourcedMass: number): UInt32;
6021
6445
  declare function calc_craft_energy(drain: number, totalInputMass: number): UInt32;
6446
+ declare function craftEnergyCost(lane: Types$1.crafter_lane, recipe: Recipe, units: number): number;
6022
6447
  declare function calc_build_duration(speed: number, totalInputMass: number): UInt32;
6023
6448
  declare function calc_build_energy(drain: number, totalInputMass: number): UInt32;
6024
6449
 
@@ -6206,7 +6631,7 @@ declare function filterByBuildMethod<T extends {
6206
6631
  declare function allBuildableItems(): Item[];
6207
6632
  declare function allPlotBuildableItems(): Item[];
6208
6633
 
6209
- declare const DEFAULT_BASE_HULLMASS = 100000;
6634
+ declare const DEFAULT_BASE_HULLMASS = 1000;
6210
6635
  declare function getBaseHullmassFor(itemId: number): number;
6211
6636
  declare function computeShipHullCapabilities(stats: Record<string, number>, itemId?: number): {
6212
6637
  hullmass: number;
@@ -6527,7 +6952,7 @@ declare function deserializeEntity(data: Record<string, any>, itemId: number): N
6527
6952
  declare function deserializeAsset(data: Record<string, any>, itemId: number): NFTCargoItem;
6528
6953
 
6529
6954
  declare function toWholeEnergy(milli: number): number;
6530
- declare function formatMassTonnes(kg: number): string;
6955
+ declare function formatMassTonnes(mass: number): string;
6531
6956
  declare function computeBaseHullmass(itemId: number, stats: bigint): number;
6532
6957
  declare function computeBaseCapacityShip(stats: bigint): number;
6533
6958
  declare function computeBaseCapacityContainer(stats: bigint): number;
@@ -6799,13 +7224,13 @@ declare const MODULE_STAT_SCALING_ANCHOR = 213;
6799
7224
  declare const MODULE_STAT_SCALING_POST_ANCHOR_PERCENT = 40;
6800
7225
  declare function computeEffectiveModuleStat(stat: number): number;
6801
7226
 
6802
- declare function formatMass(kg: number): string;
6803
- declare function formatMassDelta(kg: number): string;
7227
+ declare function formatMass(mass: number): string;
7228
+ declare function formatMassDelta(mass: number): string;
6804
7229
  declare function formatLocation(loc: {
6805
7230
  x: number;
6806
7231
  y: number;
6807
7232
  }): string;
6808
- declare function formatMassScaled(kg: number): string;
7233
+ declare function formatMassScaled(mass: number): string;
6809
7234
  declare function formatInfluence(atomic: bigint | number | string): string;
6810
7235
  declare function formatNeedMultiplier(needFp: bigint | number | string): string;
6811
7236
 
@@ -6824,7 +7249,7 @@ declare function displayName(item: DisplayNameInput): string;
6824
7249
  interface DescribeOptions {
6825
7250
  translate?: (key: string) => string;
6826
7251
  formatNumber?: (n: number) => string;
6827
- formatMass?: (kg: number) => string;
7252
+ formatMass?: (mass: number) => string;
6828
7253
  }
6829
7254
  declare function describeItem(resolved: ResolvedItem, opts?: DescribeOptions): string;
6830
7255
 
@@ -6877,6 +7302,7 @@ declare function parseWireEntity(raw: WireEntity): Types$1.entity_info;
6877
7302
  declare function setSubscriptionsDebug(on: boolean): void;
6878
7303
  declare function isSubscriptionsDebugEnabled(): boolean;
6879
7304
 
7305
+ type GatherLane = Types$1.gatherer_lane;
6880
7306
  interface LanePlanEntry {
6881
7307
  slot: number;
6882
7308
  quantity: number;
@@ -6926,8 +7352,47 @@ declare function gatherEnergyCost(lane: Types$1.gatherer_lane, quantity: number,
6926
7352
  declare function splitCost(reaching: Types$1.gatherer_lane[], quantity: number, stratum: number, itemMass: number, richness: number): number;
6927
7353
  declare function maxQtyForCharge(reaching: Types$1.gatherer_lane[], hi: number, capacity: number, stratum: number, itemMass: number, richness: number): number;
6928
7354
  declare function buildGatherPlan(entity: GatherPlanEntity, stratum: number, target: PlanTarget, opts: BuildGatherPlanOpts): GatherPlan;
7355
+ interface SingleGatherPlan {
7356
+ laneKey: number;
7357
+ quantity: number;
7358
+ energyCost: number;
7359
+ needsRecharge: boolean;
7360
+ }
7361
+ interface SingleGatherInput {
7362
+ modules: Types$1.module_entry[];
7363
+ entityItemId: number;
7364
+ lanes: Types$1.lane[];
7365
+ gathererLanes: GatherLane[];
7366
+ stratum: number;
7367
+ desiredQuantity: number;
7368
+ itemMass: number;
7369
+ richness: number;
7370
+ generatorCapacity: number;
7371
+ currentEnergy: number;
7372
+ }
7373
+ declare function planSingleGather(opts: SingleGatherInput): SingleGatherPlan;
6929
7374
  declare function planParallelTransfer(entity: GatherPlanEntity, target: PlanTarget): LanePlanEntry[];
6930
7375
 
7376
+ interface GathererLaneSource {
7377
+ gathererLanes?: ComputedCapabilities['gathererLanes'];
7378
+ gatherer?: ComputedCapabilities['gatherer'];
7379
+ }
7380
+ declare function hydrateEntityLanes(caps: GathererLaneSource): GatherLane[];
7381
+ interface RouteMoverRow {
7382
+ id: UInt64Type;
7383
+ energy?: UInt32Type | number;
7384
+ cargomass?: UInt32Type | number;
7385
+ }
7386
+ type RouteMoverCaps = Pick<ComputedCapabilities, 'hullmass' | 'engines' | 'generator' | 'hauler' | 'loaderLanes'>;
7387
+ interface RouteMoverOpts {
7388
+ entityType?: string;
7389
+ hasMovement?: boolean;
7390
+ priorMobilityEnd?: number;
7391
+ narrowBarrierEnd?: number;
7392
+ allLanesEnd?: number;
7393
+ }
7394
+ declare function entityToRouteMover(row: RouteMoverRow, caps: RouteMoverCaps, opts?: RouteMoverOpts): RouteMoverInput;
7395
+
6931
7396
  type Ship = Entity$1;
6932
7397
  type Warehouse = Entity$1;
6933
7398
  type Container = Entity$1;
@@ -6945,4 +7410,4 @@ type entity_row = Types$1.entity_row;
6945
7410
  type location_static = Types$1.location_static;
6946
7411
  type location_derived = Types$1.location_derived;
6947
7412
 
6948
- export { ALL_ENTITY_TYPES, ATOMICASSETS_ACCOUNT, AckMessage, ActionsManager, AnyEntity, AtomicAssetRow, AtomicAttributeType, AtomicSchemaRow, BAR_SEED, BAR_STEP_DOWN, BAR_STEP_UNIT, BAR_STEP_UP, BASE_HAUL_PENALTY_MILLI, BASE_ORBITAL_MASS, BLEND_INPUTS_MUST_MATCH, BLEND_REQUIRES_MULTIPLE, BLEND_STAT_LESS_NOT_SUPPORTED, BalancesManager, BoundingBox, BoundsDeltaMessage, BoundsSubscriptionHandle, BroadEntitySubscriptionFilter, BuildGatherPlanOpts, BuildMethod, BuildState, BuildableTarget, BuilderStats, BuiltCharter, CANCEL_CONTAINS_GROUPED_TASK, CAPACITY_TIER_TABLE, CAP_DEMOLISH, CAP_MODULES, CAP_UNDEPLOY, CAP_WRAP, CATEGORY_LABELS, CHARTER_BASELINE_STAT, CHARTER_EFFECT_REFIT_MODULES, CHARTER_EFFECT_SPAWN_ENTITY, CHARTER_INELIGIBILITY_MESSAGES, CHARTER_MAX_PREREQS, CHARTER_NONE, CHARTER_REGISTRY, CHARTER_WORKSHOP, CHARTER_WORKSHOP_COST, CIVIC_LOADER_STAT, CIVIC_LOADER_TIER, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, COMPONENT_TIER_PREFIXES, CONTAINER_NOT_FOUND, CONTAINER_Z, COORD_MAX, COORD_MIN, COORD_OFFSET, CRAFT_ENERGY_DIVISOR, CRAFT_EXCEEDS_ENERGY_CAPACITY, CRAFT_NOT_ENOUGH_ENERGY, CancelBlockReason, CancelEffects, CancelEligibilityInput, CancelPlan, CancelRefund, CancelReleasedHold, CapabilityAttribute, CapabilityAttributeRow, CapabilityInput, CargoData, CargoInput, CargoMassInfo, CargoStack, CategoryInfo, CategoryStacks, CharterEffect, CharterIneligibility, CharterNode, CharterProgress, CharterWorld, ChosenCharter, CivicLoaderStats, ClientMessage, Cluster, ClusterCell, ClusterCellWire, ClusterDeltaMessage, ClusterManager, ClusterSlotType, ComputedCapabilities, ConnectionState, ConstructionManager, Container, ContainerEntity, ContributePreview, ContributePreviewRow, Coord, CoordinateAddress, Coordinates, CoordinatesType, CounterpartLookup, CraftedItemCategory, CrafterCapability, CrafterStats, DECAY_MAX_ITERATIONS, DECAY_RETAIN_DEN, DECAY_RETAIN_NUM, DECOMP_MAX_BUCKETS, DECOMP_MAX_DEPTH, DECOMP_PROCESSED_KG_MAX, DECOMP_RAW_KG_MAX, DECOMP_REGISTRY, DEFAULT_BASE_HULLMASS, DEFAULT_ORBITAL_Z, DEMAND_TRIPLE_SEED, DEPLOY_ENTITY_HAS_SCHEDULE, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, DESTINATION_CAPACITY_EXCEEDED, DecayableStanding, DecodedAtomicAsset, DecompBucket, DecompEntry, DemandRow, DemandTriple, DemandView, DepositConfig, DerivedLoaders, DerivedStratum, DescribeOptions, DisplayNameResult, Distance, ENGINE_DRAIN_BASE, ENGINE_DRAIN_REF_THM, ENGINE_DRAIN_REF_THRUST, ENTITY_ALREADY_THERE, ENTITY_CAPACITY_EXCEEDED, ENTITY_CARGO_NOT_LOADED, ENTITY_CARGO_NOT_OWNED, ENTITY_CONSTRUCTION_DOCK, ENTITY_CONTAINER, ENTITY_DEPOT, ENTITY_EXTRACTOR, ENTITY_FACTORY, ENTITY_HUB, ENTITY_INVALID_CARGO, ENTITY_INVALID_DESTINATION, ENTITY_INVALID_TRAVEL_DURATION, ENTITY_NEXUS, ENTITY_NOT_ENOUGH_ENERGY, ENTITY_NOT_ENOUGH_ENERGY_CAPACITY, ENTITY_NO_CRAFTER, ENTITY_SHIP, ENTITY_WAREHOUSE, ENTITY_WORKSHOP, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EffectiveReserveInput, EnergyCapability, EntitiesManager, EntitiesSubscriptionHandle, Entity$1 as Entity, EntityCapabilities, EntityClass, EntityDeletedMessage, EntityInfo$2 as EntityInfo, EntityInstance, EntityInventory, EntityLayout, EntityRefInput, EntitySlot, EntityState, EntityStateInput, EntitySubscriptionFilter, EntitySubscriptionHandle, EntitySubscriptionHandlers, EntitySubscriptionMeta, EntityTypeName, EpochInfo, EpochsManager, ErrorMessage, EstimateTravelTimeOptions, EstimatedTravelTime, EventCatchupCompleteMessage, EventMessage, ExactEntitySubscriptionFilter, Extractor, Factory, FetchAssetsOptions, FillCap, FinalizerCapability, FinalizerEntityRef, FloatPosition, FoundedWorld, FoundedWorldRef, fund as FundContract, GAME_NOT_FOUND, GAME_SEED_NOT_SET, GATHERER_DEPTH_MAX_TIER, GATHERER_DEPTH_TABLE, GATHER_EXCEEDS_ENERGY_CAPACITY, GATHER_MASS_DIVISOR, GATHER_NOT_ENOUGH_ENERGY, GRADE_PREMIUM, GRADE_STANDARD, GROUP_DUPLICATE_ENTITY, GROUP_EMPTY, GROUP_ENTITY_NOT_MOVABLE, GROUP_HAUL_CAPACITY_EXCEEDED, GROUP_NOT_FOUND, GROUP_NOT_SAME_LOCATION, GROUP_NOT_SAME_OWNER, GROUP_NO_THRUST, GameState, GatherCycle, GatherLimpet, GatherPlan, GatherPlanEntity, GathererCapability, GathererDepthParams, GathererStats, GridCell, HAULER_EFFICIENCY_DENOM, HasCapacity, HasCargo, HasCargomass, HasScheduleAndLocation, HoldKind, INFLUENCE_ATOMIC_PER_POINT, INFLUENCE_D1_SEED, INFLUENCE_MASS_KG_MAX, INFLUENCE_NEED_FP_MAX, INFLUENCE_WEIGHT_FP_MAX, INSUFFICIENT_BALANCE, INSUFFICIENT_ITEM_QUANTITY, INSUFFICIENT_ITEM_SUPPLY, INTAKE_RATE, INVALID_AMOUNT, ITEM_BATTERY_T1, ITEM_BATTERY_T2, ITEM_BEAM, ITEM_BEAM_T2, ITEM_BIOMASS_T1, ITEM_BIOMASS_T10, ITEM_BIOMASS_T2, ITEM_BIOMASS_T3, ITEM_BIOMASS_T4, ITEM_BIOMASS_T5, ITEM_BIOMASS_T6, ITEM_BIOMASS_T7, ITEM_BIOMASS_T8, ITEM_BIOMASS_T9, ITEM_BUILDER_T1, ITEM_BUILDER_T2, ITEM_CERAMIC, ITEM_CERAMIC_T2, ITEM_CONSTRUCTION_DOCK_T1_PACKED, ITEM_CONTAINER_T1_PACKED, ITEM_CONTAINER_T2_PACKED, ITEM_CRAFTER_T1, ITEM_CRAFTER_T2, ITEM_CRYSTAL_T1, ITEM_CRYSTAL_T10, ITEM_CRYSTAL_T2, ITEM_CRYSTAL_T3, ITEM_CRYSTAL_T4, ITEM_CRYSTAL_T5, ITEM_CRYSTAL_T6, ITEM_CRYSTAL_T7, ITEM_CRYSTAL_T8, ITEM_CRYSTAL_T9, ITEM_DEPOT_T1_PACKED, ITEM_DOES_NOT_EXIST, ITEM_DREDGER_T2A_PACKED, ITEM_ENGINE_T1, ITEM_ENGINE_T2, ITEM_EXTRACTOR_T1_PACKED, ITEM_FACTORY_T1_PACKED, ITEM_FRAME, ITEM_FRAME_T2, ITEM_GAS_T1, ITEM_GAS_T10, ITEM_GAS_T2, ITEM_GAS_T3, ITEM_GAS_T4, ITEM_GAS_T5, ITEM_GAS_T6, ITEM_GAS_T7, ITEM_GAS_T8, ITEM_GAS_T9, ITEM_GATHERER_T1, ITEM_GATHERER_T2, ITEM_GENERATOR_T1, ITEM_GENERATOR_T2, ITEM_HAULER_T1, ITEM_HAULER_T2, ITEM_HUB_T1_PACKED, ITEM_LAUNCHER_T1, ITEM_LOADER_T1, ITEM_LOADER_T2, ITEM_MASS_CATCHER_T1_PACKED, ITEM_MASS_DRIVER_T1_PACKED, ITEM_NEXUS_T1_PACKED, ITEM_NOT_AVAILABLE_AT_LOCATION, ITEM_NOT_DEPLOYABLE, ITEM_NOT_PACKED_ENTITY, ITEM_ORE_T1, ITEM_ORE_T10, ITEM_ORE_T2, ITEM_ORE_T3, ITEM_ORE_T4, ITEM_ORE_T5, ITEM_ORE_T6, ITEM_ORE_T7, ITEM_ORE_T8, ITEM_ORE_T9, ITEM_PLASMA_CELL, ITEM_PLASMA_CELL_T2, ITEM_PLATE, ITEM_PLATE_T2, ITEM_POLYMER, ITEM_POLYMER_T2, ITEM_PORTER_T1A_PACKED, ITEM_PROSPECTOR_T1A_PACKED, ITEM_PROSPECTOR_T2A_PACKED, ITEM_PROSPECTOR_T2B_PACKED, ITEM_REACTOR, ITEM_REACTOR_T2, ITEM_REGOLITH_T1, ITEM_REGOLITH_T10, ITEM_REGOLITH_T2, ITEM_REGOLITH_T3, ITEM_REGOLITH_T4, ITEM_REGOLITH_T5, ITEM_REGOLITH_T6, ITEM_REGOLITH_T7, ITEM_REGOLITH_T8, ITEM_REGOLITH_T9, ITEM_RESIN, ITEM_RESIN_T2, ITEM_RESONATOR, ITEM_RESONATOR_T2, ITEM_ROUSTABOUT_T1A_PACKED, ITEM_SENSOR, ITEM_SENSOR_T2, ITEM_SHIP_T1_PACKED, ITEM_SMITH_T1A_PACKED, ITEM_STORAGE_T1, ITEM_STORAGE_T2, ITEM_TENDER_T1A_PACKED, ITEM_TUG_T1A_PACKED, ITEM_TYPE_COMPONENT, ITEM_TYPE_ENTITY, ITEM_TYPE_MODULE, ITEM_TYPE_RESOURCE, ITEM_WAREHOUSE_T1_PACKED, ITEM_WARP_T1, ITEM_WARP_T2, ITEM_WORKSHOP_T1_PACKED, ITEM_WRIGHT_T1A_PACKED, IdleResolveTarget, ImmutableEntry, ImmutableModuleSlot, InboundTransfer, IncomingSource, InfluenceManager, InfluencePricing, InfluenceStanding, InstalledModule, InventoryAccessor, Item, ItemType, JOB_QUEUE_CAP, JobLane, JobLaneEntry, JobStatus, JobWindow, JobsManager, KindMeta, LANE_BARRIER, LANE_MOBILITY, LOCAL_HALF, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, LanePlanEntry, LaneView, LaunchNumericInput, LaunchQuote, LaunchQuoteCatcher, LaunchQuoteLauncher, LaunchStatsInput, LoadTimeBreakdown, LoaderCapability, LoaderStats, Location, LocationStratum, LocationType, LocationsManager, MASS_KG_PER_TONNE, MAX_LEGS, MAX_ORBITAL_ALTITUDE, MAX_STARS_PER_STAT, MAX_STAR_RATING, MINTREADY_DEFAULT_CAP, MIN_ORBITAL_ALTITUDE, MIN_TRANSFER_DISTANCE_ORBITAL_VESSEL, MIN_TRANSFER_DISTANCE_PLANETARY_STRUCTURE, MODULE_ANY, MODULE_AUX, MODULE_BATTERY, MODULE_BUILDER, MODULE_CARGO_NOT_FOUND, MODULE_CRAFTER, MODULE_ENGINE, MODULE_ENTITY_BUSY, MODULE_GATHERER, MODULE_GENERATOR, MODULE_HAULER, MODULE_LAUNCHER, MODULE_LOADER, MODULE_NOT_MODULE, MODULE_SLOT_EMPTY, MODULE_SLOT_INVALID, MODULE_SLOT_OCCUPIED, MODULE_STAT_SCALING_ANCHOR, MODULE_STAT_SCALING_POST_ANCHOR_PERCENT, MODULE_STORAGE, MODULE_TIER_PREFIXES, MODULE_TYPE_MISMATCH, MODULE_WARP, MassCapability, MintAssetParams, ModuleDescription, ModuleEntry, ModuleType, MovementCapability, NEED_FP_SCALE, index as NFT, NFTCargoItem, NFTCommonBase, NFTInstalledModule, NFTModuleSlot, NO_SCHEDULE, NamedStats, Neighbor, Nexus, NftConfigForItem, NftManager, OrderedTask, OwnedJob, OwnerSubscriptionHandle, PLANETARY_STRUCTURE_Z, PLANET_SUBTYPE_GAS_GIANT, PLANET_SUBTYPE_ICY, PLANET_SUBTYPE_INDUSTRIAL, PLANET_SUBTYPE_OCEAN, PLANET_SUBTYPE_ROCKY, PLANET_SUBTYPE_TERRESTRIAL, PLAYER_ALREADY_JOINED, PLAYER_NOT_FOUND, PLAYER_NOT_JOINED, PRECISION, PackedModule, PackedModuleInput, PendingBallot, PingMessage, PlanRouteParams, PlanTarget, PlanetSubtypeInfo, PlatformBalance, platform as PlatformContract, Types$2 as PlatformTypes, Player, PlayerRosterEntry, PlayerStateInput, PlayersManager, PongMessage, Projectable, ProjectedEntity, ProjectionOptions, RECIPE_INPUTS_EXCESS, RECIPE_INPUTS_INSUFFICIENT, RECIPE_INPUTS_INVALID, RECIPE_INPUTS_MIXED, RECIPE_NOT_FOUND, REGION_DIV, REGION_PER_AXIS, REQUIRES_MORE_THAN_ONE, REQUIRES_POSITIVE_VALUE, RESERVE_TIERS, RESOLVE_COUNT_EXCEEDS_COMPLETED, RESOURCE_BIOMASS, RESOURCE_CATEGORY_COUNT, RESOURCE_CRYSTAL, RESOURCE_GAS, RESOURCE_ORE, RESOURCE_REGOLITH, RESOURCE_TIER_ADJECTIVES, RESOURCE_TIER_MULT_TENTHS, RawData, ReachStats, Recipe, RecipeConsumer, RecipeInput, RecipeSlotInput, RefitOp, RenderDescriptionOptions, Reservation, ReserveTier, ResolvedAttributeGroup, ResolvedCrafterLane, ResolvedEvent, ResolvedGathererLane, ResolvedItem, ResolvedItemStat, ResolvedItemType, ResolvedLoaderLane, ResolvedModuleSlot, ResourceCategory, ResourceDemand, ResourceStats, RouteFailure, RouteFailureReason, RouteHeuristicCost, RouteLegCost, RouteLegInput, RouteLegSim, RouteMoverInput, RoutePlan, RouteResult, RouteSim, SECTORS_PER_AXIS, SECTOR_DIV, SHIPLOAD_COLLECTION, SHIP_ALREADY_TRAVELING, SHIP_CANNOT_BUY_TRAVELING, SHIP_CANNOT_CANCEL_TASK, SHIP_CANNOT_UPDATE_TRAVELING, SHIP_NOT_ARRIVED, SHIP_NOT_FOUND, SHIP_NOT_IDLE, SHIP_NOT_OWNED, SHIP_NO_COMPLETED_TASKS, SHIP_NO_TASKS_TO_CANCEL, SLOT_FORMULAS, STAR_STEP, ScanProvider, ScheduleAccessor, ScheduleCapability, ScheduleData, ScheduledBuild, SchemaField, server as ServerContract, ServerMessage, Types$1 as ServerTypes, Ship, ShipEntity, ShipLike, Shipload, SlotConsumer, SlotConsumerKind, SnapshotMessage, SourceCargoStack, SourceEntityRef, StackInput, StarSortable, StatDefinition, StatFlow, StatMapping, StatSlot, StorageCapability, StratumInfo, SubscribeEntityMessage, SubscribeEventsMessage, SubscribeMessage, SubscriptionEntityType, SubscriptionsManager, SubscriptionsOptions, SystemGraph, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskCargoChange, TaskCargoDirection, TaskType, TemplateMeta, TextSpan, TierRange, TokenBalance, token as TokenContract, TransferEntity, TravelDrainBreakdown, UnsubscribeEntityMessage, UnsubscribeEventsMessage, UnsubscribeMessage, UnwrapDestination, UnwrapItem, UpdateBoundsMessage, UpdateMessage, VOTE_READY_DEFAULT_MAX, ValidateDisplayNameOptions, ValuedItem, VoteCast, VoteOption, VoteStandings, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_NOT_FOUND, WARP_HAS_CARGO, WARP_HAS_SCHEDULE, WARP_NOT_FULL_ENERGY, WARP_NO_CAPABILITY, WARP_OUT_OF_RANGE, WEIGHT_FP_SCALE, WH, WOULD_OVERFILL, WOULD_STRAND, W_EFF_ATOMIC_PER_KG, Warehouse, WarehouseEntity, WebSocketConnection, WebSocketConnectionOptions, WireCoordinates, WireEntity, WrapConfig, WrapDeposit, WrapGate, YIELD_FRACTION_DEEP, YIELD_FRACTION_SHALLOW, abundantMaskFor, addressFromCoordinates, allBuildableItems, allCategoryIndexes, allPlotBuildableItems, allocateProportional, applyCapacityTier, applyResourceTierMultiplier, atomicToPoints, availableBuildMethods, availableCapacity$1 as availableCapacity, availableCapacityFromMass, availableForItem, baseName, blendCargoStacks, blendComponentStacks, blendCrossGroup, blendStacks, buildComponentImmutable, buildDemand, buildEntityDescription, buildEntityImmutable, buildGatherPlan, buildImmutableData, buildMintAssetAction, buildModuleImmutable, buildResourceImmutable, calcCargoItemMass, calcCargoMass, calcClusterIntake, calcClustercraftDuration, calcCounterpartDelivery, calcEnergyUsage, calcStacksMass, calc_acceleration, calc_build_duration, calc_build_energy, calc_craft_duration, calc_craft_energy, calc_energyusage, calc_flighttime, calc_gather_duration, calc_gather_energy, calc_gather_rate, calc_group_flighttime, calc_loader_acceleration, calc_loader_flighttime, calc_onesided_duration, calc_orbital_altitude, calc_rechargetime, calc_ship_acceleration, calc_ship_flighttime, calc_ship_mass, calc_ship_rechargetime, calc_transfer_duration, calc_transit_duration, calc_travel_flighttime, calculateFlightTime, calculateLoadTimeBreakdown, calculateRefuelingTime, calculateTransferTime, canMove, cancelEligibility, candidateLaneCompletesAt, capabilityAttributes, capabilityNames, capacityTierMultiplier, capsHasCrafter, capsHasGatherer, capsHasHauler, capsHasLauncher, capsHasLoaders, capsHasMass, capsHasMovement, capsHasStorage, cargoInputKey, cargoItem, cargoItemToStack, cargoKey, cargoReadyAt, cargoRef, cargoUtils, cargo_item, categoryAtIndex, categoryColors, categoryFromIndex, categoryIndex, categoryLabel, categoryLabelFromIndex, charterEffectTargetEntity, charterEffectTargetPresent, charterEligible, charterIneligible, charterNode, charterPrereqsMet, charterSingletonMandate, charterSpawnNodeFor, citizenryName, citizenryPatternCount, civicLoader, clusterStockAvailable, compareByStars, componentBaseAtomic, componentEffortAtomic, componentIcon, composeIdleResolve, computeBaseCapacity, computeBaseCapacityContainer, computeBaseCapacityDepot, computeBaseCapacityShip, computeBaseCapacityWarehouse, computeBaseHullmass, computeBatteryCapabilities, computeBuilderCapabilities, computeBuilderDrain, computeBuilderSpeed, computeComponentStats, computeContainerCapabilities, computeCraftedOutputStats, computeCrafterCapabilities, computeCrafterDrain, computeCrafterSpeed, computeDepotHullCapabilities, computeEffectiveModuleStat, computeEngineCapabilities, computeEngineDrain, computeEngineThrust, computeEntityCapabilities, computeEntityStats, computeFreeCells, computeGathererCapabilities, computeGathererDepth, computeGathererDrain, computeGathererYield, computeGeneratorCap, computeGeneratorCapabilities, computeGeneratorRech, computeGroupPerLegReach, computeHaulPenalty, computeHaulerCapabilities, computeHaulerCapacity, computeHaulerEfficiency, computeInputMass, computeLauncherCapabilities, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeNftImageUrl, computePerLegReach, computeShipHullCapabilities, computeStorageCapabilities, computeTravelDrain, computeWarehouseHullCapabilities, computeWarpCapabilities, computeWarpRange, contributeDuration, contributeDurationForTonnes, coordsToLocationId, coupling, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decayActive, decodeAddress, decodeAtomicAsset, decodeCraftedItemStats, decodeRegion, decodeSector, decodeStat, decodeStats, Shipload as default, demandRoll, deriveDemand, deriveLocation, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStatMappings, deriveStrata, deriveStratum, derivedLoaders, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeAtomicData, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, easeFlightProgress, effectiveMandate, eligibleCharters, eligibleUpgrades, encodeAddress, encodeAddressMemo, encodeGatheredCargoStats, encodeRegion, encodeSector, encodeStats, energyAtTime, energyPercent, energy_stats, entityDisplayName, entity_row, estimateDealTravelTime, estimateTravelTime, estimateUnwrapDuration, feistel, feistelInv, fetchAtomicAssetsForOwner, fetchAtomicSchemas, filterByBuildMethod, findDecomp, findNearbyPlanets, flightSpeedFactor, formatInfluence, formatLocation, formatMass, formatMassDelta, formatMassScaled, formatModuleLine, formatNeedMultiplier, formatTier, gatherEnergyCost, gathererDepthForTier, getAllRecipes, getBaseHullmassFor, getCapabilityAttributeRows, getCapabilityAttributes, getCategoryInfo, getComponentDemand, getComponents, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEffectiveReserve, getEligibleResources, getEntityClass, getEntityItems, getEntityLayout, getEpochInfo, getFlightOrigin, getInterpolatedPosition, getItem, getItems, getKindMeta, getLocationCandidates, getLocationKind, getLocationProfile, getLocationType, getLocationTypeName, getModuleCapabilityType, getModules, getPackedEntityType, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getProducersForAttribute, getRecipe, getRecipeConsumers, getResourceDemand, getResourceTier, getResourceWeight, getResources, getStatCount, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, getTemplateMeta, hasEnergy, hasEnergyForDistance, hasGatherer, hasIncomingCoupling, hasLoaders, hasMass, hasSchedule, hasSourceCoupling, hasSpace$1 as hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, incomingHoldMass, influenceWeightKey, interpolateFlightPosition, isAbundant, isAcute, isBuildable, isConstructionDock, isContainer, isCraftedItem, isDepot, isExtractor, isFactory, isFull$1 as isFull, isFullFromMass, isGatherableLocation, isHub, isInvertedAttribute, isLocationBuildable, isModuleItem, isNexus, isPlot, isPlotBuildable, isRelatedItem, isShip, isSubscriptionsDebugEnabled, isValidWormholePair, isWarehouse, isWorkshop, itemAbbreviations, itemCategory, itemIds, itemOffset, itemTier, itemTypeCode, itemTypeIndex, jobStatus, jobsToLanes, kindCan, lackingMaskFrom, lane, laneKeyForModule, lerp, locationIdToCoords, location_derived, location_static, makeEntity, mapEntity, maxCraftable, maxQtyForCharge, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleSlotTypeToCode, movement_stats, nearbyWormholes, needForCategory, needMultiplier, needsRecharge, normalizeActive, normalizeDisplayName, parseWireEntity, partnerRegion, pickAcuteCategory, pickFabricator, planParallelTransfer, planRoute, poolKey, popcount5, pricingFromWeights, projectEntity, projectEntityAt, projectRemainingAt, projectedCargoAvailableAt, projectedPeakCargomass, qualityFactor, rawScheduleEnd, readCommonBase, receiveFits, regionOf, removeFromStacks, renderDescription, resolveItem, resolveItemCategory, resolveLaneBuilder, resolveLaneCrafter, resolveLaneGatherer, resolveLaneLoader, resolveLockedAmount, resolveStats, resourceValueAtomic, rollTier, rollWithinTier, rollupBuilder, rollupCrafter, rollupGatherer, rollupLoaders, rotation, schedule, sdkSystemGraph, selectGatherLane, setSubscriptionsDebug, simulateRoute, slotAcceptsModule, socketTail, sourceLabelForOutput, splitCost, splitJobCargo, stackKey, stackToCargoItem, stacksEqual, starRating, starsForStat, statMagnitude, statsSumSq, subtractFromStacks, task, taskCargoChanges, taskCargoEffect, tierAdjective, tierColors, tierOfReserve, toLocation, typeLabel, unwrapLoadDuration, unwrapTransitDuration, usedInputStatKeys, validateDisplayName, validateSchedule, valueCargoItem, valueContribution, weightedQualityAtomic, workerLaneKey, wormholeAt, wormholeAtRegionEndpoint, wrapCostKey, yieldThresholdAt };
7413
+ 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_TRANSFER_PER_PLAYER_CAP, 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, CivicShuttleBay, 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, PendingCivicTransfer, 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, civicShuttleBays, civicStatLabel, civicStatModuleType, civicTransfersAtCap, civicTransfersFrom, 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, pendingCivicTransfers, 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, selectCivicShuttleBay, 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 };