@satrush/api 0.1.1 → 0.1.3

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.cts CHANGED
@@ -331,18 +331,129 @@ 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;
335
343
  /**
336
344
  * Round duration in slots.
337
345
  */
338
346
  roundDuration: number;
339
347
  roundId: number;
348
+ /**
349
+ * The sats vault balances.
350
+ */
351
+ satsVault: SatsVaultDto;
340
352
  /**
341
353
  * Slot at which the current round starts mining.
342
354
  */
343
355
  startSlot: U64Dto;
344
356
  strike: StrikeJackpotDto;
345
357
  };
358
+ /**
359
+ * Lifecycle state of an epoch vault iteration.
360
+ */
361
+ declare const EpochStateDto: {
362
+ readonly OPEN: "open";
363
+ readonly SETTLING: "settling";
364
+ readonly SETTLED: "settled";
365
+ readonly COMPLETE: "complete";
366
+ };
367
+ /**
368
+ * Lifecycle state of an epoch vault iteration.
369
+ */
370
+ type EpochStateDto = typeof EpochStateDto[keyof typeof EpochStateDto];
371
+ /**
372
+ * Epoch vault balances and its current iteration.
373
+ */
374
+ type EpochVaultDto = {
375
+ address: PubkeyDto;
376
+ currentIteration?: null | EpochVaultIterationDto;
377
+ iterationId: number;
378
+ /**
379
+ * Slot at which the current iteration's window started.
380
+ */
381
+ lastTriggerSlot: U64Dto;
382
+ /**
383
+ * USD received from fees, not yet swapped.
384
+ */
385
+ pendingUsdAmount: U64Dto;
386
+ /**
387
+ * Post-swap BTC available to be drawn into a pot.
388
+ */
389
+ poolBtcAmount: U64Dto;
390
+ /**
391
+ * Post-swap USD available to be drawn into a pot.
392
+ */
393
+ poolUsdAmount: U64Dto;
394
+ /**
395
+ * BTC committed to open draws (awaiting winner claims).
396
+ */
397
+ reservedBtcAmount: U64Dto;
398
+ /**
399
+ * USD committed to open draws (awaiting winner claims).
400
+ */
401
+ reservedUsdAmount: U64Dto;
402
+ };
403
+ /**
404
+ * A user's participation in an epoch vault iteration.
405
+ */
406
+ type EpochVaultEntryDto = {
407
+ address: PubkeyDto;
408
+ /**
409
+ * Iteration this entry belongs to.
410
+ */
411
+ iterationId: number;
412
+ /**
413
+ * Page holding this participant.
414
+ */
415
+ pageIndex: number;
416
+ /**
417
+ * This participant's total tickets this iteration.
418
+ */
419
+ tickets: U64Dto;
420
+ };
421
+ /**
422
+ * Core state of an epoch vault iteration.
423
+ */
424
+ type EpochVaultIterationDto = {
425
+ address: PubkeyDto;
426
+ claimableBtc?: null | U64Dto;
427
+ claimableUsd?: null | U64Dto;
428
+ id: number;
429
+ pageCount: number;
430
+ participantsCount: number;
431
+ state: EpochStateDto;
432
+ totalTickets: U64Dto;
433
+ /**
434
+ * Winners in selection order. Null until the iteration is settled.
435
+ */
436
+ winners?: Array<EpochWinnerDto> | null;
437
+ /**
438
+ * Null until the iteration is settled.
439
+ */
440
+ winnersClaimed?: number | null;
441
+ /**
442
+ * Null until the iteration is settled.
443
+ */
444
+ winnersSelected?: number | null;
445
+ };
446
+ /**
447
+ * A winner drawn in an epoch vault iteration.
448
+ */
449
+ type EpochWinnerDto = {
450
+ authority: PubkeyDto;
451
+ claimed: boolean;
452
+ /**
453
+ * Ticket weight removed from the draw when this winner was selected.
454
+ */
455
+ tickets: U64Dto;
456
+ };
346
457
  type FieldError = {
347
458
  /**
348
459
  * Field name in request.
@@ -390,15 +501,99 @@ type MinerDto = {
390
501
  */
391
502
  unclaimedUsdAmount: U64Dto;
392
503
  };
504
+ declare const NotificationEntity: {
505
+ readonly STATE_SNAPSHOT: "state_snapshot";
506
+ };
507
+ type NotificationEntity = typeof NotificationEntity[keyof typeof NotificationEntity];
508
+ /**
509
+ * Lifecycle state of a 1 BTC vault iteration.
510
+ */
511
+ declare const OneBtcStateDto: {
512
+ readonly OPEN: "open";
513
+ readonly SETTLED: "settled";
514
+ readonly COMPLETE: "complete";
515
+ };
516
+ /**
517
+ * Lifecycle state of a 1 BTC vault iteration.
518
+ */
519
+ type OneBtcStateDto = typeof OneBtcStateDto[keyof typeof OneBtcStateDto];
520
+ /**
521
+ * 1 BTC vault balances and its current iteration.
522
+ */
523
+ type OneBtcVaultDto = {
524
+ address: PubkeyDto;
525
+ /**
526
+ * Swapped BTC accumulating toward the prize.
527
+ */
528
+ btcAmount: U64Dto;
529
+ currentIteration?: null | OneBtcVaultIterationDto;
530
+ iterationId: number;
531
+ /**
532
+ * Slot of the last triggered draw.
533
+ */
534
+ lastTriggerSlot: U64Dto;
535
+ /**
536
+ * USD received from fees, not yet swapped.
537
+ */
538
+ pendingUsdAmount: U64Dto;
539
+ /**
540
+ * BTC committed to sealed-but-unclaimed winners.
541
+ */
542
+ reservedBtcAmount: U64Dto;
543
+ };
544
+ /**
545
+ * A user's ticket purchase in a 1 BTC vault iteration.
546
+ */
547
+ type OneBtcVaultEntryDto = {
548
+ address: PubkeyDto;
549
+ /**
550
+ * Iteration this entry belongs to.
551
+ */
552
+ iterationId: number;
553
+ /**
554
+ * First ticket id of this purchase's range.
555
+ */
556
+ startTicketId: U64Dto;
557
+ /**
558
+ * Number of tickets in this purchase.
559
+ */
560
+ ticketsCount: U64Dto;
561
+ };
562
+ /**
563
+ * Core state of a 1 BTC vault iteration.
564
+ */
565
+ type OneBtcVaultIterationDto = {
566
+ address: PubkeyDto;
567
+ id: number;
568
+ /**
569
+ * Prize snapshotted at trigger (the payout amount).
570
+ */
571
+ prizeBtc: U64Dto;
572
+ state: OneBtcStateDto;
573
+ /**
574
+ * Running ticket counter; also the next purchase's start ticket id.
575
+ */
576
+ totalTickets: U64Dto;
577
+ winningTicket?: null | U64Dto;
578
+ };
393
579
  /**
394
- * A user's profile: their miner account and currently-open deployments.
580
+ * A user's profile: their miner account, currently-open deployments and vault
581
+ * entries.
395
582
  */
396
583
  type ProfileDto = {
397
584
  /**
398
585
  * The authority's open public deployments.
399
586
  */
400
587
  deployments: Array<PublicDeploymentDto>;
588
+ /**
589
+ * The authority's open epoch vault entries.
590
+ */
591
+ epochVaultEntries: Array<EpochVaultEntryDto>;
401
592
  miner: MinerDto;
593
+ /**
594
+ * The authority's open 1 BTC vault entries.
595
+ */
596
+ oneBtcVaultEntries: Array<OneBtcVaultEntryDto>;
402
597
  };
403
598
  /**
404
599
  * Pubkey represented as base58 string in JSON and OpenAPI.
@@ -496,6 +691,31 @@ type SatrushConfigDto = {
496
691
  */
497
692
  usdMint: PubkeyDto;
498
693
  };
694
+ /**
695
+ * Sats vault balances: the BTC backing and the shares issued against it.
696
+ */
697
+ type SatsVaultDto = {
698
+ address: PubkeyDto;
699
+ /**
700
+ * Total BTC backing outstanding shares.
701
+ */
702
+ btcAmount: U64Dto;
703
+ /**
704
+ * Total shares issued against `btc_amount`.
705
+ */
706
+ btcShares: U64Dto;
707
+ };
708
+ type SnapshotDto = {
709
+ board: BoardDto;
710
+ entity: NotificationEntity;
711
+ profile?: null | ProfileDto;
712
+ };
713
+ type SseResponse = {
714
+ entity: 'state_snapshot';
715
+ } & SseResponseSnapshot;
716
+ type SseResponseSnapshot = SnapshotDto & {
717
+ entity: 'state_snapshot';
718
+ };
499
719
  /**
500
720
  * Strike jackpot balances tracked on the board.
501
721
  */
@@ -584,6 +804,34 @@ type GetConfigResponses = {
584
804
  };
585
805
  };
586
806
  type GetConfigResponse = GetConfigResponses[keyof GetConfigResponses];
807
+ type SseData = {
808
+ body?: never;
809
+ path?: never;
810
+ query?: {
811
+ /**
812
+ * Wallet address (base58); when set, snapshots for this client also carry
813
+ * that wallet's profile.
814
+ */
815
+ wallet?: string;
816
+ };
817
+ url: '/v1/streams/sse';
818
+ };
819
+ type SseErrors = {
820
+ 400: BadRequestErrorCodeErrorBody;
821
+ 422: ValidationErrorCodeErrorBody;
822
+ /**
823
+ * Internal error
824
+ */
825
+ 500: unknown;
826
+ };
827
+ type SseError = SseErrors[keyof SseErrors];
828
+ type SseResponses = {
829
+ /**
830
+ * Server-Sent Events stream
831
+ */
832
+ 200: SseResponse;
833
+ };
834
+ type SseResponse2 = SseResponses[keyof SseResponses];
587
835
  type GetUserProfileData = {
588
836
  body?: never;
589
837
  path: {
@@ -647,6 +895,12 @@ declare class SatrushBackendSdk extends HeyApiClient {
647
895
  * Request config
648
896
  */
649
897
  getConfig<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetConfigResponses, GetConfigErrors, ThrowOnError, "fields">;
898
+ /**
899
+ * Subscribe for SSE stream
900
+ */
901
+ sse<ThrowOnError extends boolean = false>(parameters?: {
902
+ wallet?: string;
903
+ }, options?: Options<never, ThrowOnError>): Promise<ServerSentEventsResult<SseResponses, SseErrors>>;
650
904
  /**
651
905
  * Request user profile
652
906
  */
@@ -662,6 +916,15 @@ declare const zBadRequestErrorCodeErrorBody: z.ZodObject<{
662
916
  invalid_body: "invalid_body";
663
917
  }>;
664
918
  }, z.core.$strip>;
919
+ /**
920
+ * Lifecycle state of an epoch vault iteration.
921
+ */
922
+ declare const zEpochStateDto: z.ZodEnum<{
923
+ open: "open";
924
+ settling: "settling";
925
+ settled: "settled";
926
+ complete: "complete";
927
+ }>;
665
928
  declare const zFieldError: z.ZodObject<{
666
929
  field: z.ZodString;
667
930
  message: z.ZodString;
@@ -679,6 +942,17 @@ declare const zInternalErrorCodeErrorBody: z.ZodObject<{
679
942
  internal_error: "internal_error";
680
943
  }>;
681
944
  }, z.core.$strip>;
945
+ declare const zNotificationEntity: z.ZodEnum<{
946
+ state_snapshot: "state_snapshot";
947
+ }>;
948
+ /**
949
+ * Lifecycle state of a 1 BTC vault iteration.
950
+ */
951
+ declare const zOneBtcStateDto: z.ZodEnum<{
952
+ open: "open";
953
+ settled: "settled";
954
+ complete: "complete";
955
+ }>;
682
956
  /**
683
957
  * Pubkey represented as base58 string in JSON and OpenAPI.
684
958
  *
@@ -690,9 +964,9 @@ declare const zPubkeyDto: z.ZodString;
690
964
  * Lifecycle state of a round.
691
965
  */
692
966
  declare const zRoundStateDto: z.ZodEnum<{
967
+ settled: "settled";
693
968
  active: "active";
694
969
  revealed: "revealed";
695
- settled: "settled";
696
970
  finished: "finished";
697
971
  }>;
698
972
  /**
@@ -717,6 +991,83 @@ declare const zU128Dto: z.ZodString;
717
991
  * Unsigned 64-bit integer encoded as a decimal string.
718
992
  */
719
993
  declare const zU64Dto: z.ZodCoercedBigInt<unknown>;
994
+ /**
995
+ * A user's participation in an epoch vault iteration.
996
+ */
997
+ declare const zEpochVaultEntryDto: z.ZodObject<{
998
+ address: z.ZodString;
999
+ iterationId: z.ZodInt;
1000
+ pageIndex: z.ZodInt;
1001
+ tickets: z.ZodCoercedBigInt<unknown>;
1002
+ }, z.core.$strip>;
1003
+ /**
1004
+ * A winner drawn in an epoch vault iteration.
1005
+ */
1006
+ declare const zEpochWinnerDto: z.ZodObject<{
1007
+ authority: z.ZodString;
1008
+ claimed: z.ZodBoolean;
1009
+ tickets: z.ZodCoercedBigInt<unknown>;
1010
+ }, z.core.$strip>;
1011
+ /**
1012
+ * Core state of an epoch vault iteration.
1013
+ */
1014
+ declare const zEpochVaultIterationDto: z.ZodObject<{
1015
+ address: z.ZodString;
1016
+ claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1017
+ claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1018
+ id: z.ZodInt;
1019
+ pageCount: z.ZodInt;
1020
+ participantsCount: z.ZodInt;
1021
+ state: z.ZodEnum<{
1022
+ open: "open";
1023
+ settling: "settling";
1024
+ settled: "settled";
1025
+ complete: "complete";
1026
+ }>;
1027
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1028
+ winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
1029
+ authority: z.ZodString;
1030
+ claimed: z.ZodBoolean;
1031
+ tickets: z.ZodCoercedBigInt<unknown>;
1032
+ }, z.core.$strip>>, z.ZodNull]>>;
1033
+ winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1034
+ winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1035
+ }, z.core.$strip>;
1036
+ /**
1037
+ * Epoch vault balances and its current iteration.
1038
+ */
1039
+ declare const zEpochVaultDto: z.ZodObject<{
1040
+ address: z.ZodString;
1041
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1042
+ address: z.ZodString;
1043
+ claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1044
+ claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1045
+ id: z.ZodInt;
1046
+ pageCount: z.ZodInt;
1047
+ participantsCount: z.ZodInt;
1048
+ state: z.ZodEnum<{
1049
+ open: "open";
1050
+ settling: "settling";
1051
+ settled: "settled";
1052
+ complete: "complete";
1053
+ }>;
1054
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1055
+ winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
1056
+ authority: z.ZodString;
1057
+ claimed: z.ZodBoolean;
1058
+ tickets: z.ZodCoercedBigInt<unknown>;
1059
+ }, z.core.$strip>>, z.ZodNull]>>;
1060
+ winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1061
+ winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1062
+ }, z.core.$strip>]>>;
1063
+ iterationId: z.ZodInt;
1064
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1065
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1066
+ poolBtcAmount: z.ZodCoercedBigInt<unknown>;
1067
+ poolUsdAmount: z.ZodCoercedBigInt<unknown>;
1068
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1069
+ reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
1070
+ }, z.core.$strip>;
720
1071
  /**
721
1072
  * A miner's accumulated protocol state, keyed by its authority wallet.
722
1073
  */
@@ -728,6 +1079,53 @@ declare const zMinerDto: z.ZodObject<{
728
1079
  unclaimedBtcShares: z.ZodCoercedBigInt<unknown>;
729
1080
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
730
1081
  }, z.core.$strip>;
1082
+ /**
1083
+ * A user's ticket purchase in a 1 BTC vault iteration.
1084
+ */
1085
+ declare const zOneBtcVaultEntryDto: z.ZodObject<{
1086
+ address: z.ZodString;
1087
+ iterationId: z.ZodInt;
1088
+ startTicketId: z.ZodCoercedBigInt<unknown>;
1089
+ ticketsCount: z.ZodCoercedBigInt<unknown>;
1090
+ }, z.core.$strip>;
1091
+ /**
1092
+ * Core state of a 1 BTC vault iteration.
1093
+ */
1094
+ declare const zOneBtcVaultIterationDto: z.ZodObject<{
1095
+ address: z.ZodString;
1096
+ id: z.ZodInt;
1097
+ prizeBtc: z.ZodCoercedBigInt<unknown>;
1098
+ state: z.ZodEnum<{
1099
+ open: "open";
1100
+ settled: "settled";
1101
+ complete: "complete";
1102
+ }>;
1103
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1104
+ winningTicket: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1105
+ }, z.core.$strip>;
1106
+ /**
1107
+ * 1 BTC vault balances and its current iteration.
1108
+ */
1109
+ declare const zOneBtcVaultDto: z.ZodObject<{
1110
+ address: z.ZodString;
1111
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1112
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1113
+ address: z.ZodString;
1114
+ id: z.ZodInt;
1115
+ prizeBtc: z.ZodCoercedBigInt<unknown>;
1116
+ state: z.ZodEnum<{
1117
+ open: "open";
1118
+ settled: "settled";
1119
+ complete: "complete";
1120
+ }>;
1121
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1122
+ winningTicket: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1123
+ }, z.core.$strip>]>>;
1124
+ iterationId: z.ZodInt;
1125
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1126
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1127
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1128
+ }, z.core.$strip>;
731
1129
  /**
732
1130
  * A miner's deployment of USD onto a round's tiles.
733
1131
  */
@@ -738,7 +1136,8 @@ declare const zPublicDeploymentDto: z.ZodObject<{
738
1136
  selectionMask: z.ZodInt;
739
1137
  }, z.core.$strip>;
740
1138
  /**
741
- * A user's profile: their miner account and currently-open deployments.
1139
+ * A user's profile: their miner account, currently-open deployments and vault
1140
+ * entries.
742
1141
  */
743
1142
  declare const zProfileDto: z.ZodObject<{
744
1143
  deployments: z.ZodArray<z.ZodObject<{
@@ -747,6 +1146,12 @@ declare const zProfileDto: z.ZodObject<{
747
1146
  roundId: z.ZodInt;
748
1147
  selectionMask: z.ZodInt;
749
1148
  }, z.core.$strip>>;
1149
+ epochVaultEntries: z.ZodArray<z.ZodObject<{
1150
+ address: z.ZodString;
1151
+ iterationId: z.ZodInt;
1152
+ pageIndex: z.ZodInt;
1153
+ tickets: z.ZodCoercedBigInt<unknown>;
1154
+ }, z.core.$strip>>;
750
1155
  miner: z.ZodObject<{
751
1156
  authority: z.ZodString;
752
1157
  currentStreakCount: z.ZodInt;
@@ -755,6 +1160,20 @@ declare const zProfileDto: z.ZodObject<{
755
1160
  unclaimedBtcShares: z.ZodCoercedBigInt<unknown>;
756
1161
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
757
1162
  }, z.core.$strip>;
1163
+ oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
1164
+ address: z.ZodString;
1165
+ iterationId: z.ZodInt;
1166
+ startTicketId: z.ZodCoercedBigInt<unknown>;
1167
+ ticketsCount: z.ZodCoercedBigInt<unknown>;
1168
+ }, z.core.$strip>>;
1169
+ }, z.core.$strip>;
1170
+ /**
1171
+ * Sats vault balances: the BTC backing and the shares issued against it.
1172
+ */
1173
+ declare const zSatsVaultDto: z.ZodObject<{
1174
+ address: z.ZodString;
1175
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1176
+ btcShares: z.ZodCoercedBigInt<unknown>;
758
1177
  }, z.core.$strip>;
759
1178
  /**
760
1179
  * Strike jackpot balances tracked on the board.
@@ -786,9 +1205,9 @@ declare const zRoundDto: z.ZodObject<{
786
1205
  revealedMinersCount: z.ZodInt;
787
1206
  settledMinersCount: z.ZodInt;
788
1207
  state: z.ZodEnum<{
1208
+ settled: "settled";
789
1209
  active: "active";
790
1210
  revealed: "revealed";
791
- settled: "settled";
792
1211
  finished: "finished";
793
1212
  }>;
794
1213
  strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
@@ -816,9 +1235,9 @@ declare const zBoardDto: z.ZodObject<{
816
1235
  revealedMinersCount: z.ZodInt;
817
1236
  settledMinersCount: z.ZodInt;
818
1237
  state: z.ZodEnum<{
1238
+ settled: "settled";
819
1239
  active: "active";
820
1240
  revealed: "revealed";
821
- settled: "settled";
822
1241
  finished: "finished";
823
1242
  }>;
824
1243
  strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
@@ -833,6 +1252,58 @@ declare const zBoardDto: z.ZodObject<{
833
1252
  address: z.ZodString;
834
1253
  currentSlot: z.ZodCoercedBigInt<unknown>;
835
1254
  endSlot: z.ZodCoercedBigInt<unknown>;
1255
+ epochVault: z.ZodObject<{
1256
+ address: z.ZodString;
1257
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1258
+ address: z.ZodString;
1259
+ claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1260
+ claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1261
+ id: z.ZodInt;
1262
+ pageCount: z.ZodInt;
1263
+ participantsCount: z.ZodInt;
1264
+ state: z.ZodEnum<{
1265
+ open: "open";
1266
+ settling: "settling";
1267
+ settled: "settled";
1268
+ complete: "complete";
1269
+ }>;
1270
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1271
+ winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
1272
+ authority: z.ZodString;
1273
+ claimed: z.ZodBoolean;
1274
+ tickets: z.ZodCoercedBigInt<unknown>;
1275
+ }, z.core.$strip>>, z.ZodNull]>>;
1276
+ winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1277
+ winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1278
+ }, z.core.$strip>]>>;
1279
+ iterationId: z.ZodInt;
1280
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1281
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1282
+ poolBtcAmount: z.ZodCoercedBigInt<unknown>;
1283
+ poolUsdAmount: z.ZodCoercedBigInt<unknown>;
1284
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1285
+ reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
1286
+ }, z.core.$strip>;
1287
+ oneBtcVault: z.ZodObject<{
1288
+ address: z.ZodString;
1289
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1290
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1291
+ address: z.ZodString;
1292
+ id: z.ZodInt;
1293
+ prizeBtc: z.ZodCoercedBigInt<unknown>;
1294
+ state: z.ZodEnum<{
1295
+ open: "open";
1296
+ settled: "settled";
1297
+ complete: "complete";
1298
+ }>;
1299
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1300
+ winningTicket: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1301
+ }, z.core.$strip>]>>;
1302
+ iterationId: z.ZodInt;
1303
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1304
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1305
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1306
+ }, z.core.$strip>;
836
1307
  previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
837
1308
  address: z.ZodString;
838
1309
  deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
@@ -844,9 +1315,9 @@ declare const zBoardDto: z.ZodObject<{
844
1315
  revealedMinersCount: z.ZodInt;
845
1316
  settledMinersCount: z.ZodInt;
846
1317
  state: z.ZodEnum<{
1318
+ settled: "settled";
847
1319
  active: "active";
848
1320
  revealed: "revealed";
849
- settled: "settled";
850
1321
  finished: "finished";
851
1322
  }>;
852
1323
  strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
@@ -860,6 +1331,11 @@ declare const zBoardDto: z.ZodObject<{
860
1331
  }, z.core.$strip>]>>;
861
1332
  roundDuration: z.ZodInt;
862
1333
  roundId: z.ZodInt;
1334
+ satsVault: z.ZodObject<{
1335
+ address: z.ZodString;
1336
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1337
+ btcShares: z.ZodCoercedBigInt<unknown>;
1338
+ }, z.core.$strip>;
863
1339
  startSlot: z.ZodCoercedBigInt<unknown>;
864
1340
  strike: z.ZodObject<{
865
1341
  btcAmount: z.ZodCoercedBigInt<unknown>;
@@ -868,35 +1344,507 @@ declare const zBoardDto: z.ZodObject<{
868
1344
  usdAmount: z.ZodCoercedBigInt<unknown>;
869
1345
  }, z.core.$strip>;
870
1346
  }, z.core.$strip>;
871
- declare const zUserProfileApiError400InvalidAddress: z.ZodObject<{
872
- code: z.ZodEnum<{
873
- invalid_address: "invalid_address";
874
- }>;
875
- }, z.core.$strip>;
876
- declare const zUserProfileApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
877
- code: z.ZodLiteral<"invalid_address">;
878
- }, z.core.$strip>, z.ZodObject<{
879
- code: z.ZodEnum<{
880
- invalid_address: "invalid_address";
881
- }>;
882
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
883
- code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
884
- }, z.core.$strip>, z.ZodObject<{
885
- code: z.ZodEnum<{
886
- invalid_path: "invalid_path";
887
- invalid_query: "invalid_query";
888
- invalid_body: "invalid_body";
889
- }>;
890
- }, z.core.$strip>>]>;
891
- declare const zValidationErrorCodeErrorBody: z.ZodObject<{
892
- code: z.ZodEnum<{
893
- validation_failed: "validation_failed";
894
- }>;
895
- data: z.ZodOptional<z.ZodObject<{
896
- errors: z.ZodArray<z.ZodObject<{
897
- field: z.ZodString;
898
- message: z.ZodString;
899
- }, z.core.$strip>>;
1347
+ declare const zSnapshotDto: z.ZodObject<{
1348
+ board: z.ZodObject<{
1349
+ activeRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1350
+ address: z.ZodString;
1351
+ deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
1352
+ deployedPendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1353
+ deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
1354
+ deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
1355
+ id: z.ZodInt;
1356
+ minersCount: z.ZodInt;
1357
+ revealedMinersCount: z.ZodInt;
1358
+ settledMinersCount: z.ZodInt;
1359
+ state: z.ZodEnum<{
1360
+ settled: "settled";
1361
+ active: "active";
1362
+ revealed: "revealed";
1363
+ finished: "finished";
1364
+ }>;
1365
+ strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
1366
+ strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
1367
+ tileStakes: z.ZodArray<z.ZodObject<{
1368
+ deployCount: z.ZodInt;
1369
+ stake: z.ZodCoercedBigInt<unknown>;
1370
+ }, z.core.$strip>>;
1371
+ winnersCount: z.ZodInt;
1372
+ winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1373
+ }, z.core.$strip>]>>;
1374
+ address: z.ZodString;
1375
+ currentSlot: z.ZodCoercedBigInt<unknown>;
1376
+ endSlot: z.ZodCoercedBigInt<unknown>;
1377
+ epochVault: z.ZodObject<{
1378
+ address: z.ZodString;
1379
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1380
+ address: z.ZodString;
1381
+ claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1382
+ claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1383
+ id: z.ZodInt;
1384
+ pageCount: z.ZodInt;
1385
+ participantsCount: z.ZodInt;
1386
+ state: z.ZodEnum<{
1387
+ open: "open";
1388
+ settling: "settling";
1389
+ settled: "settled";
1390
+ complete: "complete";
1391
+ }>;
1392
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1393
+ winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
1394
+ authority: z.ZodString;
1395
+ claimed: z.ZodBoolean;
1396
+ tickets: z.ZodCoercedBigInt<unknown>;
1397
+ }, z.core.$strip>>, z.ZodNull]>>;
1398
+ winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1399
+ winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1400
+ }, z.core.$strip>]>>;
1401
+ iterationId: z.ZodInt;
1402
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1403
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1404
+ poolBtcAmount: z.ZodCoercedBigInt<unknown>;
1405
+ poolUsdAmount: z.ZodCoercedBigInt<unknown>;
1406
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1407
+ reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
1408
+ }, z.core.$strip>;
1409
+ oneBtcVault: z.ZodObject<{
1410
+ address: z.ZodString;
1411
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1412
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1413
+ address: z.ZodString;
1414
+ id: z.ZodInt;
1415
+ prizeBtc: z.ZodCoercedBigInt<unknown>;
1416
+ state: z.ZodEnum<{
1417
+ open: "open";
1418
+ settled: "settled";
1419
+ complete: "complete";
1420
+ }>;
1421
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1422
+ winningTicket: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1423
+ }, z.core.$strip>]>>;
1424
+ iterationId: z.ZodInt;
1425
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1426
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1427
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1428
+ }, z.core.$strip>;
1429
+ previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1430
+ address: z.ZodString;
1431
+ deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
1432
+ deployedPendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1433
+ deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
1434
+ deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
1435
+ id: z.ZodInt;
1436
+ minersCount: z.ZodInt;
1437
+ revealedMinersCount: z.ZodInt;
1438
+ settledMinersCount: z.ZodInt;
1439
+ state: z.ZodEnum<{
1440
+ settled: "settled";
1441
+ active: "active";
1442
+ revealed: "revealed";
1443
+ finished: "finished";
1444
+ }>;
1445
+ strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
1446
+ strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
1447
+ tileStakes: z.ZodArray<z.ZodObject<{
1448
+ deployCount: z.ZodInt;
1449
+ stake: z.ZodCoercedBigInt<unknown>;
1450
+ }, z.core.$strip>>;
1451
+ winnersCount: z.ZodInt;
1452
+ winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1453
+ }, z.core.$strip>]>>;
1454
+ roundDuration: z.ZodInt;
1455
+ roundId: z.ZodInt;
1456
+ satsVault: z.ZodObject<{
1457
+ address: z.ZodString;
1458
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1459
+ btcShares: z.ZodCoercedBigInt<unknown>;
1460
+ }, z.core.$strip>;
1461
+ startSlot: z.ZodCoercedBigInt<unknown>;
1462
+ strike: z.ZodObject<{
1463
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1464
+ lastTriggerRoundId: z.ZodInt;
1465
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1466
+ usdAmount: z.ZodCoercedBigInt<unknown>;
1467
+ }, z.core.$strip>;
1468
+ }, z.core.$strip>;
1469
+ entity: z.ZodEnum<{
1470
+ state_snapshot: "state_snapshot";
1471
+ }>;
1472
+ profile: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1473
+ deployments: z.ZodArray<z.ZodObject<{
1474
+ address: z.ZodString;
1475
+ deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
1476
+ roundId: z.ZodInt;
1477
+ selectionMask: z.ZodInt;
1478
+ }, z.core.$strip>>;
1479
+ epochVaultEntries: z.ZodArray<z.ZodObject<{
1480
+ address: z.ZodString;
1481
+ iterationId: z.ZodInt;
1482
+ pageIndex: z.ZodInt;
1483
+ tickets: z.ZodCoercedBigInt<unknown>;
1484
+ }, z.core.$strip>>;
1485
+ miner: z.ZodObject<{
1486
+ authority: z.ZodString;
1487
+ currentStreakCount: z.ZodInt;
1488
+ hashrateAmount: z.ZodCoercedBigInt<unknown>;
1489
+ lastMinedRoundId: z.ZodInt;
1490
+ unclaimedBtcShares: z.ZodCoercedBigInt<unknown>;
1491
+ unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
1492
+ }, z.core.$strip>;
1493
+ oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
1494
+ address: z.ZodString;
1495
+ iterationId: z.ZodInt;
1496
+ startTicketId: z.ZodCoercedBigInt<unknown>;
1497
+ ticketsCount: z.ZodCoercedBigInt<unknown>;
1498
+ }, z.core.$strip>>;
1499
+ }, z.core.$strip>]>>;
1500
+ }, z.core.$strip>;
1501
+ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
1502
+ board: z.ZodObject<{
1503
+ activeRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1504
+ address: z.ZodString;
1505
+ deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
1506
+ deployedPendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1507
+ deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
1508
+ deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
1509
+ id: z.ZodInt;
1510
+ minersCount: z.ZodInt;
1511
+ revealedMinersCount: z.ZodInt;
1512
+ settledMinersCount: z.ZodInt;
1513
+ state: z.ZodEnum<{
1514
+ settled: "settled";
1515
+ active: "active";
1516
+ revealed: "revealed";
1517
+ finished: "finished";
1518
+ }>;
1519
+ strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
1520
+ strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
1521
+ tileStakes: z.ZodArray<z.ZodObject<{
1522
+ deployCount: z.ZodInt;
1523
+ stake: z.ZodCoercedBigInt<unknown>;
1524
+ }, z.core.$strip>>;
1525
+ winnersCount: z.ZodInt;
1526
+ winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1527
+ }, z.core.$strip>]>>;
1528
+ address: z.ZodString;
1529
+ currentSlot: z.ZodCoercedBigInt<unknown>;
1530
+ endSlot: z.ZodCoercedBigInt<unknown>;
1531
+ epochVault: z.ZodObject<{
1532
+ address: z.ZodString;
1533
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1534
+ address: z.ZodString;
1535
+ claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1536
+ claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1537
+ id: z.ZodInt;
1538
+ pageCount: z.ZodInt;
1539
+ participantsCount: z.ZodInt;
1540
+ state: z.ZodEnum<{
1541
+ open: "open";
1542
+ settling: "settling";
1543
+ settled: "settled";
1544
+ complete: "complete";
1545
+ }>;
1546
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1547
+ winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
1548
+ authority: z.ZodString;
1549
+ claimed: z.ZodBoolean;
1550
+ tickets: z.ZodCoercedBigInt<unknown>;
1551
+ }, z.core.$strip>>, z.ZodNull]>>;
1552
+ winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1553
+ winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1554
+ }, z.core.$strip>]>>;
1555
+ iterationId: z.ZodInt;
1556
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1557
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1558
+ poolBtcAmount: z.ZodCoercedBigInt<unknown>;
1559
+ poolUsdAmount: z.ZodCoercedBigInt<unknown>;
1560
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1561
+ reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
1562
+ }, z.core.$strip>;
1563
+ oneBtcVault: z.ZodObject<{
1564
+ address: z.ZodString;
1565
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1566
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1567
+ address: z.ZodString;
1568
+ id: z.ZodInt;
1569
+ prizeBtc: z.ZodCoercedBigInt<unknown>;
1570
+ state: z.ZodEnum<{
1571
+ open: "open";
1572
+ settled: "settled";
1573
+ complete: "complete";
1574
+ }>;
1575
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1576
+ winningTicket: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1577
+ }, z.core.$strip>]>>;
1578
+ iterationId: z.ZodInt;
1579
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1580
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1581
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1582
+ }, z.core.$strip>;
1583
+ previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1584
+ address: z.ZodString;
1585
+ deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
1586
+ deployedPendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1587
+ deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
1588
+ deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
1589
+ id: z.ZodInt;
1590
+ minersCount: z.ZodInt;
1591
+ revealedMinersCount: z.ZodInt;
1592
+ settledMinersCount: z.ZodInt;
1593
+ state: z.ZodEnum<{
1594
+ settled: "settled";
1595
+ active: "active";
1596
+ revealed: "revealed";
1597
+ finished: "finished";
1598
+ }>;
1599
+ strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
1600
+ strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
1601
+ tileStakes: z.ZodArray<z.ZodObject<{
1602
+ deployCount: z.ZodInt;
1603
+ stake: z.ZodCoercedBigInt<unknown>;
1604
+ }, z.core.$strip>>;
1605
+ winnersCount: z.ZodInt;
1606
+ winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1607
+ }, z.core.$strip>]>>;
1608
+ roundDuration: z.ZodInt;
1609
+ roundId: z.ZodInt;
1610
+ satsVault: z.ZodObject<{
1611
+ address: z.ZodString;
1612
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1613
+ btcShares: z.ZodCoercedBigInt<unknown>;
1614
+ }, z.core.$strip>;
1615
+ startSlot: z.ZodCoercedBigInt<unknown>;
1616
+ strike: z.ZodObject<{
1617
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1618
+ lastTriggerRoundId: z.ZodInt;
1619
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1620
+ usdAmount: z.ZodCoercedBigInt<unknown>;
1621
+ }, z.core.$strip>;
1622
+ }, z.core.$strip>;
1623
+ entity: z.ZodEnum<{
1624
+ state_snapshot: "state_snapshot";
1625
+ }>;
1626
+ profile: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1627
+ deployments: z.ZodArray<z.ZodObject<{
1628
+ address: z.ZodString;
1629
+ deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
1630
+ roundId: z.ZodInt;
1631
+ selectionMask: z.ZodInt;
1632
+ }, z.core.$strip>>;
1633
+ epochVaultEntries: z.ZodArray<z.ZodObject<{
1634
+ address: z.ZodString;
1635
+ iterationId: z.ZodInt;
1636
+ pageIndex: z.ZodInt;
1637
+ tickets: z.ZodCoercedBigInt<unknown>;
1638
+ }, z.core.$strip>>;
1639
+ miner: z.ZodObject<{
1640
+ authority: z.ZodString;
1641
+ currentStreakCount: z.ZodInt;
1642
+ hashrateAmount: z.ZodCoercedBigInt<unknown>;
1643
+ lastMinedRoundId: z.ZodInt;
1644
+ unclaimedBtcShares: z.ZodCoercedBigInt<unknown>;
1645
+ unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
1646
+ }, z.core.$strip>;
1647
+ oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
1648
+ address: z.ZodString;
1649
+ iterationId: z.ZodInt;
1650
+ startTicketId: z.ZodCoercedBigInt<unknown>;
1651
+ ticketsCount: z.ZodCoercedBigInt<unknown>;
1652
+ }, z.core.$strip>>;
1653
+ }, z.core.$strip>]>>;
1654
+ }, z.core.$strip>, z.ZodObject<{
1655
+ entity: z.ZodEnum<{
1656
+ state_snapshot: "state_snapshot";
1657
+ }>;
1658
+ }, z.core.$strip>>;
1659
+ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
1660
+ entity: z.ZodLiteral<"state_snapshot">;
1661
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
1662
+ board: z.ZodObject<{
1663
+ activeRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1664
+ address: z.ZodString;
1665
+ deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
1666
+ deployedPendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1667
+ deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
1668
+ deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
1669
+ id: z.ZodInt;
1670
+ minersCount: z.ZodInt;
1671
+ revealedMinersCount: z.ZodInt;
1672
+ settledMinersCount: z.ZodInt;
1673
+ state: z.ZodEnum<{
1674
+ settled: "settled";
1675
+ active: "active";
1676
+ revealed: "revealed";
1677
+ finished: "finished";
1678
+ }>;
1679
+ strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
1680
+ strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
1681
+ tileStakes: z.ZodArray<z.ZodObject<{
1682
+ deployCount: z.ZodInt;
1683
+ stake: z.ZodCoercedBigInt<unknown>;
1684
+ }, z.core.$strip>>;
1685
+ winnersCount: z.ZodInt;
1686
+ winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1687
+ }, z.core.$strip>]>>;
1688
+ address: z.ZodString;
1689
+ currentSlot: z.ZodCoercedBigInt<unknown>;
1690
+ endSlot: z.ZodCoercedBigInt<unknown>;
1691
+ epochVault: z.ZodObject<{
1692
+ address: z.ZodString;
1693
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1694
+ address: z.ZodString;
1695
+ claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1696
+ claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1697
+ id: z.ZodInt;
1698
+ pageCount: z.ZodInt;
1699
+ participantsCount: z.ZodInt;
1700
+ state: z.ZodEnum<{
1701
+ open: "open";
1702
+ settling: "settling";
1703
+ settled: "settled";
1704
+ complete: "complete";
1705
+ }>;
1706
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1707
+ winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
1708
+ authority: z.ZodString;
1709
+ claimed: z.ZodBoolean;
1710
+ tickets: z.ZodCoercedBigInt<unknown>;
1711
+ }, z.core.$strip>>, z.ZodNull]>>;
1712
+ winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1713
+ winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1714
+ }, z.core.$strip>]>>;
1715
+ iterationId: z.ZodInt;
1716
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1717
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1718
+ poolBtcAmount: z.ZodCoercedBigInt<unknown>;
1719
+ poolUsdAmount: z.ZodCoercedBigInt<unknown>;
1720
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1721
+ reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
1722
+ }, z.core.$strip>;
1723
+ oneBtcVault: z.ZodObject<{
1724
+ address: z.ZodString;
1725
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1726
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1727
+ address: z.ZodString;
1728
+ id: z.ZodInt;
1729
+ prizeBtc: z.ZodCoercedBigInt<unknown>;
1730
+ state: z.ZodEnum<{
1731
+ open: "open";
1732
+ settled: "settled";
1733
+ complete: "complete";
1734
+ }>;
1735
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1736
+ winningTicket: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1737
+ }, z.core.$strip>]>>;
1738
+ iterationId: z.ZodInt;
1739
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1740
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1741
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1742
+ }, z.core.$strip>;
1743
+ previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1744
+ address: z.ZodString;
1745
+ deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
1746
+ deployedPendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1747
+ deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
1748
+ deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
1749
+ id: z.ZodInt;
1750
+ minersCount: z.ZodInt;
1751
+ revealedMinersCount: z.ZodInt;
1752
+ settledMinersCount: z.ZodInt;
1753
+ state: z.ZodEnum<{
1754
+ settled: "settled";
1755
+ active: "active";
1756
+ revealed: "revealed";
1757
+ finished: "finished";
1758
+ }>;
1759
+ strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
1760
+ strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
1761
+ tileStakes: z.ZodArray<z.ZodObject<{
1762
+ deployCount: z.ZodInt;
1763
+ stake: z.ZodCoercedBigInt<unknown>;
1764
+ }, z.core.$strip>>;
1765
+ winnersCount: z.ZodInt;
1766
+ winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1767
+ }, z.core.$strip>]>>;
1768
+ roundDuration: z.ZodInt;
1769
+ roundId: z.ZodInt;
1770
+ satsVault: z.ZodObject<{
1771
+ address: z.ZodString;
1772
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1773
+ btcShares: z.ZodCoercedBigInt<unknown>;
1774
+ }, z.core.$strip>;
1775
+ startSlot: z.ZodCoercedBigInt<unknown>;
1776
+ strike: z.ZodObject<{
1777
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1778
+ lastTriggerRoundId: z.ZodInt;
1779
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1780
+ usdAmount: z.ZodCoercedBigInt<unknown>;
1781
+ }, z.core.$strip>;
1782
+ }, z.core.$strip>;
1783
+ entity: z.ZodEnum<{
1784
+ state_snapshot: "state_snapshot";
1785
+ }>;
1786
+ profile: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1787
+ deployments: z.ZodArray<z.ZodObject<{
1788
+ address: z.ZodString;
1789
+ deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
1790
+ roundId: z.ZodInt;
1791
+ selectionMask: z.ZodInt;
1792
+ }, z.core.$strip>>;
1793
+ epochVaultEntries: z.ZodArray<z.ZodObject<{
1794
+ address: z.ZodString;
1795
+ iterationId: z.ZodInt;
1796
+ pageIndex: z.ZodInt;
1797
+ tickets: z.ZodCoercedBigInt<unknown>;
1798
+ }, z.core.$strip>>;
1799
+ miner: z.ZodObject<{
1800
+ authority: z.ZodString;
1801
+ currentStreakCount: z.ZodInt;
1802
+ hashrateAmount: z.ZodCoercedBigInt<unknown>;
1803
+ lastMinedRoundId: z.ZodInt;
1804
+ unclaimedBtcShares: z.ZodCoercedBigInt<unknown>;
1805
+ unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
1806
+ }, z.core.$strip>;
1807
+ oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
1808
+ address: z.ZodString;
1809
+ iterationId: z.ZodInt;
1810
+ startTicketId: z.ZodCoercedBigInt<unknown>;
1811
+ ticketsCount: z.ZodCoercedBigInt<unknown>;
1812
+ }, z.core.$strip>>;
1813
+ }, z.core.$strip>]>>;
1814
+ }, z.core.$strip>, z.ZodObject<{
1815
+ entity: z.ZodEnum<{
1816
+ state_snapshot: "state_snapshot";
1817
+ }>;
1818
+ }, z.core.$strip>>>;
1819
+ declare const zUserProfileApiError400InvalidAddress: z.ZodObject<{
1820
+ code: z.ZodEnum<{
1821
+ invalid_address: "invalid_address";
1822
+ }>;
1823
+ }, z.core.$strip>;
1824
+ declare const zUserProfileApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
1825
+ code: z.ZodLiteral<"invalid_address">;
1826
+ }, z.core.$strip>, z.ZodObject<{
1827
+ code: z.ZodEnum<{
1828
+ invalid_address: "invalid_address";
1829
+ }>;
1830
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1831
+ code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
1832
+ }, z.core.$strip>, z.ZodObject<{
1833
+ code: z.ZodEnum<{
1834
+ invalid_path: "invalid_path";
1835
+ invalid_query: "invalid_query";
1836
+ invalid_body: "invalid_body";
1837
+ }>;
1838
+ }, z.core.$strip>>]>;
1839
+ declare const zValidationErrorCodeErrorBody: z.ZodObject<{
1840
+ code: z.ZodEnum<{
1841
+ validation_failed: "validation_failed";
1842
+ }>;
1843
+ data: z.ZodOptional<z.ZodObject<{
1844
+ errors: z.ZodArray<z.ZodObject<{
1845
+ field: z.ZodString;
1846
+ message: z.ZodString;
1847
+ }, z.core.$strip>>;
900
1848
  }, z.core.$strip>>;
901
1849
  }, z.core.$strip>;
902
1850
  declare const zValidationErrorCodeValidationDetailsErrorBody: z.ZodObject<{
@@ -928,9 +1876,9 @@ declare const zGetBoardResponse: z.ZodObject<{
928
1876
  revealedMinersCount: z.ZodInt;
929
1877
  settledMinersCount: z.ZodInt;
930
1878
  state: z.ZodEnum<{
1879
+ settled: "settled";
931
1880
  active: "active";
932
1881
  revealed: "revealed";
933
- settled: "settled";
934
1882
  finished: "finished";
935
1883
  }>;
936
1884
  strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
@@ -945,6 +1893,58 @@ declare const zGetBoardResponse: z.ZodObject<{
945
1893
  address: z.ZodString;
946
1894
  currentSlot: z.ZodCoercedBigInt<unknown>;
947
1895
  endSlot: z.ZodCoercedBigInt<unknown>;
1896
+ epochVault: z.ZodObject<{
1897
+ address: z.ZodString;
1898
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1899
+ address: z.ZodString;
1900
+ claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1901
+ claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1902
+ id: z.ZodInt;
1903
+ pageCount: z.ZodInt;
1904
+ participantsCount: z.ZodInt;
1905
+ state: z.ZodEnum<{
1906
+ open: "open";
1907
+ settling: "settling";
1908
+ settled: "settled";
1909
+ complete: "complete";
1910
+ }>;
1911
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1912
+ winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
1913
+ authority: z.ZodString;
1914
+ claimed: z.ZodBoolean;
1915
+ tickets: z.ZodCoercedBigInt<unknown>;
1916
+ }, z.core.$strip>>, z.ZodNull]>>;
1917
+ winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1918
+ winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1919
+ }, z.core.$strip>]>>;
1920
+ iterationId: z.ZodInt;
1921
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1922
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1923
+ poolBtcAmount: z.ZodCoercedBigInt<unknown>;
1924
+ poolUsdAmount: z.ZodCoercedBigInt<unknown>;
1925
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1926
+ reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
1927
+ }, z.core.$strip>;
1928
+ oneBtcVault: z.ZodObject<{
1929
+ address: z.ZodString;
1930
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1931
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1932
+ address: z.ZodString;
1933
+ id: z.ZodInt;
1934
+ prizeBtc: z.ZodCoercedBigInt<unknown>;
1935
+ state: z.ZodEnum<{
1936
+ open: "open";
1937
+ settled: "settled";
1938
+ complete: "complete";
1939
+ }>;
1940
+ totalTickets: z.ZodCoercedBigInt<unknown>;
1941
+ winningTicket: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1942
+ }, z.core.$strip>]>>;
1943
+ iterationId: z.ZodInt;
1944
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1945
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1946
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1947
+ }, z.core.$strip>;
948
1948
  previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
949
1949
  address: z.ZodString;
950
1950
  deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
@@ -956,9 +1956,9 @@ declare const zGetBoardResponse: z.ZodObject<{
956
1956
  revealedMinersCount: z.ZodInt;
957
1957
  settledMinersCount: z.ZodInt;
958
1958
  state: z.ZodEnum<{
1959
+ settled: "settled";
959
1960
  active: "active";
960
1961
  revealed: "revealed";
961
- settled: "settled";
962
1962
  finished: "finished";
963
1963
  }>;
964
1964
  strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
@@ -972,6 +1972,11 @@ declare const zGetBoardResponse: z.ZodObject<{
972
1972
  }, z.core.$strip>]>>;
973
1973
  roundDuration: z.ZodInt;
974
1974
  roundId: z.ZodInt;
1975
+ satsVault: z.ZodObject<{
1976
+ address: z.ZodString;
1977
+ btcAmount: z.ZodCoercedBigInt<unknown>;
1978
+ btcShares: z.ZodCoercedBigInt<unknown>;
1979
+ }, z.core.$strip>;
975
1980
  startSlot: z.ZodCoercedBigInt<unknown>;
976
1981
  strike: z.ZodObject<{
977
1982
  btcAmount: z.ZodCoercedBigInt<unknown>;
@@ -1001,6 +2006,177 @@ declare const zGetConfigResponse: z.ZodObject<{
1001
2006
  }, z.core.$strip>;
1002
2007
  }, z.core.$strip>;
1003
2008
  type GetConfigResponseZodType = z.infer<typeof zGetConfigResponse>;
2009
+ declare const zSseData: z.ZodObject<{
2010
+ body: z.ZodOptional<z.ZodNever>;
2011
+ path: z.ZodOptional<z.ZodNever>;
2012
+ query: z.ZodOptional<z.ZodObject<{
2013
+ wallet: z.ZodOptional<z.ZodString>;
2014
+ }, z.core.$strip>>;
2015
+ }, z.core.$strip>;
2016
+ /**
2017
+ * Server-Sent Events stream
2018
+ */
2019
+ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
2020
+ entity: z.ZodLiteral<"state_snapshot">;
2021
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
2022
+ board: z.ZodObject<{
2023
+ activeRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
2024
+ address: z.ZodString;
2025
+ deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
2026
+ deployedPendingUsdAmount: z.ZodCoercedBigInt<unknown>;
2027
+ deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
2028
+ deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
2029
+ id: z.ZodInt;
2030
+ minersCount: z.ZodInt;
2031
+ revealedMinersCount: z.ZodInt;
2032
+ settledMinersCount: z.ZodInt;
2033
+ state: z.ZodEnum<{
2034
+ settled: "settled";
2035
+ active: "active";
2036
+ revealed: "revealed";
2037
+ finished: "finished";
2038
+ }>;
2039
+ strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
2040
+ strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
2041
+ tileStakes: z.ZodArray<z.ZodObject<{
2042
+ deployCount: z.ZodInt;
2043
+ stake: z.ZodCoercedBigInt<unknown>;
2044
+ }, z.core.$strip>>;
2045
+ winnersCount: z.ZodInt;
2046
+ winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
2047
+ }, z.core.$strip>]>>;
2048
+ address: z.ZodString;
2049
+ currentSlot: z.ZodCoercedBigInt<unknown>;
2050
+ endSlot: z.ZodCoercedBigInt<unknown>;
2051
+ epochVault: z.ZodObject<{
2052
+ address: z.ZodString;
2053
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
2054
+ address: z.ZodString;
2055
+ claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2056
+ claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2057
+ id: z.ZodInt;
2058
+ pageCount: z.ZodInt;
2059
+ participantsCount: z.ZodInt;
2060
+ state: z.ZodEnum<{
2061
+ open: "open";
2062
+ settling: "settling";
2063
+ settled: "settled";
2064
+ complete: "complete";
2065
+ }>;
2066
+ totalTickets: z.ZodCoercedBigInt<unknown>;
2067
+ winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
2068
+ authority: z.ZodString;
2069
+ claimed: z.ZodBoolean;
2070
+ tickets: z.ZodCoercedBigInt<unknown>;
2071
+ }, z.core.$strip>>, z.ZodNull]>>;
2072
+ winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
2073
+ winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
2074
+ }, z.core.$strip>]>>;
2075
+ iterationId: z.ZodInt;
2076
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
2077
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
2078
+ poolBtcAmount: z.ZodCoercedBigInt<unknown>;
2079
+ poolUsdAmount: z.ZodCoercedBigInt<unknown>;
2080
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
2081
+ reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
2082
+ }, z.core.$strip>;
2083
+ oneBtcVault: z.ZodObject<{
2084
+ address: z.ZodString;
2085
+ btcAmount: z.ZodCoercedBigInt<unknown>;
2086
+ currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
2087
+ address: z.ZodString;
2088
+ id: z.ZodInt;
2089
+ prizeBtc: z.ZodCoercedBigInt<unknown>;
2090
+ state: z.ZodEnum<{
2091
+ open: "open";
2092
+ settled: "settled";
2093
+ complete: "complete";
2094
+ }>;
2095
+ totalTickets: z.ZodCoercedBigInt<unknown>;
2096
+ winningTicket: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2097
+ }, z.core.$strip>]>>;
2098
+ iterationId: z.ZodInt;
2099
+ lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
2100
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
2101
+ reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
2102
+ }, z.core.$strip>;
2103
+ previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
2104
+ address: z.ZodString;
2105
+ deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
2106
+ deployedPendingUsdAmount: z.ZodCoercedBigInt<unknown>;
2107
+ deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
2108
+ deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
2109
+ id: z.ZodInt;
2110
+ minersCount: z.ZodInt;
2111
+ revealedMinersCount: z.ZodInt;
2112
+ settledMinersCount: z.ZodInt;
2113
+ state: z.ZodEnum<{
2114
+ settled: "settled";
2115
+ active: "active";
2116
+ revealed: "revealed";
2117
+ finished: "finished";
2118
+ }>;
2119
+ strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
2120
+ strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
2121
+ tileStakes: z.ZodArray<z.ZodObject<{
2122
+ deployCount: z.ZodInt;
2123
+ stake: z.ZodCoercedBigInt<unknown>;
2124
+ }, z.core.$strip>>;
2125
+ winnersCount: z.ZodInt;
2126
+ winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
2127
+ }, z.core.$strip>]>>;
2128
+ roundDuration: z.ZodInt;
2129
+ roundId: z.ZodInt;
2130
+ satsVault: z.ZodObject<{
2131
+ address: z.ZodString;
2132
+ btcAmount: z.ZodCoercedBigInt<unknown>;
2133
+ btcShares: z.ZodCoercedBigInt<unknown>;
2134
+ }, z.core.$strip>;
2135
+ startSlot: z.ZodCoercedBigInt<unknown>;
2136
+ strike: z.ZodObject<{
2137
+ btcAmount: z.ZodCoercedBigInt<unknown>;
2138
+ lastTriggerRoundId: z.ZodInt;
2139
+ pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
2140
+ usdAmount: z.ZodCoercedBigInt<unknown>;
2141
+ }, z.core.$strip>;
2142
+ }, z.core.$strip>;
2143
+ entity: z.ZodEnum<{
2144
+ state_snapshot: "state_snapshot";
2145
+ }>;
2146
+ profile: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
2147
+ deployments: z.ZodArray<z.ZodObject<{
2148
+ address: z.ZodString;
2149
+ deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
2150
+ roundId: z.ZodInt;
2151
+ selectionMask: z.ZodInt;
2152
+ }, z.core.$strip>>;
2153
+ epochVaultEntries: z.ZodArray<z.ZodObject<{
2154
+ address: z.ZodString;
2155
+ iterationId: z.ZodInt;
2156
+ pageIndex: z.ZodInt;
2157
+ tickets: z.ZodCoercedBigInt<unknown>;
2158
+ }, z.core.$strip>>;
2159
+ miner: z.ZodObject<{
2160
+ authority: z.ZodString;
2161
+ currentStreakCount: z.ZodInt;
2162
+ hashrateAmount: z.ZodCoercedBigInt<unknown>;
2163
+ lastMinedRoundId: z.ZodInt;
2164
+ unclaimedBtcShares: z.ZodCoercedBigInt<unknown>;
2165
+ unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
2166
+ }, z.core.$strip>;
2167
+ oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
2168
+ address: z.ZodString;
2169
+ iterationId: z.ZodInt;
2170
+ startTicketId: z.ZodCoercedBigInt<unknown>;
2171
+ ticketsCount: z.ZodCoercedBigInt<unknown>;
2172
+ }, z.core.$strip>>;
2173
+ }, z.core.$strip>]>>;
2174
+ }, z.core.$strip>, z.ZodObject<{
2175
+ entity: z.ZodEnum<{
2176
+ state_snapshot: "state_snapshot";
2177
+ }>;
2178
+ }, z.core.$strip>>>;
2179
+ type SseResponseZodType = z.infer<typeof zSseResponse2>;
1004
2180
  declare const zGetUserProfileData: z.ZodObject<{
1005
2181
  body: z.ZodOptional<z.ZodNever>;
1006
2182
  path: z.ZodObject<{
@@ -1016,6 +2192,12 @@ declare const zGetUserProfileResponse: z.ZodObject<{
1016
2192
  roundId: z.ZodInt;
1017
2193
  selectionMask: z.ZodInt;
1018
2194
  }, z.core.$strip>>;
2195
+ epochVaultEntries: z.ZodArray<z.ZodObject<{
2196
+ address: z.ZodString;
2197
+ iterationId: z.ZodInt;
2198
+ pageIndex: z.ZodInt;
2199
+ tickets: z.ZodCoercedBigInt<unknown>;
2200
+ }, z.core.$strip>>;
1019
2201
  miner: z.ZodObject<{
1020
2202
  authority: z.ZodString;
1021
2203
  currentStreakCount: z.ZodInt;
@@ -1024,6 +2206,12 @@ declare const zGetUserProfileResponse: z.ZodObject<{
1024
2206
  unclaimedBtcShares: z.ZodCoercedBigInt<unknown>;
1025
2207
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
1026
2208
  }, z.core.$strip>;
2209
+ oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
2210
+ address: z.ZodString;
2211
+ iterationId: z.ZodInt;
2212
+ startTicketId: z.ZodCoercedBigInt<unknown>;
2213
+ ticketsCount: z.ZodCoercedBigInt<unknown>;
2214
+ }, z.core.$strip>>;
1027
2215
  }, z.core.$strip>;
1028
2216
  }, z.core.$strip>;
1029
2217
  type GetUserProfileResponseZodType = z.infer<typeof zGetUserProfileResponse>;
@@ -1050,4 +2238,4 @@ declare class SatrushBackendSdkError<TCause = unknown> extends Error {
1050
2238
  declare const satrushSdkErrorInterceptor: (error: unknown, response?: Response) => SatrushBackendSdkError<unknown>;
1051
2239
  declare const isSatrushSdkError: <TCause = unknown>(error: unknown) => error is SatrushBackendSdkError<TCause>;
1052
2240
 
1053
- 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, type Options, type ProfileDto, type PubkeyDto, type PublicDeploymentDto, type RoundDto, RoundStateDto, SatrushBackendSdk, SatrushBackendSdkError, type SatrushConfigDto, type ServerSentEventsOptions, type ServerSentEventsResult, 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, zProfileDto, zPubkeyDto, zPublicDeploymentDto, zRoundDto, zRoundStateDto, zSatrushConfigDto, zStrikeJackpotDto, zTileStakeDto, zU128Dto, zU64Dto, zUserProfileApiError400Error, zUserProfileApiError400InvalidAddress, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody };
2241
+ 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 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, zProfileDto, zPubkeyDto, zPublicDeploymentDto, zRoundDto, zRoundStateDto, zSatrushConfigDto, zSatsVaultDto, zSnapshotDto, zSseData, zSseResponse, zSseResponse2, zSseResponseSnapshot, zStrikeJackpotDto, zTileStakeDto, zU128Dto, zU64Dto, zUserProfileApiError400Error, zUserProfileApiError400InvalidAddress, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody };