@satrush/api 0.1.5 → 0.1.7
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 +380 -22
- package/dist/index.d.cts +874 -64
- package/dist/index.d.ts +874 -64
- package/dist/index.js +358 -22
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -352,6 +352,11 @@ type BoardDto = {
|
|
|
352
352
|
*/
|
|
353
353
|
oneBtcVault: OneBtcVaultDto;
|
|
354
354
|
previousRound?: null | RoundDto;
|
|
355
|
+
/**
|
|
356
|
+
* Outcomes of the most recently revealed rounds, newest first (indexed
|
|
357
|
+
* history; empty until the indexer has recorded revealed rounds).
|
|
358
|
+
*/
|
|
359
|
+
previousRounds: Array<PreviousRoundDto>;
|
|
355
360
|
/**
|
|
356
361
|
* Live token prices.
|
|
357
362
|
*/
|
|
@@ -360,7 +365,17 @@ type BoardDto = {
|
|
|
360
365
|
* Round duration in slots.
|
|
361
366
|
*/
|
|
362
367
|
roundDuration: number;
|
|
368
|
+
/**
|
|
369
|
+
* Wall-clock time of `end_slot` (in the future while the round is
|
|
370
|
+
* mining), derived the same way.
|
|
371
|
+
*/
|
|
372
|
+
roundEndsAt: Date;
|
|
363
373
|
roundId: number;
|
|
374
|
+
/**
|
|
375
|
+
* Wall-clock time of `start_slot`, derived from the current time and
|
|
376
|
+
* slot assuming exactly 400ms per slot.
|
|
377
|
+
*/
|
|
378
|
+
roundStartedAt: Date;
|
|
364
379
|
/**
|
|
365
380
|
* The sats vault balances.
|
|
366
381
|
*/
|
|
@@ -371,6 +386,17 @@ type BoardDto = {
|
|
|
371
386
|
startSlot: U64Dto;
|
|
372
387
|
strike: StrikeJackpotDto;
|
|
373
388
|
};
|
|
389
|
+
/**
|
|
390
|
+
* Kind of an indexed claim.
|
|
391
|
+
*/
|
|
392
|
+
declare const ClaimTypeDto: {
|
|
393
|
+
readonly USD: "usd";
|
|
394
|
+
readonly SATS: "sats";
|
|
395
|
+
};
|
|
396
|
+
/**
|
|
397
|
+
* Kind of an indexed claim.
|
|
398
|
+
*/
|
|
399
|
+
type ClaimTypeDto = typeof ClaimTypeDto[keyof typeof ClaimTypeDto];
|
|
374
400
|
/**
|
|
375
401
|
* Lifecycle state of an epoch vault iteration.
|
|
376
402
|
*/
|
|
@@ -390,7 +416,17 @@ type EpochStateDto = typeof EpochStateDto[keyof typeof EpochStateDto];
|
|
|
390
416
|
type EpochVaultDto = {
|
|
391
417
|
address: PubkeyDto;
|
|
392
418
|
currentIteration?: null | EpochVaultIterationDto;
|
|
419
|
+
/**
|
|
420
|
+
* Wall-clock time the iteration's window closes (start plus the
|
|
421
|
+
* configured iteration duration), derived the same way.
|
|
422
|
+
*/
|
|
423
|
+
iterationEndsAt: Date;
|
|
393
424
|
iterationId: number;
|
|
425
|
+
/**
|
|
426
|
+
* Wall-clock time of `last_trigger_slot`, derived from the current time
|
|
427
|
+
* and slot assuming exactly 400ms per slot.
|
|
428
|
+
*/
|
|
429
|
+
iterationStartedAt: Date;
|
|
394
430
|
/**
|
|
395
431
|
* Slot at which the current iteration's window started.
|
|
396
432
|
*/
|
|
@@ -491,6 +527,105 @@ type I64Dto = bigint;
|
|
|
491
527
|
type InternalErrorCodeErrorBody = {
|
|
492
528
|
code: 'internal_error';
|
|
493
529
|
};
|
|
530
|
+
/**
|
|
531
|
+
* A miner's position on the lifetime USD-deployed leaderboard.
|
|
532
|
+
*/
|
|
533
|
+
type LeaderboardEntryDto = {
|
|
534
|
+
authority: PubkeyDto;
|
|
535
|
+
/**
|
|
536
|
+
* Longest streak of consecutive rounds ever played.
|
|
537
|
+
*/
|
|
538
|
+
maxStreak: number;
|
|
539
|
+
/**
|
|
540
|
+
* 1-based position, ordered by `total_usd_deployed` descending.
|
|
541
|
+
*/
|
|
542
|
+
rank: number;
|
|
543
|
+
/**
|
|
544
|
+
* Lifetime count of rounds played.
|
|
545
|
+
*/
|
|
546
|
+
totalRoundsPlayed: number;
|
|
547
|
+
/**
|
|
548
|
+
* Lifetime gross USD deployed.
|
|
549
|
+
*/
|
|
550
|
+
totalUsdDeployed: U64Dto;
|
|
551
|
+
};
|
|
552
|
+
/**
|
|
553
|
+
* A miner's claim as recorded by the rounds indexer from a `claim_usd` or
|
|
554
|
+
* `claim_sats` instruction.
|
|
555
|
+
*/
|
|
556
|
+
type MinerClaimDto = {
|
|
557
|
+
authority: PubkeyDto;
|
|
558
|
+
btcReceived?: null | U64Dto;
|
|
559
|
+
claimType: ClaimTypeDto;
|
|
560
|
+
claimedAt: Date;
|
|
561
|
+
hashrateClaimed?: null | U64Dto;
|
|
562
|
+
/**
|
|
563
|
+
* Monotonic claim id; the pagination cursor.
|
|
564
|
+
*/
|
|
565
|
+
id: number;
|
|
566
|
+
satsClaimed?: null | U64Dto;
|
|
567
|
+
/**
|
|
568
|
+
* Signature of the claiming transaction.
|
|
569
|
+
*/
|
|
570
|
+
signature: string;
|
|
571
|
+
usdClaimed?: null | U64Dto;
|
|
572
|
+
};
|
|
573
|
+
/**
|
|
574
|
+
* A miner's deployment as recorded by the rounds indexer: the deploy itself
|
|
575
|
+
* plus its settlement outcome once the round is settled.
|
|
576
|
+
*/
|
|
577
|
+
type MinerDeploymentDto = {
|
|
578
|
+
authority: PubkeyDto;
|
|
579
|
+
deployedAt: Date;
|
|
580
|
+
/**
|
|
581
|
+
* Gross USD deployed onto the round.
|
|
582
|
+
*/
|
|
583
|
+
deployedUsdAmount: U64Dto;
|
|
584
|
+
/**
|
|
585
|
+
* The on-chain PublicDeployment account address.
|
|
586
|
+
*/
|
|
587
|
+
deployment: PubkeyDto;
|
|
588
|
+
/**
|
|
589
|
+
* Hashrate points earned on settlement.
|
|
590
|
+
*/
|
|
591
|
+
hashrateEarned: U64Dto;
|
|
592
|
+
/**
|
|
593
|
+
* Whether the platform crank deployed on the miner's behalf.
|
|
594
|
+
*/
|
|
595
|
+
isAutomation: boolean;
|
|
596
|
+
/**
|
|
597
|
+
* Whether winnings reloaded the automation escrow; automation only.
|
|
598
|
+
*/
|
|
599
|
+
isReload?: boolean | null;
|
|
600
|
+
/**
|
|
601
|
+
* Settlement outcome; `null` until the deployment is settled.
|
|
602
|
+
*/
|
|
603
|
+
isWon?: boolean | null;
|
|
604
|
+
/**
|
|
605
|
+
* Round this deployment belongs to.
|
|
606
|
+
*/
|
|
607
|
+
roundId: number;
|
|
608
|
+
/**
|
|
609
|
+
* Sats Vault shares earned on settlement.
|
|
610
|
+
*/
|
|
611
|
+
satsSharesEarned: U64Dto;
|
|
612
|
+
/**
|
|
613
|
+
* 21-bit mask of the selected tiles; unknown until revealed.
|
|
614
|
+
*/
|
|
615
|
+
selectedTiles?: number | null;
|
|
616
|
+
/**
|
|
617
|
+
* `null` until the deployment is settled.
|
|
618
|
+
*/
|
|
619
|
+
settledAt?: Date | null;
|
|
620
|
+
/**
|
|
621
|
+
* Total USD stake across the deployment's selected tiles.
|
|
622
|
+
*/
|
|
623
|
+
totalUsdStakeAmount: U64Dto;
|
|
624
|
+
/**
|
|
625
|
+
* USD winnings earned on settlement.
|
|
626
|
+
*/
|
|
627
|
+
usdEarned: U64Dto;
|
|
628
|
+
};
|
|
494
629
|
/**
|
|
495
630
|
* A miner's accumulated protocol state, keyed by its authority wallet.
|
|
496
631
|
*/
|
|
@@ -508,14 +643,66 @@ type MinerDto = {
|
|
|
508
643
|
* Id of the last round the miner played.
|
|
509
644
|
*/
|
|
510
645
|
lastMinedRoundId: number;
|
|
646
|
+
/**
|
|
647
|
+
* Longest streak of consecutive rounds ever played. Zero until the
|
|
648
|
+
* indexer has recorded the miner (as are all lifetime totals below).
|
|
649
|
+
*/
|
|
650
|
+
maxStreak: number;
|
|
651
|
+
/**
|
|
652
|
+
* Lifetime BTC received for claimed shares.
|
|
653
|
+
*/
|
|
654
|
+
totalBtcReceived: U64Dto;
|
|
655
|
+
/**
|
|
656
|
+
* Lifetime hashrate points earned; deferred bonuses count at sats claim.
|
|
657
|
+
*/
|
|
658
|
+
totalHashrateEarned: U64Dto;
|
|
659
|
+
/**
|
|
660
|
+
* Lifetime count of rounds played.
|
|
661
|
+
*/
|
|
662
|
+
totalRounds: number;
|
|
663
|
+
/**
|
|
664
|
+
* Lifetime Sats Vault shares claimed.
|
|
665
|
+
*/
|
|
666
|
+
totalSatsClaimed: U64Dto;
|
|
667
|
+
/**
|
|
668
|
+
* Lifetime sats winnings settled.
|
|
669
|
+
*/
|
|
670
|
+
totalSatsEarned: U64Dto;
|
|
671
|
+
/**
|
|
672
|
+
* Lifetime USD claimed.
|
|
673
|
+
*/
|
|
674
|
+
totalUsdClaimed: U64Dto;
|
|
675
|
+
/**
|
|
676
|
+
* Lifetime gross USD deployed.
|
|
677
|
+
*/
|
|
678
|
+
totalUsdDeployed: U64Dto;
|
|
679
|
+
/**
|
|
680
|
+
* Lifetime USD winnings settled.
|
|
681
|
+
*/
|
|
682
|
+
totalUsdEarned: U64Dto;
|
|
683
|
+
/**
|
|
684
|
+
* Deferred hashrate bonus, converted into `hashrate_amount` on sats claim.
|
|
685
|
+
*/
|
|
686
|
+
unclaimedHashrateAmount: U64Dto;
|
|
511
687
|
/**
|
|
512
688
|
* BTC shares in the Sats Vault not yet claimed.
|
|
513
689
|
*/
|
|
514
|
-
|
|
690
|
+
unclaimedSatsShares: U64Dto;
|
|
515
691
|
/**
|
|
516
692
|
* USD rewards not yet claimed.
|
|
517
693
|
*/
|
|
518
694
|
unclaimedUsdAmount: U64Dto;
|
|
695
|
+
/**
|
|
696
|
+
* Sats Vault shares pending deployment settlement, estimated at the
|
|
697
|
+
* vault's current exchange rate.
|
|
698
|
+
*/
|
|
699
|
+
unsettledSatsShares: U64Dto;
|
|
700
|
+
/**
|
|
701
|
+
* USD winnings on settled rounds pending deployment settlement. Derived
|
|
702
|
+
* from the miner's open deployments; includes amounts an automation
|
|
703
|
+
* reload would route past the miner account.
|
|
704
|
+
*/
|
|
705
|
+
unsettledUsdAmount: U64Dto;
|
|
519
706
|
};
|
|
520
707
|
declare const NotificationEntity: {
|
|
521
708
|
readonly STATE_SNAPSHOT: "state_snapshot";
|
|
@@ -592,6 +779,13 @@ type OneBtcVaultIterationDto = {
|
|
|
592
779
|
totalTickets: U64Dto;
|
|
593
780
|
winningTicket?: null | U64Dto;
|
|
594
781
|
};
|
|
782
|
+
/**
|
|
783
|
+
* A past round's outcome from the indexed history.
|
|
784
|
+
*/
|
|
785
|
+
type PreviousRoundDto = {
|
|
786
|
+
roundId: number;
|
|
787
|
+
winningTile: number;
|
|
788
|
+
};
|
|
595
789
|
/**
|
|
596
790
|
* Live token prices observed by the service.
|
|
597
791
|
*/
|
|
@@ -611,10 +805,6 @@ type PricesDto = {
|
|
|
611
805
|
*/
|
|
612
806
|
type ProfileDto = {
|
|
613
807
|
automation?: null | PublicAutomationDto;
|
|
614
|
-
/**
|
|
615
|
-
* The authority's open public deployments.
|
|
616
|
-
*/
|
|
617
|
-
deployments: Array<PublicDeploymentDto>;
|
|
618
808
|
/**
|
|
619
809
|
* The authority's open epoch vault entries.
|
|
620
810
|
*/
|
|
@@ -624,6 +814,10 @@ type ProfileDto = {
|
|
|
624
814
|
* The authority's open 1 BTC vault entries.
|
|
625
815
|
*/
|
|
626
816
|
oneBtcVaultEntries: Array<OneBtcVaultEntryDto>;
|
|
817
|
+
/**
|
|
818
|
+
* The authority's open public deployments.
|
|
819
|
+
*/
|
|
820
|
+
unsettledDeployments: Array<PublicDeploymentDto>;
|
|
627
821
|
};
|
|
628
822
|
/**
|
|
629
823
|
* Pubkey represented as base58 string in JSON and OpenAPI.
|
|
@@ -639,13 +833,22 @@ type PubkeyDto = string;
|
|
|
639
833
|
type PublicAutomationDto = {
|
|
640
834
|
address: PubkeyDto;
|
|
641
835
|
/**
|
|
642
|
-
*
|
|
836
|
+
* Rounds the platform crank has played for this session. Zero until the
|
|
837
|
+
* indexer has recorded the session.
|
|
838
|
+
*/
|
|
839
|
+
executedDeployments: number;
|
|
840
|
+
/**
|
|
841
|
+
* Gross deploy size per round; all fee legs are deducted from it.
|
|
643
842
|
*/
|
|
644
843
|
perRoundUsdAmount: U64Dto;
|
|
645
844
|
/**
|
|
646
845
|
* Whether settled USD winnings reload the remaining amount.
|
|
647
846
|
*/
|
|
648
847
|
reload: boolean;
|
|
848
|
+
/**
|
|
849
|
+
* Full rounds the remaining escrow can still cover.
|
|
850
|
+
*/
|
|
851
|
+
remainingDeployments: number;
|
|
649
852
|
/**
|
|
650
853
|
* Escrowed funds still available.
|
|
651
854
|
*/
|
|
@@ -659,6 +862,22 @@ type PublicAutomationDto = {
|
|
|
659
862
|
* Tile-selection strategy.
|
|
660
863
|
*/
|
|
661
864
|
strategy: AutomationStrategyDto;
|
|
865
|
+
/**
|
|
866
|
+
* Hashrate points earned across the session's rounds.
|
|
867
|
+
*/
|
|
868
|
+
totalHashrateEarned: U64Dto;
|
|
869
|
+
/**
|
|
870
|
+
* Sats winnings settled across the session's rounds.
|
|
871
|
+
*/
|
|
872
|
+
totalSatsEarned: U64Dto;
|
|
873
|
+
/**
|
|
874
|
+
* Gross USD deployed across the session's rounds.
|
|
875
|
+
*/
|
|
876
|
+
totalUsdDeployed: U64Dto;
|
|
877
|
+
/**
|
|
878
|
+
* USD winnings settled across the session's rounds.
|
|
879
|
+
*/
|
|
880
|
+
totalUsdEarned: U64Dto;
|
|
662
881
|
};
|
|
663
882
|
/**
|
|
664
883
|
* A miner's deployment of USD onto a round's tiles.
|
|
@@ -724,6 +943,14 @@ type SatrushConfigDto = {
|
|
|
724
943
|
* Epoch Vault fee in basis points.
|
|
725
944
|
*/
|
|
726
945
|
epochFeeBps: number;
|
|
946
|
+
/**
|
|
947
|
+
* Epoch Vault iteration length in slots.
|
|
948
|
+
*/
|
|
949
|
+
epochVaultIterationDuration: number;
|
|
950
|
+
/**
|
|
951
|
+
* Minimum gross deploy size per round, manual or automated, in USD mint (6 decimals).
|
|
952
|
+
*/
|
|
953
|
+
minDeployUsdAmount: U64Dto;
|
|
727
954
|
/**
|
|
728
955
|
* 1 BTC Vault fee in basis points.
|
|
729
956
|
*/
|
|
@@ -744,6 +971,10 @@ type SatrushConfigDto = {
|
|
|
744
971
|
* Strike jackpot fee in basis points.
|
|
745
972
|
*/
|
|
746
973
|
strikeFeeBps: number;
|
|
974
|
+
/**
|
|
975
|
+
* Share of each settled play's hashrate reward deferred until the sats claim in basis points.
|
|
976
|
+
*/
|
|
977
|
+
unclaimedHashrateBps: number;
|
|
747
978
|
/**
|
|
748
979
|
* USD mint (initially USDC).
|
|
749
980
|
*/
|
|
@@ -782,6 +1013,11 @@ type StrikeJackpotDto = {
|
|
|
782
1013
|
* BTC held after the swap.
|
|
783
1014
|
*/
|
|
784
1015
|
btcAmount: U64Dto;
|
|
1016
|
+
/**
|
|
1017
|
+
* When the last triggering round was settled (indexed history). Null when
|
|
1018
|
+
* the jackpot was never triggered or that round is not indexed/settled.
|
|
1019
|
+
*/
|
|
1020
|
+
lastTriggerAt?: Date | null;
|
|
785
1021
|
/**
|
|
786
1022
|
* Last round id at which the strike jackpot was triggered.
|
|
787
1023
|
*/
|
|
@@ -810,6 +1046,48 @@ type U128Dto = bigint;
|
|
|
810
1046
|
* Unsigned 64-bit integer encoded as a decimal string.
|
|
811
1047
|
*/
|
|
812
1048
|
type U64Dto = bigint;
|
|
1049
|
+
type UserClaimsApiError400Error = ({
|
|
1050
|
+
code: 'invalid_address';
|
|
1051
|
+
} & UserClaimsApiError400InvalidAddress) | ({
|
|
1052
|
+
code: 'invalid_before';
|
|
1053
|
+
} & UserClaimsApiError400InvalidBefore) | ({
|
|
1054
|
+
code: 'invalid_range';
|
|
1055
|
+
} & UserClaimsApiError400InvalidRange) | ({
|
|
1056
|
+
code: 'invalid_body' | 'invalid_path' | 'invalid_query';
|
|
1057
|
+
} & BadRequestErrorCodeErrorBody);
|
|
1058
|
+
type UserClaimsApiError400InvalidAddress = {
|
|
1059
|
+
code: 'invalid_address';
|
|
1060
|
+
};
|
|
1061
|
+
type UserClaimsApiError400InvalidBefore = {
|
|
1062
|
+
code: 'invalid_before';
|
|
1063
|
+
};
|
|
1064
|
+
type UserClaimsApiError400InvalidRange = {
|
|
1065
|
+
code: 'invalid_range';
|
|
1066
|
+
};
|
|
1067
|
+
type UserClaimsApiError500Error = {
|
|
1068
|
+
code: 'internal';
|
|
1069
|
+
};
|
|
1070
|
+
type UserDeploymentsApiError400Error = ({
|
|
1071
|
+
code: 'invalid_address';
|
|
1072
|
+
} & UserDeploymentsApiError400InvalidAddress) | ({
|
|
1073
|
+
code: 'invalid_before';
|
|
1074
|
+
} & UserDeploymentsApiError400InvalidBefore) | ({
|
|
1075
|
+
code: 'invalid_range';
|
|
1076
|
+
} & UserDeploymentsApiError400InvalidRange) | ({
|
|
1077
|
+
code: 'invalid_body' | 'invalid_path' | 'invalid_query';
|
|
1078
|
+
} & BadRequestErrorCodeErrorBody);
|
|
1079
|
+
type UserDeploymentsApiError400InvalidAddress = {
|
|
1080
|
+
code: 'invalid_address';
|
|
1081
|
+
};
|
|
1082
|
+
type UserDeploymentsApiError400InvalidBefore = {
|
|
1083
|
+
code: 'invalid_before';
|
|
1084
|
+
};
|
|
1085
|
+
type UserDeploymentsApiError400InvalidRange = {
|
|
1086
|
+
code: 'invalid_range';
|
|
1087
|
+
};
|
|
1088
|
+
type UserDeploymentsApiError500Error = {
|
|
1089
|
+
code: 'internal';
|
|
1090
|
+
};
|
|
813
1091
|
type UserProfileApiError400Error = ({
|
|
814
1092
|
code: 'invalid_address';
|
|
815
1093
|
} & UserProfileApiError400InvalidAddress) | ({
|
|
@@ -862,6 +1140,22 @@ type GetConfigResponses = {
|
|
|
862
1140
|
};
|
|
863
1141
|
};
|
|
864
1142
|
type GetConfigResponse = GetConfigResponses[keyof GetConfigResponses];
|
|
1143
|
+
type GetLeaderboardData = {
|
|
1144
|
+
body?: never;
|
|
1145
|
+
path?: never;
|
|
1146
|
+
query?: never;
|
|
1147
|
+
url: '/v1/leaderboard';
|
|
1148
|
+
};
|
|
1149
|
+
type GetLeaderboardErrors = {
|
|
1150
|
+
500: InternalErrorCodeErrorBody;
|
|
1151
|
+
};
|
|
1152
|
+
type GetLeaderboardError = GetLeaderboardErrors[keyof GetLeaderboardErrors];
|
|
1153
|
+
type GetLeaderboardResponses = {
|
|
1154
|
+
200: {
|
|
1155
|
+
data: Array<LeaderboardEntryDto>;
|
|
1156
|
+
};
|
|
1157
|
+
};
|
|
1158
|
+
type GetLeaderboardResponse = GetLeaderboardResponses[keyof GetLeaderboardResponses];
|
|
865
1159
|
type SseData = {
|
|
866
1160
|
body?: never;
|
|
867
1161
|
path?: never;
|
|
@@ -913,6 +1207,82 @@ type GetUserProfileResponses = {
|
|
|
913
1207
|
};
|
|
914
1208
|
};
|
|
915
1209
|
type GetUserProfileResponse = GetUserProfileResponses[keyof GetUserProfileResponses];
|
|
1210
|
+
type GetUserClaimsData = {
|
|
1211
|
+
body?: never;
|
|
1212
|
+
path: {
|
|
1213
|
+
/**
|
|
1214
|
+
* User wallet address (base58)
|
|
1215
|
+
*/
|
|
1216
|
+
address: string;
|
|
1217
|
+
};
|
|
1218
|
+
query?: {
|
|
1219
|
+
/**
|
|
1220
|
+
* Only claims with `id` strictly below this cursor; pass the last `id`
|
|
1221
|
+
* of the previous page to fetch the next one.
|
|
1222
|
+
*/
|
|
1223
|
+
before?: number;
|
|
1224
|
+
/**
|
|
1225
|
+
* Only claims with `id` strictly above this cursor; pass the first `id`
|
|
1226
|
+
* of a page to fetch newer claims.
|
|
1227
|
+
*/
|
|
1228
|
+
after?: number;
|
|
1229
|
+
/**
|
|
1230
|
+
* Page size, 1..=100; defaults to 50.
|
|
1231
|
+
*/
|
|
1232
|
+
limit?: number;
|
|
1233
|
+
};
|
|
1234
|
+
url: '/v1/users/{address}/claims';
|
|
1235
|
+
};
|
|
1236
|
+
type GetUserClaimsErrors = {
|
|
1237
|
+
400: UserClaimsApiError400Error;
|
|
1238
|
+
422: ValidationErrorCodeErrorBody;
|
|
1239
|
+
500: UserClaimsApiError500Error;
|
|
1240
|
+
};
|
|
1241
|
+
type GetUserClaimsError = GetUserClaimsErrors[keyof GetUserClaimsErrors];
|
|
1242
|
+
type GetUserClaimsResponses = {
|
|
1243
|
+
200: {
|
|
1244
|
+
data: Array<MinerClaimDto>;
|
|
1245
|
+
};
|
|
1246
|
+
};
|
|
1247
|
+
type GetUserClaimsResponse = GetUserClaimsResponses[keyof GetUserClaimsResponses];
|
|
1248
|
+
type GetUserDeploymentsData = {
|
|
1249
|
+
body?: never;
|
|
1250
|
+
path: {
|
|
1251
|
+
/**
|
|
1252
|
+
* User wallet address (base58)
|
|
1253
|
+
*/
|
|
1254
|
+
address: string;
|
|
1255
|
+
};
|
|
1256
|
+
query?: {
|
|
1257
|
+
/**
|
|
1258
|
+
* Only deployments with `round_id` strictly below this cursor; pass the
|
|
1259
|
+
* last `round_id` of the previous page to fetch the next one.
|
|
1260
|
+
*/
|
|
1261
|
+
before?: number;
|
|
1262
|
+
/**
|
|
1263
|
+
* Only deployments with `round_id` strictly above this cursor; pass the
|
|
1264
|
+
* first `round_id` of a page to fetch newer deployments.
|
|
1265
|
+
*/
|
|
1266
|
+
after?: number;
|
|
1267
|
+
/**
|
|
1268
|
+
* Page size, 1..=100; defaults to 50.
|
|
1269
|
+
*/
|
|
1270
|
+
limit?: number;
|
|
1271
|
+
};
|
|
1272
|
+
url: '/v1/users/{address}/deployments';
|
|
1273
|
+
};
|
|
1274
|
+
type GetUserDeploymentsErrors = {
|
|
1275
|
+
400: UserDeploymentsApiError400Error;
|
|
1276
|
+
422: ValidationErrorCodeErrorBody;
|
|
1277
|
+
500: UserDeploymentsApiError500Error;
|
|
1278
|
+
};
|
|
1279
|
+
type GetUserDeploymentsError = GetUserDeploymentsErrors[keyof GetUserDeploymentsErrors];
|
|
1280
|
+
type GetUserDeploymentsResponses = {
|
|
1281
|
+
200: {
|
|
1282
|
+
data: Array<MinerDeploymentDto>;
|
|
1283
|
+
};
|
|
1284
|
+
};
|
|
1285
|
+
type GetUserDeploymentsResponse = GetUserDeploymentsResponses[keyof GetUserDeploymentsResponses];
|
|
916
1286
|
|
|
917
1287
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
|
|
918
1288
|
/**
|
|
@@ -953,6 +1323,10 @@ declare class SatrushBackendSdk extends HeyApiClient {
|
|
|
953
1323
|
* Request config
|
|
954
1324
|
*/
|
|
955
1325
|
getConfig<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetConfigResponses, GetConfigErrors, ThrowOnError, "fields">;
|
|
1326
|
+
/**
|
|
1327
|
+
* Request the top miners by lifetime USD deployed
|
|
1328
|
+
*/
|
|
1329
|
+
getLeaderboard<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetLeaderboardResponses, GetLeaderboardErrors, ThrowOnError, "fields">;
|
|
956
1330
|
/**
|
|
957
1331
|
* Subscribe for SSE stream
|
|
958
1332
|
*/
|
|
@@ -965,6 +1339,24 @@ declare class SatrushBackendSdk extends HeyApiClient {
|
|
|
965
1339
|
getUserProfile<ThrowOnError extends boolean = false>(parameters: {
|
|
966
1340
|
address: string;
|
|
967
1341
|
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserProfileResponses, GetUserProfileErrors, ThrowOnError, "fields">;
|
|
1342
|
+
/**
|
|
1343
|
+
* Request user claims
|
|
1344
|
+
*/
|
|
1345
|
+
getUserClaims<ThrowOnError extends boolean = false>(parameters: {
|
|
1346
|
+
address: string;
|
|
1347
|
+
before?: number;
|
|
1348
|
+
after?: number;
|
|
1349
|
+
limit?: number;
|
|
1350
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserClaimsResponses, GetUserClaimsErrors, ThrowOnError, "fields">;
|
|
1351
|
+
/**
|
|
1352
|
+
* Request user deployments
|
|
1353
|
+
*/
|
|
1354
|
+
getUserDeployments<ThrowOnError extends boolean = false>(parameters: {
|
|
1355
|
+
address: string;
|
|
1356
|
+
before?: number;
|
|
1357
|
+
after?: number;
|
|
1358
|
+
limit?: number;
|
|
1359
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserDeploymentsResponses, GetUserDeploymentsErrors, ThrowOnError, "fields">;
|
|
968
1360
|
}
|
|
969
1361
|
|
|
970
1362
|
/**
|
|
@@ -982,6 +1374,13 @@ declare const zBadRequestErrorCodeErrorBody: z.ZodObject<{
|
|
|
982
1374
|
invalid_body: "invalid_body";
|
|
983
1375
|
}>;
|
|
984
1376
|
}, z.core.$strip>;
|
|
1377
|
+
/**
|
|
1378
|
+
* Kind of an indexed claim.
|
|
1379
|
+
*/
|
|
1380
|
+
declare const zClaimTypeDto: z.ZodEnum<{
|
|
1381
|
+
usd: "usd";
|
|
1382
|
+
sats: "sats";
|
|
1383
|
+
}>;
|
|
985
1384
|
/**
|
|
986
1385
|
* Lifecycle state of an epoch vault iteration.
|
|
987
1386
|
*/
|
|
@@ -1019,6 +1418,13 @@ declare const zOneBtcStateDto: z.ZodEnum<{
|
|
|
1019
1418
|
settled: "settled";
|
|
1020
1419
|
complete: "complete";
|
|
1021
1420
|
}>;
|
|
1421
|
+
/**
|
|
1422
|
+
* A past round's outcome from the indexed history.
|
|
1423
|
+
*/
|
|
1424
|
+
declare const zPreviousRoundDto: z.ZodObject<{
|
|
1425
|
+
roundId: z.ZodInt;
|
|
1426
|
+
winningTile: z.ZodInt;
|
|
1427
|
+
}, z.core.$strip>;
|
|
1022
1428
|
/**
|
|
1023
1429
|
* Live token prices observed by the service.
|
|
1024
1430
|
*/
|
|
@@ -1042,20 +1448,6 @@ declare const zRoundStateDto: z.ZodEnum<{
|
|
|
1042
1448
|
revealed: "revealed";
|
|
1043
1449
|
finished: "finished";
|
|
1044
1450
|
}>;
|
|
1045
|
-
/**
|
|
1046
|
-
* Protocol configuration: token mints and fee rates.
|
|
1047
|
-
*/
|
|
1048
|
-
declare const zSatrushConfigDto: z.ZodObject<{
|
|
1049
|
-
address: z.ZodString;
|
|
1050
|
-
btcMint: z.ZodString;
|
|
1051
|
-
epochFeeBps: z.ZodInt;
|
|
1052
|
-
oneBtcFeeBps: z.ZodInt;
|
|
1053
|
-
protocolFeeBps: z.ZodInt;
|
|
1054
|
-
satsVaultClaimFeeBps: z.ZodInt;
|
|
1055
|
-
satsVaultRoundFeeBps: z.ZodInt;
|
|
1056
|
-
strikeFeeBps: z.ZodInt;
|
|
1057
|
-
usdMint: z.ZodString;
|
|
1058
|
-
}, z.core.$strip>;
|
|
1059
1451
|
/**
|
|
1060
1452
|
* Unsigned 128-bit integer encoded as a decimal string.
|
|
1061
1453
|
*/
|
|
@@ -1133,7 +1525,9 @@ declare const zEpochVaultDto: z.ZodObject<{
|
|
|
1133
1525
|
winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1134
1526
|
winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1135
1527
|
}, z.core.$strip>]>>;
|
|
1528
|
+
iterationEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1136
1529
|
iterationId: z.ZodInt;
|
|
1530
|
+
iterationStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1137
1531
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
1138
1532
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1139
1533
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1141,6 +1535,54 @@ declare const zEpochVaultDto: z.ZodObject<{
|
|
|
1141
1535
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
1142
1536
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1143
1537
|
}, z.core.$strip>;
|
|
1538
|
+
/**
|
|
1539
|
+
* A miner's position on the lifetime USD-deployed leaderboard.
|
|
1540
|
+
*/
|
|
1541
|
+
declare const zLeaderboardEntryDto: z.ZodObject<{
|
|
1542
|
+
authority: z.ZodString;
|
|
1543
|
+
maxStreak: z.ZodInt;
|
|
1544
|
+
rank: z.ZodInt;
|
|
1545
|
+
totalRoundsPlayed: z.ZodInt;
|
|
1546
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
1547
|
+
}, z.core.$strip>;
|
|
1548
|
+
/**
|
|
1549
|
+
* A miner's claim as recorded by the rounds indexer from a `claim_usd` or
|
|
1550
|
+
* `claim_sats` instruction.
|
|
1551
|
+
*/
|
|
1552
|
+
declare const zMinerClaimDto: z.ZodObject<{
|
|
1553
|
+
authority: z.ZodString;
|
|
1554
|
+
btcReceived: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
1555
|
+
claimType: z.ZodEnum<{
|
|
1556
|
+
usd: "usd";
|
|
1557
|
+
sats: "sats";
|
|
1558
|
+
}>;
|
|
1559
|
+
claimedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1560
|
+
hashrateClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
1561
|
+
id: z.ZodInt;
|
|
1562
|
+
satsClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
1563
|
+
signature: z.ZodString;
|
|
1564
|
+
usdClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
1565
|
+
}, z.core.$strip>;
|
|
1566
|
+
/**
|
|
1567
|
+
* A miner's deployment as recorded by the rounds indexer: the deploy itself
|
|
1568
|
+
* plus its settlement outcome once the round is settled.
|
|
1569
|
+
*/
|
|
1570
|
+
declare const zMinerDeploymentDto: z.ZodObject<{
|
|
1571
|
+
authority: z.ZodString;
|
|
1572
|
+
deployedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1573
|
+
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1574
|
+
deployment: z.ZodString;
|
|
1575
|
+
hashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
1576
|
+
isAutomation: z.ZodBoolean;
|
|
1577
|
+
isReload: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
1578
|
+
isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
1579
|
+
roundId: z.ZodInt;
|
|
1580
|
+
satsSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
1581
|
+
selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1582
|
+
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
1583
|
+
totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
|
|
1584
|
+
usdEarned: z.ZodCoercedBigInt<unknown>;
|
|
1585
|
+
}, z.core.$strip>;
|
|
1144
1586
|
/**
|
|
1145
1587
|
* A miner's accumulated protocol state, keyed by its authority wallet.
|
|
1146
1588
|
*/
|
|
@@ -1149,8 +1591,20 @@ declare const zMinerDto: z.ZodObject<{
|
|
|
1149
1591
|
currentStreakCount: z.ZodInt;
|
|
1150
1592
|
hashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
1151
1593
|
lastMinedRoundId: z.ZodInt;
|
|
1152
|
-
|
|
1594
|
+
maxStreak: z.ZodInt;
|
|
1595
|
+
totalBtcReceived: z.ZodCoercedBigInt<unknown>;
|
|
1596
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
1597
|
+
totalRounds: z.ZodInt;
|
|
1598
|
+
totalSatsClaimed: z.ZodCoercedBigInt<unknown>;
|
|
1599
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
1600
|
+
totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
|
|
1601
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
1602
|
+
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
1603
|
+
unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
1604
|
+
unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
1153
1605
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1606
|
+
unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
1607
|
+
unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1154
1608
|
}, z.core.$strip>;
|
|
1155
1609
|
/**
|
|
1156
1610
|
* A user's ticket purchase in a 1 BTC vault iteration.
|
|
@@ -1205,8 +1659,10 @@ declare const zOneBtcVaultDto: z.ZodObject<{
|
|
|
1205
1659
|
*/
|
|
1206
1660
|
declare const zPublicAutomationDto: z.ZodObject<{
|
|
1207
1661
|
address: z.ZodString;
|
|
1662
|
+
executedDeployments: z.ZodInt;
|
|
1208
1663
|
perRoundUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1209
1664
|
reload: z.ZodBoolean;
|
|
1665
|
+
remainingDeployments: z.ZodInt;
|
|
1210
1666
|
remainingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1211
1667
|
selectionMask: z.ZodInt;
|
|
1212
1668
|
strategy: z.ZodEnum<{
|
|
@@ -1214,6 +1670,10 @@ declare const zPublicAutomationDto: z.ZodObject<{
|
|
|
1214
1670
|
random: "random";
|
|
1215
1671
|
discretionary: "discretionary";
|
|
1216
1672
|
}>;
|
|
1673
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
1674
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
1675
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
1676
|
+
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
1217
1677
|
}, z.core.$strip>;
|
|
1218
1678
|
/**
|
|
1219
1679
|
* A miner's deployment of USD onto a round's tiles.
|
|
@@ -1231,8 +1691,10 @@ declare const zPublicDeploymentDto: z.ZodObject<{
|
|
|
1231
1691
|
declare const zProfileDto: z.ZodObject<{
|
|
1232
1692
|
automation: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
1233
1693
|
address: z.ZodString;
|
|
1694
|
+
executedDeployments: z.ZodInt;
|
|
1234
1695
|
perRoundUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1235
1696
|
reload: z.ZodBoolean;
|
|
1697
|
+
remainingDeployments: z.ZodInt;
|
|
1236
1698
|
remainingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1237
1699
|
selectionMask: z.ZodInt;
|
|
1238
1700
|
strategy: z.ZodEnum<{
|
|
@@ -1240,13 +1702,11 @@ declare const zProfileDto: z.ZodObject<{
|
|
|
1240
1702
|
random: "random";
|
|
1241
1703
|
discretionary: "discretionary";
|
|
1242
1704
|
}>;
|
|
1705
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
1706
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
1707
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
1708
|
+
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
1243
1709
|
}, z.core.$strip>]>>;
|
|
1244
|
-
deployments: z.ZodArray<z.ZodObject<{
|
|
1245
|
-
address: z.ZodString;
|
|
1246
|
-
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1247
|
-
roundId: z.ZodInt;
|
|
1248
|
-
selectionMask: z.ZodInt;
|
|
1249
|
-
}, z.core.$strip>>;
|
|
1250
1710
|
epochVaultEntries: z.ZodArray<z.ZodObject<{
|
|
1251
1711
|
address: z.ZodString;
|
|
1252
1712
|
iterationId: z.ZodInt;
|
|
@@ -1258,8 +1718,20 @@ declare const zProfileDto: z.ZodObject<{
|
|
|
1258
1718
|
currentStreakCount: z.ZodInt;
|
|
1259
1719
|
hashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
1260
1720
|
lastMinedRoundId: z.ZodInt;
|
|
1261
|
-
|
|
1721
|
+
maxStreak: z.ZodInt;
|
|
1722
|
+
totalBtcReceived: z.ZodCoercedBigInt<unknown>;
|
|
1723
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
1724
|
+
totalRounds: z.ZodInt;
|
|
1725
|
+
totalSatsClaimed: z.ZodCoercedBigInt<unknown>;
|
|
1726
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
1727
|
+
totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
|
|
1728
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
1729
|
+
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
1730
|
+
unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
1731
|
+
unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
1262
1732
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1733
|
+
unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
1734
|
+
unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1263
1735
|
}, z.core.$strip>;
|
|
1264
1736
|
oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
|
|
1265
1737
|
address: z.ZodString;
|
|
@@ -1267,6 +1739,29 @@ declare const zProfileDto: z.ZodObject<{
|
|
|
1267
1739
|
startTicketId: z.ZodCoercedBigInt<unknown>;
|
|
1268
1740
|
ticketsCount: z.ZodCoercedBigInt<unknown>;
|
|
1269
1741
|
}, z.core.$strip>>;
|
|
1742
|
+
unsettledDeployments: z.ZodArray<z.ZodObject<{
|
|
1743
|
+
address: z.ZodString;
|
|
1744
|
+
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1745
|
+
roundId: z.ZodInt;
|
|
1746
|
+
selectionMask: z.ZodInt;
|
|
1747
|
+
}, z.core.$strip>>;
|
|
1748
|
+
}, z.core.$strip>;
|
|
1749
|
+
/**
|
|
1750
|
+
* Protocol configuration: token mints and fee rates.
|
|
1751
|
+
*/
|
|
1752
|
+
declare const zSatrushConfigDto: z.ZodObject<{
|
|
1753
|
+
address: z.ZodString;
|
|
1754
|
+
btcMint: z.ZodString;
|
|
1755
|
+
epochFeeBps: z.ZodInt;
|
|
1756
|
+
epochVaultIterationDuration: z.ZodInt;
|
|
1757
|
+
minDeployUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1758
|
+
oneBtcFeeBps: z.ZodInt;
|
|
1759
|
+
protocolFeeBps: z.ZodInt;
|
|
1760
|
+
satsVaultClaimFeeBps: z.ZodInt;
|
|
1761
|
+
satsVaultRoundFeeBps: z.ZodInt;
|
|
1762
|
+
strikeFeeBps: z.ZodInt;
|
|
1763
|
+
unclaimedHashrateBps: z.ZodInt;
|
|
1764
|
+
usdMint: z.ZodString;
|
|
1270
1765
|
}, z.core.$strip>;
|
|
1271
1766
|
/**
|
|
1272
1767
|
* Sats vault balances: the BTC backing and the shares issued against it.
|
|
@@ -1281,6 +1776,7 @@ declare const zSatsVaultDto: z.ZodObject<{
|
|
|
1281
1776
|
*/
|
|
1282
1777
|
declare const zStrikeJackpotDto: z.ZodObject<{
|
|
1283
1778
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
1779
|
+
lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
1284
1780
|
lastTriggerRoundId: z.ZodInt;
|
|
1285
1781
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1286
1782
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1377,7 +1873,9 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
1377
1873
|
winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1378
1874
|
winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1379
1875
|
}, z.core.$strip>]>>;
|
|
1876
|
+
iterationEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1380
1877
|
iterationId: z.ZodInt;
|
|
1878
|
+
iterationStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1381
1879
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
1382
1880
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1383
1881
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1430,12 +1928,18 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
1430
1928
|
winnersCount: z.ZodInt;
|
|
1431
1929
|
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1432
1930
|
}, z.core.$strip>]>>;
|
|
1931
|
+
previousRounds: z.ZodArray<z.ZodObject<{
|
|
1932
|
+
roundId: z.ZodInt;
|
|
1933
|
+
winningTile: z.ZodInt;
|
|
1934
|
+
}, z.core.$strip>>;
|
|
1433
1935
|
prices: z.ZodObject<{
|
|
1434
1936
|
btc: z.ZodNumber;
|
|
1435
1937
|
sat: z.ZodNumber;
|
|
1436
1938
|
}, z.core.$strip>;
|
|
1437
1939
|
roundDuration: z.ZodInt;
|
|
1940
|
+
roundEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1438
1941
|
roundId: z.ZodInt;
|
|
1942
|
+
roundStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1439
1943
|
satsVault: z.ZodObject<{
|
|
1440
1944
|
address: z.ZodString;
|
|
1441
1945
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1444,6 +1948,7 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
1444
1948
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
1445
1949
|
strike: z.ZodObject<{
|
|
1446
1950
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
1951
|
+
lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
1447
1952
|
lastTriggerRoundId: z.ZodInt;
|
|
1448
1953
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1449
1954
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1503,7 +2008,9 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
1503
2008
|
winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1504
2009
|
winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1505
2010
|
}, z.core.$strip>]>>;
|
|
2011
|
+
iterationEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1506
2012
|
iterationId: z.ZodInt;
|
|
2013
|
+
iterationStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1507
2014
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
1508
2015
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1509
2016
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1556,12 +2063,18 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
1556
2063
|
winnersCount: z.ZodInt;
|
|
1557
2064
|
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1558
2065
|
}, z.core.$strip>]>>;
|
|
2066
|
+
previousRounds: z.ZodArray<z.ZodObject<{
|
|
2067
|
+
roundId: z.ZodInt;
|
|
2068
|
+
winningTile: z.ZodInt;
|
|
2069
|
+
}, z.core.$strip>>;
|
|
1559
2070
|
prices: z.ZodObject<{
|
|
1560
2071
|
btc: z.ZodNumber;
|
|
1561
2072
|
sat: z.ZodNumber;
|
|
1562
2073
|
}, z.core.$strip>;
|
|
1563
2074
|
roundDuration: z.ZodInt;
|
|
2075
|
+
roundEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1564
2076
|
roundId: z.ZodInt;
|
|
2077
|
+
roundStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1565
2078
|
satsVault: z.ZodObject<{
|
|
1566
2079
|
address: z.ZodString;
|
|
1567
2080
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1570,6 +2083,7 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
1570
2083
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
1571
2084
|
strike: z.ZodObject<{
|
|
1572
2085
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
2086
|
+
lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
1573
2087
|
lastTriggerRoundId: z.ZodInt;
|
|
1574
2088
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1575
2089
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1581,8 +2095,10 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
1581
2095
|
profile: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
1582
2096
|
automation: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
1583
2097
|
address: z.ZodString;
|
|
2098
|
+
executedDeployments: z.ZodInt;
|
|
1584
2099
|
perRoundUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1585
2100
|
reload: z.ZodBoolean;
|
|
2101
|
+
remainingDeployments: z.ZodInt;
|
|
1586
2102
|
remainingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1587
2103
|
selectionMask: z.ZodInt;
|
|
1588
2104
|
strategy: z.ZodEnum<{
|
|
@@ -1590,13 +2106,11 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
1590
2106
|
random: "random";
|
|
1591
2107
|
discretionary: "discretionary";
|
|
1592
2108
|
}>;
|
|
2109
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
2110
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
2111
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
2112
|
+
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
1593
2113
|
}, z.core.$strip>]>>;
|
|
1594
|
-
deployments: z.ZodArray<z.ZodObject<{
|
|
1595
|
-
address: z.ZodString;
|
|
1596
|
-
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1597
|
-
roundId: z.ZodInt;
|
|
1598
|
-
selectionMask: z.ZodInt;
|
|
1599
|
-
}, z.core.$strip>>;
|
|
1600
2114
|
epochVaultEntries: z.ZodArray<z.ZodObject<{
|
|
1601
2115
|
address: z.ZodString;
|
|
1602
2116
|
iterationId: z.ZodInt;
|
|
@@ -1608,8 +2122,20 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
1608
2122
|
currentStreakCount: z.ZodInt;
|
|
1609
2123
|
hashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
1610
2124
|
lastMinedRoundId: z.ZodInt;
|
|
1611
|
-
|
|
2125
|
+
maxStreak: z.ZodInt;
|
|
2126
|
+
totalBtcReceived: z.ZodCoercedBigInt<unknown>;
|
|
2127
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
2128
|
+
totalRounds: z.ZodInt;
|
|
2129
|
+
totalSatsClaimed: z.ZodCoercedBigInt<unknown>;
|
|
2130
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
2131
|
+
totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
|
|
2132
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
2133
|
+
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
2134
|
+
unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
2135
|
+
unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
1612
2136
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2137
|
+
unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
2138
|
+
unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1613
2139
|
}, z.core.$strip>;
|
|
1614
2140
|
oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
|
|
1615
2141
|
address: z.ZodString;
|
|
@@ -1617,6 +2143,12 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
1617
2143
|
startTicketId: z.ZodCoercedBigInt<unknown>;
|
|
1618
2144
|
ticketsCount: z.ZodCoercedBigInt<unknown>;
|
|
1619
2145
|
}, z.core.$strip>>;
|
|
2146
|
+
unsettledDeployments: z.ZodArray<z.ZodObject<{
|
|
2147
|
+
address: z.ZodString;
|
|
2148
|
+
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2149
|
+
roundId: z.ZodInt;
|
|
2150
|
+
selectionMask: z.ZodInt;
|
|
2151
|
+
}, z.core.$strip>>;
|
|
1620
2152
|
}, z.core.$strip>]>>;
|
|
1621
2153
|
}, z.core.$strip>;
|
|
1622
2154
|
declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
@@ -1673,7 +2205,9 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
1673
2205
|
winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1674
2206
|
winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1675
2207
|
}, z.core.$strip>]>>;
|
|
2208
|
+
iterationEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1676
2209
|
iterationId: z.ZodInt;
|
|
2210
|
+
iterationStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1677
2211
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
1678
2212
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1679
2213
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1726,12 +2260,18 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
1726
2260
|
winnersCount: z.ZodInt;
|
|
1727
2261
|
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1728
2262
|
}, z.core.$strip>]>>;
|
|
2263
|
+
previousRounds: z.ZodArray<z.ZodObject<{
|
|
2264
|
+
roundId: z.ZodInt;
|
|
2265
|
+
winningTile: z.ZodInt;
|
|
2266
|
+
}, z.core.$strip>>;
|
|
1729
2267
|
prices: z.ZodObject<{
|
|
1730
2268
|
btc: z.ZodNumber;
|
|
1731
2269
|
sat: z.ZodNumber;
|
|
1732
2270
|
}, z.core.$strip>;
|
|
1733
2271
|
roundDuration: z.ZodInt;
|
|
2272
|
+
roundEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1734
2273
|
roundId: z.ZodInt;
|
|
2274
|
+
roundStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1735
2275
|
satsVault: z.ZodObject<{
|
|
1736
2276
|
address: z.ZodString;
|
|
1737
2277
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1740,6 +2280,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
1740
2280
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
1741
2281
|
strike: z.ZodObject<{
|
|
1742
2282
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
2283
|
+
lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
1743
2284
|
lastTriggerRoundId: z.ZodInt;
|
|
1744
2285
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1745
2286
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1751,8 +2292,10 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
1751
2292
|
profile: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
1752
2293
|
automation: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
1753
2294
|
address: z.ZodString;
|
|
2295
|
+
executedDeployments: z.ZodInt;
|
|
1754
2296
|
perRoundUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1755
2297
|
reload: z.ZodBoolean;
|
|
2298
|
+
remainingDeployments: z.ZodInt;
|
|
1756
2299
|
remainingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1757
2300
|
selectionMask: z.ZodInt;
|
|
1758
2301
|
strategy: z.ZodEnum<{
|
|
@@ -1760,13 +2303,11 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
1760
2303
|
random: "random";
|
|
1761
2304
|
discretionary: "discretionary";
|
|
1762
2305
|
}>;
|
|
2306
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
2307
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
2308
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
2309
|
+
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
1763
2310
|
}, z.core.$strip>]>>;
|
|
1764
|
-
deployments: z.ZodArray<z.ZodObject<{
|
|
1765
|
-
address: z.ZodString;
|
|
1766
|
-
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1767
|
-
roundId: z.ZodInt;
|
|
1768
|
-
selectionMask: z.ZodInt;
|
|
1769
|
-
}, z.core.$strip>>;
|
|
1770
2311
|
epochVaultEntries: z.ZodArray<z.ZodObject<{
|
|
1771
2312
|
address: z.ZodString;
|
|
1772
2313
|
iterationId: z.ZodInt;
|
|
@@ -1778,8 +2319,20 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
1778
2319
|
currentStreakCount: z.ZodInt;
|
|
1779
2320
|
hashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
1780
2321
|
lastMinedRoundId: z.ZodInt;
|
|
1781
|
-
|
|
2322
|
+
maxStreak: z.ZodInt;
|
|
2323
|
+
totalBtcReceived: z.ZodCoercedBigInt<unknown>;
|
|
2324
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
2325
|
+
totalRounds: z.ZodInt;
|
|
2326
|
+
totalSatsClaimed: z.ZodCoercedBigInt<unknown>;
|
|
2327
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
2328
|
+
totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
|
|
2329
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
2330
|
+
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
2331
|
+
unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
2332
|
+
unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
1782
2333
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2334
|
+
unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
2335
|
+
unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1783
2336
|
}, z.core.$strip>;
|
|
1784
2337
|
oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
|
|
1785
2338
|
address: z.ZodString;
|
|
@@ -1787,6 +2340,12 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
1787
2340
|
startTicketId: z.ZodCoercedBigInt<unknown>;
|
|
1788
2341
|
ticketsCount: z.ZodCoercedBigInt<unknown>;
|
|
1789
2342
|
}, z.core.$strip>>;
|
|
2343
|
+
unsettledDeployments: z.ZodArray<z.ZodObject<{
|
|
2344
|
+
address: z.ZodString;
|
|
2345
|
+
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2346
|
+
roundId: z.ZodInt;
|
|
2347
|
+
selectionMask: z.ZodInt;
|
|
2348
|
+
}, z.core.$strip>>;
|
|
1790
2349
|
}, z.core.$strip>]>>;
|
|
1791
2350
|
}, z.core.$strip>, z.ZodObject<{
|
|
1792
2351
|
entity: z.ZodEnum<{
|
|
@@ -1849,7 +2408,9 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
1849
2408
|
winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1850
2409
|
winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1851
2410
|
}, z.core.$strip>]>>;
|
|
2411
|
+
iterationEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1852
2412
|
iterationId: z.ZodInt;
|
|
2413
|
+
iterationStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1853
2414
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
1854
2415
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1855
2416
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1902,12 +2463,18 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
1902
2463
|
winnersCount: z.ZodInt;
|
|
1903
2464
|
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1904
2465
|
}, z.core.$strip>]>>;
|
|
2466
|
+
previousRounds: z.ZodArray<z.ZodObject<{
|
|
2467
|
+
roundId: z.ZodInt;
|
|
2468
|
+
winningTile: z.ZodInt;
|
|
2469
|
+
}, z.core.$strip>>;
|
|
1905
2470
|
prices: z.ZodObject<{
|
|
1906
2471
|
btc: z.ZodNumber;
|
|
1907
2472
|
sat: z.ZodNumber;
|
|
1908
2473
|
}, z.core.$strip>;
|
|
1909
2474
|
roundDuration: z.ZodInt;
|
|
2475
|
+
roundEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1910
2476
|
roundId: z.ZodInt;
|
|
2477
|
+
roundStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1911
2478
|
satsVault: z.ZodObject<{
|
|
1912
2479
|
address: z.ZodString;
|
|
1913
2480
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1916,6 +2483,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
1916
2483
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
1917
2484
|
strike: z.ZodObject<{
|
|
1918
2485
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
2486
|
+
lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
1919
2487
|
lastTriggerRoundId: z.ZodInt;
|
|
1920
2488
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1921
2489
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1927,8 +2495,10 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
1927
2495
|
profile: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
1928
2496
|
automation: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
1929
2497
|
address: z.ZodString;
|
|
2498
|
+
executedDeployments: z.ZodInt;
|
|
1930
2499
|
perRoundUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1931
2500
|
reload: z.ZodBoolean;
|
|
2501
|
+
remainingDeployments: z.ZodInt;
|
|
1932
2502
|
remainingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1933
2503
|
selectionMask: z.ZodInt;
|
|
1934
2504
|
strategy: z.ZodEnum<{
|
|
@@ -1936,13 +2506,11 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
1936
2506
|
random: "random";
|
|
1937
2507
|
discretionary: "discretionary";
|
|
1938
2508
|
}>;
|
|
2509
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
2510
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
2511
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
2512
|
+
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
1939
2513
|
}, z.core.$strip>]>>;
|
|
1940
|
-
deployments: z.ZodArray<z.ZodObject<{
|
|
1941
|
-
address: z.ZodString;
|
|
1942
|
-
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1943
|
-
roundId: z.ZodInt;
|
|
1944
|
-
selectionMask: z.ZodInt;
|
|
1945
|
-
}, z.core.$strip>>;
|
|
1946
2514
|
epochVaultEntries: z.ZodArray<z.ZodObject<{
|
|
1947
2515
|
address: z.ZodString;
|
|
1948
2516
|
iterationId: z.ZodInt;
|
|
@@ -1954,8 +2522,20 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
1954
2522
|
currentStreakCount: z.ZodInt;
|
|
1955
2523
|
hashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
1956
2524
|
lastMinedRoundId: z.ZodInt;
|
|
1957
|
-
|
|
2525
|
+
maxStreak: z.ZodInt;
|
|
2526
|
+
totalBtcReceived: z.ZodCoercedBigInt<unknown>;
|
|
2527
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
2528
|
+
totalRounds: z.ZodInt;
|
|
2529
|
+
totalSatsClaimed: z.ZodCoercedBigInt<unknown>;
|
|
2530
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
2531
|
+
totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
|
|
2532
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
2533
|
+
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
2534
|
+
unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
2535
|
+
unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
1958
2536
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2537
|
+
unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
2538
|
+
unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1959
2539
|
}, z.core.$strip>;
|
|
1960
2540
|
oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
|
|
1961
2541
|
address: z.ZodString;
|
|
@@ -1963,12 +2543,112 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
1963
2543
|
startTicketId: z.ZodCoercedBigInt<unknown>;
|
|
1964
2544
|
ticketsCount: z.ZodCoercedBigInt<unknown>;
|
|
1965
2545
|
}, z.core.$strip>>;
|
|
2546
|
+
unsettledDeployments: z.ZodArray<z.ZodObject<{
|
|
2547
|
+
address: z.ZodString;
|
|
2548
|
+
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2549
|
+
roundId: z.ZodInt;
|
|
2550
|
+
selectionMask: z.ZodInt;
|
|
2551
|
+
}, z.core.$strip>>;
|
|
1966
2552
|
}, z.core.$strip>]>>;
|
|
1967
2553
|
}, z.core.$strip>, z.ZodObject<{
|
|
1968
2554
|
entity: z.ZodEnum<{
|
|
1969
2555
|
state_snapshot: "state_snapshot";
|
|
1970
2556
|
}>;
|
|
1971
2557
|
}, z.core.$strip>>>;
|
|
2558
|
+
declare const zUserClaimsApiError400InvalidAddress: z.ZodObject<{
|
|
2559
|
+
code: z.ZodEnum<{
|
|
2560
|
+
invalid_address: "invalid_address";
|
|
2561
|
+
}>;
|
|
2562
|
+
}, z.core.$strip>;
|
|
2563
|
+
declare const zUserClaimsApiError400InvalidBefore: z.ZodObject<{
|
|
2564
|
+
code: z.ZodEnum<{
|
|
2565
|
+
invalid_before: "invalid_before";
|
|
2566
|
+
}>;
|
|
2567
|
+
}, z.core.$strip>;
|
|
2568
|
+
declare const zUserClaimsApiError400InvalidRange: z.ZodObject<{
|
|
2569
|
+
code: z.ZodEnum<{
|
|
2570
|
+
invalid_range: "invalid_range";
|
|
2571
|
+
}>;
|
|
2572
|
+
}, z.core.$strip>;
|
|
2573
|
+
declare const zUserClaimsApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
2574
|
+
code: z.ZodLiteral<"invalid_address">;
|
|
2575
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2576
|
+
code: z.ZodEnum<{
|
|
2577
|
+
invalid_address: "invalid_address";
|
|
2578
|
+
}>;
|
|
2579
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2580
|
+
code: z.ZodLiteral<"invalid_before">;
|
|
2581
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2582
|
+
code: z.ZodEnum<{
|
|
2583
|
+
invalid_before: "invalid_before";
|
|
2584
|
+
}>;
|
|
2585
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2586
|
+
code: z.ZodLiteral<"invalid_range">;
|
|
2587
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2588
|
+
code: z.ZodEnum<{
|
|
2589
|
+
invalid_range: "invalid_range";
|
|
2590
|
+
}>;
|
|
2591
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2592
|
+
code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
|
|
2593
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2594
|
+
code: z.ZodEnum<{
|
|
2595
|
+
invalid_path: "invalid_path";
|
|
2596
|
+
invalid_query: "invalid_query";
|
|
2597
|
+
invalid_body: "invalid_body";
|
|
2598
|
+
}>;
|
|
2599
|
+
}, z.core.$strip>>]>;
|
|
2600
|
+
declare const zUserClaimsApiError500Error: z.ZodObject<{
|
|
2601
|
+
code: z.ZodEnum<{
|
|
2602
|
+
internal: "internal";
|
|
2603
|
+
}>;
|
|
2604
|
+
}, z.core.$strip>;
|
|
2605
|
+
declare const zUserDeploymentsApiError400InvalidAddress: z.ZodObject<{
|
|
2606
|
+
code: z.ZodEnum<{
|
|
2607
|
+
invalid_address: "invalid_address";
|
|
2608
|
+
}>;
|
|
2609
|
+
}, z.core.$strip>;
|
|
2610
|
+
declare const zUserDeploymentsApiError400InvalidBefore: z.ZodObject<{
|
|
2611
|
+
code: z.ZodEnum<{
|
|
2612
|
+
invalid_before: "invalid_before";
|
|
2613
|
+
}>;
|
|
2614
|
+
}, z.core.$strip>;
|
|
2615
|
+
declare const zUserDeploymentsApiError400InvalidRange: z.ZodObject<{
|
|
2616
|
+
code: z.ZodEnum<{
|
|
2617
|
+
invalid_range: "invalid_range";
|
|
2618
|
+
}>;
|
|
2619
|
+
}, z.core.$strip>;
|
|
2620
|
+
declare const zUserDeploymentsApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
2621
|
+
code: z.ZodLiteral<"invalid_address">;
|
|
2622
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2623
|
+
code: z.ZodEnum<{
|
|
2624
|
+
invalid_address: "invalid_address";
|
|
2625
|
+
}>;
|
|
2626
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2627
|
+
code: z.ZodLiteral<"invalid_before">;
|
|
2628
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2629
|
+
code: z.ZodEnum<{
|
|
2630
|
+
invalid_before: "invalid_before";
|
|
2631
|
+
}>;
|
|
2632
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2633
|
+
code: z.ZodLiteral<"invalid_range">;
|
|
2634
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2635
|
+
code: z.ZodEnum<{
|
|
2636
|
+
invalid_range: "invalid_range";
|
|
2637
|
+
}>;
|
|
2638
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2639
|
+
code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
|
|
2640
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2641
|
+
code: z.ZodEnum<{
|
|
2642
|
+
invalid_path: "invalid_path";
|
|
2643
|
+
invalid_query: "invalid_query";
|
|
2644
|
+
invalid_body: "invalid_body";
|
|
2645
|
+
}>;
|
|
2646
|
+
}, z.core.$strip>>]>;
|
|
2647
|
+
declare const zUserDeploymentsApiError500Error: z.ZodObject<{
|
|
2648
|
+
code: z.ZodEnum<{
|
|
2649
|
+
internal: "internal";
|
|
2650
|
+
}>;
|
|
2651
|
+
}, z.core.$strip>;
|
|
1972
2652
|
declare const zUserProfileApiError400InvalidAddress: z.ZodObject<{
|
|
1973
2653
|
code: z.ZodEnum<{
|
|
1974
2654
|
invalid_address: "invalid_address";
|
|
@@ -2070,7 +2750,9 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
2070
2750
|
winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
2071
2751
|
winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
2072
2752
|
}, z.core.$strip>]>>;
|
|
2753
|
+
iterationEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2073
2754
|
iterationId: z.ZodInt;
|
|
2755
|
+
iterationStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2074
2756
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
2075
2757
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2076
2758
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2123,12 +2805,18 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
2123
2805
|
winnersCount: z.ZodInt;
|
|
2124
2806
|
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
2125
2807
|
}, z.core.$strip>]>>;
|
|
2808
|
+
previousRounds: z.ZodArray<z.ZodObject<{
|
|
2809
|
+
roundId: z.ZodInt;
|
|
2810
|
+
winningTile: z.ZodInt;
|
|
2811
|
+
}, z.core.$strip>>;
|
|
2126
2812
|
prices: z.ZodObject<{
|
|
2127
2813
|
btc: z.ZodNumber;
|
|
2128
2814
|
sat: z.ZodNumber;
|
|
2129
2815
|
}, z.core.$strip>;
|
|
2130
2816
|
roundDuration: z.ZodInt;
|
|
2817
|
+
roundEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2131
2818
|
roundId: z.ZodInt;
|
|
2819
|
+
roundStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2132
2820
|
satsVault: z.ZodObject<{
|
|
2133
2821
|
address: z.ZodString;
|
|
2134
2822
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2137,6 +2825,7 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
2137
2825
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
2138
2826
|
strike: z.ZodObject<{
|
|
2139
2827
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
2828
|
+
lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2140
2829
|
lastTriggerRoundId: z.ZodInt;
|
|
2141
2830
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2142
2831
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2154,15 +2843,33 @@ declare const zGetConfigResponse: z.ZodObject<{
|
|
|
2154
2843
|
address: z.ZodString;
|
|
2155
2844
|
btcMint: z.ZodString;
|
|
2156
2845
|
epochFeeBps: z.ZodInt;
|
|
2846
|
+
epochVaultIterationDuration: z.ZodInt;
|
|
2847
|
+
minDeployUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2157
2848
|
oneBtcFeeBps: z.ZodInt;
|
|
2158
2849
|
protocolFeeBps: z.ZodInt;
|
|
2159
2850
|
satsVaultClaimFeeBps: z.ZodInt;
|
|
2160
2851
|
satsVaultRoundFeeBps: z.ZodInt;
|
|
2161
2852
|
strikeFeeBps: z.ZodInt;
|
|
2853
|
+
unclaimedHashrateBps: z.ZodInt;
|
|
2162
2854
|
usdMint: z.ZodString;
|
|
2163
2855
|
}, z.core.$strip>;
|
|
2164
2856
|
}, z.core.$strip>;
|
|
2165
2857
|
type GetConfigResponseZodType = z.infer<typeof zGetConfigResponse>;
|
|
2858
|
+
declare const zGetLeaderboardData: z.ZodObject<{
|
|
2859
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2860
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
2861
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2862
|
+
}, z.core.$strip>;
|
|
2863
|
+
declare const zGetLeaderboardResponse: z.ZodObject<{
|
|
2864
|
+
data: z.ZodArray<z.ZodObject<{
|
|
2865
|
+
authority: z.ZodString;
|
|
2866
|
+
maxStreak: z.ZodInt;
|
|
2867
|
+
rank: z.ZodInt;
|
|
2868
|
+
totalRoundsPlayed: z.ZodInt;
|
|
2869
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
2870
|
+
}, z.core.$strip>>;
|
|
2871
|
+
}, z.core.$strip>;
|
|
2872
|
+
type GetLeaderboardResponseZodType = z.infer<typeof zGetLeaderboardResponse>;
|
|
2166
2873
|
declare const zSseData: z.ZodObject<{
|
|
2167
2874
|
body: z.ZodOptional<z.ZodNever>;
|
|
2168
2875
|
path: z.ZodOptional<z.ZodNever>;
|
|
@@ -2229,7 +2936,9 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
2229
2936
|
winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
2230
2937
|
winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
2231
2938
|
}, z.core.$strip>]>>;
|
|
2939
|
+
iterationEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2232
2940
|
iterationId: z.ZodInt;
|
|
2941
|
+
iterationStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2233
2942
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
2234
2943
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2235
2944
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2282,12 +2991,18 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
2282
2991
|
winnersCount: z.ZodInt;
|
|
2283
2992
|
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
2284
2993
|
}, z.core.$strip>]>>;
|
|
2994
|
+
previousRounds: z.ZodArray<z.ZodObject<{
|
|
2995
|
+
roundId: z.ZodInt;
|
|
2996
|
+
winningTile: z.ZodInt;
|
|
2997
|
+
}, z.core.$strip>>;
|
|
2285
2998
|
prices: z.ZodObject<{
|
|
2286
2999
|
btc: z.ZodNumber;
|
|
2287
3000
|
sat: z.ZodNumber;
|
|
2288
3001
|
}, z.core.$strip>;
|
|
2289
3002
|
roundDuration: z.ZodInt;
|
|
3003
|
+
roundEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2290
3004
|
roundId: z.ZodInt;
|
|
3005
|
+
roundStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2291
3006
|
satsVault: z.ZodObject<{
|
|
2292
3007
|
address: z.ZodString;
|
|
2293
3008
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2296,6 +3011,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
2296
3011
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
2297
3012
|
strike: z.ZodObject<{
|
|
2298
3013
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3014
|
+
lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2299
3015
|
lastTriggerRoundId: z.ZodInt;
|
|
2300
3016
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2301
3017
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2307,8 +3023,10 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
2307
3023
|
profile: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
2308
3024
|
automation: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
2309
3025
|
address: z.ZodString;
|
|
3026
|
+
executedDeployments: z.ZodInt;
|
|
2310
3027
|
perRoundUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2311
3028
|
reload: z.ZodBoolean;
|
|
3029
|
+
remainingDeployments: z.ZodInt;
|
|
2312
3030
|
remainingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2313
3031
|
selectionMask: z.ZodInt;
|
|
2314
3032
|
strategy: z.ZodEnum<{
|
|
@@ -2316,13 +3034,11 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
2316
3034
|
random: "random";
|
|
2317
3035
|
discretionary: "discretionary";
|
|
2318
3036
|
}>;
|
|
3037
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
3038
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
3039
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
3040
|
+
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
2319
3041
|
}, z.core.$strip>]>>;
|
|
2320
|
-
deployments: z.ZodArray<z.ZodObject<{
|
|
2321
|
-
address: z.ZodString;
|
|
2322
|
-
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2323
|
-
roundId: z.ZodInt;
|
|
2324
|
-
selectionMask: z.ZodInt;
|
|
2325
|
-
}, z.core.$strip>>;
|
|
2326
3042
|
epochVaultEntries: z.ZodArray<z.ZodObject<{
|
|
2327
3043
|
address: z.ZodString;
|
|
2328
3044
|
iterationId: z.ZodInt;
|
|
@@ -2334,8 +3050,20 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
2334
3050
|
currentStreakCount: z.ZodInt;
|
|
2335
3051
|
hashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
2336
3052
|
lastMinedRoundId: z.ZodInt;
|
|
2337
|
-
|
|
3053
|
+
maxStreak: z.ZodInt;
|
|
3054
|
+
totalBtcReceived: z.ZodCoercedBigInt<unknown>;
|
|
3055
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
3056
|
+
totalRounds: z.ZodInt;
|
|
3057
|
+
totalSatsClaimed: z.ZodCoercedBigInt<unknown>;
|
|
3058
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
3059
|
+
totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
|
|
3060
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
3061
|
+
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
3062
|
+
unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
3063
|
+
unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
2338
3064
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3065
|
+
unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
3066
|
+
unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2339
3067
|
}, z.core.$strip>;
|
|
2340
3068
|
oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
|
|
2341
3069
|
address: z.ZodString;
|
|
@@ -2343,6 +3071,12 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
2343
3071
|
startTicketId: z.ZodCoercedBigInt<unknown>;
|
|
2344
3072
|
ticketsCount: z.ZodCoercedBigInt<unknown>;
|
|
2345
3073
|
}, z.core.$strip>>;
|
|
3074
|
+
unsettledDeployments: z.ZodArray<z.ZodObject<{
|
|
3075
|
+
address: z.ZodString;
|
|
3076
|
+
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3077
|
+
roundId: z.ZodInt;
|
|
3078
|
+
selectionMask: z.ZodInt;
|
|
3079
|
+
}, z.core.$strip>>;
|
|
2346
3080
|
}, z.core.$strip>]>>;
|
|
2347
3081
|
}, z.core.$strip>, z.ZodObject<{
|
|
2348
3082
|
entity: z.ZodEnum<{
|
|
@@ -2361,8 +3095,10 @@ declare const zGetUserProfileResponse: z.ZodObject<{
|
|
|
2361
3095
|
data: z.ZodObject<{
|
|
2362
3096
|
automation: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
2363
3097
|
address: z.ZodString;
|
|
3098
|
+
executedDeployments: z.ZodInt;
|
|
2364
3099
|
perRoundUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2365
3100
|
reload: z.ZodBoolean;
|
|
3101
|
+
remainingDeployments: z.ZodInt;
|
|
2366
3102
|
remainingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2367
3103
|
selectionMask: z.ZodInt;
|
|
2368
3104
|
strategy: z.ZodEnum<{
|
|
@@ -2370,13 +3106,11 @@ declare const zGetUserProfileResponse: z.ZodObject<{
|
|
|
2370
3106
|
random: "random";
|
|
2371
3107
|
discretionary: "discretionary";
|
|
2372
3108
|
}>;
|
|
3109
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
3110
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
3111
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
3112
|
+
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
2373
3113
|
}, z.core.$strip>]>>;
|
|
2374
|
-
deployments: z.ZodArray<z.ZodObject<{
|
|
2375
|
-
address: z.ZodString;
|
|
2376
|
-
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2377
|
-
roundId: z.ZodInt;
|
|
2378
|
-
selectionMask: z.ZodInt;
|
|
2379
|
-
}, z.core.$strip>>;
|
|
2380
3114
|
epochVaultEntries: z.ZodArray<z.ZodObject<{
|
|
2381
3115
|
address: z.ZodString;
|
|
2382
3116
|
iterationId: z.ZodInt;
|
|
@@ -2388,8 +3122,20 @@ declare const zGetUserProfileResponse: z.ZodObject<{
|
|
|
2388
3122
|
currentStreakCount: z.ZodInt;
|
|
2389
3123
|
hashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
2390
3124
|
lastMinedRoundId: z.ZodInt;
|
|
2391
|
-
|
|
3125
|
+
maxStreak: z.ZodInt;
|
|
3126
|
+
totalBtcReceived: z.ZodCoercedBigInt<unknown>;
|
|
3127
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
3128
|
+
totalRounds: z.ZodInt;
|
|
3129
|
+
totalSatsClaimed: z.ZodCoercedBigInt<unknown>;
|
|
3130
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
3131
|
+
totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
|
|
3132
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
3133
|
+
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
3134
|
+
unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
3135
|
+
unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
2392
3136
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3137
|
+
unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
3138
|
+
unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2393
3139
|
}, z.core.$strip>;
|
|
2394
3140
|
oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
|
|
2395
3141
|
address: z.ZodString;
|
|
@@ -2397,9 +3143,73 @@ declare const zGetUserProfileResponse: z.ZodObject<{
|
|
|
2397
3143
|
startTicketId: z.ZodCoercedBigInt<unknown>;
|
|
2398
3144
|
ticketsCount: z.ZodCoercedBigInt<unknown>;
|
|
2399
3145
|
}, z.core.$strip>>;
|
|
3146
|
+
unsettledDeployments: z.ZodArray<z.ZodObject<{
|
|
3147
|
+
address: z.ZodString;
|
|
3148
|
+
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3149
|
+
roundId: z.ZodInt;
|
|
3150
|
+
selectionMask: z.ZodInt;
|
|
3151
|
+
}, z.core.$strip>>;
|
|
2400
3152
|
}, z.core.$strip>;
|
|
2401
3153
|
}, z.core.$strip>;
|
|
2402
3154
|
type GetUserProfileResponseZodType = z.infer<typeof zGetUserProfileResponse>;
|
|
3155
|
+
declare const zGetUserClaimsData: z.ZodObject<{
|
|
3156
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3157
|
+
path: z.ZodObject<{
|
|
3158
|
+
address: z.ZodString;
|
|
3159
|
+
}, z.core.$strip>;
|
|
3160
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
3161
|
+
before: z.ZodOptional<z.ZodInt>;
|
|
3162
|
+
after: z.ZodOptional<z.ZodInt>;
|
|
3163
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
3164
|
+
}, z.core.$strip>>;
|
|
3165
|
+
}, z.core.$strip>;
|
|
3166
|
+
declare const zGetUserClaimsResponse: z.ZodObject<{
|
|
3167
|
+
data: z.ZodArray<z.ZodObject<{
|
|
3168
|
+
authority: z.ZodString;
|
|
3169
|
+
btcReceived: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3170
|
+
claimType: z.ZodEnum<{
|
|
3171
|
+
usd: "usd";
|
|
3172
|
+
sats: "sats";
|
|
3173
|
+
}>;
|
|
3174
|
+
claimedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
3175
|
+
hashrateClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3176
|
+
id: z.ZodInt;
|
|
3177
|
+
satsClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3178
|
+
signature: z.ZodString;
|
|
3179
|
+
usdClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3180
|
+
}, z.core.$strip>>;
|
|
3181
|
+
}, z.core.$strip>;
|
|
3182
|
+
type GetUserClaimsResponseZodType = z.infer<typeof zGetUserClaimsResponse>;
|
|
3183
|
+
declare const zGetUserDeploymentsData: z.ZodObject<{
|
|
3184
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3185
|
+
path: z.ZodObject<{
|
|
3186
|
+
address: z.ZodString;
|
|
3187
|
+
}, z.core.$strip>;
|
|
3188
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
3189
|
+
before: z.ZodOptional<z.ZodInt>;
|
|
3190
|
+
after: z.ZodOptional<z.ZodInt>;
|
|
3191
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
3192
|
+
}, z.core.$strip>>;
|
|
3193
|
+
}, z.core.$strip>;
|
|
3194
|
+
declare const zGetUserDeploymentsResponse: z.ZodObject<{
|
|
3195
|
+
data: z.ZodArray<z.ZodObject<{
|
|
3196
|
+
authority: z.ZodString;
|
|
3197
|
+
deployedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
3198
|
+
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3199
|
+
deployment: z.ZodString;
|
|
3200
|
+
hashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
3201
|
+
isAutomation: z.ZodBoolean;
|
|
3202
|
+
isReload: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
3203
|
+
isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
3204
|
+
roundId: z.ZodInt;
|
|
3205
|
+
satsSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
3206
|
+
selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
3207
|
+
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
3208
|
+
totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
|
|
3209
|
+
usdEarned: z.ZodCoercedBigInt<unknown>;
|
|
3210
|
+
}, z.core.$strip>>;
|
|
3211
|
+
}, z.core.$strip>;
|
|
3212
|
+
type GetUserDeploymentsResponseZodType = z.infer<typeof zGetUserDeploymentsResponse>;
|
|
2403
3213
|
|
|
2404
3214
|
type HasOnlyDataKey<T> = T extends object ? Exclude<keyof T, 'data'> extends never ? true : false : false;
|
|
2405
3215
|
type UnwrapData<T> = T extends {
|
|
@@ -2423,4 +3233,4 @@ declare class SatrushBackendSdkError<TCause = unknown> extends Error {
|
|
|
2423
3233
|
declare const satrushSdkErrorInterceptor: (error: unknown, response?: Response) => SatrushBackendSdkError<unknown>;
|
|
2424
3234
|
declare const isSatrushSdkError: <TCause = unknown>(error: unknown) => error is SatrushBackendSdkError<TCause>;
|
|
2425
3235
|
|
|
2426
|
-
export { AutomationStrategyDto, type BadRequestErrorCodeErrorBody, type BoardDto, type ClientOptions, EpochStateDto, type EpochVaultDto, type EpochVaultEntryDto, type EpochVaultIterationDto, type EpochWinnerDto, type FieldError, type GetBoardData, type GetBoardError, type GetBoardErrors, type GetBoardResponse, type GetBoardResponseZodType, type GetBoardResponses, type GetConfigData, type GetConfigError, type GetConfigErrors, type GetConfigResponse, type GetConfigResponseZodType, type GetConfigResponses, type GetUserProfileData, type GetUserProfileError, type GetUserProfileErrors, type GetUserProfileResponse, type GetUserProfileResponseZodType, type GetUserProfileResponses, type I128Dto, type I64Dto, type InternalErrorCodeErrorBody, type MinerDto, NotificationEntity, OneBtcStateDto, type OneBtcVaultDto, type OneBtcVaultEntryDto, type OneBtcVaultIterationDto, type Options, type PricesDto, type ProfileDto, type PubkeyDto, type PublicAutomationDto, 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, zAutomationStrategyDto, zBadRequestErrorCodeErrorBody, zBoardDto, zEpochStateDto, zEpochVaultDto, zEpochVaultEntryDto, zEpochVaultIterationDto, zEpochWinnerDto, zFieldError, zGetBoardData, zGetBoardResponse, zGetConfigData, zGetConfigResponse, zGetUserProfileData, zGetUserProfileResponse, zI128Dto, zI64Dto, zInternalErrorCodeErrorBody, zMinerDto, zNotificationEntity, zOneBtcStateDto, zOneBtcVaultDto, zOneBtcVaultEntryDto, zOneBtcVaultIterationDto, zPricesDto, zProfileDto, zPubkeyDto, zPublicAutomationDto, zPublicDeploymentDto, zRoundDto, zRoundStateDto, zSatrushConfigDto, zSatsVaultDto, zSnapshotDto, zSseData, zSseResponse, zSseResponse2, zSseResponseSnapshot, zStrikeJackpotDto, zTileStakeDto, zU128Dto, zU64Dto, zUserProfileApiError400Error, zUserProfileApiError400InvalidAddress, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody };
|
|
3236
|
+
export { AutomationStrategyDto, type BadRequestErrorCodeErrorBody, type BoardDto, ClaimTypeDto, 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 GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardErrors, type GetLeaderboardResponse, type GetLeaderboardResponseZodType, type GetLeaderboardResponses, type GetUserClaimsData, type GetUserClaimsError, type GetUserClaimsErrors, type GetUserClaimsResponse, type GetUserClaimsResponseZodType, type GetUserClaimsResponses, type GetUserDeploymentsData, type GetUserDeploymentsError, type GetUserDeploymentsErrors, type GetUserDeploymentsResponse, type GetUserDeploymentsResponseZodType, type GetUserDeploymentsResponses, type GetUserProfileData, type GetUserProfileError, type GetUserProfileErrors, type GetUserProfileResponse, type GetUserProfileResponseZodType, type GetUserProfileResponses, type I128Dto, type I64Dto, type InternalErrorCodeErrorBody, type LeaderboardEntryDto, type MinerClaimDto, type MinerDeploymentDto, type MinerDto, NotificationEntity, OneBtcStateDto, type OneBtcVaultDto, type OneBtcVaultEntryDto, type OneBtcVaultIterationDto, type Options, type PreviousRoundDto, type PricesDto, type ProfileDto, type PubkeyDto, type PublicAutomationDto, 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 UserClaimsApiError400Error, type UserClaimsApiError400InvalidAddress, type UserClaimsApiError400InvalidBefore, type UserClaimsApiError400InvalidRange, type UserClaimsApiError500Error, type UserDeploymentsApiError400Error, type UserDeploymentsApiError400InvalidAddress, type UserDeploymentsApiError400InvalidBefore, type UserDeploymentsApiError400InvalidRange, type UserDeploymentsApiError500Error, type UserProfileApiError400Error, type UserProfileApiError400InvalidAddress, type ValidationErrorCodeErrorBody, type ValidationErrorCodeValidationDetailsErrorBody, createClient, createSseClient, isSatrushSdkError, satrushSdkErrorInterceptor, unwrap, zAutomationStrategyDto, zBadRequestErrorCodeErrorBody, zBoardDto, zClaimTypeDto, zEpochStateDto, zEpochVaultDto, zEpochVaultEntryDto, zEpochVaultIterationDto, zEpochWinnerDto, zFieldError, zGetBoardData, zGetBoardResponse, zGetConfigData, zGetConfigResponse, zGetLeaderboardData, zGetLeaderboardResponse, zGetUserClaimsData, zGetUserClaimsResponse, zGetUserDeploymentsData, zGetUserDeploymentsResponse, zGetUserProfileData, zGetUserProfileResponse, zI128Dto, zI64Dto, zInternalErrorCodeErrorBody, zLeaderboardEntryDto, zMinerClaimDto, zMinerDeploymentDto, zMinerDto, zNotificationEntity, zOneBtcStateDto, zOneBtcVaultDto, zOneBtcVaultEntryDto, zOneBtcVaultIterationDto, zPreviousRoundDto, zPricesDto, zProfileDto, zPubkeyDto, zPublicAutomationDto, zPublicDeploymentDto, zRoundDto, zRoundStateDto, zSatrushConfigDto, zSatsVaultDto, zSnapshotDto, zSseData, zSseResponse, zSseResponse2, zSseResponseSnapshot, zStrikeJackpotDto, zTileStakeDto, zU128Dto, zU64Dto, zUserClaimsApiError400Error, zUserClaimsApiError400InvalidAddress, zUserClaimsApiError400InvalidBefore, zUserClaimsApiError400InvalidRange, zUserClaimsApiError500Error, zUserDeploymentsApiError400Error, zUserDeploymentsApiError400InvalidAddress, zUserDeploymentsApiError400InvalidBefore, zUserDeploymentsApiError400InvalidRange, zUserDeploymentsApiError500Error, zUserProfileApiError400Error, zUserProfileApiError400InvalidAddress, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody };
|