@satrush/api 0.1.19 → 0.1.20
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 +350 -6
- package/dist/index.d.cts +808 -11
- package/dist/index.d.ts +808 -11
- package/dist/index.js +331 -6
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -313,6 +313,38 @@ declare const createClient: (config?: Config) => Client;
|
|
|
313
313
|
type ClientOptions = {
|
|
314
314
|
baseUrl: `${string}://${string}/api` | (string & {});
|
|
315
315
|
};
|
|
316
|
+
/**
|
|
317
|
+
* An affiliate's aggregates over the miners it referred.
|
|
318
|
+
*/
|
|
319
|
+
type AffiliateStatsDto = {
|
|
320
|
+
/**
|
|
321
|
+
* The affiliate's share of the protocol fee leg of referred plays, in
|
|
322
|
+
* bps.
|
|
323
|
+
*/
|
|
324
|
+
affiliateRateBps: number;
|
|
325
|
+
authority: PubkeyDto;
|
|
326
|
+
/**
|
|
327
|
+
* Grubstake claimable now: points earned but not yet exchanged.
|
|
328
|
+
*/
|
|
329
|
+
grubstakeClaimable: U64Dto;
|
|
330
|
+
/**
|
|
331
|
+
* Lifetime grubstake earned: affiliate points accrued by referred plays
|
|
332
|
+
* (USD base units, exchanged 1:1 into grubstake).
|
|
333
|
+
*/
|
|
334
|
+
grubstakeEarned: U64Dto;
|
|
335
|
+
/**
|
|
336
|
+
* Lifetime gross USD deployed by the referred miners (USD base units).
|
|
337
|
+
*/
|
|
338
|
+
referralUsdVolume: U64Dto;
|
|
339
|
+
/**
|
|
340
|
+
* Miners bound to the affiliate.
|
|
341
|
+
*/
|
|
342
|
+
referredMiners: number;
|
|
343
|
+
/**
|
|
344
|
+
* The affiliate's claimed tag.
|
|
345
|
+
*/
|
|
346
|
+
tag: string;
|
|
347
|
+
};
|
|
316
348
|
/**
|
|
317
349
|
* Tile-selection strategy of an automation.
|
|
318
350
|
*/
|
|
@@ -391,6 +423,7 @@ type BoardDto = {
|
|
|
391
423
|
*/
|
|
392
424
|
startSlot: U64Dto;
|
|
393
425
|
strike: StrikeJackpotDto;
|
|
426
|
+
tokenVault?: null | TokenVaultDto;
|
|
394
427
|
};
|
|
395
428
|
/**
|
|
396
429
|
* Kind of an indexed claim.
|
|
@@ -398,6 +431,7 @@ type BoardDto = {
|
|
|
398
431
|
declare const ClaimTypeDto: {
|
|
399
432
|
readonly USD: "usd";
|
|
400
433
|
readonly SATS: "sats";
|
|
434
|
+
readonly TOKEN: "token";
|
|
401
435
|
};
|
|
402
436
|
/**
|
|
403
437
|
* Kind of an indexed claim.
|
|
@@ -498,6 +532,11 @@ type EpochIterationHistoryDto = {
|
|
|
498
532
|
* accumulating or when no price was indexed near the draw.
|
|
499
533
|
*/
|
|
500
534
|
poolCombinedUsdAmount?: number | null;
|
|
535
|
+
/**
|
|
536
|
+
* SatRush token (base units) pot sealed into the draw; 0 while
|
|
537
|
+
* accumulating or when the draw predates the mint.
|
|
538
|
+
*/
|
|
539
|
+
poolTokenAmount: U64Dto;
|
|
501
540
|
/**
|
|
502
541
|
* USD pot sealed into the draw at trigger time; 0 while accumulating.
|
|
503
542
|
*/
|
|
@@ -546,6 +585,7 @@ type EpochIterationParticipantDto = {
|
|
|
546
585
|
* draw-time price; `null` for non-winners or when that price is unknown.
|
|
547
586
|
*/
|
|
548
587
|
wonCombinedUsdAmount?: number | null;
|
|
588
|
+
wonTokenAmount?: null | U64Dto;
|
|
549
589
|
wonUsdAmount?: null | U64Dto;
|
|
550
590
|
};
|
|
551
591
|
type EpochIterationParticipantsApiError400Error = ({
|
|
@@ -589,6 +629,11 @@ type EpochIterationWinnerDto = {
|
|
|
589
629
|
* draw-time price; `null` when that price is unknown.
|
|
590
630
|
*/
|
|
591
631
|
wonCombinedUsdAmount?: number | null;
|
|
632
|
+
/**
|
|
633
|
+
* SatRush token (base units) share of the pot; 0 for pre-mint wins.
|
|
634
|
+
*/
|
|
635
|
+
wonTokenAmount: U64Dto;
|
|
636
|
+
wonTokenShares?: null | U64Dto;
|
|
592
637
|
/**
|
|
593
638
|
* USD share of the pot; 0 for wins indexed from pre-extension events.
|
|
594
639
|
*/
|
|
@@ -627,6 +672,10 @@ type EpochVaultDto = {
|
|
|
627
672
|
* reports for the current iteration (which also folds in pending fees).
|
|
628
673
|
*/
|
|
629
674
|
activePoolCombinedUsdAmount: number;
|
|
675
|
+
/**
|
|
676
|
+
* Payout portion of `pool_token_amount` (see `active_pending_usd_amount`).
|
|
677
|
+
*/
|
|
678
|
+
activePoolTokenAmount: U64Dto;
|
|
630
679
|
/**
|
|
631
680
|
* Payout portion of `pool_usd_amount` (see `active_pending_usd_amount`).
|
|
632
681
|
*/
|
|
@@ -657,6 +706,10 @@ type EpochVaultDto = {
|
|
|
657
706
|
* Post-swap BTC available to be drawn into a pot.
|
|
658
707
|
*/
|
|
659
708
|
poolBtcAmount: U64Dto;
|
|
709
|
+
/**
|
|
710
|
+
* SatRush tokens (base units) available to be drawn into a pot.
|
|
711
|
+
*/
|
|
712
|
+
poolTokenAmount: U64Dto;
|
|
660
713
|
/**
|
|
661
714
|
* Post-swap USD available to be drawn into a pot.
|
|
662
715
|
*/
|
|
@@ -665,6 +718,10 @@ type EpochVaultDto = {
|
|
|
665
718
|
* BTC committed to open draws (awaiting winner claims).
|
|
666
719
|
*/
|
|
667
720
|
reservedBtcAmount: U64Dto;
|
|
721
|
+
/**
|
|
722
|
+
* Tokens committed to open draws (awaiting distribution).
|
|
723
|
+
*/
|
|
724
|
+
reservedTokenAmount: U64Dto;
|
|
668
725
|
/**
|
|
669
726
|
* USD committed to open draws (awaiting winner claims).
|
|
670
727
|
*/
|
|
@@ -694,6 +751,7 @@ type EpochVaultEntryDto = {
|
|
|
694
751
|
type EpochVaultIterationDto = {
|
|
695
752
|
address: PubkeyDto;
|
|
696
753
|
claimableBtc?: null | U64Dto;
|
|
754
|
+
claimableToken?: null | U64Dto;
|
|
697
755
|
claimableUsd?: null | U64Dto;
|
|
698
756
|
id: number;
|
|
699
757
|
pageCount: number;
|
|
@@ -770,6 +828,10 @@ type EpochWinnerHistoryDto = {
|
|
|
770
828
|
* BTC share of the pot; 0 for wins indexed from pre-extension events.
|
|
771
829
|
*/
|
|
772
830
|
wonBtcAmount: U64Dto;
|
|
831
|
+
/**
|
|
832
|
+
* SatRush token (base units) share of the pot; 0 for pre-mint wins.
|
|
833
|
+
*/
|
|
834
|
+
wonTokenAmount: U64Dto;
|
|
773
835
|
/**
|
|
774
836
|
* USD share of the pot; 0 for wins indexed from pre-extension events.
|
|
775
837
|
*/
|
|
@@ -934,8 +996,10 @@ declare const LeaderboardSortDto: {
|
|
|
934
996
|
*/
|
|
935
997
|
type LeaderboardSortDto = typeof LeaderboardSortDto[keyof typeof LeaderboardSortDto];
|
|
936
998
|
/**
|
|
937
|
-
* A miner's claim as recorded by the rounds indexer from a `claim_usd
|
|
938
|
-
* `claim_sats` instruction.
|
|
999
|
+
* A miner's claim as recorded by the rounds indexer from a `claim_usd`,
|
|
1000
|
+
* `claim_sats` or `claim_token` instruction. Sats and token claims are
|
|
1001
|
+
* coupled on-chain: each redeems the same fraction of the other vault's
|
|
1002
|
+
* shares, so a row may carry both legs.
|
|
939
1003
|
*/
|
|
940
1004
|
type MinerClaimDto = {
|
|
941
1005
|
authority: PubkeyDto;
|
|
@@ -952,6 +1016,8 @@ type MinerClaimDto = {
|
|
|
952
1016
|
* Signature of the claiming transaction.
|
|
953
1017
|
*/
|
|
954
1018
|
signature: string;
|
|
1019
|
+
tokenSharesClaimed?: null | U64Dto;
|
|
1020
|
+
tokensReceived?: null | U64Dto;
|
|
955
1021
|
usdClaimed?: null | U64Dto;
|
|
956
1022
|
};
|
|
957
1023
|
/**
|
|
@@ -1013,6 +1079,16 @@ type MinerDeploymentDto = {
|
|
|
1013
1079
|
* `null` until the deployment is settled.
|
|
1014
1080
|
*/
|
|
1015
1081
|
settledAt?: Date | null;
|
|
1082
|
+
/**
|
|
1083
|
+
* Exact SatRush tokens (base units) deposited into the Token Vault for
|
|
1084
|
+
* the winnings; 0 until settled, when the winnings were dust, or for
|
|
1085
|
+
* pre-mint settles.
|
|
1086
|
+
*/
|
|
1087
|
+
tokenEarned: U64Dto;
|
|
1088
|
+
/**
|
|
1089
|
+
* Token Vault shares minted for `token_earned`; 0 until settled.
|
|
1090
|
+
*/
|
|
1091
|
+
tokenSharesEarned: U64Dto;
|
|
1016
1092
|
/**
|
|
1017
1093
|
* Total USD stake across the deployment's selected tiles.
|
|
1018
1094
|
*/
|
|
@@ -1091,6 +1167,18 @@ type MinerDto = {
|
|
|
1091
1167
|
* Lifetime sats winnings settled.
|
|
1092
1168
|
*/
|
|
1093
1169
|
totalSatsEarned: U64Dto;
|
|
1170
|
+
/**
|
|
1171
|
+
* Lifetime Token Vault shares claimed.
|
|
1172
|
+
*/
|
|
1173
|
+
totalTokenSharesClaimed: U64Dto;
|
|
1174
|
+
/**
|
|
1175
|
+
* Lifetime Token Vault shares settled (round wins and epoch rewards).
|
|
1176
|
+
*/
|
|
1177
|
+
totalTokenSharesEarned: U64Dto;
|
|
1178
|
+
/**
|
|
1179
|
+
* Lifetime SatRush tokens (base units) received for claimed shares.
|
|
1180
|
+
*/
|
|
1181
|
+
totalTokensReceived: U64Dto;
|
|
1094
1182
|
/**
|
|
1095
1183
|
* Lifetime USD claimed.
|
|
1096
1184
|
*/
|
|
@@ -1111,6 +1199,10 @@ type MinerDto = {
|
|
|
1111
1199
|
* BTC shares in the Sats Vault not yet claimed.
|
|
1112
1200
|
*/
|
|
1113
1201
|
unclaimedSatsShares: U64Dto;
|
|
1202
|
+
/**
|
|
1203
|
+
* Shares in the Token Vault not yet claimed.
|
|
1204
|
+
*/
|
|
1205
|
+
unclaimedTokenShares: U64Dto;
|
|
1114
1206
|
/**
|
|
1115
1207
|
* USD rewards not yet claimed.
|
|
1116
1208
|
*/
|
|
@@ -1120,11 +1212,21 @@ type MinerDto = {
|
|
|
1120
1212
|
* Zero while the vault account is not loaded.
|
|
1121
1213
|
*/
|
|
1122
1214
|
unrealizedBtcPnl: I64Dto;
|
|
1215
|
+
/**
|
|
1216
|
+
* Unrealized PNL in token base units: `token_current_value -
|
|
1217
|
+
* token_cost_basis`. Zero while the token vault is not loaded.
|
|
1218
|
+
*/
|
|
1219
|
+
unrealizedTokenPnl: I64Dto;
|
|
1123
1220
|
/**
|
|
1124
1221
|
* Sats Vault shares pending deployment settlement, estimated at the
|
|
1125
1222
|
* vault's current exchange rate.
|
|
1126
1223
|
*/
|
|
1127
1224
|
unsettledSatsShares: U64Dto;
|
|
1225
|
+
/**
|
|
1226
|
+
* Token Vault shares pending deployment settlement (winners' and losers'
|
|
1227
|
+
* token legs), estimated at the vault's current exchange rate.
|
|
1228
|
+
*/
|
|
1229
|
+
unsettledTokenShares: U64Dto;
|
|
1128
1230
|
/**
|
|
1129
1231
|
* USD winnings on settled rounds pending deployment settlement. Derived
|
|
1130
1232
|
* from the miner's open deployments; includes amounts an automation
|
|
@@ -1180,6 +1282,8 @@ type MinerEpochEntryDto = {
|
|
|
1180
1282
|
* no price was indexed near the draw.
|
|
1181
1283
|
*/
|
|
1182
1284
|
wonCombinedUsdAmount?: number | null;
|
|
1285
|
+
wonTokenAmount?: null | U64Dto;
|
|
1286
|
+
wonTokenShares?: null | U64Dto;
|
|
1183
1287
|
wonUsdAmount?: null | U64Dto;
|
|
1184
1288
|
};
|
|
1185
1289
|
/**
|
|
@@ -1483,6 +1587,17 @@ type PricesDto = {
|
|
|
1483
1587
|
* USD price of a single sats-vault share.
|
|
1484
1588
|
*/
|
|
1485
1589
|
sat: number;
|
|
1590
|
+
/**
|
|
1591
|
+
* USD price of one whole SatRush token, the mint program's latest
|
|
1592
|
+
* on-chain oracle spot; `null` until the mint program's oracle is
|
|
1593
|
+
* loaded.
|
|
1594
|
+
*/
|
|
1595
|
+
token?: number | null;
|
|
1596
|
+
/**
|
|
1597
|
+
* USD price of a single token-vault share; `null` until both the token
|
|
1598
|
+
* vault and the oracle are loaded.
|
|
1599
|
+
*/
|
|
1600
|
+
tokenShare?: number | null;
|
|
1486
1601
|
};
|
|
1487
1602
|
/**
|
|
1488
1603
|
* A user's profile: their miner account, active automation, currently-open
|
|
@@ -1586,6 +1701,51 @@ type PublicDeploymentDto = {
|
|
|
1586
1701
|
*/
|
|
1587
1702
|
selectionMask: number;
|
|
1588
1703
|
};
|
|
1704
|
+
/**
|
|
1705
|
+
* A miner referred by an affiliate.
|
|
1706
|
+
*/
|
|
1707
|
+
type ReferralDto = {
|
|
1708
|
+
authority: PubkeyDto;
|
|
1709
|
+
/**
|
|
1710
|
+
* When the miner first deployed (the deploy that bound it to the
|
|
1711
|
+
* affiliate); `null` if it only created its miner without playing.
|
|
1712
|
+
*/
|
|
1713
|
+
firstDeployedAt?: Date | null;
|
|
1714
|
+
/**
|
|
1715
|
+
* Grubstake the affiliate earned from this miner's plays (affiliate
|
|
1716
|
+
* points, USD base units).
|
|
1717
|
+
*/
|
|
1718
|
+
grubstakeEarned: U64Dto;
|
|
1719
|
+
/**
|
|
1720
|
+
* Lifetime count of deployments.
|
|
1721
|
+
*/
|
|
1722
|
+
totalDeployments: number;
|
|
1723
|
+
/**
|
|
1724
|
+
* Lifetime gross USD deployed (USD base units).
|
|
1725
|
+
*/
|
|
1726
|
+
totalUsdDeployed: U64Dto;
|
|
1727
|
+
};
|
|
1728
|
+
/**
|
|
1729
|
+
* Sort key of a referrals page.
|
|
1730
|
+
*/
|
|
1731
|
+
declare const ReferralSortDto: {
|
|
1732
|
+
readonly USD_VOLUME: "usd_volume";
|
|
1733
|
+
readonly FIRST_DEPLOYED_AT: "first_deployed_at";
|
|
1734
|
+
};
|
|
1735
|
+
/**
|
|
1736
|
+
* Sort key of a referrals page.
|
|
1737
|
+
*/
|
|
1738
|
+
type ReferralSortDto = typeof ReferralSortDto[keyof typeof ReferralSortDto];
|
|
1739
|
+
/**
|
|
1740
|
+
* One page of an affiliate's referrals.
|
|
1741
|
+
*/
|
|
1742
|
+
type ReferralsPageDto = {
|
|
1743
|
+
entries: Array<ReferralDto>;
|
|
1744
|
+
/**
|
|
1745
|
+
* Referred miners across all pages.
|
|
1746
|
+
*/
|
|
1747
|
+
total: number;
|
|
1748
|
+
};
|
|
1589
1749
|
/**
|
|
1590
1750
|
* One deployment onto a round: the deploy itself plus its settlement
|
|
1591
1751
|
* outcome once the round is settled.
|
|
@@ -1636,6 +1796,16 @@ type RoundDeploymentDto = {
|
|
|
1636
1796
|
* `null` until the deployment is settled.
|
|
1637
1797
|
*/
|
|
1638
1798
|
settledAt?: Date | null;
|
|
1799
|
+
/**
|
|
1800
|
+
* Exact SatRush tokens (base units) deposited into the token vault for
|
|
1801
|
+
* the winnings; 0 until settled, when the winnings were dust, or for
|
|
1802
|
+
* pre-mint settles.
|
|
1803
|
+
*/
|
|
1804
|
+
tokenEarned: U64Dto;
|
|
1805
|
+
/**
|
|
1806
|
+
* Token-vault shares minted for `token_earned`; 0 until settled.
|
|
1807
|
+
*/
|
|
1808
|
+
tokenSharesEarned: U64Dto;
|
|
1639
1809
|
/**
|
|
1640
1810
|
* Total USD stake across the deployment's selected tiles.
|
|
1641
1811
|
*/
|
|
@@ -1686,6 +1856,11 @@ type RoundDetailsDto = {
|
|
|
1686
1856
|
*/
|
|
1687
1857
|
isSatStrike?: boolean | null;
|
|
1688
1858
|
minersCount: number;
|
|
1859
|
+
/**
|
|
1860
|
+
* SatRush tokens (base units) the mint program issued for the round;
|
|
1861
|
+
* 0 until revealed, or when the round predates the mint.
|
|
1862
|
+
*/
|
|
1863
|
+
mintedToken: U64Dto;
|
|
1689
1864
|
oneBtcFeeUsd?: null | U64Dto;
|
|
1690
1865
|
protocolFeeUsd?: null | U64Dto;
|
|
1691
1866
|
/**
|
|
@@ -1707,14 +1882,39 @@ type RoundDetailsDto = {
|
|
|
1707
1882
|
* revealed or when no price was indexed near that moment.
|
|
1708
1883
|
*/
|
|
1709
1884
|
strikeBonusCombinedUsd?: number | null;
|
|
1885
|
+
/**
|
|
1886
|
+
* Token strike bonus paid on top of the winners' leg; 0 until revealed
|
|
1887
|
+
* or pre-mint.
|
|
1888
|
+
*/
|
|
1889
|
+
strikeBonusToken: U64Dto;
|
|
1710
1890
|
strikeBonusUsd?: null | U64Dto;
|
|
1711
1891
|
strikeEpochBtc?: null | U64Dto;
|
|
1892
|
+
/**
|
|
1893
|
+
* Token strike skim moved to the Epoch Vault; 0 until revealed or
|
|
1894
|
+
* pre-mint.
|
|
1895
|
+
*/
|
|
1896
|
+
strikeEpochToken: U64Dto;
|
|
1712
1897
|
strikeEpochUsd?: null | U64Dto;
|
|
1713
1898
|
strikeFeeUsd?: null | U64Dto;
|
|
1714
1899
|
strikeReserveBtc?: null | U64Dto;
|
|
1900
|
+
/**
|
|
1901
|
+
* Tokens deposited into the strike reserve; 0 until revealed or
|
|
1902
|
+
* pre-mint.
|
|
1903
|
+
*/
|
|
1904
|
+
strikeReserveToken: U64Dto;
|
|
1715
1905
|
strikeReserveUsd?: null | U64Dto;
|
|
1716
1906
|
strikeSeedFromReserveBtc?: null | U64Dto;
|
|
1907
|
+
/**
|
|
1908
|
+
* Tokens contributed from the reserve into the carry seed; 0 until
|
|
1909
|
+
* revealed or pre-mint.
|
|
1910
|
+
*/
|
|
1911
|
+
strikeSeedFromReserveToken: U64Dto;
|
|
1717
1912
|
strikeSeedFromReserveUsd?: null | U64Dto;
|
|
1913
|
+
/**
|
|
1914
|
+
* Token strike leg as booked at the reveal (14% plus dust plus any
|
|
1915
|
+
* rerouted player leg); 0 until revealed or pre-mint.
|
|
1916
|
+
*/
|
|
1917
|
+
strikeTokenFee: U64Dto;
|
|
1718
1918
|
/**
|
|
1719
1919
|
* Sum of the miners' stakes after the protocol fees were taken; what
|
|
1720
1920
|
* funds the pot.
|
|
@@ -1761,10 +1961,19 @@ type RoundDto = {
|
|
|
1761
1961
|
*/
|
|
1762
1962
|
isHashrateBoosted: boolean;
|
|
1763
1963
|
minersCount: number;
|
|
1964
|
+
/**
|
|
1965
|
+
* SatRush tokens (base units) the mint program issued for the round at
|
|
1966
|
+
* its reveal; 0 until revealed.
|
|
1967
|
+
*/
|
|
1968
|
+
mintedTokenAmount: U64Dto;
|
|
1764
1969
|
revealedMinersCount: number;
|
|
1765
1970
|
settledMinersCount: number;
|
|
1766
1971
|
state: RoundStateDto;
|
|
1767
1972
|
strikeBonusBtc: U64Dto;
|
|
1973
|
+
/**
|
|
1974
|
+
* Token strike bonus paid on top of the winners' token leg.
|
|
1975
|
+
*/
|
|
1976
|
+
strikeBonusToken: U64Dto;
|
|
1768
1977
|
strikeBonusUsd: U64Dto;
|
|
1769
1978
|
tileStakes: Array<TileStakeDto>;
|
|
1770
1979
|
/**
|
|
@@ -1795,6 +2004,11 @@ type RoundHistoryDto = {
|
|
|
1795
2004
|
*/
|
|
1796
2005
|
isSatStrike?: boolean | null;
|
|
1797
2006
|
minersCount: number;
|
|
2007
|
+
/**
|
|
2008
|
+
* SatRush tokens (base units) the mint program issued for the round;
|
|
2009
|
+
* 0 until revealed, or when the round predates the mint.
|
|
2010
|
+
*/
|
|
2011
|
+
mintedToken: U64Dto;
|
|
1798
2012
|
/**
|
|
1799
2013
|
* When the round's pots were settled.
|
|
1800
2014
|
*/
|
|
@@ -1810,13 +2024,38 @@ type RoundHistoryDto = {
|
|
|
1810
2024
|
* revealed or when no price was indexed near that moment.
|
|
1811
2025
|
*/
|
|
1812
2026
|
strikeBonusCombinedUsd?: number | null;
|
|
2027
|
+
/**
|
|
2028
|
+
* Token strike bonus paid on top of the winners' leg; 0 until revealed
|
|
2029
|
+
* or pre-mint.
|
|
2030
|
+
*/
|
|
2031
|
+
strikeBonusToken: U64Dto;
|
|
1813
2032
|
strikeBonusUsd?: null | U64Dto;
|
|
1814
2033
|
strikeEpochBtc?: null | U64Dto;
|
|
2034
|
+
/**
|
|
2035
|
+
* Token strike skim moved to the Epoch Vault; 0 until revealed or
|
|
2036
|
+
* pre-mint.
|
|
2037
|
+
*/
|
|
2038
|
+
strikeEpochToken: U64Dto;
|
|
1815
2039
|
strikeEpochUsd?: null | U64Dto;
|
|
1816
2040
|
strikeReserveBtc?: null | U64Dto;
|
|
2041
|
+
/**
|
|
2042
|
+
* Tokens deposited into the strike reserve; 0 until revealed or
|
|
2043
|
+
* pre-mint.
|
|
2044
|
+
*/
|
|
2045
|
+
strikeReserveToken: U64Dto;
|
|
1817
2046
|
strikeReserveUsd?: null | U64Dto;
|
|
1818
2047
|
strikeSeedFromReserveBtc?: null | U64Dto;
|
|
2048
|
+
/**
|
|
2049
|
+
* Tokens contributed from the reserve into the carry seed; 0 until
|
|
2050
|
+
* revealed or pre-mint.
|
|
2051
|
+
*/
|
|
2052
|
+
strikeSeedFromReserveToken: U64Dto;
|
|
1819
2053
|
strikeSeedFromReserveUsd?: null | U64Dto;
|
|
2054
|
+
/**
|
|
2055
|
+
* Token strike leg as booked at the reveal (14% plus dust plus any
|
|
2056
|
+
* rerouted player leg); 0 until revealed or pre-mint.
|
|
2057
|
+
*/
|
|
2058
|
+
strikeTokenFee: U64Dto;
|
|
1820
2059
|
/**
|
|
1821
2060
|
* Sum of the miners' stakes after the protocol fees were taken; what
|
|
1822
2061
|
* funds the pot.
|
|
@@ -1919,10 +2158,6 @@ type SatrushConfigDto = {
|
|
|
1919
2158
|
* Protocol fee in basis points.
|
|
1920
2159
|
*/
|
|
1921
2160
|
protocolFeeBps: number;
|
|
1922
|
-
/**
|
|
1923
|
-
* Sats Vault claim fee in basis points.
|
|
1924
|
-
*/
|
|
1925
|
-
satsVaultClaimFeeBps: number;
|
|
1926
2161
|
/**
|
|
1927
2162
|
* Sats Vault round fee in basis points.
|
|
1928
2163
|
*/
|
|
@@ -1931,6 +2166,10 @@ type SatrushConfigDto = {
|
|
|
1931
2166
|
* Strike jackpot fee in basis points.
|
|
1932
2167
|
*/
|
|
1933
2168
|
strikeFeeBps: number;
|
|
2169
|
+
/**
|
|
2170
|
+
* The SatRush token mint, issued per round by the mint program.
|
|
2171
|
+
*/
|
|
2172
|
+
tokenMint: PubkeyDto;
|
|
1934
2173
|
/**
|
|
1935
2174
|
* Share of each settled play's hashrate reward deferred until the sats claim in basis points.
|
|
1936
2175
|
*/
|
|
@@ -1939,6 +2178,10 @@ type SatrushConfigDto = {
|
|
|
1939
2178
|
* USD mint (initially USDC).
|
|
1940
2179
|
*/
|
|
1941
2180
|
usdMint: PubkeyDto;
|
|
2181
|
+
/**
|
|
2182
|
+
* Vault exit fee in basis points, applied to both the sats and token vaults.
|
|
2183
|
+
*/
|
|
2184
|
+
vaultExitFeeBps: number;
|
|
1942
2185
|
};
|
|
1943
2186
|
/**
|
|
1944
2187
|
* Sats vault balances: the BTC backing and the shares issued against it.
|
|
@@ -1965,6 +2208,17 @@ type SnapshotDto = {
|
|
|
1965
2208
|
entity: NotificationEntity;
|
|
1966
2209
|
profile?: null | ProfileDto;
|
|
1967
2210
|
};
|
|
2211
|
+
/**
|
|
2212
|
+
* Direction of a sorted page.
|
|
2213
|
+
*/
|
|
2214
|
+
declare const SortOrderDto: {
|
|
2215
|
+
readonly DESC: "desc";
|
|
2216
|
+
readonly ASC: "asc";
|
|
2217
|
+
};
|
|
2218
|
+
/**
|
|
2219
|
+
* Direction of a sorted page.
|
|
2220
|
+
*/
|
|
2221
|
+
type SortOrderDto = typeof SortOrderDto[keyof typeof SortOrderDto];
|
|
1968
2222
|
type SseResponse = {
|
|
1969
2223
|
entity: 'state_snapshot';
|
|
1970
2224
|
} & SseResponseSnapshot;
|
|
@@ -2001,11 +2255,24 @@ type StrikeJackpotDto = {
|
|
|
2001
2255
|
* price.
|
|
2002
2256
|
*/
|
|
2003
2257
|
poolCombinedUsdAmount: number;
|
|
2258
|
+
/**
|
|
2259
|
+
* Payout portion of `token_amount` (see `pool_usd_amount`).
|
|
2260
|
+
*/
|
|
2261
|
+
poolTokenAmount: U64Dto;
|
|
2004
2262
|
/**
|
|
2005
2263
|
* Payout portion of `usd_amount` — the pot minus the 30% that rolls
|
|
2006
2264
|
* over to seed the next strike pot.
|
|
2007
2265
|
*/
|
|
2008
2266
|
poolUsdAmount: U64Dto;
|
|
2267
|
+
/**
|
|
2268
|
+
* Tokens held in the strike reserve.
|
|
2269
|
+
*/
|
|
2270
|
+
reserveTokenAmount: U64Dto;
|
|
2271
|
+
/**
|
|
2272
|
+
* SatRush tokens (base units) in the strike pot: the strike leg of
|
|
2273
|
+
* every round's mint plus any rerouted player leg.
|
|
2274
|
+
*/
|
|
2275
|
+
tokenAmount: U64Dto;
|
|
2009
2276
|
/**
|
|
2010
2277
|
* USD held after the swap.
|
|
2011
2278
|
*/
|
|
@@ -2018,6 +2285,31 @@ type TileStakeDto = {
|
|
|
2018
2285
|
deployCount: number;
|
|
2019
2286
|
stake: U64Dto;
|
|
2020
2287
|
};
|
|
2288
|
+
/**
|
|
2289
|
+
* Token vault balances: the SatRush tokens backing the shares issued against
|
|
2290
|
+
* them. Same share math as the sats vault.
|
|
2291
|
+
*/
|
|
2292
|
+
type TokenVaultDto = {
|
|
2293
|
+
address: PubkeyDto;
|
|
2294
|
+
/**
|
|
2295
|
+
* Rolling 7-day projected APR in percentage points (12.0 = 12%): the
|
|
2296
|
+
* average hourly share-price return over the trailing 7 days,
|
|
2297
|
+
* annualized. `null` until enough history is indexed.
|
|
2298
|
+
*/
|
|
2299
|
+
apr?: number | null;
|
|
2300
|
+
/**
|
|
2301
|
+
* Tokens left behind by full drains; back no shares.
|
|
2302
|
+
*/
|
|
2303
|
+
leftovers: U64Dto;
|
|
2304
|
+
/**
|
|
2305
|
+
* Total tokens (base units) backing outstanding shares.
|
|
2306
|
+
*/
|
|
2307
|
+
tokenAmount: U64Dto;
|
|
2308
|
+
/**
|
|
2309
|
+
* Total shares issued against `token_amount`.
|
|
2310
|
+
*/
|
|
2311
|
+
tokenShares: U64Dto;
|
|
2312
|
+
};
|
|
2021
2313
|
/**
|
|
2022
2314
|
* Unsigned 128-bit integer encoded as a decimal string.
|
|
2023
2315
|
*/
|
|
@@ -2026,6 +2318,20 @@ type U128Dto = bigint;
|
|
|
2026
2318
|
* Unsigned 64-bit integer encoded as a decimal string.
|
|
2027
2319
|
*/
|
|
2028
2320
|
type U64Dto = bigint;
|
|
2321
|
+
type UserAffiliateApiError400Error = ({
|
|
2322
|
+
code: 'invalid_address';
|
|
2323
|
+
} & UserAffiliateApiError400InvalidAddress) | ({
|
|
2324
|
+
code: 'invalid_body' | 'invalid_path' | 'invalid_query';
|
|
2325
|
+
} & BadRequestErrorCodeErrorBody);
|
|
2326
|
+
type UserAffiliateApiError400InvalidAddress = {
|
|
2327
|
+
code: 'invalid_address';
|
|
2328
|
+
};
|
|
2329
|
+
type UserAffiliateApiError404Error = {
|
|
2330
|
+
code: 'not_found';
|
|
2331
|
+
};
|
|
2332
|
+
type UserAffiliateApiError500Error = {
|
|
2333
|
+
code: 'internal';
|
|
2334
|
+
};
|
|
2029
2335
|
type UserClaimsApiError400Error = ({
|
|
2030
2336
|
code: 'invalid_address';
|
|
2031
2337
|
} & UserClaimsApiError400InvalidAddress) | ({
|
|
@@ -2097,6 +2403,17 @@ type UserProfileApiError400Error = ({
|
|
|
2097
2403
|
type UserProfileApiError400InvalidAddress = {
|
|
2098
2404
|
code: 'invalid_address';
|
|
2099
2405
|
};
|
|
2406
|
+
type UserReferralsApiError400Error = ({
|
|
2407
|
+
code: 'invalid_address';
|
|
2408
|
+
} & UserReferralsApiError400InvalidAddress) | ({
|
|
2409
|
+
code: 'invalid_body' | 'invalid_path' | 'invalid_query';
|
|
2410
|
+
} & BadRequestErrorCodeErrorBody);
|
|
2411
|
+
type UserReferralsApiError400InvalidAddress = {
|
|
2412
|
+
code: 'invalid_address';
|
|
2413
|
+
};
|
|
2414
|
+
type UserReferralsApiError500Error = {
|
|
2415
|
+
code: 'internal';
|
|
2416
|
+
};
|
|
2100
2417
|
type UserVaultEntriesApiError400Error = ({
|
|
2101
2418
|
code: 'invalid_address';
|
|
2102
2419
|
} & UserVaultEntriesApiError400InvalidAddress) | ({
|
|
@@ -2660,6 +2977,30 @@ type GetUserProfileResponses = {
|
|
|
2660
2977
|
};
|
|
2661
2978
|
};
|
|
2662
2979
|
type GetUserProfileResponse = GetUserProfileResponses[keyof GetUserProfileResponses];
|
|
2980
|
+
type GetUserAffiliateData = {
|
|
2981
|
+
body?: never;
|
|
2982
|
+
path: {
|
|
2983
|
+
/**
|
|
2984
|
+
* User wallet address (base58)
|
|
2985
|
+
*/
|
|
2986
|
+
address: string;
|
|
2987
|
+
};
|
|
2988
|
+
query?: never;
|
|
2989
|
+
url: '/v1/users/{address}/affiliate';
|
|
2990
|
+
};
|
|
2991
|
+
type GetUserAffiliateErrors = {
|
|
2992
|
+
400: UserAffiliateApiError400Error;
|
|
2993
|
+
404: UserAffiliateApiError404Error;
|
|
2994
|
+
422: ValidationErrorCodeErrorBody;
|
|
2995
|
+
500: UserAffiliateApiError500Error;
|
|
2996
|
+
};
|
|
2997
|
+
type GetUserAffiliateError = GetUserAffiliateErrors[keyof GetUserAffiliateErrors];
|
|
2998
|
+
type GetUserAffiliateResponses = {
|
|
2999
|
+
200: {
|
|
3000
|
+
data: AffiliateStatsDto;
|
|
3001
|
+
};
|
|
3002
|
+
};
|
|
3003
|
+
type GetUserAffiliateResponse = GetUserAffiliateResponses[keyof GetUserAffiliateResponses];
|
|
2663
3004
|
type GetUserClaimsData = {
|
|
2664
3005
|
body?: never;
|
|
2665
3006
|
path: {
|
|
@@ -2858,6 +3199,46 @@ type GetUserOneBtcEntriesResponses = {
|
|
|
2858
3199
|
};
|
|
2859
3200
|
};
|
|
2860
3201
|
type GetUserOneBtcEntriesResponse = GetUserOneBtcEntriesResponses[keyof GetUserOneBtcEntriesResponses];
|
|
3202
|
+
type GetUserReferralsData = {
|
|
3203
|
+
body?: never;
|
|
3204
|
+
path: {
|
|
3205
|
+
/**
|
|
3206
|
+
* User wallet address (base58)
|
|
3207
|
+
*/
|
|
3208
|
+
address: string;
|
|
3209
|
+
};
|
|
3210
|
+
query?: {
|
|
3211
|
+
/**
|
|
3212
|
+
* Sort key; defaults to `usd_volume`.
|
|
3213
|
+
*/
|
|
3214
|
+
sort?: ReferralSortDto;
|
|
3215
|
+
/**
|
|
3216
|
+
* Sort direction; defaults to `desc`.
|
|
3217
|
+
*/
|
|
3218
|
+
order?: SortOrderDto;
|
|
3219
|
+
/**
|
|
3220
|
+
* Referrals to skip; defaults to 0.
|
|
3221
|
+
*/
|
|
3222
|
+
offset?: number;
|
|
3223
|
+
/**
|
|
3224
|
+
* Page size, 1..=100; defaults to 50.
|
|
3225
|
+
*/
|
|
3226
|
+
limit?: number;
|
|
3227
|
+
};
|
|
3228
|
+
url: '/v1/users/{address}/referrals';
|
|
3229
|
+
};
|
|
3230
|
+
type GetUserReferralsErrors = {
|
|
3231
|
+
400: UserReferralsApiError400Error;
|
|
3232
|
+
422: ValidationErrorCodeErrorBody;
|
|
3233
|
+
500: UserReferralsApiError500Error;
|
|
3234
|
+
};
|
|
3235
|
+
type GetUserReferralsError = GetUserReferralsErrors[keyof GetUserReferralsErrors];
|
|
3236
|
+
type GetUserReferralsResponses = {
|
|
3237
|
+
200: {
|
|
3238
|
+
data: ReferralsPageDto;
|
|
3239
|
+
};
|
|
3240
|
+
};
|
|
3241
|
+
type GetUserReferralsResponse = GetUserReferralsResponses[keyof GetUserReferralsResponses];
|
|
2861
3242
|
|
|
2862
3243
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
|
|
2863
3244
|
/**
|
|
@@ -3005,6 +3386,12 @@ declare class SatrushBackendSdk extends HeyApiClient {
|
|
|
3005
3386
|
getUserProfile<ThrowOnError extends boolean = false>(parameters: {
|
|
3006
3387
|
address: string;
|
|
3007
3388
|
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserProfileResponses, GetUserProfileErrors, ThrowOnError, "fields">;
|
|
3389
|
+
/**
|
|
3390
|
+
* Request a wallet's affiliate stats over its referrals
|
|
3391
|
+
*/
|
|
3392
|
+
getUserAffiliate<ThrowOnError extends boolean = false>(parameters: {
|
|
3393
|
+
address: string;
|
|
3394
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserAffiliateResponses, GetUserAffiliateErrors, ThrowOnError, "fields">;
|
|
3008
3395
|
/**
|
|
3009
3396
|
* Request user claims
|
|
3010
3397
|
*/
|
|
@@ -3052,6 +3439,16 @@ declare class SatrushBackendSdk extends HeyApiClient {
|
|
|
3052
3439
|
limit?: number;
|
|
3053
3440
|
winsOnly?: number;
|
|
3054
3441
|
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserOneBtcEntriesResponses, GetUserOneBtcEntriesErrors, ThrowOnError, "fields">;
|
|
3442
|
+
/**
|
|
3443
|
+
* Request a page of the miners a wallet referred
|
|
3444
|
+
*/
|
|
3445
|
+
getUserReferrals<ThrowOnError extends boolean = false>(parameters: {
|
|
3446
|
+
address: string;
|
|
3447
|
+
sort?: ReferralSortDto;
|
|
3448
|
+
order?: SortOrderDto;
|
|
3449
|
+
offset?: number;
|
|
3450
|
+
limit?: number;
|
|
3451
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserReferralsResponses, GetUserReferralsErrors, ThrowOnError, "fields">;
|
|
3055
3452
|
}
|
|
3056
3453
|
|
|
3057
3454
|
/**
|
|
@@ -3075,6 +3472,7 @@ declare const zBadRequestErrorCodeErrorBody: z.ZodObject<{
|
|
|
3075
3472
|
declare const zClaimTypeDto: z.ZodEnum<{
|
|
3076
3473
|
usd: "usd";
|
|
3077
3474
|
sats: "sats";
|
|
3475
|
+
token: "token";
|
|
3078
3476
|
}>;
|
|
3079
3477
|
declare const zEpochHistoryApiError400InvalidRange: z.ZodObject<{
|
|
3080
3478
|
code: z.ZodEnum<{
|
|
@@ -3323,6 +3721,8 @@ declare const zPreviousRoundDto: z.ZodObject<{
|
|
|
3323
3721
|
declare const zPricesDto: z.ZodObject<{
|
|
3324
3722
|
btc: z.ZodNumber;
|
|
3325
3723
|
sat: z.ZodNumber;
|
|
3724
|
+
token: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3725
|
+
tokenShare: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3326
3726
|
}, z.core.$strip>;
|
|
3327
3727
|
/**
|
|
3328
3728
|
* Pubkey represented as base58 string in JSON and OpenAPI.
|
|
@@ -3331,6 +3731,13 @@ declare const zPricesDto: z.ZodObject<{
|
|
|
3331
3731
|
* - OpenAPI: `type: string`, pattern for base58, optional format
|
|
3332
3732
|
*/
|
|
3333
3733
|
declare const zPubkeyDto: z.ZodString;
|
|
3734
|
+
/**
|
|
3735
|
+
* Sort key of a referrals page.
|
|
3736
|
+
*/
|
|
3737
|
+
declare const zReferralSortDto: z.ZodEnum<{
|
|
3738
|
+
usd_volume: "usd_volume";
|
|
3739
|
+
first_deployed_at: "first_deployed_at";
|
|
3740
|
+
}>;
|
|
3334
3741
|
declare const zRoundDetailsApiError404Error: z.ZodObject<{
|
|
3335
3742
|
code: z.ZodEnum<{
|
|
3336
3743
|
not_found: "not_found";
|
|
@@ -3407,6 +3814,13 @@ declare const zRoundsApiError500Error: z.ZodObject<{
|
|
|
3407
3814
|
internal: "internal";
|
|
3408
3815
|
}>;
|
|
3409
3816
|
}, z.core.$strip>;
|
|
3817
|
+
/**
|
|
3818
|
+
* Direction of a sorted page.
|
|
3819
|
+
*/
|
|
3820
|
+
declare const zSortOrderDto: z.ZodEnum<{
|
|
3821
|
+
desc: "desc";
|
|
3822
|
+
asc: "asc";
|
|
3823
|
+
}>;
|
|
3410
3824
|
/**
|
|
3411
3825
|
* Unsigned 128-bit integer encoded as a decimal string.
|
|
3412
3826
|
*/
|
|
@@ -3415,6 +3829,18 @@ declare const zU128Dto: z.ZodString;
|
|
|
3415
3829
|
* Unsigned 64-bit integer encoded as a decimal string.
|
|
3416
3830
|
*/
|
|
3417
3831
|
declare const zU64Dto: z.ZodCoercedBigInt<unknown>;
|
|
3832
|
+
/**
|
|
3833
|
+
* An affiliate's aggregates over the miners it referred.
|
|
3834
|
+
*/
|
|
3835
|
+
declare const zAffiliateStatsDto: z.ZodObject<{
|
|
3836
|
+
affiliateRateBps: z.ZodInt;
|
|
3837
|
+
authority: z.ZodString;
|
|
3838
|
+
grubstakeClaimable: z.ZodCoercedBigInt<unknown>;
|
|
3839
|
+
grubstakeEarned: z.ZodCoercedBigInt<unknown>;
|
|
3840
|
+
referralUsdVolume: z.ZodCoercedBigInt<unknown>;
|
|
3841
|
+
referredMiners: z.ZodInt;
|
|
3842
|
+
tag: z.ZodString;
|
|
3843
|
+
}, z.core.$strip>;
|
|
3418
3844
|
/**
|
|
3419
3845
|
* An Epoch Vault iteration as recorded by the rounds indexer.
|
|
3420
3846
|
*/
|
|
@@ -3424,6 +3850,7 @@ declare const zEpochIterationHistoryDto: z.ZodObject<{
|
|
|
3424
3850
|
id: z.ZodInt;
|
|
3425
3851
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3426
3852
|
poolCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3853
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
3427
3854
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3428
3855
|
startedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
3429
3856
|
totalParticipants: z.ZodInt;
|
|
@@ -3444,6 +3871,7 @@ declare const zEpochIterationParticipantDto: z.ZodObject<{
|
|
|
3444
3871
|
tickets: z.ZodCoercedBigInt<unknown>;
|
|
3445
3872
|
wonBtcAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3446
3873
|
wonCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3874
|
+
wonTokenAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3447
3875
|
wonUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3448
3876
|
}, z.core.$strip>;
|
|
3449
3877
|
/**
|
|
@@ -3457,6 +3885,8 @@ declare const zEpochIterationWinnerDto: z.ZodObject<{
|
|
|
3457
3885
|
tickets: z.ZodCoercedBigInt<unknown>;
|
|
3458
3886
|
wonBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3459
3887
|
wonCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3888
|
+
wonTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
3889
|
+
wonTokenShares: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3460
3890
|
wonUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3461
3891
|
}, z.core.$strip>;
|
|
3462
3892
|
/**
|
|
@@ -3482,6 +3912,8 @@ declare const zEpochIterationDetailsDto: z.ZodObject<{
|
|
|
3482
3912
|
tickets: z.ZodCoercedBigInt<unknown>;
|
|
3483
3913
|
wonBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3484
3914
|
wonCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3915
|
+
wonTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
3916
|
+
wonTokenShares: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3485
3917
|
wonUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3486
3918
|
}, z.core.$strip>>, z.ZodNull]>>;
|
|
3487
3919
|
}, z.core.$strip>;
|
|
@@ -3509,6 +3941,7 @@ declare const zEpochWinnerDto: z.ZodObject<{
|
|
|
3509
3941
|
declare const zEpochVaultIterationDto: z.ZodObject<{
|
|
3510
3942
|
address: z.ZodString;
|
|
3511
3943
|
claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3944
|
+
claimableToken: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3512
3945
|
claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3513
3946
|
id: z.ZodInt;
|
|
3514
3947
|
pageCount: z.ZodInt;
|
|
@@ -3538,11 +3971,13 @@ declare const zEpochVaultDto: z.ZodObject<{
|
|
|
3538
3971
|
activePendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3539
3972
|
activePoolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3540
3973
|
activePoolCombinedUsdAmount: z.ZodNumber;
|
|
3974
|
+
activePoolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
3541
3975
|
activePoolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3542
3976
|
address: z.ZodString;
|
|
3543
3977
|
currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
3544
3978
|
address: z.ZodString;
|
|
3545
3979
|
claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3980
|
+
claimableToken: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3546
3981
|
claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3547
3982
|
id: z.ZodInt;
|
|
3548
3983
|
pageCount: z.ZodInt;
|
|
@@ -3571,8 +4006,10 @@ declare const zEpochVaultDto: z.ZodObject<{
|
|
|
3571
4006
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
3572
4007
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3573
4008
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4009
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
3574
4010
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3575
4011
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4012
|
+
reservedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
3576
4013
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3577
4014
|
}, z.core.$strip>;
|
|
3578
4015
|
/**
|
|
@@ -3587,6 +4024,7 @@ declare const zEpochWinnerHistoryDto: z.ZodObject<{
|
|
|
3587
4024
|
settledAtSlot: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3588
4025
|
tickets: z.ZodCoercedBigInt<unknown>;
|
|
3589
4026
|
wonBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4027
|
+
wonTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
3590
4028
|
wonUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3591
4029
|
}, z.core.$strip>;
|
|
3592
4030
|
/**
|
|
@@ -3634,8 +4072,10 @@ declare const zLeaderboardPageDto: z.ZodObject<{
|
|
|
3634
4072
|
updatedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
3635
4073
|
}, z.core.$strip>;
|
|
3636
4074
|
/**
|
|
3637
|
-
* A miner's claim as recorded by the rounds indexer from a `claim_usd
|
|
3638
|
-
* `claim_sats` instruction.
|
|
4075
|
+
* A miner's claim as recorded by the rounds indexer from a `claim_usd`,
|
|
4076
|
+
* `claim_sats` or `claim_token` instruction. Sats and token claims are
|
|
4077
|
+
* coupled on-chain: each redeems the same fraction of the other vault's
|
|
4078
|
+
* shares, so a row may carry both legs.
|
|
3639
4079
|
*/
|
|
3640
4080
|
declare const zMinerClaimDto: z.ZodObject<{
|
|
3641
4081
|
authority: z.ZodString;
|
|
@@ -3643,12 +4083,15 @@ declare const zMinerClaimDto: z.ZodObject<{
|
|
|
3643
4083
|
claimType: z.ZodEnum<{
|
|
3644
4084
|
usd: "usd";
|
|
3645
4085
|
sats: "sats";
|
|
4086
|
+
token: "token";
|
|
3646
4087
|
}>;
|
|
3647
4088
|
claimedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
3648
4089
|
hashrateClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3649
4090
|
id: z.ZodInt;
|
|
3650
4091
|
satsClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3651
4092
|
signature: z.ZodString;
|
|
4093
|
+
tokenSharesClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4094
|
+
tokensReceived: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3652
4095
|
usdClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3653
4096
|
}, z.core.$strip>;
|
|
3654
4097
|
/**
|
|
@@ -3671,6 +4114,8 @@ declare const zMinerDeploymentDto: z.ZodObject<{
|
|
|
3671
4114
|
satsSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
3672
4115
|
selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
3673
4116
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4117
|
+
tokenEarned: z.ZodCoercedBigInt<unknown>;
|
|
4118
|
+
tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
3674
4119
|
totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
|
|
3675
4120
|
usdEarned: z.ZodCoercedBigInt<unknown>;
|
|
3676
4121
|
}, z.core.$strip>;
|
|
@@ -3695,14 +4140,20 @@ declare const zMinerDto: z.ZodObject<{
|
|
|
3695
4140
|
totalRounds: z.ZodInt;
|
|
3696
4141
|
totalSatsClaimed: z.ZodCoercedBigInt<unknown>;
|
|
3697
4142
|
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
4143
|
+
totalTokenSharesClaimed: z.ZodCoercedBigInt<unknown>;
|
|
4144
|
+
totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
4145
|
+
totalTokensReceived: z.ZodCoercedBigInt<unknown>;
|
|
3698
4146
|
totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
|
|
3699
4147
|
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
3700
4148
|
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
3701
4149
|
unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
3702
4150
|
unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
4151
|
+
unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
3703
4152
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3704
4153
|
unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
|
|
4154
|
+
unrealizedTokenPnl: z.ZodCoercedBigInt<unknown>;
|
|
3705
4155
|
unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
4156
|
+
unsettledTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
3706
4157
|
unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3707
4158
|
}, z.core.$strip>;
|
|
3708
4159
|
/**
|
|
@@ -3723,6 +4174,8 @@ declare const zMinerEpochEntryDto: z.ZodObject<{
|
|
|
3723
4174
|
tickets: z.ZodCoercedBigInt<unknown>;
|
|
3724
4175
|
wonBtcAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3725
4176
|
wonCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4177
|
+
wonTokenAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4178
|
+
wonTokenShares: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3726
4179
|
wonUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3727
4180
|
}, z.core.$strip>;
|
|
3728
4181
|
/**
|
|
@@ -3944,14 +4397,20 @@ declare const zProfileDto: z.ZodObject<{
|
|
|
3944
4397
|
totalRounds: z.ZodInt;
|
|
3945
4398
|
totalSatsClaimed: z.ZodCoercedBigInt<unknown>;
|
|
3946
4399
|
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
4400
|
+
totalTokenSharesClaimed: z.ZodCoercedBigInt<unknown>;
|
|
4401
|
+
totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
4402
|
+
totalTokensReceived: z.ZodCoercedBigInt<unknown>;
|
|
3947
4403
|
totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
|
|
3948
4404
|
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
3949
4405
|
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
3950
4406
|
unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
3951
4407
|
unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
4408
|
+
unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
3952
4409
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3953
4410
|
unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
|
|
4411
|
+
unrealizedTokenPnl: z.ZodCoercedBigInt<unknown>;
|
|
3954
4412
|
unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
4413
|
+
unsettledTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
3955
4414
|
unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3956
4415
|
}, z.core.$strip>;
|
|
3957
4416
|
oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
|
|
@@ -3967,6 +4426,29 @@ declare const zProfileDto: z.ZodObject<{
|
|
|
3967
4426
|
selectionMask: z.ZodInt;
|
|
3968
4427
|
}, z.core.$strip>>;
|
|
3969
4428
|
}, z.core.$strip>;
|
|
4429
|
+
/**
|
|
4430
|
+
* A miner referred by an affiliate.
|
|
4431
|
+
*/
|
|
4432
|
+
declare const zReferralDto: z.ZodObject<{
|
|
4433
|
+
authority: z.ZodString;
|
|
4434
|
+
firstDeployedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4435
|
+
grubstakeEarned: z.ZodCoercedBigInt<unknown>;
|
|
4436
|
+
totalDeployments: z.ZodInt;
|
|
4437
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
4438
|
+
}, z.core.$strip>;
|
|
4439
|
+
/**
|
|
4440
|
+
* One page of an affiliate's referrals.
|
|
4441
|
+
*/
|
|
4442
|
+
declare const zReferralsPageDto: z.ZodObject<{
|
|
4443
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
4444
|
+
authority: z.ZodString;
|
|
4445
|
+
firstDeployedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4446
|
+
grubstakeEarned: z.ZodCoercedBigInt<unknown>;
|
|
4447
|
+
totalDeployments: z.ZodInt;
|
|
4448
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
4449
|
+
}, z.core.$strip>>;
|
|
4450
|
+
total: z.ZodInt;
|
|
4451
|
+
}, z.core.$strip>;
|
|
3970
4452
|
/**
|
|
3971
4453
|
* One deployment onto a round: the deploy itself plus its settlement
|
|
3972
4454
|
* outcome once the round is settled.
|
|
@@ -3985,6 +4467,8 @@ declare const zRoundDeploymentDto: z.ZodObject<{
|
|
|
3985
4467
|
satsSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
3986
4468
|
selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
3987
4469
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4470
|
+
tokenEarned: z.ZodCoercedBigInt<unknown>;
|
|
4471
|
+
tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
3988
4472
|
totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
|
|
3989
4473
|
usdEarned: z.ZodCoercedBigInt<unknown>;
|
|
3990
4474
|
winningUsdStakeAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
@@ -4012,6 +4496,8 @@ declare const zRoundDetailsDto: z.ZodObject<{
|
|
|
4012
4496
|
satsSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
4013
4497
|
selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
4014
4498
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4499
|
+
tokenEarned: z.ZodCoercedBigInt<unknown>;
|
|
4500
|
+
tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
4015
4501
|
totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
|
|
4016
4502
|
usdEarned: z.ZodCoercedBigInt<unknown>;
|
|
4017
4503
|
winningUsdStakeAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
@@ -4021,6 +4507,7 @@ declare const zRoundDetailsDto: z.ZodObject<{
|
|
|
4021
4507
|
isHashrateBoosted: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4022
4508
|
isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4023
4509
|
minersCount: z.ZodInt;
|
|
4510
|
+
mintedToken: z.ZodCoercedBigInt<unknown>;
|
|
4024
4511
|
oneBtcFeeUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4025
4512
|
protocolFeeUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4026
4513
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -4035,14 +4522,19 @@ declare const zRoundDetailsDto: z.ZodObject<{
|
|
|
4035
4522
|
}>;
|
|
4036
4523
|
strikeBonusBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4037
4524
|
strikeBonusCombinedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4525
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
4038
4526
|
strikeBonusUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4039
4527
|
strikeEpochBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4528
|
+
strikeEpochToken: z.ZodCoercedBigInt<unknown>;
|
|
4040
4529
|
strikeEpochUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4041
4530
|
strikeFeeUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4042
4531
|
strikeReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4532
|
+
strikeReserveToken: z.ZodCoercedBigInt<unknown>;
|
|
4043
4533
|
strikeReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4044
4534
|
strikeSeedFromReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4535
|
+
strikeSeedFromReserveToken: z.ZodCoercedBigInt<unknown>;
|
|
4045
4536
|
strikeSeedFromReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4537
|
+
strikeTokenFee: z.ZodCoercedBigInt<unknown>;
|
|
4046
4538
|
totalDeployedUsd: z.ZodCoercedBigInt<unknown>;
|
|
4047
4539
|
totalGrossDeployedUsd: z.ZodCoercedBigInt<unknown>;
|
|
4048
4540
|
totalPotBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
@@ -4059,6 +4551,7 @@ declare const zRoundHistoryDto: z.ZodObject<{
|
|
|
4059
4551
|
isHashrateBoosted: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4060
4552
|
isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4061
4553
|
minersCount: z.ZodInt;
|
|
4554
|
+
mintedToken: z.ZodCoercedBigInt<unknown>;
|
|
4062
4555
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4063
4556
|
startedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4064
4557
|
state: z.ZodEnum<{
|
|
@@ -4070,13 +4563,18 @@ declare const zRoundHistoryDto: z.ZodObject<{
|
|
|
4070
4563
|
}>;
|
|
4071
4564
|
strikeBonusBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4072
4565
|
strikeBonusCombinedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4566
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
4073
4567
|
strikeBonusUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4074
4568
|
strikeEpochBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4569
|
+
strikeEpochToken: z.ZodCoercedBigInt<unknown>;
|
|
4075
4570
|
strikeEpochUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4076
4571
|
strikeReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4572
|
+
strikeReserveToken: z.ZodCoercedBigInt<unknown>;
|
|
4077
4573
|
strikeReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4078
4574
|
strikeSeedFromReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4575
|
+
strikeSeedFromReserveToken: z.ZodCoercedBigInt<unknown>;
|
|
4079
4576
|
strikeSeedFromReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4577
|
+
strikeTokenFee: z.ZodCoercedBigInt<unknown>;
|
|
4080
4578
|
totalDeployedUsd: z.ZodCoercedBigInt<unknown>;
|
|
4081
4579
|
totalGrossDeployedUsd: z.ZodCoercedBigInt<unknown>;
|
|
4082
4580
|
totalPotBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
@@ -4096,11 +4594,12 @@ declare const zSatrushConfigDto: z.ZodObject<{
|
|
|
4096
4594
|
minDeployUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4097
4595
|
oneBtcFeeBps: z.ZodInt;
|
|
4098
4596
|
protocolFeeBps: z.ZodInt;
|
|
4099
|
-
satsVaultClaimFeeBps: z.ZodInt;
|
|
4100
4597
|
satsVaultRoundFeeBps: z.ZodInt;
|
|
4101
4598
|
strikeFeeBps: z.ZodInt;
|
|
4599
|
+
tokenMint: z.ZodString;
|
|
4102
4600
|
unclaimedHashrateBps: z.ZodInt;
|
|
4103
4601
|
usdMint: z.ZodString;
|
|
4602
|
+
vaultExitFeeBps: z.ZodInt;
|
|
4104
4603
|
}, z.core.$strip>;
|
|
4105
4604
|
/**
|
|
4106
4605
|
* Sats vault balances: the BTC backing and the shares issued against it.
|
|
@@ -4121,7 +4620,10 @@ declare const zStrikeJackpotDto: z.ZodObject<{
|
|
|
4121
4620
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4122
4621
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4123
4622
|
poolCombinedUsdAmount: z.ZodNumber;
|
|
4623
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4124
4624
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4625
|
+
reserveTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4626
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4125
4627
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4126
4628
|
}, z.core.$strip>;
|
|
4127
4629
|
/**
|
|
@@ -4144,6 +4646,7 @@ declare const zRoundDto: z.ZodObject<{
|
|
|
4144
4646
|
id: z.ZodInt;
|
|
4145
4647
|
isHashrateBoosted: z.ZodBoolean;
|
|
4146
4648
|
minersCount: z.ZodInt;
|
|
4649
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4147
4650
|
revealedMinersCount: z.ZodInt;
|
|
4148
4651
|
settledMinersCount: z.ZodInt;
|
|
4149
4652
|
state: z.ZodEnum<{
|
|
@@ -4153,6 +4656,7 @@ declare const zRoundDto: z.ZodObject<{
|
|
|
4153
4656
|
finished: "finished";
|
|
4154
4657
|
}>;
|
|
4155
4658
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
4659
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
4156
4660
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
4157
4661
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
4158
4662
|
deployCount: z.ZodInt;
|
|
@@ -4162,6 +4666,17 @@ declare const zRoundDto: z.ZodObject<{
|
|
|
4162
4666
|
winnersCount: z.ZodInt;
|
|
4163
4667
|
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
4164
4668
|
}, z.core.$strip>;
|
|
4669
|
+
/**
|
|
4670
|
+
* Token vault balances: the SatRush tokens backing the shares issued against
|
|
4671
|
+
* them. Same share math as the sats vault.
|
|
4672
|
+
*/
|
|
4673
|
+
declare const zTokenVaultDto: z.ZodObject<{
|
|
4674
|
+
address: z.ZodString;
|
|
4675
|
+
apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4676
|
+
leftovers: z.ZodCoercedBigInt<unknown>;
|
|
4677
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4678
|
+
tokenShares: z.ZodCoercedBigInt<unknown>;
|
|
4679
|
+
}, z.core.$strip>;
|
|
4165
4680
|
/**
|
|
4166
4681
|
* Board state: the active round pointer, its mining window, the strike
|
|
4167
4682
|
* jackpot, the live blockchain slot and the current round's details.
|
|
@@ -4177,6 +4692,7 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
4177
4692
|
id: z.ZodInt;
|
|
4178
4693
|
isHashrateBoosted: z.ZodBoolean;
|
|
4179
4694
|
minersCount: z.ZodInt;
|
|
4695
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4180
4696
|
revealedMinersCount: z.ZodInt;
|
|
4181
4697
|
settledMinersCount: z.ZodInt;
|
|
4182
4698
|
state: z.ZodEnum<{
|
|
@@ -4186,6 +4702,7 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
4186
4702
|
finished: "finished";
|
|
4187
4703
|
}>;
|
|
4188
4704
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
4705
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
4189
4706
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
4190
4707
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
4191
4708
|
deployCount: z.ZodInt;
|
|
@@ -4202,11 +4719,13 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
4202
4719
|
activePendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4203
4720
|
activePoolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4204
4721
|
activePoolCombinedUsdAmount: z.ZodNumber;
|
|
4722
|
+
activePoolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4205
4723
|
activePoolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4206
4724
|
address: z.ZodString;
|
|
4207
4725
|
currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4208
4726
|
address: z.ZodString;
|
|
4209
4727
|
claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4728
|
+
claimableToken: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4210
4729
|
claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4211
4730
|
id: z.ZodInt;
|
|
4212
4731
|
pageCount: z.ZodInt;
|
|
@@ -4235,8 +4754,10 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
4235
4754
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
4236
4755
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4237
4756
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4757
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4238
4758
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4239
4759
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4760
|
+
reservedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4240
4761
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4241
4762
|
}, z.core.$strip>;
|
|
4242
4763
|
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
@@ -4272,6 +4793,7 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
4272
4793
|
id: z.ZodInt;
|
|
4273
4794
|
isHashrateBoosted: z.ZodBoolean;
|
|
4274
4795
|
minersCount: z.ZodInt;
|
|
4796
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4275
4797
|
revealedMinersCount: z.ZodInt;
|
|
4276
4798
|
settledMinersCount: z.ZodInt;
|
|
4277
4799
|
state: z.ZodEnum<{
|
|
@@ -4281,6 +4803,7 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
4281
4803
|
finished: "finished";
|
|
4282
4804
|
}>;
|
|
4283
4805
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
4806
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
4284
4807
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
4285
4808
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
4286
4809
|
deployCount: z.ZodInt;
|
|
@@ -4297,6 +4820,8 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
4297
4820
|
prices: z.ZodObject<{
|
|
4298
4821
|
btc: z.ZodNumber;
|
|
4299
4822
|
sat: z.ZodNumber;
|
|
4823
|
+
token: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4824
|
+
tokenShare: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4300
4825
|
}, z.core.$strip>;
|
|
4301
4826
|
roundDuration: z.ZodInt;
|
|
4302
4827
|
roundEndsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -4316,9 +4841,19 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
4316
4841
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4317
4842
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4318
4843
|
poolCombinedUsdAmount: z.ZodNumber;
|
|
4844
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4319
4845
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4846
|
+
reserveTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4847
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4320
4848
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4321
4849
|
}, z.core.$strip>;
|
|
4850
|
+
tokenVault: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4851
|
+
address: z.ZodString;
|
|
4852
|
+
apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4853
|
+
leftovers: z.ZodCoercedBigInt<unknown>;
|
|
4854
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4855
|
+
tokenShares: z.ZodCoercedBigInt<unknown>;
|
|
4856
|
+
}, z.core.$strip>]>>;
|
|
4322
4857
|
}, z.core.$strip>;
|
|
4323
4858
|
declare const zSnapshotDto: z.ZodObject<{
|
|
4324
4859
|
board: z.ZodObject<{
|
|
@@ -4332,6 +4867,7 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
4332
4867
|
id: z.ZodInt;
|
|
4333
4868
|
isHashrateBoosted: z.ZodBoolean;
|
|
4334
4869
|
minersCount: z.ZodInt;
|
|
4870
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4335
4871
|
revealedMinersCount: z.ZodInt;
|
|
4336
4872
|
settledMinersCount: z.ZodInt;
|
|
4337
4873
|
state: z.ZodEnum<{
|
|
@@ -4341,6 +4877,7 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
4341
4877
|
finished: "finished";
|
|
4342
4878
|
}>;
|
|
4343
4879
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
4880
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
4344
4881
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
4345
4882
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
4346
4883
|
deployCount: z.ZodInt;
|
|
@@ -4357,11 +4894,13 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
4357
4894
|
activePendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4358
4895
|
activePoolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4359
4896
|
activePoolCombinedUsdAmount: z.ZodNumber;
|
|
4897
|
+
activePoolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4360
4898
|
activePoolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4361
4899
|
address: z.ZodString;
|
|
4362
4900
|
currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4363
4901
|
address: z.ZodString;
|
|
4364
4902
|
claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4903
|
+
claimableToken: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4365
4904
|
claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4366
4905
|
id: z.ZodInt;
|
|
4367
4906
|
pageCount: z.ZodInt;
|
|
@@ -4390,8 +4929,10 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
4390
4929
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
4391
4930
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4392
4931
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4932
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4393
4933
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4394
4934
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4935
|
+
reservedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4395
4936
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4396
4937
|
}, z.core.$strip>;
|
|
4397
4938
|
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
@@ -4427,6 +4968,7 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
4427
4968
|
id: z.ZodInt;
|
|
4428
4969
|
isHashrateBoosted: z.ZodBoolean;
|
|
4429
4970
|
minersCount: z.ZodInt;
|
|
4971
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4430
4972
|
revealedMinersCount: z.ZodInt;
|
|
4431
4973
|
settledMinersCount: z.ZodInt;
|
|
4432
4974
|
state: z.ZodEnum<{
|
|
@@ -4436,6 +4978,7 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
4436
4978
|
finished: "finished";
|
|
4437
4979
|
}>;
|
|
4438
4980
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
4981
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
4439
4982
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
4440
4983
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
4441
4984
|
deployCount: z.ZodInt;
|
|
@@ -4452,6 +4995,8 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
4452
4995
|
prices: z.ZodObject<{
|
|
4453
4996
|
btc: z.ZodNumber;
|
|
4454
4997
|
sat: z.ZodNumber;
|
|
4998
|
+
token: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4999
|
+
tokenShare: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4455
5000
|
}, z.core.$strip>;
|
|
4456
5001
|
roundDuration: z.ZodInt;
|
|
4457
5002
|
roundEndsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -4471,9 +5016,19 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
4471
5016
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4472
5017
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4473
5018
|
poolCombinedUsdAmount: z.ZodNumber;
|
|
5019
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4474
5020
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5021
|
+
reserveTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5022
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4475
5023
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4476
5024
|
}, z.core.$strip>;
|
|
5025
|
+
tokenVault: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
5026
|
+
address: z.ZodString;
|
|
5027
|
+
apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
5028
|
+
leftovers: z.ZodCoercedBigInt<unknown>;
|
|
5029
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5030
|
+
tokenShares: z.ZodCoercedBigInt<unknown>;
|
|
5031
|
+
}, z.core.$strip>]>>;
|
|
4477
5032
|
}, z.core.$strip>;
|
|
4478
5033
|
entity: z.ZodEnum<{
|
|
4479
5034
|
state_snapshot: "state_snapshot";
|
|
@@ -4522,14 +5077,20 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
4522
5077
|
totalRounds: z.ZodInt;
|
|
4523
5078
|
totalSatsClaimed: z.ZodCoercedBigInt<unknown>;
|
|
4524
5079
|
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
5080
|
+
totalTokenSharesClaimed: z.ZodCoercedBigInt<unknown>;
|
|
5081
|
+
totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
5082
|
+
totalTokensReceived: z.ZodCoercedBigInt<unknown>;
|
|
4525
5083
|
totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
|
|
4526
5084
|
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
4527
5085
|
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
4528
5086
|
unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
4529
5087
|
unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
5088
|
+
unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
4530
5089
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4531
5090
|
unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
|
|
5091
|
+
unrealizedTokenPnl: z.ZodCoercedBigInt<unknown>;
|
|
4532
5092
|
unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
5093
|
+
unsettledTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
4533
5094
|
unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4534
5095
|
}, z.core.$strip>;
|
|
4535
5096
|
oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
|
|
@@ -4558,6 +5119,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
4558
5119
|
id: z.ZodInt;
|
|
4559
5120
|
isHashrateBoosted: z.ZodBoolean;
|
|
4560
5121
|
minersCount: z.ZodInt;
|
|
5122
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4561
5123
|
revealedMinersCount: z.ZodInt;
|
|
4562
5124
|
settledMinersCount: z.ZodInt;
|
|
4563
5125
|
state: z.ZodEnum<{
|
|
@@ -4567,6 +5129,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
4567
5129
|
finished: "finished";
|
|
4568
5130
|
}>;
|
|
4569
5131
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
5132
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
4570
5133
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
4571
5134
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
4572
5135
|
deployCount: z.ZodInt;
|
|
@@ -4583,11 +5146,13 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
4583
5146
|
activePendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4584
5147
|
activePoolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4585
5148
|
activePoolCombinedUsdAmount: z.ZodNumber;
|
|
5149
|
+
activePoolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4586
5150
|
activePoolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4587
5151
|
address: z.ZodString;
|
|
4588
5152
|
currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4589
5153
|
address: z.ZodString;
|
|
4590
5154
|
claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5155
|
+
claimableToken: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4591
5156
|
claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4592
5157
|
id: z.ZodInt;
|
|
4593
5158
|
pageCount: z.ZodInt;
|
|
@@ -4616,8 +5181,10 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
4616
5181
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
4617
5182
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4618
5183
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5184
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4619
5185
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4620
5186
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5187
|
+
reservedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4621
5188
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4622
5189
|
}, z.core.$strip>;
|
|
4623
5190
|
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
@@ -4653,6 +5220,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
4653
5220
|
id: z.ZodInt;
|
|
4654
5221
|
isHashrateBoosted: z.ZodBoolean;
|
|
4655
5222
|
minersCount: z.ZodInt;
|
|
5223
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4656
5224
|
revealedMinersCount: z.ZodInt;
|
|
4657
5225
|
settledMinersCount: z.ZodInt;
|
|
4658
5226
|
state: z.ZodEnum<{
|
|
@@ -4662,6 +5230,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
4662
5230
|
finished: "finished";
|
|
4663
5231
|
}>;
|
|
4664
5232
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
5233
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
4665
5234
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
4666
5235
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
4667
5236
|
deployCount: z.ZodInt;
|
|
@@ -4678,6 +5247,8 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
4678
5247
|
prices: z.ZodObject<{
|
|
4679
5248
|
btc: z.ZodNumber;
|
|
4680
5249
|
sat: z.ZodNumber;
|
|
5250
|
+
token: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
5251
|
+
tokenShare: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4681
5252
|
}, z.core.$strip>;
|
|
4682
5253
|
roundDuration: z.ZodInt;
|
|
4683
5254
|
roundEndsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -4697,9 +5268,19 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
4697
5268
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4698
5269
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4699
5270
|
poolCombinedUsdAmount: z.ZodNumber;
|
|
5271
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4700
5272
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5273
|
+
reserveTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5274
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4701
5275
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4702
5276
|
}, z.core.$strip>;
|
|
5277
|
+
tokenVault: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
5278
|
+
address: z.ZodString;
|
|
5279
|
+
apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
5280
|
+
leftovers: z.ZodCoercedBigInt<unknown>;
|
|
5281
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5282
|
+
tokenShares: z.ZodCoercedBigInt<unknown>;
|
|
5283
|
+
}, z.core.$strip>]>>;
|
|
4703
5284
|
}, z.core.$strip>;
|
|
4704
5285
|
entity: z.ZodEnum<{
|
|
4705
5286
|
state_snapshot: "state_snapshot";
|
|
@@ -4748,14 +5329,20 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
4748
5329
|
totalRounds: z.ZodInt;
|
|
4749
5330
|
totalSatsClaimed: z.ZodCoercedBigInt<unknown>;
|
|
4750
5331
|
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
5332
|
+
totalTokenSharesClaimed: z.ZodCoercedBigInt<unknown>;
|
|
5333
|
+
totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
5334
|
+
totalTokensReceived: z.ZodCoercedBigInt<unknown>;
|
|
4751
5335
|
totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
|
|
4752
5336
|
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
4753
5337
|
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
4754
5338
|
unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
4755
5339
|
unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
5340
|
+
unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
4756
5341
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4757
5342
|
unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
|
|
5343
|
+
unrealizedTokenPnl: z.ZodCoercedBigInt<unknown>;
|
|
4758
5344
|
unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
5345
|
+
unsettledTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
4759
5346
|
unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4760
5347
|
}, z.core.$strip>;
|
|
4761
5348
|
oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
|
|
@@ -4790,6 +5377,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
4790
5377
|
id: z.ZodInt;
|
|
4791
5378
|
isHashrateBoosted: z.ZodBoolean;
|
|
4792
5379
|
minersCount: z.ZodInt;
|
|
5380
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4793
5381
|
revealedMinersCount: z.ZodInt;
|
|
4794
5382
|
settledMinersCount: z.ZodInt;
|
|
4795
5383
|
state: z.ZodEnum<{
|
|
@@ -4799,6 +5387,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
4799
5387
|
finished: "finished";
|
|
4800
5388
|
}>;
|
|
4801
5389
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
5390
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
4802
5391
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
4803
5392
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
4804
5393
|
deployCount: z.ZodInt;
|
|
@@ -4815,11 +5404,13 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
4815
5404
|
activePendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4816
5405
|
activePoolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4817
5406
|
activePoolCombinedUsdAmount: z.ZodNumber;
|
|
5407
|
+
activePoolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4818
5408
|
activePoolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4819
5409
|
address: z.ZodString;
|
|
4820
5410
|
currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4821
5411
|
address: z.ZodString;
|
|
4822
5412
|
claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5413
|
+
claimableToken: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4823
5414
|
claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4824
5415
|
id: z.ZodInt;
|
|
4825
5416
|
pageCount: z.ZodInt;
|
|
@@ -4848,8 +5439,10 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
4848
5439
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
4849
5440
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4850
5441
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5442
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4851
5443
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4852
5444
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5445
|
+
reservedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4853
5446
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4854
5447
|
}, z.core.$strip>;
|
|
4855
5448
|
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
@@ -4885,6 +5478,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
4885
5478
|
id: z.ZodInt;
|
|
4886
5479
|
isHashrateBoosted: z.ZodBoolean;
|
|
4887
5480
|
minersCount: z.ZodInt;
|
|
5481
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4888
5482
|
revealedMinersCount: z.ZodInt;
|
|
4889
5483
|
settledMinersCount: z.ZodInt;
|
|
4890
5484
|
state: z.ZodEnum<{
|
|
@@ -4894,6 +5488,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
4894
5488
|
finished: "finished";
|
|
4895
5489
|
}>;
|
|
4896
5490
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
5491
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
4897
5492
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
4898
5493
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
4899
5494
|
deployCount: z.ZodInt;
|
|
@@ -4910,6 +5505,8 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
4910
5505
|
prices: z.ZodObject<{
|
|
4911
5506
|
btc: z.ZodNumber;
|
|
4912
5507
|
sat: z.ZodNumber;
|
|
5508
|
+
token: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
5509
|
+
tokenShare: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4913
5510
|
}, z.core.$strip>;
|
|
4914
5511
|
roundDuration: z.ZodInt;
|
|
4915
5512
|
roundEndsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -4929,9 +5526,19 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
4929
5526
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4930
5527
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4931
5528
|
poolCombinedUsdAmount: z.ZodNumber;
|
|
5529
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4932
5530
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5531
|
+
reserveTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5532
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4933
5533
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4934
5534
|
}, z.core.$strip>;
|
|
5535
|
+
tokenVault: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
5536
|
+
address: z.ZodString;
|
|
5537
|
+
apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
5538
|
+
leftovers: z.ZodCoercedBigInt<unknown>;
|
|
5539
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5540
|
+
tokenShares: z.ZodCoercedBigInt<unknown>;
|
|
5541
|
+
}, z.core.$strip>]>>;
|
|
4935
5542
|
}, z.core.$strip>;
|
|
4936
5543
|
entity: z.ZodEnum<{
|
|
4937
5544
|
state_snapshot: "state_snapshot";
|
|
@@ -4980,14 +5587,20 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
4980
5587
|
totalRounds: z.ZodInt;
|
|
4981
5588
|
totalSatsClaimed: z.ZodCoercedBigInt<unknown>;
|
|
4982
5589
|
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
5590
|
+
totalTokenSharesClaimed: z.ZodCoercedBigInt<unknown>;
|
|
5591
|
+
totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
5592
|
+
totalTokensReceived: z.ZodCoercedBigInt<unknown>;
|
|
4983
5593
|
totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
|
|
4984
5594
|
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
4985
5595
|
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
4986
5596
|
unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
4987
5597
|
unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
5598
|
+
unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
4988
5599
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4989
5600
|
unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
|
|
5601
|
+
unrealizedTokenPnl: z.ZodCoercedBigInt<unknown>;
|
|
4990
5602
|
unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
5603
|
+
unsettledTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
4991
5604
|
unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4992
5605
|
}, z.core.$strip>;
|
|
4993
5606
|
oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
|
|
@@ -5008,6 +5621,36 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
5008
5621
|
state_snapshot: "state_snapshot";
|
|
5009
5622
|
}>;
|
|
5010
5623
|
}, z.core.$strip>>>;
|
|
5624
|
+
declare const zUserAffiliateApiError400InvalidAddress: z.ZodObject<{
|
|
5625
|
+
code: z.ZodEnum<{
|
|
5626
|
+
invalid_address: "invalid_address";
|
|
5627
|
+
}>;
|
|
5628
|
+
}, z.core.$strip>;
|
|
5629
|
+
declare const zUserAffiliateApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
5630
|
+
code: z.ZodLiteral<"invalid_address">;
|
|
5631
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5632
|
+
code: z.ZodEnum<{
|
|
5633
|
+
invalid_address: "invalid_address";
|
|
5634
|
+
}>;
|
|
5635
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
5636
|
+
code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
|
|
5637
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5638
|
+
code: z.ZodEnum<{
|
|
5639
|
+
invalid_path: "invalid_path";
|
|
5640
|
+
invalid_query: "invalid_query";
|
|
5641
|
+
invalid_body: "invalid_body";
|
|
5642
|
+
}>;
|
|
5643
|
+
}, z.core.$strip>>]>;
|
|
5644
|
+
declare const zUserAffiliateApiError404Error: z.ZodObject<{
|
|
5645
|
+
code: z.ZodEnum<{
|
|
5646
|
+
not_found: "not_found";
|
|
5647
|
+
}>;
|
|
5648
|
+
}, z.core.$strip>;
|
|
5649
|
+
declare const zUserAffiliateApiError500Error: z.ZodObject<{
|
|
5650
|
+
code: z.ZodEnum<{
|
|
5651
|
+
internal: "internal";
|
|
5652
|
+
}>;
|
|
5653
|
+
}, z.core.$strip>;
|
|
5011
5654
|
declare const zUserClaimsApiError400InvalidAddress: z.ZodObject<{
|
|
5012
5655
|
code: z.ZodEnum<{
|
|
5013
5656
|
invalid_address: "invalid_address";
|
|
@@ -5169,6 +5812,31 @@ declare const zUserProfileApiError400Error: z.ZodUnion<readonly [z.ZodIntersecti
|
|
|
5169
5812
|
invalid_body: "invalid_body";
|
|
5170
5813
|
}>;
|
|
5171
5814
|
}, z.core.$strip>>]>;
|
|
5815
|
+
declare const zUserReferralsApiError400InvalidAddress: z.ZodObject<{
|
|
5816
|
+
code: z.ZodEnum<{
|
|
5817
|
+
invalid_address: "invalid_address";
|
|
5818
|
+
}>;
|
|
5819
|
+
}, z.core.$strip>;
|
|
5820
|
+
declare const zUserReferralsApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
5821
|
+
code: z.ZodLiteral<"invalid_address">;
|
|
5822
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5823
|
+
code: z.ZodEnum<{
|
|
5824
|
+
invalid_address: "invalid_address";
|
|
5825
|
+
}>;
|
|
5826
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
5827
|
+
code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
|
|
5828
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5829
|
+
code: z.ZodEnum<{
|
|
5830
|
+
invalid_path: "invalid_path";
|
|
5831
|
+
invalid_query: "invalid_query";
|
|
5832
|
+
invalid_body: "invalid_body";
|
|
5833
|
+
}>;
|
|
5834
|
+
}, z.core.$strip>>]>;
|
|
5835
|
+
declare const zUserReferralsApiError500Error: z.ZodObject<{
|
|
5836
|
+
code: z.ZodEnum<{
|
|
5837
|
+
internal: "internal";
|
|
5838
|
+
}>;
|
|
5839
|
+
}, z.core.$strip>;
|
|
5172
5840
|
declare const zUserVaultEntriesApiError400InvalidAddress: z.ZodObject<{
|
|
5173
5841
|
code: z.ZodEnum<{
|
|
5174
5842
|
invalid_address: "invalid_address";
|
|
@@ -5313,6 +5981,7 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
5313
5981
|
id: z.ZodInt;
|
|
5314
5982
|
isHashrateBoosted: z.ZodBoolean;
|
|
5315
5983
|
minersCount: z.ZodInt;
|
|
5984
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5316
5985
|
revealedMinersCount: z.ZodInt;
|
|
5317
5986
|
settledMinersCount: z.ZodInt;
|
|
5318
5987
|
state: z.ZodEnum<{
|
|
@@ -5322,6 +5991,7 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
5322
5991
|
finished: "finished";
|
|
5323
5992
|
}>;
|
|
5324
5993
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
5994
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
5325
5995
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
5326
5996
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
5327
5997
|
deployCount: z.ZodInt;
|
|
@@ -5338,11 +6008,13 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
5338
6008
|
activePendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5339
6009
|
activePoolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5340
6010
|
activePoolCombinedUsdAmount: z.ZodNumber;
|
|
6011
|
+
activePoolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5341
6012
|
activePoolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5342
6013
|
address: z.ZodString;
|
|
5343
6014
|
currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
5344
6015
|
address: z.ZodString;
|
|
5345
6016
|
claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6017
|
+
claimableToken: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5346
6018
|
claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5347
6019
|
id: z.ZodInt;
|
|
5348
6020
|
pageCount: z.ZodInt;
|
|
@@ -5371,8 +6043,10 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
5371
6043
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
5372
6044
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5373
6045
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
6046
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5374
6047
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5375
6048
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
6049
|
+
reservedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5376
6050
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5377
6051
|
}, z.core.$strip>;
|
|
5378
6052
|
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
@@ -5408,6 +6082,7 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
5408
6082
|
id: z.ZodInt;
|
|
5409
6083
|
isHashrateBoosted: z.ZodBoolean;
|
|
5410
6084
|
minersCount: z.ZodInt;
|
|
6085
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5411
6086
|
revealedMinersCount: z.ZodInt;
|
|
5412
6087
|
settledMinersCount: z.ZodInt;
|
|
5413
6088
|
state: z.ZodEnum<{
|
|
@@ -5417,6 +6092,7 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
5417
6092
|
finished: "finished";
|
|
5418
6093
|
}>;
|
|
5419
6094
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
6095
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
5420
6096
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
5421
6097
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
5422
6098
|
deployCount: z.ZodInt;
|
|
@@ -5433,6 +6109,8 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
5433
6109
|
prices: z.ZodObject<{
|
|
5434
6110
|
btc: z.ZodNumber;
|
|
5435
6111
|
sat: z.ZodNumber;
|
|
6112
|
+
token: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6113
|
+
tokenShare: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
5436
6114
|
}, z.core.$strip>;
|
|
5437
6115
|
roundDuration: z.ZodInt;
|
|
5438
6116
|
roundEndsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -5452,9 +6130,19 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
5452
6130
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5453
6131
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5454
6132
|
poolCombinedUsdAmount: z.ZodNumber;
|
|
6133
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5455
6134
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
6135
|
+
reserveTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
6136
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5456
6137
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5457
6138
|
}, z.core.$strip>;
|
|
6139
|
+
tokenVault: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
6140
|
+
address: z.ZodString;
|
|
6141
|
+
apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6142
|
+
leftovers: z.ZodCoercedBigInt<unknown>;
|
|
6143
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
6144
|
+
tokenShares: z.ZodCoercedBigInt<unknown>;
|
|
6145
|
+
}, z.core.$strip>]>>;
|
|
5458
6146
|
}, z.core.$strip>;
|
|
5459
6147
|
}, z.core.$strip>;
|
|
5460
6148
|
type GetBoardResponseZodType = z.infer<typeof zGetBoardResponse>;
|
|
@@ -5472,11 +6160,12 @@ declare const zGetConfigResponse: z.ZodObject<{
|
|
|
5472
6160
|
minDeployUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5473
6161
|
oneBtcFeeBps: z.ZodInt;
|
|
5474
6162
|
protocolFeeBps: z.ZodInt;
|
|
5475
|
-
satsVaultClaimFeeBps: z.ZodInt;
|
|
5476
6163
|
satsVaultRoundFeeBps: z.ZodInt;
|
|
5477
6164
|
strikeFeeBps: z.ZodInt;
|
|
6165
|
+
tokenMint: z.ZodString;
|
|
5478
6166
|
unclaimedHashrateBps: z.ZodInt;
|
|
5479
6167
|
usdMint: z.ZodString;
|
|
6168
|
+
vaultExitFeeBps: z.ZodInt;
|
|
5480
6169
|
}, z.core.$strip>;
|
|
5481
6170
|
}, z.core.$strip>;
|
|
5482
6171
|
type GetConfigResponseZodType = z.infer<typeof zGetConfigResponse>;
|
|
@@ -5496,6 +6185,7 @@ declare const zGetEpochHistoryResponse: z.ZodObject<{
|
|
|
5496
6185
|
id: z.ZodInt;
|
|
5497
6186
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5498
6187
|
poolCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6188
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5499
6189
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5500
6190
|
startedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
5501
6191
|
totalParticipants: z.ZodInt;
|
|
@@ -5531,6 +6221,8 @@ declare const zGetEpochIterationResponse: z.ZodObject<{
|
|
|
5531
6221
|
tickets: z.ZodCoercedBigInt<unknown>;
|
|
5532
6222
|
wonBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5533
6223
|
wonCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6224
|
+
wonTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
6225
|
+
wonTokenShares: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5534
6226
|
wonUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5535
6227
|
}, z.core.$strip>>, z.ZodNull]>>;
|
|
5536
6228
|
}, z.core.$strip>;
|
|
@@ -5558,6 +6250,7 @@ declare const zGetEpochIterationParticipantsResponse: z.ZodObject<{
|
|
|
5558
6250
|
tickets: z.ZodCoercedBigInt<unknown>;
|
|
5559
6251
|
wonBtcAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5560
6252
|
wonCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6253
|
+
wonTokenAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5561
6254
|
wonUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5562
6255
|
}, z.core.$strip>>;
|
|
5563
6256
|
}, z.core.$strip>;
|
|
@@ -5581,6 +6274,7 @@ declare const zGetEpochWinnersResponse: z.ZodObject<{
|
|
|
5581
6274
|
settledAtSlot: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5582
6275
|
tickets: z.ZodCoercedBigInt<unknown>;
|
|
5583
6276
|
wonBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
6277
|
+
wonTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5584
6278
|
wonUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5585
6279
|
}, z.core.$strip>>;
|
|
5586
6280
|
}, z.core.$strip>;
|
|
@@ -5786,6 +6480,7 @@ declare const zGetRoundsResponse: z.ZodObject<{
|
|
|
5786
6480
|
isHashrateBoosted: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
5787
6481
|
isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
5788
6482
|
minersCount: z.ZodInt;
|
|
6483
|
+
mintedToken: z.ZodCoercedBigInt<unknown>;
|
|
5789
6484
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
5790
6485
|
startedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
5791
6486
|
state: z.ZodEnum<{
|
|
@@ -5797,13 +6492,18 @@ declare const zGetRoundsResponse: z.ZodObject<{
|
|
|
5797
6492
|
}>;
|
|
5798
6493
|
strikeBonusBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5799
6494
|
strikeBonusCombinedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6495
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
5800
6496
|
strikeBonusUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5801
6497
|
strikeEpochBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6498
|
+
strikeEpochToken: z.ZodCoercedBigInt<unknown>;
|
|
5802
6499
|
strikeEpochUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5803
6500
|
strikeReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6501
|
+
strikeReserveToken: z.ZodCoercedBigInt<unknown>;
|
|
5804
6502
|
strikeReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5805
6503
|
strikeSeedFromReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6504
|
+
strikeSeedFromReserveToken: z.ZodCoercedBigInt<unknown>;
|
|
5806
6505
|
strikeSeedFromReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6506
|
+
strikeTokenFee: z.ZodCoercedBigInt<unknown>;
|
|
5807
6507
|
totalDeployedUsd: z.ZodCoercedBigInt<unknown>;
|
|
5808
6508
|
totalGrossDeployedUsd: z.ZodCoercedBigInt<unknown>;
|
|
5809
6509
|
totalPotBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
@@ -5841,6 +6541,8 @@ declare const zGetRoundResponse: z.ZodObject<{
|
|
|
5841
6541
|
satsSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
5842
6542
|
selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
5843
6543
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
6544
|
+
tokenEarned: z.ZodCoercedBigInt<unknown>;
|
|
6545
|
+
tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
5844
6546
|
totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
|
|
5845
6547
|
usdEarned: z.ZodCoercedBigInt<unknown>;
|
|
5846
6548
|
winningUsdStakeAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
@@ -5850,6 +6552,7 @@ declare const zGetRoundResponse: z.ZodObject<{
|
|
|
5850
6552
|
isHashrateBoosted: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
5851
6553
|
isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
5852
6554
|
minersCount: z.ZodInt;
|
|
6555
|
+
mintedToken: z.ZodCoercedBigInt<unknown>;
|
|
5853
6556
|
oneBtcFeeUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5854
6557
|
protocolFeeUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5855
6558
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -5864,14 +6567,19 @@ declare const zGetRoundResponse: z.ZodObject<{
|
|
|
5864
6567
|
}>;
|
|
5865
6568
|
strikeBonusBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5866
6569
|
strikeBonusCombinedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6570
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
5867
6571
|
strikeBonusUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5868
6572
|
strikeEpochBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6573
|
+
strikeEpochToken: z.ZodCoercedBigInt<unknown>;
|
|
5869
6574
|
strikeEpochUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5870
6575
|
strikeFeeUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5871
6576
|
strikeReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6577
|
+
strikeReserveToken: z.ZodCoercedBigInt<unknown>;
|
|
5872
6578
|
strikeReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5873
6579
|
strikeSeedFromReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6580
|
+
strikeSeedFromReserveToken: z.ZodCoercedBigInt<unknown>;
|
|
5874
6581
|
strikeSeedFromReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6582
|
+
strikeTokenFee: z.ZodCoercedBigInt<unknown>;
|
|
5875
6583
|
totalDeployedUsd: z.ZodCoercedBigInt<unknown>;
|
|
5876
6584
|
totalGrossDeployedUsd: z.ZodCoercedBigInt<unknown>;
|
|
5877
6585
|
totalPotBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
@@ -5906,6 +6614,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
5906
6614
|
id: z.ZodInt;
|
|
5907
6615
|
isHashrateBoosted: z.ZodBoolean;
|
|
5908
6616
|
minersCount: z.ZodInt;
|
|
6617
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5909
6618
|
revealedMinersCount: z.ZodInt;
|
|
5910
6619
|
settledMinersCount: z.ZodInt;
|
|
5911
6620
|
state: z.ZodEnum<{
|
|
@@ -5915,6 +6624,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
5915
6624
|
finished: "finished";
|
|
5916
6625
|
}>;
|
|
5917
6626
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
6627
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
5918
6628
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
5919
6629
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
5920
6630
|
deployCount: z.ZodInt;
|
|
@@ -5931,11 +6641,13 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
5931
6641
|
activePendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5932
6642
|
activePoolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5933
6643
|
activePoolCombinedUsdAmount: z.ZodNumber;
|
|
6644
|
+
activePoolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5934
6645
|
activePoolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5935
6646
|
address: z.ZodString;
|
|
5936
6647
|
currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
5937
6648
|
address: z.ZodString;
|
|
5938
6649
|
claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6650
|
+
claimableToken: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5939
6651
|
claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5940
6652
|
id: z.ZodInt;
|
|
5941
6653
|
pageCount: z.ZodInt;
|
|
@@ -5964,8 +6676,10 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
5964
6676
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
5965
6677
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5966
6678
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
6679
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5967
6680
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5968
6681
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
6682
|
+
reservedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5969
6683
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5970
6684
|
}, z.core.$strip>;
|
|
5971
6685
|
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
@@ -6001,6 +6715,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
6001
6715
|
id: z.ZodInt;
|
|
6002
6716
|
isHashrateBoosted: z.ZodBoolean;
|
|
6003
6717
|
minersCount: z.ZodInt;
|
|
6718
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
6004
6719
|
revealedMinersCount: z.ZodInt;
|
|
6005
6720
|
settledMinersCount: z.ZodInt;
|
|
6006
6721
|
state: z.ZodEnum<{
|
|
@@ -6010,6 +6725,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
6010
6725
|
finished: "finished";
|
|
6011
6726
|
}>;
|
|
6012
6727
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
6728
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
6013
6729
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
6014
6730
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
6015
6731
|
deployCount: z.ZodInt;
|
|
@@ -6026,6 +6742,8 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
6026
6742
|
prices: z.ZodObject<{
|
|
6027
6743
|
btc: z.ZodNumber;
|
|
6028
6744
|
sat: z.ZodNumber;
|
|
6745
|
+
token: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6746
|
+
tokenShare: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6029
6747
|
}, z.core.$strip>;
|
|
6030
6748
|
roundDuration: z.ZodInt;
|
|
6031
6749
|
roundEndsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -6045,9 +6763,19 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
6045
6763
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
6046
6764
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
6047
6765
|
poolCombinedUsdAmount: z.ZodNumber;
|
|
6766
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
6048
6767
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
6768
|
+
reserveTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
6769
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
6049
6770
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
6050
6771
|
}, z.core.$strip>;
|
|
6772
|
+
tokenVault: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
6773
|
+
address: z.ZodString;
|
|
6774
|
+
apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6775
|
+
leftovers: z.ZodCoercedBigInt<unknown>;
|
|
6776
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
6777
|
+
tokenShares: z.ZodCoercedBigInt<unknown>;
|
|
6778
|
+
}, z.core.$strip>]>>;
|
|
6051
6779
|
}, z.core.$strip>;
|
|
6052
6780
|
entity: z.ZodEnum<{
|
|
6053
6781
|
state_snapshot: "state_snapshot";
|
|
@@ -6096,14 +6824,20 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
6096
6824
|
totalRounds: z.ZodInt;
|
|
6097
6825
|
totalSatsClaimed: z.ZodCoercedBigInt<unknown>;
|
|
6098
6826
|
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
6827
|
+
totalTokenSharesClaimed: z.ZodCoercedBigInt<unknown>;
|
|
6828
|
+
totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
6829
|
+
totalTokensReceived: z.ZodCoercedBigInt<unknown>;
|
|
6099
6830
|
totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
|
|
6100
6831
|
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
6101
6832
|
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
6102
6833
|
unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
6103
6834
|
unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
6835
|
+
unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
6104
6836
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
6105
6837
|
unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
|
|
6838
|
+
unrealizedTokenPnl: z.ZodCoercedBigInt<unknown>;
|
|
6106
6839
|
unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
6840
|
+
unsettledTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
6107
6841
|
unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
6108
6842
|
}, z.core.$strip>;
|
|
6109
6843
|
oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
|
|
@@ -6177,14 +6911,20 @@ declare const zGetUserProfileResponse: z.ZodObject<{
|
|
|
6177
6911
|
totalRounds: z.ZodInt;
|
|
6178
6912
|
totalSatsClaimed: z.ZodCoercedBigInt<unknown>;
|
|
6179
6913
|
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
6914
|
+
totalTokenSharesClaimed: z.ZodCoercedBigInt<unknown>;
|
|
6915
|
+
totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
6916
|
+
totalTokensReceived: z.ZodCoercedBigInt<unknown>;
|
|
6180
6917
|
totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
|
|
6181
6918
|
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
6182
6919
|
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
6183
6920
|
unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
6184
6921
|
unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
6922
|
+
unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
6185
6923
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
6186
6924
|
unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
|
|
6925
|
+
unrealizedTokenPnl: z.ZodCoercedBigInt<unknown>;
|
|
6187
6926
|
unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
6927
|
+
unsettledTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
6188
6928
|
unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
6189
6929
|
}, z.core.$strip>;
|
|
6190
6930
|
oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
|
|
@@ -6202,6 +6942,25 @@ declare const zGetUserProfileResponse: z.ZodObject<{
|
|
|
6202
6942
|
}, z.core.$strip>;
|
|
6203
6943
|
}, z.core.$strip>;
|
|
6204
6944
|
type GetUserProfileResponseZodType = z.infer<typeof zGetUserProfileResponse>;
|
|
6945
|
+
declare const zGetUserAffiliateData: z.ZodObject<{
|
|
6946
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
6947
|
+
path: z.ZodObject<{
|
|
6948
|
+
address: z.ZodString;
|
|
6949
|
+
}, z.core.$strip>;
|
|
6950
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
6951
|
+
}, z.core.$strip>;
|
|
6952
|
+
declare const zGetUserAffiliateResponse: z.ZodObject<{
|
|
6953
|
+
data: z.ZodObject<{
|
|
6954
|
+
affiliateRateBps: z.ZodInt;
|
|
6955
|
+
authority: z.ZodString;
|
|
6956
|
+
grubstakeClaimable: z.ZodCoercedBigInt<unknown>;
|
|
6957
|
+
grubstakeEarned: z.ZodCoercedBigInt<unknown>;
|
|
6958
|
+
referralUsdVolume: z.ZodCoercedBigInt<unknown>;
|
|
6959
|
+
referredMiners: z.ZodInt;
|
|
6960
|
+
tag: z.ZodString;
|
|
6961
|
+
}, z.core.$strip>;
|
|
6962
|
+
}, z.core.$strip>;
|
|
6963
|
+
type GetUserAffiliateResponseZodType = z.infer<typeof zGetUserAffiliateResponse>;
|
|
6205
6964
|
declare const zGetUserClaimsData: z.ZodObject<{
|
|
6206
6965
|
body: z.ZodOptional<z.ZodNever>;
|
|
6207
6966
|
path: z.ZodObject<{
|
|
@@ -6220,12 +6979,15 @@ declare const zGetUserClaimsResponse: z.ZodObject<{
|
|
|
6220
6979
|
claimType: z.ZodEnum<{
|
|
6221
6980
|
usd: "usd";
|
|
6222
6981
|
sats: "sats";
|
|
6982
|
+
token: "token";
|
|
6223
6983
|
}>;
|
|
6224
6984
|
claimedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
6225
6985
|
hashrateClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6226
6986
|
id: z.ZodInt;
|
|
6227
6987
|
satsClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6228
6988
|
signature: z.ZodString;
|
|
6989
|
+
tokenSharesClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6990
|
+
tokensReceived: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6229
6991
|
usdClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6230
6992
|
}, z.core.$strip>>;
|
|
6231
6993
|
}, z.core.$strip>;
|
|
@@ -6258,6 +7020,8 @@ declare const zGetUserDeploymentsResponse: z.ZodObject<{
|
|
|
6258
7020
|
satsSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
6259
7021
|
selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
6260
7022
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
7023
|
+
tokenEarned: z.ZodCoercedBigInt<unknown>;
|
|
7024
|
+
tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
6261
7025
|
totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
|
|
6262
7026
|
usdEarned: z.ZodCoercedBigInt<unknown>;
|
|
6263
7027
|
}, z.core.$strip>>;
|
|
@@ -6289,6 +7053,8 @@ declare const zGetUserEpochEntriesResponse: z.ZodObject<{
|
|
|
6289
7053
|
tickets: z.ZodCoercedBigInt<unknown>;
|
|
6290
7054
|
wonBtcAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6291
7055
|
wonCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
7056
|
+
wonTokenAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
7057
|
+
wonTokenShares: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6292
7058
|
wonUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6293
7059
|
}, z.core.$strip>>;
|
|
6294
7060
|
}, z.core.$strip>;
|
|
@@ -6346,6 +7112,37 @@ declare const zGetUserOneBtcEntriesResponse: z.ZodObject<{
|
|
|
6346
7112
|
}, z.core.$strip>>;
|
|
6347
7113
|
}, z.core.$strip>;
|
|
6348
7114
|
type GetUserOneBtcEntriesResponseZodType = z.infer<typeof zGetUserOneBtcEntriesResponse>;
|
|
7115
|
+
declare const zGetUserReferralsData: z.ZodObject<{
|
|
7116
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
7117
|
+
path: z.ZodObject<{
|
|
7118
|
+
address: z.ZodString;
|
|
7119
|
+
}, z.core.$strip>;
|
|
7120
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
7121
|
+
sort: z.ZodOptional<z.ZodEnum<{
|
|
7122
|
+
usd_volume: "usd_volume";
|
|
7123
|
+
first_deployed_at: "first_deployed_at";
|
|
7124
|
+
}>>;
|
|
7125
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
7126
|
+
desc: "desc";
|
|
7127
|
+
asc: "asc";
|
|
7128
|
+
}>>;
|
|
7129
|
+
offset: z.ZodOptional<z.ZodInt>;
|
|
7130
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
7131
|
+
}, z.core.$strip>>;
|
|
7132
|
+
}, z.core.$strip>;
|
|
7133
|
+
declare const zGetUserReferralsResponse: z.ZodObject<{
|
|
7134
|
+
data: z.ZodObject<{
|
|
7135
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
7136
|
+
authority: z.ZodString;
|
|
7137
|
+
firstDeployedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
7138
|
+
grubstakeEarned: z.ZodCoercedBigInt<unknown>;
|
|
7139
|
+
totalDeployments: z.ZodInt;
|
|
7140
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
7141
|
+
}, z.core.$strip>>;
|
|
7142
|
+
total: z.ZodInt;
|
|
7143
|
+
}, z.core.$strip>;
|
|
7144
|
+
}, z.core.$strip>;
|
|
7145
|
+
type GetUserReferralsResponseZodType = z.infer<typeof zGetUserReferralsResponse>;
|
|
6349
7146
|
|
|
6350
7147
|
type HasOnlyDataKey<T> = T extends object ? Exclude<keyof T, 'data'> extends never ? true : false : false;
|
|
6351
7148
|
type UnwrapData<T> = T extends {
|
|
@@ -6369,4 +7166,4 @@ declare class SatrushBackendSdkError<TCause = unknown> extends Error {
|
|
|
6369
7166
|
declare const satrushSdkErrorInterceptor: (error: unknown, response?: Response) => SatrushBackendSdkError<unknown>;
|
|
6370
7167
|
declare const isSatrushSdkError: <TCause = unknown>(error: unknown) => error is SatrushBackendSdkError<TCause>;
|
|
6371
7168
|
|
|
6372
|
-
export { AutomationStrategyDto, type BadRequestErrorCodeErrorBody, type BoardDto, ClaimTypeDto, type ClientOptions, type EpochHistoryApiError400Error, type EpochHistoryApiError400InvalidRange, type EpochHistoryApiError500Error, type EpochIterationApiError404Error, type EpochIterationApiError500Error, type EpochIterationDetailsDto, type EpochIterationHistoryDto, type EpochIterationParticipantDto, type EpochIterationParticipantsApiError400Error, type EpochIterationParticipantsApiError400InvalidRange, type EpochIterationParticipantsApiError404Error, type EpochIterationParticipantsApiError500Error, type EpochIterationWinnerDto, EpochStateDto, type EpochVaultDto, type EpochVaultEntryDto, type EpochVaultIterationDto, type EpochWinnerDto, type EpochWinnerHistoryDto, type EpochWinnersApiError400Error, type EpochWinnersApiError400InvalidBefore, type EpochWinnersApiError400InvalidRange, type EpochWinnersApiError500Error, 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 GetEpochHistoryData, type GetEpochHistoryError, type GetEpochHistoryErrors, type GetEpochHistoryResponse, type GetEpochHistoryResponseZodType, type GetEpochHistoryResponses, type GetEpochIterationData, type GetEpochIterationError, type GetEpochIterationErrors, type GetEpochIterationParticipantsData, type GetEpochIterationParticipantsError, type GetEpochIterationParticipantsErrors, type GetEpochIterationParticipantsResponse, type GetEpochIterationParticipantsResponseZodType, type GetEpochIterationParticipantsResponses, type GetEpochIterationResponse, type GetEpochIterationResponseZodType, type GetEpochIterationResponses, type GetEpochWinnersData, type GetEpochWinnersError, type GetEpochWinnersErrors, type GetEpochWinnersResponse, type GetEpochWinnersResponseZodType, type GetEpochWinnersResponses, type GetHashrateEarnedLeaderboardData, type GetHashrateEarnedLeaderboardError, type GetHashrateEarnedLeaderboardErrors, type GetHashrateEarnedLeaderboardResponse, type GetHashrateEarnedLeaderboardResponseZodType, type GetHashrateEarnedLeaderboardResponses, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardErrors, type GetLeaderboardResponse, type GetLeaderboardResponseZodType, type GetLeaderboardResponses, type GetOneBtcHistoryData, type GetOneBtcHistoryError, type GetOneBtcHistoryErrors, type GetOneBtcHistoryResponse, type GetOneBtcHistoryResponseZodType, type GetOneBtcHistoryResponses, type GetOneBtcIterationData, type GetOneBtcIterationError, type GetOneBtcIterationErrors, type GetOneBtcIterationParticipantsData, type GetOneBtcIterationParticipantsError, type GetOneBtcIterationParticipantsErrors, type GetOneBtcIterationParticipantsResponse, type GetOneBtcIterationParticipantsResponseZodType, type GetOneBtcIterationParticipantsResponses, type GetOneBtcIterationResponse, type GetOneBtcIterationResponseZodType, type GetOneBtcIterationResponses, type GetRoundData, type GetRoundError, type GetRoundErrors, type GetRoundResponse, type GetRoundResponseZodType, type GetRoundResponses, type GetRoundsData, type GetRoundsError, type GetRoundsErrors, type GetRoundsPlayedLeaderboardData, type GetRoundsPlayedLeaderboardError, type GetRoundsPlayedLeaderboardErrors, type GetRoundsPlayedLeaderboardResponse, type GetRoundsPlayedLeaderboardResponseZodType, type GetRoundsPlayedLeaderboardResponses, type GetRoundsResponse, type GetRoundsResponseZodType, type GetRoundsResponses, type GetSatsEarnedLeaderboardData, type GetSatsEarnedLeaderboardError, type GetSatsEarnedLeaderboardErrors, type GetSatsEarnedLeaderboardResponse, type GetSatsEarnedLeaderboardResponseZodType, type GetSatsEarnedLeaderboardResponses, 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 GetUserEpochEntriesData, type GetUserEpochEntriesError, type GetUserEpochEntriesErrors, type GetUserEpochEntriesResponse, type GetUserEpochEntriesResponseZodType, type GetUserEpochEntriesResponses, type GetUserHashrateActionsData, type GetUserHashrateActionsError, type GetUserHashrateActionsErrors, type GetUserHashrateActionsResponse, type GetUserHashrateActionsResponseZodType, type GetUserHashrateActionsResponses, type GetUserOneBtcEntriesData, type GetUserOneBtcEntriesError, type GetUserOneBtcEntriesErrors, type GetUserOneBtcEntriesResponse, type GetUserOneBtcEntriesResponseZodType, type GetUserOneBtcEntriesResponses, type GetUserProfileData, type GetUserProfileError, type GetUserProfileErrors, type GetUserProfileResponse, type GetUserProfileResponseZodType, type GetUserProfileResponses, type GetWalletLeaderboardData, type GetWalletLeaderboardError, type GetWalletLeaderboardErrors, type GetWalletLeaderboardResponse, type GetWalletLeaderboardResponseZodType, type GetWalletLeaderboardResponses, HashrateActionTypeDto, type I128Dto, type I64Dto, type InternalErrorCodeErrorBody, type LeaderboardEntryDto, type LeaderboardPageDto, type LeaderboardPageEntryDto, type LeaderboardRanksDto, LeaderboardSortDto, type MinerClaimDto, type MinerDeploymentDto, type MinerDto, type MinerEpochEntryDto, type MinerHashrateActionDto, type MinerOneBtcEntryDto, NotificationEntity, type OneBtcHistoryApiError400Error, type OneBtcHistoryApiError400InvalidRange, type OneBtcHistoryApiError500Error, type OneBtcIterationApiError404Error, type OneBtcIterationApiError500Error, type OneBtcIterationDetailsDto, type OneBtcIterationHistoryDto, type OneBtcIterationParticipantDto, type OneBtcIterationParticipantsApiError400Error, type OneBtcIterationParticipantsApiError400InvalidRange, type OneBtcIterationParticipantsApiError404Error, type OneBtcIterationParticipantsApiError500Error, type OneBtcIterationWinnerDto, OneBtcStateDto, type OneBtcVaultDto, type OneBtcVaultEntryDto, type OneBtcVaultIterationDto, type Options, type PreviousRoundDto, type PricesDto, type ProfileDto, type PubkeyDto, type PublicAutomationDto, type PublicDeploymentDto, type RoundDeploymentDto, type RoundDetailsApiError404Error, type RoundDetailsApiError500Error, type RoundDetailsDto, type RoundDto, type RoundHistoryDto, RoundHistoryStateDto, RoundStateDto, type RoundsApiError400Error, type RoundsApiError400InvalidBefore, type RoundsApiError400InvalidIsSatStrike, type RoundsApiError400InvalidRange, type RoundsApiError500Error, 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 UserHashrateApiError400Error, type UserHashrateApiError400InvalidAddress, type UserHashrateApiError400InvalidBefore, type UserHashrateApiError400InvalidRange, type UserHashrateApiError500Error, type UserProfileApiError400Error, type UserProfileApiError400InvalidAddress, type UserVaultEntriesApiError400Error, type UserVaultEntriesApiError400InvalidAddress, type UserVaultEntriesApiError400InvalidBefore, type UserVaultEntriesApiError400InvalidRange, type UserVaultEntriesApiError400InvalidWinsOnly, type UserVaultEntriesApiError500Error, type ValidationErrorCodeErrorBody, type ValidationErrorCodeValidationDetailsErrorBody, type WalletLeaderboardApiError400Error, type WalletLeaderboardApiError400InvalidAddress, type WalletLeaderboardApiError404Error, type WalletLeaderboardDto, createClient, createSseClient, isSatrushSdkError, satrushSdkErrorInterceptor, unwrap, zAutomationStrategyDto, zBadRequestErrorCodeErrorBody, zBoardDto, zClaimTypeDto, zEpochHistoryApiError400Error, zEpochHistoryApiError400InvalidRange, zEpochHistoryApiError500Error, zEpochIterationApiError404Error, zEpochIterationApiError500Error, zEpochIterationDetailsDto, zEpochIterationHistoryDto, zEpochIterationParticipantDto, zEpochIterationParticipantsApiError400Error, zEpochIterationParticipantsApiError400InvalidRange, zEpochIterationParticipantsApiError404Error, zEpochIterationParticipantsApiError500Error, zEpochIterationWinnerDto, zEpochStateDto, zEpochVaultDto, zEpochVaultEntryDto, zEpochVaultIterationDto, zEpochWinnerDto, zEpochWinnerHistoryDto, zEpochWinnersApiError400Error, zEpochWinnersApiError400InvalidBefore, zEpochWinnersApiError400InvalidRange, zEpochWinnersApiError500Error, zFieldError, zGetBoardData, zGetBoardResponse, zGetConfigData, zGetConfigResponse, zGetEpochHistoryData, zGetEpochHistoryResponse, zGetEpochIterationData, zGetEpochIterationParticipantsData, zGetEpochIterationParticipantsResponse, zGetEpochIterationResponse, zGetEpochWinnersData, zGetEpochWinnersResponse, zGetHashrateEarnedLeaderboardData, zGetHashrateEarnedLeaderboardResponse, zGetLeaderboardData, zGetLeaderboardResponse, zGetOneBtcHistoryData, zGetOneBtcHistoryResponse, zGetOneBtcIterationData, zGetOneBtcIterationParticipantsData, zGetOneBtcIterationParticipantsResponse, zGetOneBtcIterationResponse, zGetRoundData, zGetRoundResponse, zGetRoundsData, zGetRoundsPlayedLeaderboardData, zGetRoundsPlayedLeaderboardResponse, zGetRoundsResponse, zGetSatsEarnedLeaderboardData, zGetSatsEarnedLeaderboardResponse, zGetUserClaimsData, zGetUserClaimsResponse, zGetUserDeploymentsData, zGetUserDeploymentsResponse, zGetUserEpochEntriesData, zGetUserEpochEntriesResponse, zGetUserHashrateActionsData, zGetUserHashrateActionsResponse, zGetUserOneBtcEntriesData, zGetUserOneBtcEntriesResponse, zGetUserProfileData, zGetUserProfileResponse, zGetWalletLeaderboardData, zGetWalletLeaderboardResponse, zHashrateActionTypeDto, zI128Dto, zI64Dto, zInternalErrorCodeErrorBody, zLeaderboardEntryDto, zLeaderboardPageDto, zLeaderboardPageEntryDto, zLeaderboardRanksDto, zLeaderboardSortDto, zMinerClaimDto, zMinerDeploymentDto, zMinerDto, zMinerEpochEntryDto, zMinerHashrateActionDto, zMinerOneBtcEntryDto, zNotificationEntity, zOneBtcHistoryApiError400Error, zOneBtcHistoryApiError400InvalidRange, zOneBtcHistoryApiError500Error, zOneBtcIterationApiError404Error, zOneBtcIterationApiError500Error, zOneBtcIterationDetailsDto, zOneBtcIterationHistoryDto, zOneBtcIterationParticipantDto, zOneBtcIterationParticipantsApiError400Error, zOneBtcIterationParticipantsApiError400InvalidRange, zOneBtcIterationParticipantsApiError404Error, zOneBtcIterationParticipantsApiError500Error, zOneBtcIterationWinnerDto, zOneBtcStateDto, zOneBtcVaultDto, zOneBtcVaultEntryDto, zOneBtcVaultIterationDto, zPreviousRoundDto, zPricesDto, zProfileDto, zPubkeyDto, zPublicAutomationDto, zPublicDeploymentDto, zRoundDeploymentDto, zRoundDetailsApiError404Error, zRoundDetailsApiError500Error, zRoundDetailsDto, zRoundDto, zRoundHistoryDto, zRoundHistoryStateDto, zRoundStateDto, zRoundsApiError400Error, zRoundsApiError400InvalidBefore, zRoundsApiError400InvalidIsSatStrike, zRoundsApiError400InvalidRange, zRoundsApiError500Error, zSatrushConfigDto, zSatsVaultDto, zSnapshotDto, zSseData, zSseResponse, zSseResponse2, zSseResponseSnapshot, zStrikeJackpotDto, zTileStakeDto, zU128Dto, zU64Dto, zUserClaimsApiError400Error, zUserClaimsApiError400InvalidAddress, zUserClaimsApiError400InvalidBefore, zUserClaimsApiError400InvalidRange, zUserClaimsApiError500Error, zUserDeploymentsApiError400Error, zUserDeploymentsApiError400InvalidAddress, zUserDeploymentsApiError400InvalidBefore, zUserDeploymentsApiError400InvalidRange, zUserDeploymentsApiError500Error, zUserHashrateApiError400Error, zUserHashrateApiError400InvalidAddress, zUserHashrateApiError400InvalidBefore, zUserHashrateApiError400InvalidRange, zUserHashrateApiError500Error, zUserProfileApiError400Error, zUserProfileApiError400InvalidAddress, zUserVaultEntriesApiError400Error, zUserVaultEntriesApiError400InvalidAddress, zUserVaultEntriesApiError400InvalidBefore, zUserVaultEntriesApiError400InvalidRange, zUserVaultEntriesApiError400InvalidWinsOnly, zUserVaultEntriesApiError500Error, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody, zWalletLeaderboardApiError400Error, zWalletLeaderboardApiError400InvalidAddress, zWalletLeaderboardApiError404Error, zWalletLeaderboardDto };
|
|
7169
|
+
export { type AffiliateStatsDto, AutomationStrategyDto, type BadRequestErrorCodeErrorBody, type BoardDto, ClaimTypeDto, type ClientOptions, type EpochHistoryApiError400Error, type EpochHistoryApiError400InvalidRange, type EpochHistoryApiError500Error, type EpochIterationApiError404Error, type EpochIterationApiError500Error, type EpochIterationDetailsDto, type EpochIterationHistoryDto, type EpochIterationParticipantDto, type EpochIterationParticipantsApiError400Error, type EpochIterationParticipantsApiError400InvalidRange, type EpochIterationParticipantsApiError404Error, type EpochIterationParticipantsApiError500Error, type EpochIterationWinnerDto, EpochStateDto, type EpochVaultDto, type EpochVaultEntryDto, type EpochVaultIterationDto, type EpochWinnerDto, type EpochWinnerHistoryDto, type EpochWinnersApiError400Error, type EpochWinnersApiError400InvalidBefore, type EpochWinnersApiError400InvalidRange, type EpochWinnersApiError500Error, 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 GetEpochHistoryData, type GetEpochHistoryError, type GetEpochHistoryErrors, type GetEpochHistoryResponse, type GetEpochHistoryResponseZodType, type GetEpochHistoryResponses, type GetEpochIterationData, type GetEpochIterationError, type GetEpochIterationErrors, type GetEpochIterationParticipantsData, type GetEpochIterationParticipantsError, type GetEpochIterationParticipantsErrors, type GetEpochIterationParticipantsResponse, type GetEpochIterationParticipantsResponseZodType, type GetEpochIterationParticipantsResponses, type GetEpochIterationResponse, type GetEpochIterationResponseZodType, type GetEpochIterationResponses, type GetEpochWinnersData, type GetEpochWinnersError, type GetEpochWinnersErrors, type GetEpochWinnersResponse, type GetEpochWinnersResponseZodType, type GetEpochWinnersResponses, type GetHashrateEarnedLeaderboardData, type GetHashrateEarnedLeaderboardError, type GetHashrateEarnedLeaderboardErrors, type GetHashrateEarnedLeaderboardResponse, type GetHashrateEarnedLeaderboardResponseZodType, type GetHashrateEarnedLeaderboardResponses, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardErrors, type GetLeaderboardResponse, type GetLeaderboardResponseZodType, type GetLeaderboardResponses, type GetOneBtcHistoryData, type GetOneBtcHistoryError, type GetOneBtcHistoryErrors, type GetOneBtcHistoryResponse, type GetOneBtcHistoryResponseZodType, type GetOneBtcHistoryResponses, type GetOneBtcIterationData, type GetOneBtcIterationError, type GetOneBtcIterationErrors, type GetOneBtcIterationParticipantsData, type GetOneBtcIterationParticipantsError, type GetOneBtcIterationParticipantsErrors, type GetOneBtcIterationParticipantsResponse, type GetOneBtcIterationParticipantsResponseZodType, type GetOneBtcIterationParticipantsResponses, type GetOneBtcIterationResponse, type GetOneBtcIterationResponseZodType, type GetOneBtcIterationResponses, type GetRoundData, type GetRoundError, type GetRoundErrors, type GetRoundResponse, type GetRoundResponseZodType, type GetRoundResponses, type GetRoundsData, type GetRoundsError, type GetRoundsErrors, type GetRoundsPlayedLeaderboardData, type GetRoundsPlayedLeaderboardError, type GetRoundsPlayedLeaderboardErrors, type GetRoundsPlayedLeaderboardResponse, type GetRoundsPlayedLeaderboardResponseZodType, type GetRoundsPlayedLeaderboardResponses, type GetRoundsResponse, type GetRoundsResponseZodType, type GetRoundsResponses, type GetSatsEarnedLeaderboardData, type GetSatsEarnedLeaderboardError, type GetSatsEarnedLeaderboardErrors, type GetSatsEarnedLeaderboardResponse, type GetSatsEarnedLeaderboardResponseZodType, type GetSatsEarnedLeaderboardResponses, type GetUserAffiliateData, type GetUserAffiliateError, type GetUserAffiliateErrors, type GetUserAffiliateResponse, type GetUserAffiliateResponseZodType, type GetUserAffiliateResponses, 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 GetUserEpochEntriesData, type GetUserEpochEntriesError, type GetUserEpochEntriesErrors, type GetUserEpochEntriesResponse, type GetUserEpochEntriesResponseZodType, type GetUserEpochEntriesResponses, type GetUserHashrateActionsData, type GetUserHashrateActionsError, type GetUserHashrateActionsErrors, type GetUserHashrateActionsResponse, type GetUserHashrateActionsResponseZodType, type GetUserHashrateActionsResponses, type GetUserOneBtcEntriesData, type GetUserOneBtcEntriesError, type GetUserOneBtcEntriesErrors, type GetUserOneBtcEntriesResponse, type GetUserOneBtcEntriesResponseZodType, type GetUserOneBtcEntriesResponses, type GetUserProfileData, type GetUserProfileError, type GetUserProfileErrors, type GetUserProfileResponse, type GetUserProfileResponseZodType, type GetUserProfileResponses, type GetUserReferralsData, type GetUserReferralsError, type GetUserReferralsErrors, type GetUserReferralsResponse, type GetUserReferralsResponseZodType, type GetUserReferralsResponses, type GetWalletLeaderboardData, type GetWalletLeaderboardError, type GetWalletLeaderboardErrors, type GetWalletLeaderboardResponse, type GetWalletLeaderboardResponseZodType, type GetWalletLeaderboardResponses, HashrateActionTypeDto, type I128Dto, type I64Dto, type InternalErrorCodeErrorBody, type LeaderboardEntryDto, type LeaderboardPageDto, type LeaderboardPageEntryDto, type LeaderboardRanksDto, LeaderboardSortDto, type MinerClaimDto, type MinerDeploymentDto, type MinerDto, type MinerEpochEntryDto, type MinerHashrateActionDto, type MinerOneBtcEntryDto, NotificationEntity, type OneBtcHistoryApiError400Error, type OneBtcHistoryApiError400InvalidRange, type OneBtcHistoryApiError500Error, type OneBtcIterationApiError404Error, type OneBtcIterationApiError500Error, type OneBtcIterationDetailsDto, type OneBtcIterationHistoryDto, type OneBtcIterationParticipantDto, type OneBtcIterationParticipantsApiError400Error, type OneBtcIterationParticipantsApiError400InvalidRange, type OneBtcIterationParticipantsApiError404Error, type OneBtcIterationParticipantsApiError500Error, type OneBtcIterationWinnerDto, OneBtcStateDto, type OneBtcVaultDto, type OneBtcVaultEntryDto, type OneBtcVaultIterationDto, type Options, type PreviousRoundDto, type PricesDto, type ProfileDto, type PubkeyDto, type PublicAutomationDto, type PublicDeploymentDto, type ReferralDto, ReferralSortDto, type ReferralsPageDto, type RoundDeploymentDto, type RoundDetailsApiError404Error, type RoundDetailsApiError500Error, type RoundDetailsDto, type RoundDto, type RoundHistoryDto, RoundHistoryStateDto, RoundStateDto, type RoundsApiError400Error, type RoundsApiError400InvalidBefore, type RoundsApiError400InvalidIsSatStrike, type RoundsApiError400InvalidRange, type RoundsApiError500Error, SatrushBackendSdk, SatrushBackendSdkError, type SatrushConfigDto, type SatsVaultDto, type ServerSentEventsOptions, type ServerSentEventsResult, type SnapshotDto, SortOrderDto, type SseData, type SseError, type SseErrors, type SseResponse, type SseResponse2, type SseResponseSnapshot, type SseResponseZodType, type SseResponses, type StreamEvent, type StrikeJackpotDto, type TileStakeDto, type TokenVaultDto, type U128Dto, type U64Dto, type UserAffiliateApiError400Error, type UserAffiliateApiError400InvalidAddress, type UserAffiliateApiError404Error, type UserAffiliateApiError500Error, type UserClaimsApiError400Error, type UserClaimsApiError400InvalidAddress, type UserClaimsApiError400InvalidBefore, type UserClaimsApiError400InvalidRange, type UserClaimsApiError500Error, type UserDeploymentsApiError400Error, type UserDeploymentsApiError400InvalidAddress, type UserDeploymentsApiError400InvalidBefore, type UserDeploymentsApiError400InvalidRange, type UserDeploymentsApiError500Error, type UserHashrateApiError400Error, type UserHashrateApiError400InvalidAddress, type UserHashrateApiError400InvalidBefore, type UserHashrateApiError400InvalidRange, type UserHashrateApiError500Error, type UserProfileApiError400Error, type UserProfileApiError400InvalidAddress, type UserReferralsApiError400Error, type UserReferralsApiError400InvalidAddress, type UserReferralsApiError500Error, type UserVaultEntriesApiError400Error, type UserVaultEntriesApiError400InvalidAddress, type UserVaultEntriesApiError400InvalidBefore, type UserVaultEntriesApiError400InvalidRange, type UserVaultEntriesApiError400InvalidWinsOnly, type UserVaultEntriesApiError500Error, type ValidationErrorCodeErrorBody, type ValidationErrorCodeValidationDetailsErrorBody, type WalletLeaderboardApiError400Error, type WalletLeaderboardApiError400InvalidAddress, type WalletLeaderboardApiError404Error, type WalletLeaderboardDto, createClient, createSseClient, isSatrushSdkError, satrushSdkErrorInterceptor, unwrap, zAffiliateStatsDto, zAutomationStrategyDto, zBadRequestErrorCodeErrorBody, zBoardDto, zClaimTypeDto, zEpochHistoryApiError400Error, zEpochHistoryApiError400InvalidRange, zEpochHistoryApiError500Error, zEpochIterationApiError404Error, zEpochIterationApiError500Error, zEpochIterationDetailsDto, zEpochIterationHistoryDto, zEpochIterationParticipantDto, zEpochIterationParticipantsApiError400Error, zEpochIterationParticipantsApiError400InvalidRange, zEpochIterationParticipantsApiError404Error, zEpochIterationParticipantsApiError500Error, zEpochIterationWinnerDto, zEpochStateDto, zEpochVaultDto, zEpochVaultEntryDto, zEpochVaultIterationDto, zEpochWinnerDto, zEpochWinnerHistoryDto, zEpochWinnersApiError400Error, zEpochWinnersApiError400InvalidBefore, zEpochWinnersApiError400InvalidRange, zEpochWinnersApiError500Error, zFieldError, zGetBoardData, zGetBoardResponse, zGetConfigData, zGetConfigResponse, zGetEpochHistoryData, zGetEpochHistoryResponse, zGetEpochIterationData, zGetEpochIterationParticipantsData, zGetEpochIterationParticipantsResponse, zGetEpochIterationResponse, zGetEpochWinnersData, zGetEpochWinnersResponse, zGetHashrateEarnedLeaderboardData, zGetHashrateEarnedLeaderboardResponse, zGetLeaderboardData, zGetLeaderboardResponse, zGetOneBtcHistoryData, zGetOneBtcHistoryResponse, zGetOneBtcIterationData, zGetOneBtcIterationParticipantsData, zGetOneBtcIterationParticipantsResponse, zGetOneBtcIterationResponse, zGetRoundData, zGetRoundResponse, zGetRoundsData, zGetRoundsPlayedLeaderboardData, zGetRoundsPlayedLeaderboardResponse, zGetRoundsResponse, zGetSatsEarnedLeaderboardData, zGetSatsEarnedLeaderboardResponse, zGetUserAffiliateData, zGetUserAffiliateResponse, zGetUserClaimsData, zGetUserClaimsResponse, zGetUserDeploymentsData, zGetUserDeploymentsResponse, zGetUserEpochEntriesData, zGetUserEpochEntriesResponse, zGetUserHashrateActionsData, zGetUserHashrateActionsResponse, zGetUserOneBtcEntriesData, zGetUserOneBtcEntriesResponse, zGetUserProfileData, zGetUserProfileResponse, zGetUserReferralsData, zGetUserReferralsResponse, zGetWalletLeaderboardData, zGetWalletLeaderboardResponse, zHashrateActionTypeDto, zI128Dto, zI64Dto, zInternalErrorCodeErrorBody, zLeaderboardEntryDto, zLeaderboardPageDto, zLeaderboardPageEntryDto, zLeaderboardRanksDto, zLeaderboardSortDto, zMinerClaimDto, zMinerDeploymentDto, zMinerDto, zMinerEpochEntryDto, zMinerHashrateActionDto, zMinerOneBtcEntryDto, zNotificationEntity, zOneBtcHistoryApiError400Error, zOneBtcHistoryApiError400InvalidRange, zOneBtcHistoryApiError500Error, zOneBtcIterationApiError404Error, zOneBtcIterationApiError500Error, zOneBtcIterationDetailsDto, zOneBtcIterationHistoryDto, zOneBtcIterationParticipantDto, zOneBtcIterationParticipantsApiError400Error, zOneBtcIterationParticipantsApiError400InvalidRange, zOneBtcIterationParticipantsApiError404Error, zOneBtcIterationParticipantsApiError500Error, zOneBtcIterationWinnerDto, zOneBtcStateDto, zOneBtcVaultDto, zOneBtcVaultEntryDto, zOneBtcVaultIterationDto, zPreviousRoundDto, zPricesDto, zProfileDto, zPubkeyDto, zPublicAutomationDto, zPublicDeploymentDto, zReferralDto, zReferralSortDto, zReferralsPageDto, zRoundDeploymentDto, zRoundDetailsApiError404Error, zRoundDetailsApiError500Error, zRoundDetailsDto, zRoundDto, zRoundHistoryDto, zRoundHistoryStateDto, zRoundStateDto, zRoundsApiError400Error, zRoundsApiError400InvalidBefore, zRoundsApiError400InvalidIsSatStrike, zRoundsApiError400InvalidRange, zRoundsApiError500Error, zSatrushConfigDto, zSatsVaultDto, zSnapshotDto, zSortOrderDto, zSseData, zSseResponse, zSseResponse2, zSseResponseSnapshot, zStrikeJackpotDto, zTileStakeDto, zTokenVaultDto, zU128Dto, zU64Dto, zUserAffiliateApiError400Error, zUserAffiliateApiError400InvalidAddress, zUserAffiliateApiError404Error, zUserAffiliateApiError500Error, zUserClaimsApiError400Error, zUserClaimsApiError400InvalidAddress, zUserClaimsApiError400InvalidBefore, zUserClaimsApiError400InvalidRange, zUserClaimsApiError500Error, zUserDeploymentsApiError400Error, zUserDeploymentsApiError400InvalidAddress, zUserDeploymentsApiError400InvalidBefore, zUserDeploymentsApiError400InvalidRange, zUserDeploymentsApiError500Error, zUserHashrateApiError400Error, zUserHashrateApiError400InvalidAddress, zUserHashrateApiError400InvalidBefore, zUserHashrateApiError400InvalidRange, zUserHashrateApiError500Error, zUserProfileApiError400Error, zUserProfileApiError400InvalidAddress, zUserReferralsApiError400Error, zUserReferralsApiError400InvalidAddress, zUserReferralsApiError500Error, zUserVaultEntriesApiError400Error, zUserVaultEntriesApiError400InvalidAddress, zUserVaultEntriesApiError400InvalidBefore, zUserVaultEntriesApiError400InvalidRange, zUserVaultEntriesApiError400InvalidWinsOnly, zUserVaultEntriesApiError500Error, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody, zWalletLeaderboardApiError400Error, zWalletLeaderboardApiError400InvalidAddress, zWalletLeaderboardApiError404Error, zWalletLeaderboardDto };
|