@satrush/api 0.1.2 → 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.cjs +205 -1
- package/dist/index.d.cts +786 -17
- package/dist/index.d.ts +786 -17
- package/dist/index.js +193 -1
- package/package.json +1 -1
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.
|
|
@@ -395,14 +506,94 @@ declare const NotificationEntity: {
|
|
|
395
506
|
};
|
|
396
507
|
type NotificationEntity = typeof NotificationEntity[keyof typeof NotificationEntity];
|
|
397
508
|
/**
|
|
398
|
-
*
|
|
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
|
+
};
|
|
579
|
+
/**
|
|
580
|
+
* A user's profile: their miner account, currently-open deployments and vault
|
|
581
|
+
* entries.
|
|
399
582
|
*/
|
|
400
583
|
type ProfileDto = {
|
|
401
584
|
/**
|
|
402
585
|
* The authority's open public deployments.
|
|
403
586
|
*/
|
|
404
587
|
deployments: Array<PublicDeploymentDto>;
|
|
588
|
+
/**
|
|
589
|
+
* The authority's open epoch vault entries.
|
|
590
|
+
*/
|
|
591
|
+
epochVaultEntries: Array<EpochVaultEntryDto>;
|
|
405
592
|
miner: MinerDto;
|
|
593
|
+
/**
|
|
594
|
+
* The authority's open 1 BTC vault entries.
|
|
595
|
+
*/
|
|
596
|
+
oneBtcVaultEntries: Array<OneBtcVaultEntryDto>;
|
|
406
597
|
};
|
|
407
598
|
/**
|
|
408
599
|
* Pubkey represented as base58 string in JSON and OpenAPI.
|
|
@@ -500,6 +691,20 @@ type SatrushConfigDto = {
|
|
|
500
691
|
*/
|
|
501
692
|
usdMint: PubkeyDto;
|
|
502
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
|
+
};
|
|
503
708
|
type SnapshotDto = {
|
|
504
709
|
board: BoardDto;
|
|
505
710
|
entity: NotificationEntity;
|
|
@@ -711,6 +916,15 @@ declare const zBadRequestErrorCodeErrorBody: z.ZodObject<{
|
|
|
711
916
|
invalid_body: "invalid_body";
|
|
712
917
|
}>;
|
|
713
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
|
+
}>;
|
|
714
928
|
declare const zFieldError: z.ZodObject<{
|
|
715
929
|
field: z.ZodString;
|
|
716
930
|
message: z.ZodString;
|
|
@@ -731,6 +945,14 @@ declare const zInternalErrorCodeErrorBody: z.ZodObject<{
|
|
|
731
945
|
declare const zNotificationEntity: z.ZodEnum<{
|
|
732
946
|
state_snapshot: "state_snapshot";
|
|
733
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
|
+
}>;
|
|
734
956
|
/**
|
|
735
957
|
* Pubkey represented as base58 string in JSON and OpenAPI.
|
|
736
958
|
*
|
|
@@ -742,9 +964,9 @@ declare const zPubkeyDto: z.ZodString;
|
|
|
742
964
|
* Lifecycle state of a round.
|
|
743
965
|
*/
|
|
744
966
|
declare const zRoundStateDto: z.ZodEnum<{
|
|
967
|
+
settled: "settled";
|
|
745
968
|
active: "active";
|
|
746
969
|
revealed: "revealed";
|
|
747
|
-
settled: "settled";
|
|
748
970
|
finished: "finished";
|
|
749
971
|
}>;
|
|
750
972
|
/**
|
|
@@ -769,6 +991,83 @@ declare const zU128Dto: z.ZodString;
|
|
|
769
991
|
* Unsigned 64-bit integer encoded as a decimal string.
|
|
770
992
|
*/
|
|
771
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>;
|
|
772
1071
|
/**
|
|
773
1072
|
* A miner's accumulated protocol state, keyed by its authority wallet.
|
|
774
1073
|
*/
|
|
@@ -780,6 +1079,53 @@ declare const zMinerDto: z.ZodObject<{
|
|
|
780
1079
|
unclaimedBtcShares: z.ZodCoercedBigInt<unknown>;
|
|
781
1080
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
782
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>;
|
|
783
1129
|
/**
|
|
784
1130
|
* A miner's deployment of USD onto a round's tiles.
|
|
785
1131
|
*/
|
|
@@ -790,7 +1136,8 @@ declare const zPublicDeploymentDto: z.ZodObject<{
|
|
|
790
1136
|
selectionMask: z.ZodInt;
|
|
791
1137
|
}, z.core.$strip>;
|
|
792
1138
|
/**
|
|
793
|
-
* A user's profile: their miner account
|
|
1139
|
+
* A user's profile: their miner account, currently-open deployments and vault
|
|
1140
|
+
* entries.
|
|
794
1141
|
*/
|
|
795
1142
|
declare const zProfileDto: z.ZodObject<{
|
|
796
1143
|
deployments: z.ZodArray<z.ZodObject<{
|
|
@@ -799,6 +1146,12 @@ declare const zProfileDto: z.ZodObject<{
|
|
|
799
1146
|
roundId: z.ZodInt;
|
|
800
1147
|
selectionMask: z.ZodInt;
|
|
801
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>>;
|
|
802
1155
|
miner: z.ZodObject<{
|
|
803
1156
|
authority: z.ZodString;
|
|
804
1157
|
currentStreakCount: z.ZodInt;
|
|
@@ -807,6 +1160,20 @@ declare const zProfileDto: z.ZodObject<{
|
|
|
807
1160
|
unclaimedBtcShares: z.ZodCoercedBigInt<unknown>;
|
|
808
1161
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
809
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>;
|
|
810
1177
|
}, z.core.$strip>;
|
|
811
1178
|
/**
|
|
812
1179
|
* Strike jackpot balances tracked on the board.
|
|
@@ -838,9 +1205,9 @@ declare const zRoundDto: z.ZodObject<{
|
|
|
838
1205
|
revealedMinersCount: z.ZodInt;
|
|
839
1206
|
settledMinersCount: z.ZodInt;
|
|
840
1207
|
state: z.ZodEnum<{
|
|
1208
|
+
settled: "settled";
|
|
841
1209
|
active: "active";
|
|
842
1210
|
revealed: "revealed";
|
|
843
|
-
settled: "settled";
|
|
844
1211
|
finished: "finished";
|
|
845
1212
|
}>;
|
|
846
1213
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
@@ -868,9 +1235,9 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
868
1235
|
revealedMinersCount: z.ZodInt;
|
|
869
1236
|
settledMinersCount: z.ZodInt;
|
|
870
1237
|
state: z.ZodEnum<{
|
|
1238
|
+
settled: "settled";
|
|
871
1239
|
active: "active";
|
|
872
1240
|
revealed: "revealed";
|
|
873
|
-
settled: "settled";
|
|
874
1241
|
finished: "finished";
|
|
875
1242
|
}>;
|
|
876
1243
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
@@ -885,6 +1252,58 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
885
1252
|
address: z.ZodString;
|
|
886
1253
|
currentSlot: z.ZodCoercedBigInt<unknown>;
|
|
887
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>;
|
|
888
1307
|
previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
889
1308
|
address: z.ZodString;
|
|
890
1309
|
deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -896,9 +1315,9 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
896
1315
|
revealedMinersCount: z.ZodInt;
|
|
897
1316
|
settledMinersCount: z.ZodInt;
|
|
898
1317
|
state: z.ZodEnum<{
|
|
1318
|
+
settled: "settled";
|
|
899
1319
|
active: "active";
|
|
900
1320
|
revealed: "revealed";
|
|
901
|
-
settled: "settled";
|
|
902
1321
|
finished: "finished";
|
|
903
1322
|
}>;
|
|
904
1323
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
@@ -912,6 +1331,11 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
912
1331
|
}, z.core.$strip>]>>;
|
|
913
1332
|
roundDuration: z.ZodInt;
|
|
914
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>;
|
|
915
1339
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
916
1340
|
strike: z.ZodObject<{
|
|
917
1341
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -933,9 +1357,9 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
933
1357
|
revealedMinersCount: z.ZodInt;
|
|
934
1358
|
settledMinersCount: z.ZodInt;
|
|
935
1359
|
state: z.ZodEnum<{
|
|
1360
|
+
settled: "settled";
|
|
936
1361
|
active: "active";
|
|
937
1362
|
revealed: "revealed";
|
|
938
|
-
settled: "settled";
|
|
939
1363
|
finished: "finished";
|
|
940
1364
|
}>;
|
|
941
1365
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
@@ -950,6 +1374,58 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
950
1374
|
address: z.ZodString;
|
|
951
1375
|
currentSlot: z.ZodCoercedBigInt<unknown>;
|
|
952
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>;
|
|
953
1429
|
previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
954
1430
|
address: z.ZodString;
|
|
955
1431
|
deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -961,9 +1437,9 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
961
1437
|
revealedMinersCount: z.ZodInt;
|
|
962
1438
|
settledMinersCount: z.ZodInt;
|
|
963
1439
|
state: z.ZodEnum<{
|
|
1440
|
+
settled: "settled";
|
|
964
1441
|
active: "active";
|
|
965
1442
|
revealed: "revealed";
|
|
966
|
-
settled: "settled";
|
|
967
1443
|
finished: "finished";
|
|
968
1444
|
}>;
|
|
969
1445
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
@@ -977,6 +1453,11 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
977
1453
|
}, z.core.$strip>]>>;
|
|
978
1454
|
roundDuration: z.ZodInt;
|
|
979
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>;
|
|
980
1461
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
981
1462
|
strike: z.ZodObject<{
|
|
982
1463
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -995,6 +1476,12 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
995
1476
|
roundId: z.ZodInt;
|
|
996
1477
|
selectionMask: z.ZodInt;
|
|
997
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>>;
|
|
998
1485
|
miner: z.ZodObject<{
|
|
999
1486
|
authority: z.ZodString;
|
|
1000
1487
|
currentStreakCount: z.ZodInt;
|
|
@@ -1003,6 +1490,12 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
1003
1490
|
unclaimedBtcShares: z.ZodCoercedBigInt<unknown>;
|
|
1004
1491
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1005
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>>;
|
|
1006
1499
|
}, z.core.$strip>]>>;
|
|
1007
1500
|
}, z.core.$strip>;
|
|
1008
1501
|
declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
@@ -1018,9 +1511,9 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
1018
1511
|
revealedMinersCount: z.ZodInt;
|
|
1019
1512
|
settledMinersCount: z.ZodInt;
|
|
1020
1513
|
state: z.ZodEnum<{
|
|
1514
|
+
settled: "settled";
|
|
1021
1515
|
active: "active";
|
|
1022
1516
|
revealed: "revealed";
|
|
1023
|
-
settled: "settled";
|
|
1024
1517
|
finished: "finished";
|
|
1025
1518
|
}>;
|
|
1026
1519
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1035,6 +1528,58 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
1035
1528
|
address: z.ZodString;
|
|
1036
1529
|
currentSlot: z.ZodCoercedBigInt<unknown>;
|
|
1037
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>;
|
|
1038
1583
|
previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
1039
1584
|
address: z.ZodString;
|
|
1040
1585
|
deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1046,9 +1591,9 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
1046
1591
|
revealedMinersCount: z.ZodInt;
|
|
1047
1592
|
settledMinersCount: z.ZodInt;
|
|
1048
1593
|
state: z.ZodEnum<{
|
|
1594
|
+
settled: "settled";
|
|
1049
1595
|
active: "active";
|
|
1050
1596
|
revealed: "revealed";
|
|
1051
|
-
settled: "settled";
|
|
1052
1597
|
finished: "finished";
|
|
1053
1598
|
}>;
|
|
1054
1599
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1062,6 +1607,11 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
1062
1607
|
}, z.core.$strip>]>>;
|
|
1063
1608
|
roundDuration: z.ZodInt;
|
|
1064
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>;
|
|
1065
1615
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
1066
1616
|
strike: z.ZodObject<{
|
|
1067
1617
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1080,6 +1630,12 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
1080
1630
|
roundId: z.ZodInt;
|
|
1081
1631
|
selectionMask: z.ZodInt;
|
|
1082
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>>;
|
|
1083
1639
|
miner: z.ZodObject<{
|
|
1084
1640
|
authority: z.ZodString;
|
|
1085
1641
|
currentStreakCount: z.ZodInt;
|
|
@@ -1088,6 +1644,12 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
1088
1644
|
unclaimedBtcShares: z.ZodCoercedBigInt<unknown>;
|
|
1089
1645
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1090
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>>;
|
|
1091
1653
|
}, z.core.$strip>]>>;
|
|
1092
1654
|
}, z.core.$strip>, z.ZodObject<{
|
|
1093
1655
|
entity: z.ZodEnum<{
|
|
@@ -1109,9 +1671,9 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
1109
1671
|
revealedMinersCount: z.ZodInt;
|
|
1110
1672
|
settledMinersCount: z.ZodInt;
|
|
1111
1673
|
state: z.ZodEnum<{
|
|
1674
|
+
settled: "settled";
|
|
1112
1675
|
active: "active";
|
|
1113
1676
|
revealed: "revealed";
|
|
1114
|
-
settled: "settled";
|
|
1115
1677
|
finished: "finished";
|
|
1116
1678
|
}>;
|
|
1117
1679
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1126,6 +1688,58 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
1126
1688
|
address: z.ZodString;
|
|
1127
1689
|
currentSlot: z.ZodCoercedBigInt<unknown>;
|
|
1128
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>;
|
|
1129
1743
|
previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
1130
1744
|
address: z.ZodString;
|
|
1131
1745
|
deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1137,9 +1751,9 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
1137
1751
|
revealedMinersCount: z.ZodInt;
|
|
1138
1752
|
settledMinersCount: z.ZodInt;
|
|
1139
1753
|
state: z.ZodEnum<{
|
|
1754
|
+
settled: "settled";
|
|
1140
1755
|
active: "active";
|
|
1141
1756
|
revealed: "revealed";
|
|
1142
|
-
settled: "settled";
|
|
1143
1757
|
finished: "finished";
|
|
1144
1758
|
}>;
|
|
1145
1759
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1153,6 +1767,11 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
1153
1767
|
}, z.core.$strip>]>>;
|
|
1154
1768
|
roundDuration: z.ZodInt;
|
|
1155
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>;
|
|
1156
1775
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
1157
1776
|
strike: z.ZodObject<{
|
|
1158
1777
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1171,6 +1790,12 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
1171
1790
|
roundId: z.ZodInt;
|
|
1172
1791
|
selectionMask: z.ZodInt;
|
|
1173
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>>;
|
|
1174
1799
|
miner: z.ZodObject<{
|
|
1175
1800
|
authority: z.ZodString;
|
|
1176
1801
|
currentStreakCount: z.ZodInt;
|
|
@@ -1179,6 +1804,12 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
1179
1804
|
unclaimedBtcShares: z.ZodCoercedBigInt<unknown>;
|
|
1180
1805
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1181
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>>;
|
|
1182
1813
|
}, z.core.$strip>]>>;
|
|
1183
1814
|
}, z.core.$strip>, z.ZodObject<{
|
|
1184
1815
|
entity: z.ZodEnum<{
|
|
@@ -1245,9 +1876,9 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
1245
1876
|
revealedMinersCount: z.ZodInt;
|
|
1246
1877
|
settledMinersCount: z.ZodInt;
|
|
1247
1878
|
state: z.ZodEnum<{
|
|
1879
|
+
settled: "settled";
|
|
1248
1880
|
active: "active";
|
|
1249
1881
|
revealed: "revealed";
|
|
1250
|
-
settled: "settled";
|
|
1251
1882
|
finished: "finished";
|
|
1252
1883
|
}>;
|
|
1253
1884
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1262,6 +1893,58 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
1262
1893
|
address: z.ZodString;
|
|
1263
1894
|
currentSlot: z.ZodCoercedBigInt<unknown>;
|
|
1264
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>;
|
|
1265
1948
|
previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
1266
1949
|
address: z.ZodString;
|
|
1267
1950
|
deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1273,9 +1956,9 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
1273
1956
|
revealedMinersCount: z.ZodInt;
|
|
1274
1957
|
settledMinersCount: z.ZodInt;
|
|
1275
1958
|
state: z.ZodEnum<{
|
|
1959
|
+
settled: "settled";
|
|
1276
1960
|
active: "active";
|
|
1277
1961
|
revealed: "revealed";
|
|
1278
|
-
settled: "settled";
|
|
1279
1962
|
finished: "finished";
|
|
1280
1963
|
}>;
|
|
1281
1964
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1289,6 +1972,11 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
1289
1972
|
}, z.core.$strip>]>>;
|
|
1290
1973
|
roundDuration: z.ZodInt;
|
|
1291
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>;
|
|
1292
1980
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
1293
1981
|
strike: z.ZodObject<{
|
|
1294
1982
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1343,9 +2031,9 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
1343
2031
|
revealedMinersCount: z.ZodInt;
|
|
1344
2032
|
settledMinersCount: z.ZodInt;
|
|
1345
2033
|
state: z.ZodEnum<{
|
|
2034
|
+
settled: "settled";
|
|
1346
2035
|
active: "active";
|
|
1347
2036
|
revealed: "revealed";
|
|
1348
|
-
settled: "settled";
|
|
1349
2037
|
finished: "finished";
|
|
1350
2038
|
}>;
|
|
1351
2039
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1360,6 +2048,58 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
1360
2048
|
address: z.ZodString;
|
|
1361
2049
|
currentSlot: z.ZodCoercedBigInt<unknown>;
|
|
1362
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>;
|
|
1363
2103
|
previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
1364
2104
|
address: z.ZodString;
|
|
1365
2105
|
deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1371,9 +2111,9 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
1371
2111
|
revealedMinersCount: z.ZodInt;
|
|
1372
2112
|
settledMinersCount: z.ZodInt;
|
|
1373
2113
|
state: z.ZodEnum<{
|
|
2114
|
+
settled: "settled";
|
|
1374
2115
|
active: "active";
|
|
1375
2116
|
revealed: "revealed";
|
|
1376
|
-
settled: "settled";
|
|
1377
2117
|
finished: "finished";
|
|
1378
2118
|
}>;
|
|
1379
2119
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1387,6 +2127,11 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
1387
2127
|
}, z.core.$strip>]>>;
|
|
1388
2128
|
roundDuration: z.ZodInt;
|
|
1389
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>;
|
|
1390
2135
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
1391
2136
|
strike: z.ZodObject<{
|
|
1392
2137
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1405,6 +2150,12 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
1405
2150
|
roundId: z.ZodInt;
|
|
1406
2151
|
selectionMask: z.ZodInt;
|
|
1407
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>>;
|
|
1408
2159
|
miner: z.ZodObject<{
|
|
1409
2160
|
authority: z.ZodString;
|
|
1410
2161
|
currentStreakCount: z.ZodInt;
|
|
@@ -1413,6 +2164,12 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
1413
2164
|
unclaimedBtcShares: z.ZodCoercedBigInt<unknown>;
|
|
1414
2165
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1415
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>>;
|
|
1416
2173
|
}, z.core.$strip>]>>;
|
|
1417
2174
|
}, z.core.$strip>, z.ZodObject<{
|
|
1418
2175
|
entity: z.ZodEnum<{
|
|
@@ -1435,6 +2192,12 @@ declare const zGetUserProfileResponse: z.ZodObject<{
|
|
|
1435
2192
|
roundId: z.ZodInt;
|
|
1436
2193
|
selectionMask: z.ZodInt;
|
|
1437
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>>;
|
|
1438
2201
|
miner: z.ZodObject<{
|
|
1439
2202
|
authority: z.ZodString;
|
|
1440
2203
|
currentStreakCount: z.ZodInt;
|
|
@@ -1443,6 +2206,12 @@ declare const zGetUserProfileResponse: z.ZodObject<{
|
|
|
1443
2206
|
unclaimedBtcShares: z.ZodCoercedBigInt<unknown>;
|
|
1444
2207
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1445
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>>;
|
|
1446
2215
|
}, z.core.$strip>;
|
|
1447
2216
|
}, z.core.$strip>;
|
|
1448
2217
|
type GetUserProfileResponseZodType = z.infer<typeof zGetUserProfileResponse>;
|
|
@@ -1469,4 +2238,4 @@ declare class SatrushBackendSdkError<TCause = unknown> extends Error {
|
|
|
1469
2238
|
declare const satrushSdkErrorInterceptor: (error: unknown, response?: Response) => SatrushBackendSdkError<unknown>;
|
|
1470
2239
|
declare const isSatrushSdkError: <TCause = unknown>(error: unknown) => error is SatrushBackendSdkError<TCause>;
|
|
1471
2240
|
|
|
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 };
|
|
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 };
|