@satrush/api 0.1.2 → 0.1.4

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.d.ts CHANGED
@@ -331,18 +331,133 @@ type BoardDto = {
331
331
  * Slot at which the current round ends mining.
332
332
  */
333
333
  endSlot: U64Dto;
334
+ /**
335
+ * The epoch vault and its current iteration.
336
+ */
337
+ epochVault: EpochVaultDto;
338
+ /**
339
+ * The 1 BTC vault and its current iteration.
340
+ */
341
+ oneBtcVault: OneBtcVaultDto;
334
342
  previousRound?: null | RoundDto;
343
+ /**
344
+ * Live token prices.
345
+ */
346
+ prices: PricesDto;
335
347
  /**
336
348
  * Round duration in slots.
337
349
  */
338
350
  roundDuration: number;
339
351
  roundId: number;
352
+ /**
353
+ * The sats vault balances.
354
+ */
355
+ satsVault: SatsVaultDto;
340
356
  /**
341
357
  * Slot at which the current round starts mining.
342
358
  */
343
359
  startSlot: U64Dto;
344
360
  strike: StrikeJackpotDto;
345
361
  };
362
+ /**
363
+ * Lifecycle state of an epoch vault iteration.
364
+ */
365
+ declare const EpochStateDto: {
366
+ readonly OPEN: "open";
367
+ readonly SETTLING: "settling";
368
+ readonly SETTLED: "settled";
369
+ readonly COMPLETE: "complete";
370
+ };
371
+ /**
372
+ * Lifecycle state of an epoch vault iteration.
373
+ */
374
+ type EpochStateDto = typeof EpochStateDto[keyof typeof EpochStateDto];
375
+ /**
376
+ * Epoch vault balances and its current iteration.
377
+ */
378
+ type EpochVaultDto = {
379
+ address: PubkeyDto;
380
+ currentIteration?: null | EpochVaultIterationDto;
381
+ iterationId: number;
382
+ /**
383
+ * Slot at which the current iteration's window started.
384
+ */
385
+ lastTriggerSlot: U64Dto;
386
+ /**
387
+ * USD received from fees, not yet swapped.
388
+ */
389
+ pendingUsdAmount: U64Dto;
390
+ /**
391
+ * Post-swap BTC available to be drawn into a pot.
392
+ */
393
+ poolBtcAmount: U64Dto;
394
+ /**
395
+ * Post-swap USD available to be drawn into a pot.
396
+ */
397
+ poolUsdAmount: U64Dto;
398
+ /**
399
+ * BTC committed to open draws (awaiting winner claims).
400
+ */
401
+ reservedBtcAmount: U64Dto;
402
+ /**
403
+ * USD committed to open draws (awaiting winner claims).
404
+ */
405
+ reservedUsdAmount: U64Dto;
406
+ };
407
+ /**
408
+ * A user's participation in an epoch vault iteration.
409
+ */
410
+ type EpochVaultEntryDto = {
411
+ address: PubkeyDto;
412
+ /**
413
+ * Iteration this entry belongs to.
414
+ */
415
+ iterationId: number;
416
+ /**
417
+ * Page holding this participant.
418
+ */
419
+ pageIndex: number;
420
+ /**
421
+ * This participant's total tickets this iteration.
422
+ */
423
+ tickets: U64Dto;
424
+ };
425
+ /**
426
+ * Core state of an epoch vault iteration.
427
+ */
428
+ type EpochVaultIterationDto = {
429
+ address: PubkeyDto;
430
+ claimableBtc?: null | U64Dto;
431
+ claimableUsd?: null | U64Dto;
432
+ id: number;
433
+ pageCount: number;
434
+ participantsCount: number;
435
+ state: EpochStateDto;
436
+ totalTickets: U64Dto;
437
+ /**
438
+ * Winners in selection order. Null until the iteration is settled.
439
+ */
440
+ winners?: Array<EpochWinnerDto> | null;
441
+ /**
442
+ * Null until the iteration is settled.
443
+ */
444
+ winnersClaimed?: number | null;
445
+ /**
446
+ * Null until the iteration is settled.
447
+ */
448
+ winnersSelected?: number | null;
449
+ };
450
+ /**
451
+ * A winner drawn in an epoch vault iteration.
452
+ */
453
+ type EpochWinnerDto = {
454
+ authority: PubkeyDto;
455
+ claimed: boolean;
456
+ /**
457
+ * Ticket weight removed from the draw when this winner was selected.
458
+ */
459
+ tickets: U64Dto;
460
+ };
346
461
  type FieldError = {
347
462
  /**
348
463
  * Field name in request.
@@ -395,14 +510,107 @@ declare const NotificationEntity: {
395
510
  };
396
511
  type NotificationEntity = typeof NotificationEntity[keyof typeof NotificationEntity];
397
512
  /**
398
- * A user's profile: their miner account and currently-open deployments.
513
+ * Lifecycle state of a 1 BTC vault iteration.
514
+ */
515
+ declare const OneBtcStateDto: {
516
+ readonly OPEN: "open";
517
+ readonly SETTLED: "settled";
518
+ readonly COMPLETE: "complete";
519
+ };
520
+ /**
521
+ * Lifecycle state of a 1 BTC vault iteration.
522
+ */
523
+ type OneBtcStateDto = typeof OneBtcStateDto[keyof typeof OneBtcStateDto];
524
+ /**
525
+ * 1 BTC vault balances and its current iteration.
526
+ */
527
+ type OneBtcVaultDto = {
528
+ address: PubkeyDto;
529
+ /**
530
+ * Swapped BTC accumulating toward the prize.
531
+ */
532
+ btcAmount: U64Dto;
533
+ currentIteration?: null | OneBtcVaultIterationDto;
534
+ iterationId: number;
535
+ /**
536
+ * Slot of the last triggered draw.
537
+ */
538
+ lastTriggerSlot: U64Dto;
539
+ /**
540
+ * USD received from fees, not yet swapped.
541
+ */
542
+ pendingUsdAmount: U64Dto;
543
+ /**
544
+ * BTC committed to sealed-but-unclaimed winners.
545
+ */
546
+ reservedBtcAmount: U64Dto;
547
+ };
548
+ /**
549
+ * A user's ticket purchase in a 1 BTC vault iteration.
550
+ */
551
+ type OneBtcVaultEntryDto = {
552
+ address: PubkeyDto;
553
+ /**
554
+ * Iteration this entry belongs to.
555
+ */
556
+ iterationId: number;
557
+ /**
558
+ * First ticket id of this purchase's range.
559
+ */
560
+ startTicketId: U64Dto;
561
+ /**
562
+ * Number of tickets in this purchase.
563
+ */
564
+ ticketsCount: U64Dto;
565
+ };
566
+ /**
567
+ * Core state of a 1 BTC vault iteration.
568
+ */
569
+ type OneBtcVaultIterationDto = {
570
+ address: PubkeyDto;
571
+ id: number;
572
+ /**
573
+ * Prize snapshotted at trigger (the payout amount).
574
+ */
575
+ prizeBtc: U64Dto;
576
+ state: OneBtcStateDto;
577
+ /**
578
+ * Running ticket counter; also the next purchase's start ticket id.
579
+ */
580
+ totalTickets: U64Dto;
581
+ winningTicket?: null | U64Dto;
582
+ };
583
+ /**
584
+ * Live token prices observed by the service.
585
+ */
586
+ type PricesDto = {
587
+ /**
588
+ * cbBTC/USD price from Jupiter.
589
+ */
590
+ btc: number;
591
+ /**
592
+ * USD price of a single sats-vault share.
593
+ */
594
+ sat: number;
595
+ };
596
+ /**
597
+ * A user's profile: their miner account, currently-open deployments and vault
598
+ * entries.
399
599
  */
400
600
  type ProfileDto = {
401
601
  /**
402
602
  * The authority's open public deployments.
403
603
  */
404
604
  deployments: Array<PublicDeploymentDto>;
605
+ /**
606
+ * The authority's open epoch vault entries.
607
+ */
608
+ epochVaultEntries: Array<EpochVaultEntryDto>;
405
609
  miner: MinerDto;
610
+ /**
611
+ * The authority's open 1 BTC vault entries.
612
+ */
613
+ oneBtcVaultEntries: Array<OneBtcVaultEntryDto>;
406
614
  };
407
615
  /**
408
616
  * Pubkey represented as base58 string in JSON and OpenAPI.
@@ -500,6 +708,20 @@ type SatrushConfigDto = {
500
708
  */
501
709
  usdMint: PubkeyDto;
502
710
  };
711
+ /**
712
+ * Sats vault balances: the BTC backing and the shares issued against it.
713
+ */
714
+ type SatsVaultDto = {
715
+ address: PubkeyDto;
716
+ /**
717
+ * Total BTC backing outstanding shares.
718
+ */
719
+ btcAmount: U64Dto;
720
+ /**
721
+ * Total shares issued against `btc_amount`.
722
+ */
723
+ btcShares: U64Dto;
724
+ };
503
725
  type SnapshotDto = {
504
726
  board: BoardDto;
505
727
  entity: NotificationEntity;
@@ -711,6 +933,15 @@ declare const zBadRequestErrorCodeErrorBody: z.ZodObject<{
711
933
  invalid_body: "invalid_body";
712
934
  }>;
713
935
  }, z.core.$strip>;
936
+ /**
937
+ * Lifecycle state of an epoch vault iteration.
938
+ */
939
+ declare const zEpochStateDto: z.ZodEnum<{
940
+ open: "open";
941
+ settling: "settling";
942
+ settled: "settled";
943
+ complete: "complete";
944
+ }>;
714
945
  declare const zFieldError: z.ZodObject<{
715
946
  field: z.ZodString;
716
947
  message: z.ZodString;
@@ -731,6 +962,21 @@ declare const zInternalErrorCodeErrorBody: z.ZodObject<{
731
962
  declare const zNotificationEntity: z.ZodEnum<{
732
963
  state_snapshot: "state_snapshot";
733
964
  }>;
965
+ /**
966
+ * Lifecycle state of a 1 BTC vault iteration.
967
+ */
968
+ declare const zOneBtcStateDto: z.ZodEnum<{
969
+ open: "open";
970
+ settled: "settled";
971
+ complete: "complete";
972
+ }>;
973
+ /**
974
+ * Live token prices observed by the service.
975
+ */
976
+ declare const zPricesDto: z.ZodObject<{
977
+ btc: z.ZodNumber;
978
+ sat: z.ZodNumber;
979
+ }, z.core.$strip>;
734
980
  /**
735
981
  * Pubkey represented as base58 string in JSON and OpenAPI.
736
982
  *
@@ -742,9 +988,9 @@ declare const zPubkeyDto: z.ZodString;
742
988
  * Lifecycle state of a round.
743
989
  */
744
990
  declare const zRoundStateDto: z.ZodEnum<{
991
+ settled: "settled";
745
992
  active: "active";
746
993
  revealed: "revealed";
747
- settled: "settled";
748
994
  finished: "finished";
749
995
  }>;
750
996
  /**
@@ -769,6 +1015,83 @@ declare const zU128Dto: z.ZodString;
769
1015
  * Unsigned 64-bit integer encoded as a decimal string.
770
1016
  */
771
1017
  declare const zU64Dto: z.ZodCoercedBigInt<unknown>;
1018
+ /**
1019
+ * A user's participation in an epoch vault iteration.
1020
+ */
1021
+ declare const zEpochVaultEntryDto: z.ZodObject<{
1022
+ address: z.ZodString;
1023
+ iterationId: z.ZodInt;
1024
+ pageIndex: z.ZodInt;
1025
+ tickets: z.ZodCoercedBigInt<unknown>;
1026
+ }, z.core.$strip>;
1027
+ /**
1028
+ * A winner drawn in an epoch vault iteration.
1029
+ */
1030
+ declare const zEpochWinnerDto: z.ZodObject<{
1031
+ authority: z.ZodString;
1032
+ claimed: z.ZodBoolean;
1033
+ tickets: z.ZodCoercedBigInt<unknown>;
1034
+ }, z.core.$strip>;
1035
+ /**
1036
+ * Core state of an epoch vault iteration.
1037
+ */
1038
+ declare const zEpochVaultIterationDto: z.ZodObject<{
1039
+ address: z.ZodString;
1040
+ claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1041
+ claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1042
+ id: z.ZodInt;
1043
+ pageCount: z.ZodInt;
1044
+ participantsCount: z.ZodInt;
1045
+ state: z.ZodEnum<{
1046
+ open: "open";
1047
+ settling: "settling";
1048
+ settled: "settled";
1049
+ complete: "complete";
1050
+ }>;
1051
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1052
+ winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
1053
+ authority: z.ZodString;
1054
+ claimed: z.ZodBoolean;
1055
+ tickets: z.ZodCoercedBigInt<unknown>;
1056
+ }, z.core.$strip>>, z.ZodNull]>>;
1057
+ winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1058
+ winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1059
+ }, z.core.$strip>;
1060
+ /**
1061
+ * Epoch vault balances and its current iteration.
1062
+ */
1063
+ declare const zEpochVaultDto: z.ZodObject<{
1064
+ address: z.ZodString;
1065
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1066
+ address: z.ZodString;
1067
+ claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1068
+ claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1069
+ id: z.ZodInt;
1070
+ pageCount: z.ZodInt;
1071
+ participantsCount: z.ZodInt;
1072
+ state: z.ZodEnum<{
1073
+ open: "open";
1074
+ settling: "settling";
1075
+ settled: "settled";
1076
+ complete: "complete";
1077
+ }>;
1078
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1079
+ winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
1080
+ authority: z.ZodString;
1081
+ claimed: z.ZodBoolean;
1082
+ tickets: z.ZodCoercedBigInt<unknown>;
1083
+ }, z.core.$strip>>, z.ZodNull]>>;
1084
+ winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1085
+ winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1086
+ }, z.core.$strip>]>>;
1087
+ iterationId: z.ZodInt;
1088
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1089
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1090
+ poolBtcAmount: z.ZodCoercedBigInt<unknown>;
1091
+ poolUsdAmount: z.ZodCoercedBigInt<unknown>;
1092
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1093
+ reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
1094
+ }, z.core.$strip>;
772
1095
  /**
773
1096
  * A miner's accumulated protocol state, keyed by its authority wallet.
774
1097
  */
@@ -780,6 +1103,53 @@ declare const zMinerDto: z.ZodObject<{
780
1103
  unclaimedBtcShares: z.ZodCoercedBigInt<unknown>;
781
1104
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
782
1105
  }, z.core.$strip>;
1106
+ /**
1107
+ * A user's ticket purchase in a 1 BTC vault iteration.
1108
+ */
1109
+ declare const zOneBtcVaultEntryDto: z.ZodObject<{
1110
+ address: z.ZodString;
1111
+ iterationId: z.ZodInt;
1112
+ startTicketId: z.ZodCoercedBigInt<unknown>;
1113
+ ticketsCount: z.ZodCoercedBigInt<unknown>;
1114
+ }, z.core.$strip>;
1115
+ /**
1116
+ * Core state of a 1 BTC vault iteration.
1117
+ */
1118
+ declare const zOneBtcVaultIterationDto: z.ZodObject<{
1119
+ address: z.ZodString;
1120
+ id: z.ZodInt;
1121
+ prizeBtc: z.ZodCoercedBigInt<unknown>;
1122
+ state: z.ZodEnum<{
1123
+ open: "open";
1124
+ settled: "settled";
1125
+ complete: "complete";
1126
+ }>;
1127
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1128
+ winningTicket: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1129
+ }, z.core.$strip>;
1130
+ /**
1131
+ * 1 BTC vault balances and its current iteration.
1132
+ */
1133
+ declare const zOneBtcVaultDto: z.ZodObject<{
1134
+ address: z.ZodString;
1135
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1136
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1137
+ address: z.ZodString;
1138
+ id: z.ZodInt;
1139
+ prizeBtc: z.ZodCoercedBigInt<unknown>;
1140
+ state: z.ZodEnum<{
1141
+ open: "open";
1142
+ settled: "settled";
1143
+ complete: "complete";
1144
+ }>;
1145
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1146
+ winningTicket: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1147
+ }, z.core.$strip>]>>;
1148
+ iterationId: z.ZodInt;
1149
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1150
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1151
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1152
+ }, z.core.$strip>;
783
1153
  /**
784
1154
  * A miner's deployment of USD onto a round's tiles.
785
1155
  */
@@ -790,7 +1160,8 @@ declare const zPublicDeploymentDto: z.ZodObject<{
790
1160
  selectionMask: z.ZodInt;
791
1161
  }, z.core.$strip>;
792
1162
  /**
793
- * A user's profile: their miner account and currently-open deployments.
1163
+ * A user's profile: their miner account, currently-open deployments and vault
1164
+ * entries.
794
1165
  */
795
1166
  declare const zProfileDto: z.ZodObject<{
796
1167
  deployments: z.ZodArray<z.ZodObject<{
@@ -799,6 +1170,12 @@ declare const zProfileDto: z.ZodObject<{
799
1170
  roundId: z.ZodInt;
800
1171
  selectionMask: z.ZodInt;
801
1172
  }, z.core.$strip>>;
1173
+ epochVaultEntries: z.ZodArray<z.ZodObject<{
1174
+ address: z.ZodString;
1175
+ iterationId: z.ZodInt;
1176
+ pageIndex: z.ZodInt;
1177
+ tickets: z.ZodCoercedBigInt<unknown>;
1178
+ }, z.core.$strip>>;
802
1179
  miner: z.ZodObject<{
803
1180
  authority: z.ZodString;
804
1181
  currentStreakCount: z.ZodInt;
@@ -807,6 +1184,20 @@ declare const zProfileDto: z.ZodObject<{
807
1184
  unclaimedBtcShares: z.ZodCoercedBigInt<unknown>;
808
1185
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
809
1186
  }, z.core.$strip>;
1187
+ oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
1188
+ address: z.ZodString;
1189
+ iterationId: z.ZodInt;
1190
+ startTicketId: z.ZodCoercedBigInt<unknown>;
1191
+ ticketsCount: z.ZodCoercedBigInt<unknown>;
1192
+ }, z.core.$strip>>;
1193
+ }, z.core.$strip>;
1194
+ /**
1195
+ * Sats vault balances: the BTC backing and the shares issued against it.
1196
+ */
1197
+ declare const zSatsVaultDto: z.ZodObject<{
1198
+ address: z.ZodString;
1199
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1200
+ btcShares: z.ZodCoercedBigInt<unknown>;
810
1201
  }, z.core.$strip>;
811
1202
  /**
812
1203
  * Strike jackpot balances tracked on the board.
@@ -838,9 +1229,9 @@ declare const zRoundDto: z.ZodObject<{
838
1229
  revealedMinersCount: z.ZodInt;
839
1230
  settledMinersCount: z.ZodInt;
840
1231
  state: z.ZodEnum<{
1232
+ settled: "settled";
841
1233
  active: "active";
842
1234
  revealed: "revealed";
843
- settled: "settled";
844
1235
  finished: "finished";
845
1236
  }>;
846
1237
  strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
@@ -868,9 +1259,9 @@ declare const zBoardDto: z.ZodObject<{
868
1259
  revealedMinersCount: z.ZodInt;
869
1260
  settledMinersCount: z.ZodInt;
870
1261
  state: z.ZodEnum<{
1262
+ settled: "settled";
871
1263
  active: "active";
872
1264
  revealed: "revealed";
873
- settled: "settled";
874
1265
  finished: "finished";
875
1266
  }>;
876
1267
  strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
@@ -885,6 +1276,58 @@ declare const zBoardDto: z.ZodObject<{
885
1276
  address: z.ZodString;
886
1277
  currentSlot: z.ZodCoercedBigInt<unknown>;
887
1278
  endSlot: z.ZodCoercedBigInt<unknown>;
1279
+ epochVault: z.ZodObject<{
1280
+ address: z.ZodString;
1281
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1282
+ address: z.ZodString;
1283
+ claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1284
+ claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1285
+ id: z.ZodInt;
1286
+ pageCount: z.ZodInt;
1287
+ participantsCount: z.ZodInt;
1288
+ state: z.ZodEnum<{
1289
+ open: "open";
1290
+ settling: "settling";
1291
+ settled: "settled";
1292
+ complete: "complete";
1293
+ }>;
1294
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1295
+ winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
1296
+ authority: z.ZodString;
1297
+ claimed: z.ZodBoolean;
1298
+ tickets: z.ZodCoercedBigInt<unknown>;
1299
+ }, z.core.$strip>>, z.ZodNull]>>;
1300
+ winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1301
+ winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1302
+ }, z.core.$strip>]>>;
1303
+ iterationId: z.ZodInt;
1304
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1305
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1306
+ poolBtcAmount: z.ZodCoercedBigInt<unknown>;
1307
+ poolUsdAmount: z.ZodCoercedBigInt<unknown>;
1308
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1309
+ reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
1310
+ }, z.core.$strip>;
1311
+ oneBtcVault: z.ZodObject<{
1312
+ address: z.ZodString;
1313
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1314
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1315
+ address: z.ZodString;
1316
+ id: z.ZodInt;
1317
+ prizeBtc: z.ZodCoercedBigInt<unknown>;
1318
+ state: z.ZodEnum<{
1319
+ open: "open";
1320
+ settled: "settled";
1321
+ complete: "complete";
1322
+ }>;
1323
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1324
+ winningTicket: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1325
+ }, z.core.$strip>]>>;
1326
+ iterationId: z.ZodInt;
1327
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1328
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1329
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1330
+ }, z.core.$strip>;
888
1331
  previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
889
1332
  address: z.ZodString;
890
1333
  deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
@@ -896,9 +1339,9 @@ declare const zBoardDto: z.ZodObject<{
896
1339
  revealedMinersCount: z.ZodInt;
897
1340
  settledMinersCount: z.ZodInt;
898
1341
  state: z.ZodEnum<{
1342
+ settled: "settled";
899
1343
  active: "active";
900
1344
  revealed: "revealed";
901
- settled: "settled";
902
1345
  finished: "finished";
903
1346
  }>;
904
1347
  strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
@@ -910,8 +1353,17 @@ declare const zBoardDto: z.ZodObject<{
910
1353
  winnersCount: z.ZodInt;
911
1354
  winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
912
1355
  }, z.core.$strip>]>>;
1356
+ prices: z.ZodObject<{
1357
+ btc: z.ZodNumber;
1358
+ sat: z.ZodNumber;
1359
+ }, z.core.$strip>;
913
1360
  roundDuration: z.ZodInt;
914
1361
  roundId: z.ZodInt;
1362
+ satsVault: z.ZodObject<{
1363
+ address: z.ZodString;
1364
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1365
+ btcShares: z.ZodCoercedBigInt<unknown>;
1366
+ }, z.core.$strip>;
915
1367
  startSlot: z.ZodCoercedBigInt<unknown>;
916
1368
  strike: z.ZodObject<{
917
1369
  btcAmount: z.ZodCoercedBigInt<unknown>;
@@ -933,9 +1385,9 @@ declare const zSnapshotDto: z.ZodObject<{
933
1385
  revealedMinersCount: z.ZodInt;
934
1386
  settledMinersCount: z.ZodInt;
935
1387
  state: z.ZodEnum<{
1388
+ settled: "settled";
936
1389
  active: "active";
937
1390
  revealed: "revealed";
938
- settled: "settled";
939
1391
  finished: "finished";
940
1392
  }>;
941
1393
  strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
@@ -950,6 +1402,58 @@ declare const zSnapshotDto: z.ZodObject<{
950
1402
  address: z.ZodString;
951
1403
  currentSlot: z.ZodCoercedBigInt<unknown>;
952
1404
  endSlot: z.ZodCoercedBigInt<unknown>;
1405
+ epochVault: z.ZodObject<{
1406
+ address: z.ZodString;
1407
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1408
+ address: z.ZodString;
1409
+ claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1410
+ claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1411
+ id: z.ZodInt;
1412
+ pageCount: z.ZodInt;
1413
+ participantsCount: z.ZodInt;
1414
+ state: z.ZodEnum<{
1415
+ open: "open";
1416
+ settling: "settling";
1417
+ settled: "settled";
1418
+ complete: "complete";
1419
+ }>;
1420
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1421
+ winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
1422
+ authority: z.ZodString;
1423
+ claimed: z.ZodBoolean;
1424
+ tickets: z.ZodCoercedBigInt<unknown>;
1425
+ }, z.core.$strip>>, z.ZodNull]>>;
1426
+ winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1427
+ winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1428
+ }, z.core.$strip>]>>;
1429
+ iterationId: z.ZodInt;
1430
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1431
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1432
+ poolBtcAmount: z.ZodCoercedBigInt<unknown>;
1433
+ poolUsdAmount: z.ZodCoercedBigInt<unknown>;
1434
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1435
+ reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
1436
+ }, z.core.$strip>;
1437
+ oneBtcVault: z.ZodObject<{
1438
+ address: z.ZodString;
1439
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1440
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1441
+ address: z.ZodString;
1442
+ id: z.ZodInt;
1443
+ prizeBtc: z.ZodCoercedBigInt<unknown>;
1444
+ state: z.ZodEnum<{
1445
+ open: "open";
1446
+ settled: "settled";
1447
+ complete: "complete";
1448
+ }>;
1449
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1450
+ winningTicket: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1451
+ }, z.core.$strip>]>>;
1452
+ iterationId: z.ZodInt;
1453
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1454
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1455
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1456
+ }, z.core.$strip>;
953
1457
  previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
954
1458
  address: z.ZodString;
955
1459
  deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
@@ -961,9 +1465,9 @@ declare const zSnapshotDto: z.ZodObject<{
961
1465
  revealedMinersCount: z.ZodInt;
962
1466
  settledMinersCount: z.ZodInt;
963
1467
  state: z.ZodEnum<{
1468
+ settled: "settled";
964
1469
  active: "active";
965
1470
  revealed: "revealed";
966
- settled: "settled";
967
1471
  finished: "finished";
968
1472
  }>;
969
1473
  strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
@@ -975,8 +1479,17 @@ declare const zSnapshotDto: z.ZodObject<{
975
1479
  winnersCount: z.ZodInt;
976
1480
  winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
977
1481
  }, z.core.$strip>]>>;
1482
+ prices: z.ZodObject<{
1483
+ btc: z.ZodNumber;
1484
+ sat: z.ZodNumber;
1485
+ }, z.core.$strip>;
978
1486
  roundDuration: z.ZodInt;
979
1487
  roundId: z.ZodInt;
1488
+ satsVault: z.ZodObject<{
1489
+ address: z.ZodString;
1490
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1491
+ btcShares: z.ZodCoercedBigInt<unknown>;
1492
+ }, z.core.$strip>;
980
1493
  startSlot: z.ZodCoercedBigInt<unknown>;
981
1494
  strike: z.ZodObject<{
982
1495
  btcAmount: z.ZodCoercedBigInt<unknown>;
@@ -995,6 +1508,12 @@ declare const zSnapshotDto: z.ZodObject<{
995
1508
  roundId: z.ZodInt;
996
1509
  selectionMask: z.ZodInt;
997
1510
  }, z.core.$strip>>;
1511
+ epochVaultEntries: z.ZodArray<z.ZodObject<{
1512
+ address: z.ZodString;
1513
+ iterationId: z.ZodInt;
1514
+ pageIndex: z.ZodInt;
1515
+ tickets: z.ZodCoercedBigInt<unknown>;
1516
+ }, z.core.$strip>>;
998
1517
  miner: z.ZodObject<{
999
1518
  authority: z.ZodString;
1000
1519
  currentStreakCount: z.ZodInt;
@@ -1003,6 +1522,12 @@ declare const zSnapshotDto: z.ZodObject<{
1003
1522
  unclaimedBtcShares: z.ZodCoercedBigInt<unknown>;
1004
1523
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
1005
1524
  }, z.core.$strip>;
1525
+ oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
1526
+ address: z.ZodString;
1527
+ iterationId: z.ZodInt;
1528
+ startTicketId: z.ZodCoercedBigInt<unknown>;
1529
+ ticketsCount: z.ZodCoercedBigInt<unknown>;
1530
+ }, z.core.$strip>>;
1006
1531
  }, z.core.$strip>]>>;
1007
1532
  }, z.core.$strip>;
1008
1533
  declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
@@ -1018,9 +1543,9 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
1018
1543
  revealedMinersCount: z.ZodInt;
1019
1544
  settledMinersCount: z.ZodInt;
1020
1545
  state: z.ZodEnum<{
1546
+ settled: "settled";
1021
1547
  active: "active";
1022
1548
  revealed: "revealed";
1023
- settled: "settled";
1024
1549
  finished: "finished";
1025
1550
  }>;
1026
1551
  strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
@@ -1035,6 +1560,58 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
1035
1560
  address: z.ZodString;
1036
1561
  currentSlot: z.ZodCoercedBigInt<unknown>;
1037
1562
  endSlot: z.ZodCoercedBigInt<unknown>;
1563
+ epochVault: z.ZodObject<{
1564
+ address: z.ZodString;
1565
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1566
+ address: z.ZodString;
1567
+ claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1568
+ claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1569
+ id: z.ZodInt;
1570
+ pageCount: z.ZodInt;
1571
+ participantsCount: z.ZodInt;
1572
+ state: z.ZodEnum<{
1573
+ open: "open";
1574
+ settling: "settling";
1575
+ settled: "settled";
1576
+ complete: "complete";
1577
+ }>;
1578
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1579
+ winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
1580
+ authority: z.ZodString;
1581
+ claimed: z.ZodBoolean;
1582
+ tickets: z.ZodCoercedBigInt<unknown>;
1583
+ }, z.core.$strip>>, z.ZodNull]>>;
1584
+ winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1585
+ winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1586
+ }, z.core.$strip>]>>;
1587
+ iterationId: z.ZodInt;
1588
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1589
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1590
+ poolBtcAmount: z.ZodCoercedBigInt<unknown>;
1591
+ poolUsdAmount: z.ZodCoercedBigInt<unknown>;
1592
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1593
+ reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
1594
+ }, z.core.$strip>;
1595
+ oneBtcVault: z.ZodObject<{
1596
+ address: z.ZodString;
1597
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1598
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1599
+ address: z.ZodString;
1600
+ id: z.ZodInt;
1601
+ prizeBtc: z.ZodCoercedBigInt<unknown>;
1602
+ state: z.ZodEnum<{
1603
+ open: "open";
1604
+ settled: "settled";
1605
+ complete: "complete";
1606
+ }>;
1607
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1608
+ winningTicket: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1609
+ }, z.core.$strip>]>>;
1610
+ iterationId: z.ZodInt;
1611
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1612
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1613
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1614
+ }, z.core.$strip>;
1038
1615
  previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1039
1616
  address: z.ZodString;
1040
1617
  deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
@@ -1046,9 +1623,9 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
1046
1623
  revealedMinersCount: z.ZodInt;
1047
1624
  settledMinersCount: z.ZodInt;
1048
1625
  state: z.ZodEnum<{
1626
+ settled: "settled";
1049
1627
  active: "active";
1050
1628
  revealed: "revealed";
1051
- settled: "settled";
1052
1629
  finished: "finished";
1053
1630
  }>;
1054
1631
  strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
@@ -1060,8 +1637,17 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
1060
1637
  winnersCount: z.ZodInt;
1061
1638
  winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1062
1639
  }, z.core.$strip>]>>;
1640
+ prices: z.ZodObject<{
1641
+ btc: z.ZodNumber;
1642
+ sat: z.ZodNumber;
1643
+ }, z.core.$strip>;
1063
1644
  roundDuration: z.ZodInt;
1064
1645
  roundId: z.ZodInt;
1646
+ satsVault: z.ZodObject<{
1647
+ address: z.ZodString;
1648
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1649
+ btcShares: z.ZodCoercedBigInt<unknown>;
1650
+ }, z.core.$strip>;
1065
1651
  startSlot: z.ZodCoercedBigInt<unknown>;
1066
1652
  strike: z.ZodObject<{
1067
1653
  btcAmount: z.ZodCoercedBigInt<unknown>;
@@ -1080,6 +1666,12 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
1080
1666
  roundId: z.ZodInt;
1081
1667
  selectionMask: z.ZodInt;
1082
1668
  }, z.core.$strip>>;
1669
+ epochVaultEntries: z.ZodArray<z.ZodObject<{
1670
+ address: z.ZodString;
1671
+ iterationId: z.ZodInt;
1672
+ pageIndex: z.ZodInt;
1673
+ tickets: z.ZodCoercedBigInt<unknown>;
1674
+ }, z.core.$strip>>;
1083
1675
  miner: z.ZodObject<{
1084
1676
  authority: z.ZodString;
1085
1677
  currentStreakCount: z.ZodInt;
@@ -1088,6 +1680,12 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
1088
1680
  unclaimedBtcShares: z.ZodCoercedBigInt<unknown>;
1089
1681
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
1090
1682
  }, z.core.$strip>;
1683
+ oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
1684
+ address: z.ZodString;
1685
+ iterationId: z.ZodInt;
1686
+ startTicketId: z.ZodCoercedBigInt<unknown>;
1687
+ ticketsCount: z.ZodCoercedBigInt<unknown>;
1688
+ }, z.core.$strip>>;
1091
1689
  }, z.core.$strip>]>>;
1092
1690
  }, z.core.$strip>, z.ZodObject<{
1093
1691
  entity: z.ZodEnum<{
@@ -1109,9 +1707,9 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
1109
1707
  revealedMinersCount: z.ZodInt;
1110
1708
  settledMinersCount: z.ZodInt;
1111
1709
  state: z.ZodEnum<{
1710
+ settled: "settled";
1112
1711
  active: "active";
1113
1712
  revealed: "revealed";
1114
- settled: "settled";
1115
1713
  finished: "finished";
1116
1714
  }>;
1117
1715
  strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
@@ -1126,6 +1724,58 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
1126
1724
  address: z.ZodString;
1127
1725
  currentSlot: z.ZodCoercedBigInt<unknown>;
1128
1726
  endSlot: z.ZodCoercedBigInt<unknown>;
1727
+ epochVault: z.ZodObject<{
1728
+ address: z.ZodString;
1729
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1730
+ address: z.ZodString;
1731
+ claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1732
+ claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1733
+ id: z.ZodInt;
1734
+ pageCount: z.ZodInt;
1735
+ participantsCount: z.ZodInt;
1736
+ state: z.ZodEnum<{
1737
+ open: "open";
1738
+ settling: "settling";
1739
+ settled: "settled";
1740
+ complete: "complete";
1741
+ }>;
1742
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1743
+ winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
1744
+ authority: z.ZodString;
1745
+ claimed: z.ZodBoolean;
1746
+ tickets: z.ZodCoercedBigInt<unknown>;
1747
+ }, z.core.$strip>>, z.ZodNull]>>;
1748
+ winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1749
+ winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1750
+ }, z.core.$strip>]>>;
1751
+ iterationId: z.ZodInt;
1752
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1753
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1754
+ poolBtcAmount: z.ZodCoercedBigInt<unknown>;
1755
+ poolUsdAmount: z.ZodCoercedBigInt<unknown>;
1756
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1757
+ reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
1758
+ }, z.core.$strip>;
1759
+ oneBtcVault: z.ZodObject<{
1760
+ address: z.ZodString;
1761
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1762
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1763
+ address: z.ZodString;
1764
+ id: z.ZodInt;
1765
+ prizeBtc: z.ZodCoercedBigInt<unknown>;
1766
+ state: z.ZodEnum<{
1767
+ open: "open";
1768
+ settled: "settled";
1769
+ complete: "complete";
1770
+ }>;
1771
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1772
+ winningTicket: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1773
+ }, z.core.$strip>]>>;
1774
+ iterationId: z.ZodInt;
1775
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1776
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1777
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1778
+ }, z.core.$strip>;
1129
1779
  previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1130
1780
  address: z.ZodString;
1131
1781
  deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
@@ -1137,9 +1787,9 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
1137
1787
  revealedMinersCount: z.ZodInt;
1138
1788
  settledMinersCount: z.ZodInt;
1139
1789
  state: z.ZodEnum<{
1790
+ settled: "settled";
1140
1791
  active: "active";
1141
1792
  revealed: "revealed";
1142
- settled: "settled";
1143
1793
  finished: "finished";
1144
1794
  }>;
1145
1795
  strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
@@ -1151,8 +1801,17 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
1151
1801
  winnersCount: z.ZodInt;
1152
1802
  winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1153
1803
  }, z.core.$strip>]>>;
1804
+ prices: z.ZodObject<{
1805
+ btc: z.ZodNumber;
1806
+ sat: z.ZodNumber;
1807
+ }, z.core.$strip>;
1154
1808
  roundDuration: z.ZodInt;
1155
1809
  roundId: z.ZodInt;
1810
+ satsVault: z.ZodObject<{
1811
+ address: z.ZodString;
1812
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1813
+ btcShares: z.ZodCoercedBigInt<unknown>;
1814
+ }, z.core.$strip>;
1156
1815
  startSlot: z.ZodCoercedBigInt<unknown>;
1157
1816
  strike: z.ZodObject<{
1158
1817
  btcAmount: z.ZodCoercedBigInt<unknown>;
@@ -1171,6 +1830,12 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
1171
1830
  roundId: z.ZodInt;
1172
1831
  selectionMask: z.ZodInt;
1173
1832
  }, z.core.$strip>>;
1833
+ epochVaultEntries: z.ZodArray<z.ZodObject<{
1834
+ address: z.ZodString;
1835
+ iterationId: z.ZodInt;
1836
+ pageIndex: z.ZodInt;
1837
+ tickets: z.ZodCoercedBigInt<unknown>;
1838
+ }, z.core.$strip>>;
1174
1839
  miner: z.ZodObject<{
1175
1840
  authority: z.ZodString;
1176
1841
  currentStreakCount: z.ZodInt;
@@ -1179,6 +1844,12 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
1179
1844
  unclaimedBtcShares: z.ZodCoercedBigInt<unknown>;
1180
1845
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
1181
1846
  }, z.core.$strip>;
1847
+ oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
1848
+ address: z.ZodString;
1849
+ iterationId: z.ZodInt;
1850
+ startTicketId: z.ZodCoercedBigInt<unknown>;
1851
+ ticketsCount: z.ZodCoercedBigInt<unknown>;
1852
+ }, z.core.$strip>>;
1182
1853
  }, z.core.$strip>]>>;
1183
1854
  }, z.core.$strip>, z.ZodObject<{
1184
1855
  entity: z.ZodEnum<{
@@ -1245,9 +1916,9 @@ declare const zGetBoardResponse: z.ZodObject<{
1245
1916
  revealedMinersCount: z.ZodInt;
1246
1917
  settledMinersCount: z.ZodInt;
1247
1918
  state: z.ZodEnum<{
1919
+ settled: "settled";
1248
1920
  active: "active";
1249
1921
  revealed: "revealed";
1250
- settled: "settled";
1251
1922
  finished: "finished";
1252
1923
  }>;
1253
1924
  strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
@@ -1262,6 +1933,58 @@ declare const zGetBoardResponse: z.ZodObject<{
1262
1933
  address: z.ZodString;
1263
1934
  currentSlot: z.ZodCoercedBigInt<unknown>;
1264
1935
  endSlot: z.ZodCoercedBigInt<unknown>;
1936
+ epochVault: z.ZodObject<{
1937
+ address: z.ZodString;
1938
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1939
+ address: z.ZodString;
1940
+ claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1941
+ claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1942
+ id: z.ZodInt;
1943
+ pageCount: z.ZodInt;
1944
+ participantsCount: z.ZodInt;
1945
+ state: z.ZodEnum<{
1946
+ open: "open";
1947
+ settling: "settling";
1948
+ settled: "settled";
1949
+ complete: "complete";
1950
+ }>;
1951
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1952
+ winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
1953
+ authority: z.ZodString;
1954
+ claimed: z.ZodBoolean;
1955
+ tickets: z.ZodCoercedBigInt<unknown>;
1956
+ }, z.core.$strip>>, z.ZodNull]>>;
1957
+ winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1958
+ winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1959
+ }, z.core.$strip>]>>;
1960
+ iterationId: z.ZodInt;
1961
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1962
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1963
+ poolBtcAmount: z.ZodCoercedBigInt<unknown>;
1964
+ poolUsdAmount: z.ZodCoercedBigInt<unknown>;
1965
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1966
+ reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
1967
+ }, z.core.$strip>;
1968
+ oneBtcVault: z.ZodObject<{
1969
+ address: z.ZodString;
1970
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1971
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1972
+ address: z.ZodString;
1973
+ id: z.ZodInt;
1974
+ prizeBtc: z.ZodCoercedBigInt<unknown>;
1975
+ state: z.ZodEnum<{
1976
+ open: "open";
1977
+ settled: "settled";
1978
+ complete: "complete";
1979
+ }>;
1980
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1981
+ winningTicket: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1982
+ }, z.core.$strip>]>>;
1983
+ iterationId: z.ZodInt;
1984
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1985
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1986
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1987
+ }, z.core.$strip>;
1265
1988
  previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1266
1989
  address: z.ZodString;
1267
1990
  deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
@@ -1273,9 +1996,9 @@ declare const zGetBoardResponse: z.ZodObject<{
1273
1996
  revealedMinersCount: z.ZodInt;
1274
1997
  settledMinersCount: z.ZodInt;
1275
1998
  state: z.ZodEnum<{
1999
+ settled: "settled";
1276
2000
  active: "active";
1277
2001
  revealed: "revealed";
1278
- settled: "settled";
1279
2002
  finished: "finished";
1280
2003
  }>;
1281
2004
  strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
@@ -1287,8 +2010,17 @@ declare const zGetBoardResponse: z.ZodObject<{
1287
2010
  winnersCount: z.ZodInt;
1288
2011
  winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1289
2012
  }, z.core.$strip>]>>;
2013
+ prices: z.ZodObject<{
2014
+ btc: z.ZodNumber;
2015
+ sat: z.ZodNumber;
2016
+ }, z.core.$strip>;
1290
2017
  roundDuration: z.ZodInt;
1291
2018
  roundId: z.ZodInt;
2019
+ satsVault: z.ZodObject<{
2020
+ address: z.ZodString;
2021
+ btcAmount: z.ZodCoercedBigInt<unknown>;
2022
+ btcShares: z.ZodCoercedBigInt<unknown>;
2023
+ }, z.core.$strip>;
1292
2024
  startSlot: z.ZodCoercedBigInt<unknown>;
1293
2025
  strike: z.ZodObject<{
1294
2026
  btcAmount: z.ZodCoercedBigInt<unknown>;
@@ -1343,9 +2075,9 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
1343
2075
  revealedMinersCount: z.ZodInt;
1344
2076
  settledMinersCount: z.ZodInt;
1345
2077
  state: z.ZodEnum<{
2078
+ settled: "settled";
1346
2079
  active: "active";
1347
2080
  revealed: "revealed";
1348
- settled: "settled";
1349
2081
  finished: "finished";
1350
2082
  }>;
1351
2083
  strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
@@ -1360,6 +2092,58 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
1360
2092
  address: z.ZodString;
1361
2093
  currentSlot: z.ZodCoercedBigInt<unknown>;
1362
2094
  endSlot: z.ZodCoercedBigInt<unknown>;
2095
+ epochVault: z.ZodObject<{
2096
+ address: z.ZodString;
2097
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
2098
+ address: z.ZodString;
2099
+ claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2100
+ claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2101
+ id: z.ZodInt;
2102
+ pageCount: z.ZodInt;
2103
+ participantsCount: z.ZodInt;
2104
+ state: z.ZodEnum<{
2105
+ open: "open";
2106
+ settling: "settling";
2107
+ settled: "settled";
2108
+ complete: "complete";
2109
+ }>;
2110
+ totalTickets: z.ZodCoercedBigInt<unknown>;
2111
+ winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
2112
+ authority: z.ZodString;
2113
+ claimed: z.ZodBoolean;
2114
+ tickets: z.ZodCoercedBigInt<unknown>;
2115
+ }, z.core.$strip>>, z.ZodNull]>>;
2116
+ winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
2117
+ winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
2118
+ }, z.core.$strip>]>>;
2119
+ iterationId: z.ZodInt;
2120
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
2121
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
2122
+ poolBtcAmount: z.ZodCoercedBigInt<unknown>;
2123
+ poolUsdAmount: z.ZodCoercedBigInt<unknown>;
2124
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
2125
+ reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
2126
+ }, z.core.$strip>;
2127
+ oneBtcVault: z.ZodObject<{
2128
+ address: z.ZodString;
2129
+ btcAmount: z.ZodCoercedBigInt<unknown>;
2130
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
2131
+ address: z.ZodString;
2132
+ id: z.ZodInt;
2133
+ prizeBtc: z.ZodCoercedBigInt<unknown>;
2134
+ state: z.ZodEnum<{
2135
+ open: "open";
2136
+ settled: "settled";
2137
+ complete: "complete";
2138
+ }>;
2139
+ totalTickets: z.ZodCoercedBigInt<unknown>;
2140
+ winningTicket: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2141
+ }, z.core.$strip>]>>;
2142
+ iterationId: z.ZodInt;
2143
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
2144
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
2145
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
2146
+ }, z.core.$strip>;
1363
2147
  previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1364
2148
  address: z.ZodString;
1365
2149
  deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
@@ -1371,9 +2155,9 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
1371
2155
  revealedMinersCount: z.ZodInt;
1372
2156
  settledMinersCount: z.ZodInt;
1373
2157
  state: z.ZodEnum<{
2158
+ settled: "settled";
1374
2159
  active: "active";
1375
2160
  revealed: "revealed";
1376
- settled: "settled";
1377
2161
  finished: "finished";
1378
2162
  }>;
1379
2163
  strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
@@ -1385,8 +2169,17 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
1385
2169
  winnersCount: z.ZodInt;
1386
2170
  winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1387
2171
  }, z.core.$strip>]>>;
2172
+ prices: z.ZodObject<{
2173
+ btc: z.ZodNumber;
2174
+ sat: z.ZodNumber;
2175
+ }, z.core.$strip>;
1388
2176
  roundDuration: z.ZodInt;
1389
2177
  roundId: z.ZodInt;
2178
+ satsVault: z.ZodObject<{
2179
+ address: z.ZodString;
2180
+ btcAmount: z.ZodCoercedBigInt<unknown>;
2181
+ btcShares: z.ZodCoercedBigInt<unknown>;
2182
+ }, z.core.$strip>;
1390
2183
  startSlot: z.ZodCoercedBigInt<unknown>;
1391
2184
  strike: z.ZodObject<{
1392
2185
  btcAmount: z.ZodCoercedBigInt<unknown>;
@@ -1405,6 +2198,12 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
1405
2198
  roundId: z.ZodInt;
1406
2199
  selectionMask: z.ZodInt;
1407
2200
  }, z.core.$strip>>;
2201
+ epochVaultEntries: z.ZodArray<z.ZodObject<{
2202
+ address: z.ZodString;
2203
+ iterationId: z.ZodInt;
2204
+ pageIndex: z.ZodInt;
2205
+ tickets: z.ZodCoercedBigInt<unknown>;
2206
+ }, z.core.$strip>>;
1408
2207
  miner: z.ZodObject<{
1409
2208
  authority: z.ZodString;
1410
2209
  currentStreakCount: z.ZodInt;
@@ -1413,6 +2212,12 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
1413
2212
  unclaimedBtcShares: z.ZodCoercedBigInt<unknown>;
1414
2213
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
1415
2214
  }, z.core.$strip>;
2215
+ oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
2216
+ address: z.ZodString;
2217
+ iterationId: z.ZodInt;
2218
+ startTicketId: z.ZodCoercedBigInt<unknown>;
2219
+ ticketsCount: z.ZodCoercedBigInt<unknown>;
2220
+ }, z.core.$strip>>;
1416
2221
  }, z.core.$strip>]>>;
1417
2222
  }, z.core.$strip>, z.ZodObject<{
1418
2223
  entity: z.ZodEnum<{
@@ -1435,6 +2240,12 @@ declare const zGetUserProfileResponse: z.ZodObject<{
1435
2240
  roundId: z.ZodInt;
1436
2241
  selectionMask: z.ZodInt;
1437
2242
  }, z.core.$strip>>;
2243
+ epochVaultEntries: z.ZodArray<z.ZodObject<{
2244
+ address: z.ZodString;
2245
+ iterationId: z.ZodInt;
2246
+ pageIndex: z.ZodInt;
2247
+ tickets: z.ZodCoercedBigInt<unknown>;
2248
+ }, z.core.$strip>>;
1438
2249
  miner: z.ZodObject<{
1439
2250
  authority: z.ZodString;
1440
2251
  currentStreakCount: z.ZodInt;
@@ -1443,6 +2254,12 @@ declare const zGetUserProfileResponse: z.ZodObject<{
1443
2254
  unclaimedBtcShares: z.ZodCoercedBigInt<unknown>;
1444
2255
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
1445
2256
  }, z.core.$strip>;
2257
+ oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
2258
+ address: z.ZodString;
2259
+ iterationId: z.ZodInt;
2260
+ startTicketId: z.ZodCoercedBigInt<unknown>;
2261
+ ticketsCount: z.ZodCoercedBigInt<unknown>;
2262
+ }, z.core.$strip>>;
1446
2263
  }, z.core.$strip>;
1447
2264
  }, z.core.$strip>;
1448
2265
  type GetUserProfileResponseZodType = z.infer<typeof zGetUserProfileResponse>;
@@ -1469,4 +2286,4 @@ declare class SatrushBackendSdkError<TCause = unknown> extends Error {
1469
2286
  declare const satrushSdkErrorInterceptor: (error: unknown, response?: Response) => SatrushBackendSdkError<unknown>;
1470
2287
  declare const isSatrushSdkError: <TCause = unknown>(error: unknown) => error is SatrushBackendSdkError<TCause>;
1471
2288
 
1472
- export { type BadRequestErrorCodeErrorBody, type BoardDto, type ClientOptions, type FieldError, type GetBoardData, type GetBoardError, type GetBoardErrors, type GetBoardResponse, type GetBoardResponseZodType, type GetBoardResponses, type GetConfigData, type GetConfigError, type GetConfigErrors, type GetConfigResponse, type GetConfigResponseZodType, type GetConfigResponses, type GetUserProfileData, type GetUserProfileError, type GetUserProfileErrors, type GetUserProfileResponse, type GetUserProfileResponseZodType, type GetUserProfileResponses, type I128Dto, type I64Dto, type InternalErrorCodeErrorBody, type MinerDto, NotificationEntity, type Options, type ProfileDto, type PubkeyDto, type PublicDeploymentDto, type RoundDto, RoundStateDto, SatrushBackendSdk, SatrushBackendSdkError, type SatrushConfigDto, type ServerSentEventsOptions, type ServerSentEventsResult, type SnapshotDto, type SseData, type SseError, type SseErrors, type SseResponse, type SseResponse2, type SseResponseSnapshot, type SseResponseZodType, type SseResponses, type StreamEvent, type StrikeJackpotDto, type TileStakeDto, type U128Dto, type U64Dto, type UserProfileApiError400Error, type UserProfileApiError400InvalidAddress, type ValidationErrorCodeErrorBody, type ValidationErrorCodeValidationDetailsErrorBody, createClient, createSseClient, isSatrushSdkError, satrushSdkErrorInterceptor, unwrap, zBadRequestErrorCodeErrorBody, zBoardDto, zFieldError, zGetBoardData, zGetBoardResponse, zGetConfigData, zGetConfigResponse, zGetUserProfileData, zGetUserProfileResponse, zI128Dto, zI64Dto, zInternalErrorCodeErrorBody, zMinerDto, zNotificationEntity, zProfileDto, zPubkeyDto, zPublicDeploymentDto, zRoundDto, zRoundStateDto, zSatrushConfigDto, zSnapshotDto, zSseData, zSseResponse, zSseResponse2, zSseResponseSnapshot, zStrikeJackpotDto, zTileStakeDto, zU128Dto, zU64Dto, zUserProfileApiError400Error, zUserProfileApiError400InvalidAddress, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody };
2289
+ export { type BadRequestErrorCodeErrorBody, type BoardDto, type ClientOptions, EpochStateDto, type EpochVaultDto, type EpochVaultEntryDto, type EpochVaultIterationDto, type EpochWinnerDto, type FieldError, type GetBoardData, type GetBoardError, type GetBoardErrors, type GetBoardResponse, type GetBoardResponseZodType, type GetBoardResponses, type GetConfigData, type GetConfigError, type GetConfigErrors, type GetConfigResponse, type GetConfigResponseZodType, type GetConfigResponses, type GetUserProfileData, type GetUserProfileError, type GetUserProfileErrors, type GetUserProfileResponse, type GetUserProfileResponseZodType, type GetUserProfileResponses, type I128Dto, type I64Dto, type InternalErrorCodeErrorBody, type MinerDto, NotificationEntity, OneBtcStateDto, type OneBtcVaultDto, type OneBtcVaultEntryDto, type OneBtcVaultIterationDto, type Options, type PricesDto, type ProfileDto, type PubkeyDto, type PublicDeploymentDto, type RoundDto, RoundStateDto, SatrushBackendSdk, SatrushBackendSdkError, type SatrushConfigDto, type SatsVaultDto, type ServerSentEventsOptions, type ServerSentEventsResult, type SnapshotDto, type SseData, type SseError, type SseErrors, type SseResponse, type SseResponse2, type SseResponseSnapshot, type SseResponseZodType, type SseResponses, type StreamEvent, type StrikeJackpotDto, type TileStakeDto, type U128Dto, type U64Dto, type UserProfileApiError400Error, type UserProfileApiError400InvalidAddress, type ValidationErrorCodeErrorBody, type ValidationErrorCodeValidationDetailsErrorBody, createClient, createSseClient, isSatrushSdkError, satrushSdkErrorInterceptor, unwrap, zBadRequestErrorCodeErrorBody, zBoardDto, zEpochStateDto, zEpochVaultDto, zEpochVaultEntryDto, zEpochVaultIterationDto, zEpochWinnerDto, zFieldError, zGetBoardData, zGetBoardResponse, zGetConfigData, zGetConfigResponse, zGetUserProfileData, zGetUserProfileResponse, zI128Dto, zI64Dto, zInternalErrorCodeErrorBody, zMinerDto, zNotificationEntity, zOneBtcStateDto, zOneBtcVaultDto, zOneBtcVaultEntryDto, zOneBtcVaultIterationDto, zPricesDto, zProfileDto, zPubkeyDto, zPublicDeploymentDto, zRoundDto, zRoundStateDto, zSatrushConfigDto, zSatsVaultDto, zSnapshotDto, zSseData, zSseResponse, zSseResponse2, zSseResponseSnapshot, zStrikeJackpotDto, zTileStakeDto, zU128Dto, zU64Dto, zUserProfileApiError400Error, zUserProfileApiError400InvalidAddress, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody };