@satrush/api 0.1.10 → 0.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1315,6 +1315,24 @@ var roundHistoryDtoSchemaResponseTransformer = (data) => {
1315
1315
  if (data.strikeBonusUsd) {
1316
1316
  data.strikeBonusUsd = u64DtoSchemaResponseTransformer(data.strikeBonusUsd);
1317
1317
  }
1318
+ if (data.strikeEpochBtc) {
1319
+ data.strikeEpochBtc = u64DtoSchemaResponseTransformer(data.strikeEpochBtc);
1320
+ }
1321
+ if (data.strikeEpochUsd) {
1322
+ data.strikeEpochUsd = u64DtoSchemaResponseTransformer(data.strikeEpochUsd);
1323
+ }
1324
+ if (data.strikeReserveBtc) {
1325
+ data.strikeReserveBtc = u64DtoSchemaResponseTransformer(data.strikeReserveBtc);
1326
+ }
1327
+ if (data.strikeReserveUsd) {
1328
+ data.strikeReserveUsd = u64DtoSchemaResponseTransformer(data.strikeReserveUsd);
1329
+ }
1330
+ if (data.strikeSeedFromReserveBtc) {
1331
+ data.strikeSeedFromReserveBtc = u64DtoSchemaResponseTransformer(data.strikeSeedFromReserveBtc);
1332
+ }
1333
+ if (data.strikeSeedFromReserveUsd) {
1334
+ data.strikeSeedFromReserveUsd = u64DtoSchemaResponseTransformer(data.strikeSeedFromReserveUsd);
1335
+ }
1318
1336
  data.totalDeployedUsd = u64DtoSchemaResponseTransformer(data.totalDeployedUsd);
1319
1337
  if (data.totalPotBtc) {
1320
1338
  data.totalPotBtc = u64DtoSchemaResponseTransformer(data.totalPotBtc);
@@ -1447,6 +1465,9 @@ var minerEpochEntryDtoSchemaResponseTransformer = (data) => {
1447
1465
  if (data.claimedAt) {
1448
1466
  data.claimedAt = new Date(data.claimedAt);
1449
1467
  }
1468
+ if (data.closedAt) {
1469
+ data.closedAt = new Date(data.closedAt);
1470
+ }
1450
1471
  data.createdAt = new Date(data.createdAt);
1451
1472
  data.tickets = u64DtoSchemaResponseTransformer(data.tickets);
1452
1473
  if (data.wonBtcAmount) {
@@ -1475,6 +1496,9 @@ var minerOneBtcEntryDtoSchemaResponseTransformer = (data) => {
1475
1496
  if (data.claimedAt) {
1476
1497
  data.claimedAt = new Date(data.claimedAt);
1477
1498
  }
1499
+ if (data.closedAt) {
1500
+ data.closedAt = new Date(data.closedAt);
1501
+ }
1478
1502
  data.createdAt = new Date(data.createdAt);
1479
1503
  data.startTicketId = u64DtoSchemaResponseTransformer(data.startTicketId);
1480
1504
  data.tickets = u64DtoSchemaResponseTransformer(data.tickets);
@@ -1823,6 +1847,10 @@ var zMinerEpochEntryDto = z.object({
1823
1847
  z.preprocess((value) => value instanceof Date ? value.toISOString() : value, z.iso.datetime()),
1824
1848
  z.null()
1825
1849
  ])),
1850
+ closedAt: z.optional(z.union([
1851
+ z.preprocess((value) => value instanceof Date ? value.toISOString() : value, z.iso.datetime()),
1852
+ z.null()
1853
+ ])),
1826
1854
  createdAt: z.preprocess((value) => value instanceof Date ? value.toISOString() : value, z.iso.datetime()),
1827
1855
  id: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1828
1856
  isWon: z.optional(z.union([
@@ -1860,6 +1888,10 @@ var zMinerOneBtcEntryDto = z.object({
1860
1888
  z.preprocess((value) => value instanceof Date ? value.toISOString() : value, z.iso.datetime()),
1861
1889
  z.null()
1862
1890
  ])),
1891
+ closedAt: z.optional(z.union([
1892
+ z.preprocess((value) => value instanceof Date ? value.toISOString() : value, z.iso.datetime()),
1893
+ z.null()
1894
+ ])),
1863
1895
  createdAt: z.preprocess((value) => value instanceof Date ? value.toISOString() : value, z.iso.datetime()),
1864
1896
  id: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1865
1897
  isWon: z.optional(z.union([
@@ -1954,6 +1986,10 @@ var zProfileDto = z.object({
1954
1986
  });
1955
1987
  var zRoundHistoryDto = z.object({
1956
1988
  id: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1989
+ isHashrateBoosted: z.optional(z.union([
1990
+ z.boolean(),
1991
+ z.null()
1992
+ ])),
1957
1993
  isSatStrike: z.optional(z.union([
1958
1994
  z.boolean(),
1959
1995
  z.null()
@@ -1976,6 +2012,30 @@ var zRoundHistoryDto = z.object({
1976
2012
  z.null(),
1977
2013
  zU64Dto
1978
2014
  ])),
2015
+ strikeEpochBtc: z.optional(z.union([
2016
+ z.null(),
2017
+ zU64Dto
2018
+ ])),
2019
+ strikeEpochUsd: z.optional(z.union([
2020
+ z.null(),
2021
+ zU64Dto
2022
+ ])),
2023
+ strikeReserveBtc: z.optional(z.union([
2024
+ z.null(),
2025
+ zU64Dto
2026
+ ])),
2027
+ strikeReserveUsd: z.optional(z.union([
2028
+ z.null(),
2029
+ zU64Dto
2030
+ ])),
2031
+ strikeSeedFromReserveBtc: z.optional(z.union([
2032
+ z.null(),
2033
+ zU64Dto
2034
+ ])),
2035
+ strikeSeedFromReserveUsd: z.optional(z.union([
2036
+ z.null(),
2037
+ zU64Dto
2038
+ ])),
1979
2039
  totalDeployedUsd: zU64Dto,
1980
2040
  totalPotBtc: z.optional(z.union([
1981
2041
  z.null(),
@@ -2038,6 +2098,7 @@ var zRoundDto = z.object({
2038
2098
  deployedUsdAmount: zU64Dto,
2039
2099
  deployedUsdOnWinningTileAmount: zU64Dto,
2040
2100
  id: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
2101
+ isHashrateBoosted: z.boolean(),
2041
2102
  minersCount: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
2042
2103
  revealedMinersCount: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
2043
2104
  settledMinersCount: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
package/dist/index.d.cts CHANGED
@@ -840,6 +840,11 @@ type MinerEpochEntryDto = {
840
840
  * When the win was claimed; `null` until claimed.
841
841
  */
842
842
  claimedAt?: Date | null;
843
+ /**
844
+ * When the on-chain entry account was closed (rent reclaimed by the
845
+ * cleanup crank or the owner); `null` while the account is still live.
846
+ */
847
+ closedAt?: Date | null;
843
848
  createdAt: Date;
844
849
  /**
845
850
  * Entry id; the pagination cursor.
@@ -902,6 +907,11 @@ type MinerOneBtcEntryDto = {
902
907
  * When the prize was claimed; `null` until claimed.
903
908
  */
904
909
  claimedAt?: Date | null;
910
+ /**
911
+ * When the on-chain ticket account was closed (rent reclaimed by the
912
+ * cleanup crank or the owner); `null` while the account is still live.
913
+ */
914
+ closedAt?: Date | null;
905
915
  createdAt: Date;
906
916
  /**
907
917
  * Entry id; the pagination cursor.
@@ -1170,6 +1180,11 @@ type RoundDto = {
1170
1180
  deployedUsdAmount: U64Dto;
1171
1181
  deployedUsdOnWinningTileAmount: U64Dto;
1172
1182
  id: number;
1183
+ /**
1184
+ * Whether the round runs under the post-strike hashrate boost (stamped
1185
+ * at creation from the board's strike window).
1186
+ */
1187
+ isHashrateBoosted: boolean;
1173
1188
  minersCount: number;
1174
1189
  revealedMinersCount: number;
1175
1190
  settledMinersCount: number;
@@ -1188,6 +1203,11 @@ type RoundHistoryDto = {
1188
1203
  * Round id; the pagination cursor.
1189
1204
  */
1190
1205
  id: number;
1206
+ /**
1207
+ * Whether the round ran under the post-strike hashrate boost (stamped
1208
+ * at creation); unset for rounds created before the strike rollover.
1209
+ */
1210
+ isHashrateBoosted?: boolean | null;
1191
1211
  /**
1192
1212
  * Whether the reveal triggered the sat strike; unset until revealed.
1193
1213
  */
@@ -1204,6 +1224,12 @@ type RoundHistoryDto = {
1204
1224
  state: RoundHistoryStateDto;
1205
1225
  strikeBonusBtc?: null | U64Dto;
1206
1226
  strikeBonusUsd?: null | U64Dto;
1227
+ strikeEpochBtc?: null | U64Dto;
1228
+ strikeEpochUsd?: null | U64Dto;
1229
+ strikeReserveBtc?: null | U64Dto;
1230
+ strikeReserveUsd?: null | U64Dto;
1231
+ strikeSeedFromReserveBtc?: null | U64Dto;
1232
+ strikeSeedFromReserveUsd?: null | U64Dto;
1207
1233
  totalDeployedUsd: U64Dto;
1208
1234
  totalPotBtc?: null | U64Dto;
1209
1235
  totalPotUsd?: null | U64Dto;
@@ -1320,9 +1346,9 @@ type SatrushConfigDto = {
1320
1346
  type SatsVaultDto = {
1321
1347
  address: PubkeyDto;
1322
1348
  /**
1323
- * Rolling 7-day projected APR as a fraction (0.12 = 12%): the average
1324
- * hourly share-price return over the trailing 7 days, annualized.
1325
- * `null` until enough history is indexed.
1349
+ * Rolling 7-day projected APR in percentage points (12.0 = 12%): the
1350
+ * average hourly share-price return over the trailing 7 days,
1351
+ * annualized. `null` until enough history is indexed.
1326
1352
  */
1327
1353
  apr?: number | null;
1328
1354
  /**
@@ -2545,6 +2571,7 @@ declare const zMinerEpochEntryDto: z.ZodObject<{
2545
2571
  address: z.ZodString;
2546
2572
  authority: z.ZodString;
2547
2573
  claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
2574
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
2548
2575
  createdAt: z.ZodPreprocess<z.ZodISODateTime>;
2549
2576
  id: z.ZodInt;
2550
2577
  isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
@@ -2580,6 +2607,7 @@ declare const zMinerOneBtcEntryDto: z.ZodObject<{
2580
2607
  address: z.ZodString;
2581
2608
  authority: z.ZodString;
2582
2609
  claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
2610
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
2583
2611
  createdAt: z.ZodPreprocess<z.ZodISODateTime>;
2584
2612
  id: z.ZodInt;
2585
2613
  isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
@@ -2749,6 +2777,7 @@ declare const zProfileDto: z.ZodObject<{
2749
2777
  */
2750
2778
  declare const zRoundHistoryDto: z.ZodObject<{
2751
2779
  id: z.ZodInt;
2780
+ isHashrateBoosted: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
2752
2781
  isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
2753
2782
  minersCount: z.ZodInt;
2754
2783
  settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
@@ -2762,6 +2791,12 @@ declare const zRoundHistoryDto: z.ZodObject<{
2762
2791
  }>;
2763
2792
  strikeBonusBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2764
2793
  strikeBonusUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2794
+ strikeEpochBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2795
+ strikeEpochUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2796
+ strikeReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2797
+ strikeReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2798
+ strikeSeedFromReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2799
+ strikeSeedFromReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2765
2800
  totalDeployedUsd: z.ZodCoercedBigInt<unknown>;
2766
2801
  totalPotBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2767
2802
  totalPotUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
@@ -2821,6 +2856,7 @@ declare const zRoundDto: z.ZodObject<{
2821
2856
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
2822
2857
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
2823
2858
  id: z.ZodInt;
2859
+ isHashrateBoosted: z.ZodBoolean;
2824
2860
  minersCount: z.ZodInt;
2825
2861
  revealedMinersCount: z.ZodInt;
2826
2862
  settledMinersCount: z.ZodInt;
@@ -2851,6 +2887,7 @@ declare const zBoardDto: z.ZodObject<{
2851
2887
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
2852
2888
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
2853
2889
  id: z.ZodInt;
2890
+ isHashrateBoosted: z.ZodBoolean;
2854
2891
  minersCount: z.ZodInt;
2855
2892
  revealedMinersCount: z.ZodInt;
2856
2893
  settledMinersCount: z.ZodInt;
@@ -2934,6 +2971,7 @@ declare const zBoardDto: z.ZodObject<{
2934
2971
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
2935
2972
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
2936
2973
  id: z.ZodInt;
2974
+ isHashrateBoosted: z.ZodBoolean;
2937
2975
  minersCount: z.ZodInt;
2938
2976
  revealedMinersCount: z.ZodInt;
2939
2977
  settledMinersCount: z.ZodInt;
@@ -2988,6 +3026,7 @@ declare const zSnapshotDto: z.ZodObject<{
2988
3026
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
2989
3027
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
2990
3028
  id: z.ZodInt;
3029
+ isHashrateBoosted: z.ZodBoolean;
2991
3030
  minersCount: z.ZodInt;
2992
3031
  revealedMinersCount: z.ZodInt;
2993
3032
  settledMinersCount: z.ZodInt;
@@ -3071,6 +3110,7 @@ declare const zSnapshotDto: z.ZodObject<{
3071
3110
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
3072
3111
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
3073
3112
  id: z.ZodInt;
3113
+ isHashrateBoosted: z.ZodBoolean;
3074
3114
  minersCount: z.ZodInt;
3075
3115
  revealedMinersCount: z.ZodInt;
3076
3116
  settledMinersCount: z.ZodInt;
@@ -3188,6 +3228,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
3188
3228
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
3189
3229
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
3190
3230
  id: z.ZodInt;
3231
+ isHashrateBoosted: z.ZodBoolean;
3191
3232
  minersCount: z.ZodInt;
3192
3233
  revealedMinersCount: z.ZodInt;
3193
3234
  settledMinersCount: z.ZodInt;
@@ -3271,6 +3312,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
3271
3312
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
3272
3313
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
3273
3314
  id: z.ZodInt;
3315
+ isHashrateBoosted: z.ZodBoolean;
3274
3316
  minersCount: z.ZodInt;
3275
3317
  revealedMinersCount: z.ZodInt;
3276
3318
  settledMinersCount: z.ZodInt;
@@ -3394,6 +3436,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
3394
3436
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
3395
3437
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
3396
3438
  id: z.ZodInt;
3439
+ isHashrateBoosted: z.ZodBoolean;
3397
3440
  minersCount: z.ZodInt;
3398
3441
  revealedMinersCount: z.ZodInt;
3399
3442
  settledMinersCount: z.ZodInt;
@@ -3477,6 +3520,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
3477
3520
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
3478
3521
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
3479
3522
  id: z.ZodInt;
3523
+ isHashrateBoosted: z.ZodBoolean;
3480
3524
  minersCount: z.ZodInt;
3481
3525
  revealedMinersCount: z.ZodInt;
3482
3526
  settledMinersCount: z.ZodInt;
@@ -3844,6 +3888,7 @@ declare const zGetBoardResponse: z.ZodObject<{
3844
3888
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
3845
3889
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
3846
3890
  id: z.ZodInt;
3891
+ isHashrateBoosted: z.ZodBoolean;
3847
3892
  minersCount: z.ZodInt;
3848
3893
  revealedMinersCount: z.ZodInt;
3849
3894
  settledMinersCount: z.ZodInt;
@@ -3927,6 +3972,7 @@ declare const zGetBoardResponse: z.ZodObject<{
3927
3972
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
3928
3973
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
3929
3974
  id: z.ZodInt;
3975
+ isHashrateBoosted: z.ZodBoolean;
3930
3976
  minersCount: z.ZodInt;
3931
3977
  revealedMinersCount: z.ZodInt;
3932
3978
  settledMinersCount: z.ZodInt;
@@ -4128,6 +4174,7 @@ declare const zGetRoundsData: z.ZodObject<{
4128
4174
  declare const zGetRoundsResponse: z.ZodObject<{
4129
4175
  data: z.ZodArray<z.ZodObject<{
4130
4176
  id: z.ZodInt;
4177
+ isHashrateBoosted: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
4131
4178
  isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
4132
4179
  minersCount: z.ZodInt;
4133
4180
  settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
@@ -4141,6 +4188,12 @@ declare const zGetRoundsResponse: z.ZodObject<{
4141
4188
  }>;
4142
4189
  strikeBonusBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4143
4190
  strikeBonusUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4191
+ strikeEpochBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4192
+ strikeEpochUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4193
+ strikeReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4194
+ strikeReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4195
+ strikeSeedFromReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4196
+ strikeSeedFromReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4144
4197
  totalDeployedUsd: z.ZodCoercedBigInt<unknown>;
4145
4198
  totalPotBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4146
4199
  totalPotUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
@@ -4170,6 +4223,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
4170
4223
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
4171
4224
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
4172
4225
  id: z.ZodInt;
4226
+ isHashrateBoosted: z.ZodBoolean;
4173
4227
  minersCount: z.ZodInt;
4174
4228
  revealedMinersCount: z.ZodInt;
4175
4229
  settledMinersCount: z.ZodInt;
@@ -4253,6 +4307,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
4253
4307
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
4254
4308
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
4255
4309
  id: z.ZodInt;
4310
+ isHashrateBoosted: z.ZodBoolean;
4256
4311
  minersCount: z.ZodInt;
4257
4312
  revealedMinersCount: z.ZodInt;
4258
4313
  settledMinersCount: z.ZodInt;
@@ -4511,6 +4566,7 @@ declare const zGetUserEpochEntriesResponse: z.ZodObject<{
4511
4566
  address: z.ZodString;
4512
4567
  authority: z.ZodString;
4513
4568
  claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4569
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4514
4570
  createdAt: z.ZodPreprocess<z.ZodISODateTime>;
4515
4571
  id: z.ZodInt;
4516
4572
  isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
@@ -4565,6 +4621,7 @@ declare const zGetUserOneBtcEntriesResponse: z.ZodObject<{
4565
4621
  address: z.ZodString;
4566
4622
  authority: z.ZodString;
4567
4623
  claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4624
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4568
4625
  createdAt: z.ZodPreprocess<z.ZodISODateTime>;
4569
4626
  id: z.ZodInt;
4570
4627
  isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
package/dist/index.d.ts CHANGED
@@ -840,6 +840,11 @@ type MinerEpochEntryDto = {
840
840
  * When the win was claimed; `null` until claimed.
841
841
  */
842
842
  claimedAt?: Date | null;
843
+ /**
844
+ * When the on-chain entry account was closed (rent reclaimed by the
845
+ * cleanup crank or the owner); `null` while the account is still live.
846
+ */
847
+ closedAt?: Date | null;
843
848
  createdAt: Date;
844
849
  /**
845
850
  * Entry id; the pagination cursor.
@@ -902,6 +907,11 @@ type MinerOneBtcEntryDto = {
902
907
  * When the prize was claimed; `null` until claimed.
903
908
  */
904
909
  claimedAt?: Date | null;
910
+ /**
911
+ * When the on-chain ticket account was closed (rent reclaimed by the
912
+ * cleanup crank or the owner); `null` while the account is still live.
913
+ */
914
+ closedAt?: Date | null;
905
915
  createdAt: Date;
906
916
  /**
907
917
  * Entry id; the pagination cursor.
@@ -1170,6 +1180,11 @@ type RoundDto = {
1170
1180
  deployedUsdAmount: U64Dto;
1171
1181
  deployedUsdOnWinningTileAmount: U64Dto;
1172
1182
  id: number;
1183
+ /**
1184
+ * Whether the round runs under the post-strike hashrate boost (stamped
1185
+ * at creation from the board's strike window).
1186
+ */
1187
+ isHashrateBoosted: boolean;
1173
1188
  minersCount: number;
1174
1189
  revealedMinersCount: number;
1175
1190
  settledMinersCount: number;
@@ -1188,6 +1203,11 @@ type RoundHistoryDto = {
1188
1203
  * Round id; the pagination cursor.
1189
1204
  */
1190
1205
  id: number;
1206
+ /**
1207
+ * Whether the round ran under the post-strike hashrate boost (stamped
1208
+ * at creation); unset for rounds created before the strike rollover.
1209
+ */
1210
+ isHashrateBoosted?: boolean | null;
1191
1211
  /**
1192
1212
  * Whether the reveal triggered the sat strike; unset until revealed.
1193
1213
  */
@@ -1204,6 +1224,12 @@ type RoundHistoryDto = {
1204
1224
  state: RoundHistoryStateDto;
1205
1225
  strikeBonusBtc?: null | U64Dto;
1206
1226
  strikeBonusUsd?: null | U64Dto;
1227
+ strikeEpochBtc?: null | U64Dto;
1228
+ strikeEpochUsd?: null | U64Dto;
1229
+ strikeReserveBtc?: null | U64Dto;
1230
+ strikeReserveUsd?: null | U64Dto;
1231
+ strikeSeedFromReserveBtc?: null | U64Dto;
1232
+ strikeSeedFromReserveUsd?: null | U64Dto;
1207
1233
  totalDeployedUsd: U64Dto;
1208
1234
  totalPotBtc?: null | U64Dto;
1209
1235
  totalPotUsd?: null | U64Dto;
@@ -1320,9 +1346,9 @@ type SatrushConfigDto = {
1320
1346
  type SatsVaultDto = {
1321
1347
  address: PubkeyDto;
1322
1348
  /**
1323
- * Rolling 7-day projected APR as a fraction (0.12 = 12%): the average
1324
- * hourly share-price return over the trailing 7 days, annualized.
1325
- * `null` until enough history is indexed.
1349
+ * Rolling 7-day projected APR in percentage points (12.0 = 12%): the
1350
+ * average hourly share-price return over the trailing 7 days,
1351
+ * annualized. `null` until enough history is indexed.
1326
1352
  */
1327
1353
  apr?: number | null;
1328
1354
  /**
@@ -2545,6 +2571,7 @@ declare const zMinerEpochEntryDto: z.ZodObject<{
2545
2571
  address: z.ZodString;
2546
2572
  authority: z.ZodString;
2547
2573
  claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
2574
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
2548
2575
  createdAt: z.ZodPreprocess<z.ZodISODateTime>;
2549
2576
  id: z.ZodInt;
2550
2577
  isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
@@ -2580,6 +2607,7 @@ declare const zMinerOneBtcEntryDto: z.ZodObject<{
2580
2607
  address: z.ZodString;
2581
2608
  authority: z.ZodString;
2582
2609
  claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
2610
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
2583
2611
  createdAt: z.ZodPreprocess<z.ZodISODateTime>;
2584
2612
  id: z.ZodInt;
2585
2613
  isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
@@ -2749,6 +2777,7 @@ declare const zProfileDto: z.ZodObject<{
2749
2777
  */
2750
2778
  declare const zRoundHistoryDto: z.ZodObject<{
2751
2779
  id: z.ZodInt;
2780
+ isHashrateBoosted: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
2752
2781
  isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
2753
2782
  minersCount: z.ZodInt;
2754
2783
  settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
@@ -2762,6 +2791,12 @@ declare const zRoundHistoryDto: z.ZodObject<{
2762
2791
  }>;
2763
2792
  strikeBonusBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2764
2793
  strikeBonusUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2794
+ strikeEpochBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2795
+ strikeEpochUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2796
+ strikeReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2797
+ strikeReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2798
+ strikeSeedFromReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2799
+ strikeSeedFromReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2765
2800
  totalDeployedUsd: z.ZodCoercedBigInt<unknown>;
2766
2801
  totalPotBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2767
2802
  totalPotUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
@@ -2821,6 +2856,7 @@ declare const zRoundDto: z.ZodObject<{
2821
2856
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
2822
2857
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
2823
2858
  id: z.ZodInt;
2859
+ isHashrateBoosted: z.ZodBoolean;
2824
2860
  minersCount: z.ZodInt;
2825
2861
  revealedMinersCount: z.ZodInt;
2826
2862
  settledMinersCount: z.ZodInt;
@@ -2851,6 +2887,7 @@ declare const zBoardDto: z.ZodObject<{
2851
2887
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
2852
2888
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
2853
2889
  id: z.ZodInt;
2890
+ isHashrateBoosted: z.ZodBoolean;
2854
2891
  minersCount: z.ZodInt;
2855
2892
  revealedMinersCount: z.ZodInt;
2856
2893
  settledMinersCount: z.ZodInt;
@@ -2934,6 +2971,7 @@ declare const zBoardDto: z.ZodObject<{
2934
2971
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
2935
2972
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
2936
2973
  id: z.ZodInt;
2974
+ isHashrateBoosted: z.ZodBoolean;
2937
2975
  minersCount: z.ZodInt;
2938
2976
  revealedMinersCount: z.ZodInt;
2939
2977
  settledMinersCount: z.ZodInt;
@@ -2988,6 +3026,7 @@ declare const zSnapshotDto: z.ZodObject<{
2988
3026
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
2989
3027
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
2990
3028
  id: z.ZodInt;
3029
+ isHashrateBoosted: z.ZodBoolean;
2991
3030
  minersCount: z.ZodInt;
2992
3031
  revealedMinersCount: z.ZodInt;
2993
3032
  settledMinersCount: z.ZodInt;
@@ -3071,6 +3110,7 @@ declare const zSnapshotDto: z.ZodObject<{
3071
3110
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
3072
3111
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
3073
3112
  id: z.ZodInt;
3113
+ isHashrateBoosted: z.ZodBoolean;
3074
3114
  minersCount: z.ZodInt;
3075
3115
  revealedMinersCount: z.ZodInt;
3076
3116
  settledMinersCount: z.ZodInt;
@@ -3188,6 +3228,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
3188
3228
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
3189
3229
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
3190
3230
  id: z.ZodInt;
3231
+ isHashrateBoosted: z.ZodBoolean;
3191
3232
  minersCount: z.ZodInt;
3192
3233
  revealedMinersCount: z.ZodInt;
3193
3234
  settledMinersCount: z.ZodInt;
@@ -3271,6 +3312,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
3271
3312
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
3272
3313
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
3273
3314
  id: z.ZodInt;
3315
+ isHashrateBoosted: z.ZodBoolean;
3274
3316
  minersCount: z.ZodInt;
3275
3317
  revealedMinersCount: z.ZodInt;
3276
3318
  settledMinersCount: z.ZodInt;
@@ -3394,6 +3436,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
3394
3436
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
3395
3437
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
3396
3438
  id: z.ZodInt;
3439
+ isHashrateBoosted: z.ZodBoolean;
3397
3440
  minersCount: z.ZodInt;
3398
3441
  revealedMinersCount: z.ZodInt;
3399
3442
  settledMinersCount: z.ZodInt;
@@ -3477,6 +3520,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
3477
3520
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
3478
3521
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
3479
3522
  id: z.ZodInt;
3523
+ isHashrateBoosted: z.ZodBoolean;
3480
3524
  minersCount: z.ZodInt;
3481
3525
  revealedMinersCount: z.ZodInt;
3482
3526
  settledMinersCount: z.ZodInt;
@@ -3844,6 +3888,7 @@ declare const zGetBoardResponse: z.ZodObject<{
3844
3888
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
3845
3889
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
3846
3890
  id: z.ZodInt;
3891
+ isHashrateBoosted: z.ZodBoolean;
3847
3892
  minersCount: z.ZodInt;
3848
3893
  revealedMinersCount: z.ZodInt;
3849
3894
  settledMinersCount: z.ZodInt;
@@ -3927,6 +3972,7 @@ declare const zGetBoardResponse: z.ZodObject<{
3927
3972
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
3928
3973
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
3929
3974
  id: z.ZodInt;
3975
+ isHashrateBoosted: z.ZodBoolean;
3930
3976
  minersCount: z.ZodInt;
3931
3977
  revealedMinersCount: z.ZodInt;
3932
3978
  settledMinersCount: z.ZodInt;
@@ -4128,6 +4174,7 @@ declare const zGetRoundsData: z.ZodObject<{
4128
4174
  declare const zGetRoundsResponse: z.ZodObject<{
4129
4175
  data: z.ZodArray<z.ZodObject<{
4130
4176
  id: z.ZodInt;
4177
+ isHashrateBoosted: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
4131
4178
  isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
4132
4179
  minersCount: z.ZodInt;
4133
4180
  settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
@@ -4141,6 +4188,12 @@ declare const zGetRoundsResponse: z.ZodObject<{
4141
4188
  }>;
4142
4189
  strikeBonusBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4143
4190
  strikeBonusUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4191
+ strikeEpochBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4192
+ strikeEpochUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4193
+ strikeReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4194
+ strikeReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4195
+ strikeSeedFromReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4196
+ strikeSeedFromReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4144
4197
  totalDeployedUsd: z.ZodCoercedBigInt<unknown>;
4145
4198
  totalPotBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4146
4199
  totalPotUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
@@ -4170,6 +4223,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
4170
4223
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
4171
4224
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
4172
4225
  id: z.ZodInt;
4226
+ isHashrateBoosted: z.ZodBoolean;
4173
4227
  minersCount: z.ZodInt;
4174
4228
  revealedMinersCount: z.ZodInt;
4175
4229
  settledMinersCount: z.ZodInt;
@@ -4253,6 +4307,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
4253
4307
  deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
4254
4308
  deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
4255
4309
  id: z.ZodInt;
4310
+ isHashrateBoosted: z.ZodBoolean;
4256
4311
  minersCount: z.ZodInt;
4257
4312
  revealedMinersCount: z.ZodInt;
4258
4313
  settledMinersCount: z.ZodInt;
@@ -4511,6 +4566,7 @@ declare const zGetUserEpochEntriesResponse: z.ZodObject<{
4511
4566
  address: z.ZodString;
4512
4567
  authority: z.ZodString;
4513
4568
  claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4569
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4514
4570
  createdAt: z.ZodPreprocess<z.ZodISODateTime>;
4515
4571
  id: z.ZodInt;
4516
4572
  isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
@@ -4565,6 +4621,7 @@ declare const zGetUserOneBtcEntriesResponse: z.ZodObject<{
4565
4621
  address: z.ZodString;
4566
4622
  authority: z.ZodString;
4567
4623
  claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4624
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4568
4625
  createdAt: z.ZodPreprocess<z.ZodISODateTime>;
4569
4626
  id: z.ZodInt;
4570
4627
  isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
package/dist/index.js CHANGED
@@ -1146,6 +1146,24 @@ var roundHistoryDtoSchemaResponseTransformer = (data) => {
1146
1146
  if (data.strikeBonusUsd) {
1147
1147
  data.strikeBonusUsd = u64DtoSchemaResponseTransformer(data.strikeBonusUsd);
1148
1148
  }
1149
+ if (data.strikeEpochBtc) {
1150
+ data.strikeEpochBtc = u64DtoSchemaResponseTransformer(data.strikeEpochBtc);
1151
+ }
1152
+ if (data.strikeEpochUsd) {
1153
+ data.strikeEpochUsd = u64DtoSchemaResponseTransformer(data.strikeEpochUsd);
1154
+ }
1155
+ if (data.strikeReserveBtc) {
1156
+ data.strikeReserveBtc = u64DtoSchemaResponseTransformer(data.strikeReserveBtc);
1157
+ }
1158
+ if (data.strikeReserveUsd) {
1159
+ data.strikeReserveUsd = u64DtoSchemaResponseTransformer(data.strikeReserveUsd);
1160
+ }
1161
+ if (data.strikeSeedFromReserveBtc) {
1162
+ data.strikeSeedFromReserveBtc = u64DtoSchemaResponseTransformer(data.strikeSeedFromReserveBtc);
1163
+ }
1164
+ if (data.strikeSeedFromReserveUsd) {
1165
+ data.strikeSeedFromReserveUsd = u64DtoSchemaResponseTransformer(data.strikeSeedFromReserveUsd);
1166
+ }
1149
1167
  data.totalDeployedUsd = u64DtoSchemaResponseTransformer(data.totalDeployedUsd);
1150
1168
  if (data.totalPotBtc) {
1151
1169
  data.totalPotBtc = u64DtoSchemaResponseTransformer(data.totalPotBtc);
@@ -1278,6 +1296,9 @@ var minerEpochEntryDtoSchemaResponseTransformer = (data) => {
1278
1296
  if (data.claimedAt) {
1279
1297
  data.claimedAt = new Date(data.claimedAt);
1280
1298
  }
1299
+ if (data.closedAt) {
1300
+ data.closedAt = new Date(data.closedAt);
1301
+ }
1281
1302
  data.createdAt = new Date(data.createdAt);
1282
1303
  data.tickets = u64DtoSchemaResponseTransformer(data.tickets);
1283
1304
  if (data.wonBtcAmount) {
@@ -1306,6 +1327,9 @@ var minerOneBtcEntryDtoSchemaResponseTransformer = (data) => {
1306
1327
  if (data.claimedAt) {
1307
1328
  data.claimedAt = new Date(data.claimedAt);
1308
1329
  }
1330
+ if (data.closedAt) {
1331
+ data.closedAt = new Date(data.closedAt);
1332
+ }
1309
1333
  data.createdAt = new Date(data.createdAt);
1310
1334
  data.startTicketId = u64DtoSchemaResponseTransformer(data.startTicketId);
1311
1335
  data.tickets = u64DtoSchemaResponseTransformer(data.tickets);
@@ -1654,6 +1678,10 @@ var zMinerEpochEntryDto = z.object({
1654
1678
  z.preprocess((value) => value instanceof Date ? value.toISOString() : value, z.iso.datetime()),
1655
1679
  z.null()
1656
1680
  ])),
1681
+ closedAt: z.optional(z.union([
1682
+ z.preprocess((value) => value instanceof Date ? value.toISOString() : value, z.iso.datetime()),
1683
+ z.null()
1684
+ ])),
1657
1685
  createdAt: z.preprocess((value) => value instanceof Date ? value.toISOString() : value, z.iso.datetime()),
1658
1686
  id: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1659
1687
  isWon: z.optional(z.union([
@@ -1691,6 +1719,10 @@ var zMinerOneBtcEntryDto = z.object({
1691
1719
  z.preprocess((value) => value instanceof Date ? value.toISOString() : value, z.iso.datetime()),
1692
1720
  z.null()
1693
1721
  ])),
1722
+ closedAt: z.optional(z.union([
1723
+ z.preprocess((value) => value instanceof Date ? value.toISOString() : value, z.iso.datetime()),
1724
+ z.null()
1725
+ ])),
1694
1726
  createdAt: z.preprocess((value) => value instanceof Date ? value.toISOString() : value, z.iso.datetime()),
1695
1727
  id: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1696
1728
  isWon: z.optional(z.union([
@@ -1785,6 +1817,10 @@ var zProfileDto = z.object({
1785
1817
  });
1786
1818
  var zRoundHistoryDto = z.object({
1787
1819
  id: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1820
+ isHashrateBoosted: z.optional(z.union([
1821
+ z.boolean(),
1822
+ z.null()
1823
+ ])),
1788
1824
  isSatStrike: z.optional(z.union([
1789
1825
  z.boolean(),
1790
1826
  z.null()
@@ -1807,6 +1843,30 @@ var zRoundHistoryDto = z.object({
1807
1843
  z.null(),
1808
1844
  zU64Dto
1809
1845
  ])),
1846
+ strikeEpochBtc: z.optional(z.union([
1847
+ z.null(),
1848
+ zU64Dto
1849
+ ])),
1850
+ strikeEpochUsd: z.optional(z.union([
1851
+ z.null(),
1852
+ zU64Dto
1853
+ ])),
1854
+ strikeReserveBtc: z.optional(z.union([
1855
+ z.null(),
1856
+ zU64Dto
1857
+ ])),
1858
+ strikeReserveUsd: z.optional(z.union([
1859
+ z.null(),
1860
+ zU64Dto
1861
+ ])),
1862
+ strikeSeedFromReserveBtc: z.optional(z.union([
1863
+ z.null(),
1864
+ zU64Dto
1865
+ ])),
1866
+ strikeSeedFromReserveUsd: z.optional(z.union([
1867
+ z.null(),
1868
+ zU64Dto
1869
+ ])),
1810
1870
  totalDeployedUsd: zU64Dto,
1811
1871
  totalPotBtc: z.optional(z.union([
1812
1872
  z.null(),
@@ -1869,6 +1929,7 @@ var zRoundDto = z.object({
1869
1929
  deployedUsdAmount: zU64Dto,
1870
1930
  deployedUsdOnWinningTileAmount: zU64Dto,
1871
1931
  id: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1932
+ isHashrateBoosted: z.boolean(),
1872
1933
  minersCount: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1873
1934
  revealedMinersCount: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1874
1935
  settledMinersCount: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@satrush/api",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",