@satrush/api 0.1.19 → 0.1.21
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 +480 -6
- package/dist/index.d.cts +1046 -14
- package/dist/index.d.ts +1046 -14
- package/dist/index.js +449 -6
- package/package.json +1 -1
package/dist/index.d.cts
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
|
*/
|
|
@@ -378,7 +410,7 @@ type BoardDto = {
|
|
|
378
410
|
roundId: number;
|
|
379
411
|
/**
|
|
380
412
|
* Wall-clock time of `start_slot`, derived from the current time and
|
|
381
|
-
* slot
|
|
413
|
+
* slot at `slot_duration_ms` per slot. Null while the round is pending
|
|
382
414
|
* and its slot window is not yet scheduled.
|
|
383
415
|
*/
|
|
384
416
|
roundStartedAt?: Date | null;
|
|
@@ -386,11 +418,19 @@ type BoardDto = {
|
|
|
386
418
|
* The sats vault balances.
|
|
387
419
|
*/
|
|
388
420
|
satsVault: SatsVaultDto;
|
|
421
|
+
/**
|
|
422
|
+
* Measured wall-clock milliseconds per slot: seeded from cluster
|
|
423
|
+
* performance samples at startup, then continuously measured from the
|
|
424
|
+
* slot stream. Clients ticking countdowns from `current_slot` should
|
|
425
|
+
* use this rather than assuming a fixed slot duration.
|
|
426
|
+
*/
|
|
427
|
+
slotDurationMs: number;
|
|
389
428
|
/**
|
|
390
429
|
* Slot at which the current round starts mining.
|
|
391
430
|
*/
|
|
392
431
|
startSlot: U64Dto;
|
|
393
432
|
strike: StrikeJackpotDto;
|
|
433
|
+
tokenVault?: null | TokenVaultDto;
|
|
394
434
|
};
|
|
395
435
|
/**
|
|
396
436
|
* Kind of an indexed claim.
|
|
@@ -398,6 +438,7 @@ type BoardDto = {
|
|
|
398
438
|
declare const ClaimTypeDto: {
|
|
399
439
|
readonly USD: "usd";
|
|
400
440
|
readonly SATS: "sats";
|
|
441
|
+
readonly TOKEN: "token";
|
|
401
442
|
};
|
|
402
443
|
/**
|
|
403
444
|
* Kind of an indexed claim.
|
|
@@ -498,6 +539,11 @@ type EpochIterationHistoryDto = {
|
|
|
498
539
|
* accumulating or when no price was indexed near the draw.
|
|
499
540
|
*/
|
|
500
541
|
poolCombinedUsdAmount?: number | null;
|
|
542
|
+
/**
|
|
543
|
+
* SatRush token (base units) pot sealed into the draw; 0 while
|
|
544
|
+
* accumulating or when the draw predates the mint.
|
|
545
|
+
*/
|
|
546
|
+
poolTokenAmount: U64Dto;
|
|
501
547
|
/**
|
|
502
548
|
* USD pot sealed into the draw at trigger time; 0 while accumulating.
|
|
503
549
|
*/
|
|
@@ -546,6 +592,7 @@ type EpochIterationParticipantDto = {
|
|
|
546
592
|
* draw-time price; `null` for non-winners or when that price is unknown.
|
|
547
593
|
*/
|
|
548
594
|
wonCombinedUsdAmount?: number | null;
|
|
595
|
+
wonTokenAmount?: null | U64Dto;
|
|
549
596
|
wonUsdAmount?: null | U64Dto;
|
|
550
597
|
};
|
|
551
598
|
type EpochIterationParticipantsApiError400Error = ({
|
|
@@ -589,6 +636,11 @@ type EpochIterationWinnerDto = {
|
|
|
589
636
|
* draw-time price; `null` when that price is unknown.
|
|
590
637
|
*/
|
|
591
638
|
wonCombinedUsdAmount?: number | null;
|
|
639
|
+
/**
|
|
640
|
+
* SatRush token (base units) share of the pot; 0 for pre-mint wins.
|
|
641
|
+
*/
|
|
642
|
+
wonTokenAmount: U64Dto;
|
|
643
|
+
wonTokenShares?: null | U64Dto;
|
|
592
644
|
/**
|
|
593
645
|
* USD share of the pot; 0 for wins indexed from pre-extension events.
|
|
594
646
|
*/
|
|
@@ -627,6 +679,10 @@ type EpochVaultDto = {
|
|
|
627
679
|
* reports for the current iteration (which also folds in pending fees).
|
|
628
680
|
*/
|
|
629
681
|
activePoolCombinedUsdAmount: number;
|
|
682
|
+
/**
|
|
683
|
+
* Payout portion of `pool_token_amount` (see `active_pending_usd_amount`).
|
|
684
|
+
*/
|
|
685
|
+
activePoolTokenAmount: U64Dto;
|
|
630
686
|
/**
|
|
631
687
|
* Payout portion of `pool_usd_amount` (see `active_pending_usd_amount`).
|
|
632
688
|
*/
|
|
@@ -641,8 +697,8 @@ type EpochVaultDto = {
|
|
|
641
697
|
iterationId: number;
|
|
642
698
|
/**
|
|
643
699
|
* Wall-clock time of `last_trigger_slot`, derived from the current time
|
|
644
|
-
* and slot
|
|
645
|
-
* the not-yet-scheduled sentinel.
|
|
700
|
+
* and slot at the board's measured `slot_duration_ms` per slot. Null
|
|
701
|
+
* when the slot carries the not-yet-scheduled sentinel.
|
|
646
702
|
*/
|
|
647
703
|
iterationStartedAt?: Date | null;
|
|
648
704
|
/**
|
|
@@ -657,6 +713,10 @@ type EpochVaultDto = {
|
|
|
657
713
|
* Post-swap BTC available to be drawn into a pot.
|
|
658
714
|
*/
|
|
659
715
|
poolBtcAmount: U64Dto;
|
|
716
|
+
/**
|
|
717
|
+
* SatRush tokens (base units) available to be drawn into a pot.
|
|
718
|
+
*/
|
|
719
|
+
poolTokenAmount: U64Dto;
|
|
660
720
|
/**
|
|
661
721
|
* Post-swap USD available to be drawn into a pot.
|
|
662
722
|
*/
|
|
@@ -665,6 +725,10 @@ type EpochVaultDto = {
|
|
|
665
725
|
* BTC committed to open draws (awaiting winner claims).
|
|
666
726
|
*/
|
|
667
727
|
reservedBtcAmount: U64Dto;
|
|
728
|
+
/**
|
|
729
|
+
* Tokens committed to open draws (awaiting distribution).
|
|
730
|
+
*/
|
|
731
|
+
reservedTokenAmount: U64Dto;
|
|
668
732
|
/**
|
|
669
733
|
* USD committed to open draws (awaiting winner claims).
|
|
670
734
|
*/
|
|
@@ -694,6 +758,7 @@ type EpochVaultEntryDto = {
|
|
|
694
758
|
type EpochVaultIterationDto = {
|
|
695
759
|
address: PubkeyDto;
|
|
696
760
|
claimableBtc?: null | U64Dto;
|
|
761
|
+
claimableToken?: null | U64Dto;
|
|
697
762
|
claimableUsd?: null | U64Dto;
|
|
698
763
|
id: number;
|
|
699
764
|
pageCount: number;
|
|
@@ -770,6 +835,10 @@ type EpochWinnerHistoryDto = {
|
|
|
770
835
|
* BTC share of the pot; 0 for wins indexed from pre-extension events.
|
|
771
836
|
*/
|
|
772
837
|
wonBtcAmount: U64Dto;
|
|
838
|
+
/**
|
|
839
|
+
* SatRush token (base units) share of the pot; 0 for pre-mint wins.
|
|
840
|
+
*/
|
|
841
|
+
wonTokenAmount: U64Dto;
|
|
773
842
|
/**
|
|
774
843
|
* USD share of the pot; 0 for wins indexed from pre-extension events.
|
|
775
844
|
*/
|
|
@@ -934,8 +1003,10 @@ declare const LeaderboardSortDto: {
|
|
|
934
1003
|
*/
|
|
935
1004
|
type LeaderboardSortDto = typeof LeaderboardSortDto[keyof typeof LeaderboardSortDto];
|
|
936
1005
|
/**
|
|
937
|
-
* A miner's claim as recorded by the rounds indexer from a `claim_usd
|
|
938
|
-
* `claim_sats` instruction.
|
|
1006
|
+
* A miner's claim as recorded by the rounds indexer from a `claim_usd`,
|
|
1007
|
+
* `claim_sats` or `claim_token` instruction. Sats and token claims are
|
|
1008
|
+
* coupled on-chain: each redeems the same fraction of the other vault's
|
|
1009
|
+
* shares, so a row may carry both legs.
|
|
939
1010
|
*/
|
|
940
1011
|
type MinerClaimDto = {
|
|
941
1012
|
authority: PubkeyDto;
|
|
@@ -952,6 +1023,8 @@ type MinerClaimDto = {
|
|
|
952
1023
|
* Signature of the claiming transaction.
|
|
953
1024
|
*/
|
|
954
1025
|
signature: string;
|
|
1026
|
+
tokenSharesClaimed?: null | U64Dto;
|
|
1027
|
+
tokensReceived?: null | U64Dto;
|
|
955
1028
|
usdClaimed?: null | U64Dto;
|
|
956
1029
|
};
|
|
957
1030
|
/**
|
|
@@ -1013,6 +1086,16 @@ type MinerDeploymentDto = {
|
|
|
1013
1086
|
* `null` until the deployment is settled.
|
|
1014
1087
|
*/
|
|
1015
1088
|
settledAt?: Date | null;
|
|
1089
|
+
/**
|
|
1090
|
+
* Exact SatRush tokens (base units) deposited into the Token Vault for
|
|
1091
|
+
* the winnings; 0 until settled, when the winnings were dust, or for
|
|
1092
|
+
* pre-mint settles.
|
|
1093
|
+
*/
|
|
1094
|
+
tokenEarned: U64Dto;
|
|
1095
|
+
/**
|
|
1096
|
+
* Token Vault shares minted for `token_earned`; 0 until settled.
|
|
1097
|
+
*/
|
|
1098
|
+
tokenSharesEarned: U64Dto;
|
|
1016
1099
|
/**
|
|
1017
1100
|
* Total USD stake across the deployment's selected tiles.
|
|
1018
1101
|
*/
|
|
@@ -1091,6 +1174,18 @@ type MinerDto = {
|
|
|
1091
1174
|
* Lifetime sats winnings settled.
|
|
1092
1175
|
*/
|
|
1093
1176
|
totalSatsEarned: U64Dto;
|
|
1177
|
+
/**
|
|
1178
|
+
* Lifetime Token Vault shares claimed.
|
|
1179
|
+
*/
|
|
1180
|
+
totalTokenSharesClaimed: U64Dto;
|
|
1181
|
+
/**
|
|
1182
|
+
* Lifetime Token Vault shares settled (round wins and epoch rewards).
|
|
1183
|
+
*/
|
|
1184
|
+
totalTokenSharesEarned: U64Dto;
|
|
1185
|
+
/**
|
|
1186
|
+
* Lifetime SatRush tokens (base units) received for claimed shares.
|
|
1187
|
+
*/
|
|
1188
|
+
totalTokensReceived: U64Dto;
|
|
1094
1189
|
/**
|
|
1095
1190
|
* Lifetime USD claimed.
|
|
1096
1191
|
*/
|
|
@@ -1111,6 +1206,10 @@ type MinerDto = {
|
|
|
1111
1206
|
* BTC shares in the Sats Vault not yet claimed.
|
|
1112
1207
|
*/
|
|
1113
1208
|
unclaimedSatsShares: U64Dto;
|
|
1209
|
+
/**
|
|
1210
|
+
* Shares in the Token Vault not yet claimed.
|
|
1211
|
+
*/
|
|
1212
|
+
unclaimedTokenShares: U64Dto;
|
|
1114
1213
|
/**
|
|
1115
1214
|
* USD rewards not yet claimed.
|
|
1116
1215
|
*/
|
|
@@ -1120,11 +1219,21 @@ type MinerDto = {
|
|
|
1120
1219
|
* Zero while the vault account is not loaded.
|
|
1121
1220
|
*/
|
|
1122
1221
|
unrealizedBtcPnl: I64Dto;
|
|
1222
|
+
/**
|
|
1223
|
+
* Unrealized PNL in token base units: `token_current_value -
|
|
1224
|
+
* token_cost_basis`. Zero while the token vault is not loaded.
|
|
1225
|
+
*/
|
|
1226
|
+
unrealizedTokenPnl: I64Dto;
|
|
1123
1227
|
/**
|
|
1124
1228
|
* Sats Vault shares pending deployment settlement, estimated at the
|
|
1125
1229
|
* vault's current exchange rate.
|
|
1126
1230
|
*/
|
|
1127
1231
|
unsettledSatsShares: U64Dto;
|
|
1232
|
+
/**
|
|
1233
|
+
* Token Vault shares pending deployment settlement (winners' and losers'
|
|
1234
|
+
* token legs), estimated at the vault's current exchange rate.
|
|
1235
|
+
*/
|
|
1236
|
+
unsettledTokenShares: U64Dto;
|
|
1128
1237
|
/**
|
|
1129
1238
|
* USD winnings on settled rounds pending deployment settlement. Derived
|
|
1130
1239
|
* from the miner's open deployments; includes amounts an automation
|
|
@@ -1180,6 +1289,8 @@ type MinerEpochEntryDto = {
|
|
|
1180
1289
|
* no price was indexed near the draw.
|
|
1181
1290
|
*/
|
|
1182
1291
|
wonCombinedUsdAmount?: number | null;
|
|
1292
|
+
wonTokenAmount?: null | U64Dto;
|
|
1293
|
+
wonTokenShares?: null | U64Dto;
|
|
1183
1294
|
wonUsdAmount?: null | U64Dto;
|
|
1184
1295
|
};
|
|
1185
1296
|
/**
|
|
@@ -1483,6 +1594,17 @@ type PricesDto = {
|
|
|
1483
1594
|
* USD price of a single sats-vault share.
|
|
1484
1595
|
*/
|
|
1485
1596
|
sat: number;
|
|
1597
|
+
/**
|
|
1598
|
+
* USD price of one whole SatRush token, the mint program's latest
|
|
1599
|
+
* on-chain oracle spot; `null` until the mint program's oracle is
|
|
1600
|
+
* loaded.
|
|
1601
|
+
*/
|
|
1602
|
+
token?: number | null;
|
|
1603
|
+
/**
|
|
1604
|
+
* USD price of a single token-vault share; `null` until both the token
|
|
1605
|
+
* vault and the oracle are loaded.
|
|
1606
|
+
*/
|
|
1607
|
+
tokenShare?: number | null;
|
|
1486
1608
|
};
|
|
1487
1609
|
/**
|
|
1488
1610
|
* A user's profile: their miner account, active automation, currently-open
|
|
@@ -1586,6 +1708,51 @@ type PublicDeploymentDto = {
|
|
|
1586
1708
|
*/
|
|
1587
1709
|
selectionMask: number;
|
|
1588
1710
|
};
|
|
1711
|
+
/**
|
|
1712
|
+
* A miner referred by an affiliate.
|
|
1713
|
+
*/
|
|
1714
|
+
type ReferralDto = {
|
|
1715
|
+
authority: PubkeyDto;
|
|
1716
|
+
/**
|
|
1717
|
+
* When the miner first deployed (the deploy that bound it to the
|
|
1718
|
+
* affiliate); `null` if it only created its miner without playing.
|
|
1719
|
+
*/
|
|
1720
|
+
firstDeployedAt?: Date | null;
|
|
1721
|
+
/**
|
|
1722
|
+
* Grubstake the affiliate earned from this miner's plays (affiliate
|
|
1723
|
+
* points, USD base units).
|
|
1724
|
+
*/
|
|
1725
|
+
grubstakeEarned: U64Dto;
|
|
1726
|
+
/**
|
|
1727
|
+
* Lifetime count of deployments.
|
|
1728
|
+
*/
|
|
1729
|
+
totalDeployments: number;
|
|
1730
|
+
/**
|
|
1731
|
+
* Lifetime gross USD deployed (USD base units).
|
|
1732
|
+
*/
|
|
1733
|
+
totalUsdDeployed: U64Dto;
|
|
1734
|
+
};
|
|
1735
|
+
/**
|
|
1736
|
+
* Sort key of a referrals page.
|
|
1737
|
+
*/
|
|
1738
|
+
declare const ReferralSortDto: {
|
|
1739
|
+
readonly USD_VOLUME: "usd_volume";
|
|
1740
|
+
readonly FIRST_DEPLOYED_AT: "first_deployed_at";
|
|
1741
|
+
};
|
|
1742
|
+
/**
|
|
1743
|
+
* Sort key of a referrals page.
|
|
1744
|
+
*/
|
|
1745
|
+
type ReferralSortDto = typeof ReferralSortDto[keyof typeof ReferralSortDto];
|
|
1746
|
+
/**
|
|
1747
|
+
* One page of an affiliate's referrals.
|
|
1748
|
+
*/
|
|
1749
|
+
type ReferralsPageDto = {
|
|
1750
|
+
entries: Array<ReferralDto>;
|
|
1751
|
+
/**
|
|
1752
|
+
* Referred miners across all pages.
|
|
1753
|
+
*/
|
|
1754
|
+
total: number;
|
|
1755
|
+
};
|
|
1589
1756
|
/**
|
|
1590
1757
|
* One deployment onto a round: the deploy itself plus its settlement
|
|
1591
1758
|
* outcome once the round is settled.
|
|
@@ -1636,6 +1803,16 @@ type RoundDeploymentDto = {
|
|
|
1636
1803
|
* `null` until the deployment is settled.
|
|
1637
1804
|
*/
|
|
1638
1805
|
settledAt?: Date | null;
|
|
1806
|
+
/**
|
|
1807
|
+
* Exact SatRush tokens (base units) deposited into the token vault for
|
|
1808
|
+
* the winnings; 0 until settled, when the winnings were dust, or for
|
|
1809
|
+
* pre-mint settles.
|
|
1810
|
+
*/
|
|
1811
|
+
tokenEarned: U64Dto;
|
|
1812
|
+
/**
|
|
1813
|
+
* Token-vault shares minted for `token_earned`; 0 until settled.
|
|
1814
|
+
*/
|
|
1815
|
+
tokenSharesEarned: U64Dto;
|
|
1639
1816
|
/**
|
|
1640
1817
|
* Total USD stake across the deployment's selected tiles.
|
|
1641
1818
|
*/
|
|
@@ -1686,6 +1863,11 @@ type RoundDetailsDto = {
|
|
|
1686
1863
|
*/
|
|
1687
1864
|
isSatStrike?: boolean | null;
|
|
1688
1865
|
minersCount: number;
|
|
1866
|
+
/**
|
|
1867
|
+
* SatRush tokens (base units) the mint program issued for the round;
|
|
1868
|
+
* 0 until revealed, or when the round predates the mint.
|
|
1869
|
+
*/
|
|
1870
|
+
mintedToken: U64Dto;
|
|
1689
1871
|
oneBtcFeeUsd?: null | U64Dto;
|
|
1690
1872
|
protocolFeeUsd?: null | U64Dto;
|
|
1691
1873
|
/**
|
|
@@ -1707,14 +1889,39 @@ type RoundDetailsDto = {
|
|
|
1707
1889
|
* revealed or when no price was indexed near that moment.
|
|
1708
1890
|
*/
|
|
1709
1891
|
strikeBonusCombinedUsd?: number | null;
|
|
1892
|
+
/**
|
|
1893
|
+
* Token strike bonus paid on top of the winners' leg; 0 until revealed
|
|
1894
|
+
* or pre-mint.
|
|
1895
|
+
*/
|
|
1896
|
+
strikeBonusToken: U64Dto;
|
|
1710
1897
|
strikeBonusUsd?: null | U64Dto;
|
|
1711
1898
|
strikeEpochBtc?: null | U64Dto;
|
|
1899
|
+
/**
|
|
1900
|
+
* Token strike skim moved to the Epoch Vault; 0 until revealed or
|
|
1901
|
+
* pre-mint.
|
|
1902
|
+
*/
|
|
1903
|
+
strikeEpochToken: U64Dto;
|
|
1712
1904
|
strikeEpochUsd?: null | U64Dto;
|
|
1713
1905
|
strikeFeeUsd?: null | U64Dto;
|
|
1714
1906
|
strikeReserveBtc?: null | U64Dto;
|
|
1907
|
+
/**
|
|
1908
|
+
* Tokens deposited into the strike reserve; 0 until revealed or
|
|
1909
|
+
* pre-mint.
|
|
1910
|
+
*/
|
|
1911
|
+
strikeReserveToken: U64Dto;
|
|
1715
1912
|
strikeReserveUsd?: null | U64Dto;
|
|
1716
1913
|
strikeSeedFromReserveBtc?: null | U64Dto;
|
|
1914
|
+
/**
|
|
1915
|
+
* Tokens contributed from the reserve into the carry seed; 0 until
|
|
1916
|
+
* revealed or pre-mint.
|
|
1917
|
+
*/
|
|
1918
|
+
strikeSeedFromReserveToken: U64Dto;
|
|
1717
1919
|
strikeSeedFromReserveUsd?: null | U64Dto;
|
|
1920
|
+
/**
|
|
1921
|
+
* Token strike leg as booked at the reveal (14% plus dust plus any
|
|
1922
|
+
* rerouted player leg); 0 until revealed or pre-mint.
|
|
1923
|
+
*/
|
|
1924
|
+
strikeTokenFee: U64Dto;
|
|
1718
1925
|
/**
|
|
1719
1926
|
* Sum of the miners' stakes after the protocol fees were taken; what
|
|
1720
1927
|
* funds the pot.
|
|
@@ -1761,10 +1968,19 @@ type RoundDto = {
|
|
|
1761
1968
|
*/
|
|
1762
1969
|
isHashrateBoosted: boolean;
|
|
1763
1970
|
minersCount: number;
|
|
1971
|
+
/**
|
|
1972
|
+
* SatRush tokens (base units) the mint program issued for the round at
|
|
1973
|
+
* its reveal; 0 until revealed.
|
|
1974
|
+
*/
|
|
1975
|
+
mintedTokenAmount: U64Dto;
|
|
1764
1976
|
revealedMinersCount: number;
|
|
1765
1977
|
settledMinersCount: number;
|
|
1766
1978
|
state: RoundStateDto;
|
|
1767
1979
|
strikeBonusBtc: U64Dto;
|
|
1980
|
+
/**
|
|
1981
|
+
* Token strike bonus paid on top of the winners' token leg.
|
|
1982
|
+
*/
|
|
1983
|
+
strikeBonusToken: U64Dto;
|
|
1768
1984
|
strikeBonusUsd: U64Dto;
|
|
1769
1985
|
tileStakes: Array<TileStakeDto>;
|
|
1770
1986
|
/**
|
|
@@ -1795,6 +2011,11 @@ type RoundHistoryDto = {
|
|
|
1795
2011
|
*/
|
|
1796
2012
|
isSatStrike?: boolean | null;
|
|
1797
2013
|
minersCount: number;
|
|
2014
|
+
/**
|
|
2015
|
+
* SatRush tokens (base units) the mint program issued for the round;
|
|
2016
|
+
* 0 until revealed, or when the round predates the mint.
|
|
2017
|
+
*/
|
|
2018
|
+
mintedToken: U64Dto;
|
|
1798
2019
|
/**
|
|
1799
2020
|
* When the round's pots were settled.
|
|
1800
2021
|
*/
|
|
@@ -1810,13 +2031,38 @@ type RoundHistoryDto = {
|
|
|
1810
2031
|
* revealed or when no price was indexed near that moment.
|
|
1811
2032
|
*/
|
|
1812
2033
|
strikeBonusCombinedUsd?: number | null;
|
|
2034
|
+
/**
|
|
2035
|
+
* Token strike bonus paid on top of the winners' leg; 0 until revealed
|
|
2036
|
+
* or pre-mint.
|
|
2037
|
+
*/
|
|
2038
|
+
strikeBonusToken: U64Dto;
|
|
1813
2039
|
strikeBonusUsd?: null | U64Dto;
|
|
1814
2040
|
strikeEpochBtc?: null | U64Dto;
|
|
2041
|
+
/**
|
|
2042
|
+
* Token strike skim moved to the Epoch Vault; 0 until revealed or
|
|
2043
|
+
* pre-mint.
|
|
2044
|
+
*/
|
|
2045
|
+
strikeEpochToken: U64Dto;
|
|
1815
2046
|
strikeEpochUsd?: null | U64Dto;
|
|
1816
2047
|
strikeReserveBtc?: null | U64Dto;
|
|
2048
|
+
/**
|
|
2049
|
+
* Tokens deposited into the strike reserve; 0 until revealed or
|
|
2050
|
+
* pre-mint.
|
|
2051
|
+
*/
|
|
2052
|
+
strikeReserveToken: U64Dto;
|
|
1817
2053
|
strikeReserveUsd?: null | U64Dto;
|
|
1818
2054
|
strikeSeedFromReserveBtc?: null | U64Dto;
|
|
2055
|
+
/**
|
|
2056
|
+
* Tokens contributed from the reserve into the carry seed; 0 until
|
|
2057
|
+
* revealed or pre-mint.
|
|
2058
|
+
*/
|
|
2059
|
+
strikeSeedFromReserveToken: U64Dto;
|
|
1819
2060
|
strikeSeedFromReserveUsd?: null | U64Dto;
|
|
2061
|
+
/**
|
|
2062
|
+
* Token strike leg as booked at the reveal (14% plus dust plus any
|
|
2063
|
+
* rerouted player leg); 0 until revealed or pre-mint.
|
|
2064
|
+
*/
|
|
2065
|
+
strikeTokenFee: U64Dto;
|
|
1820
2066
|
/**
|
|
1821
2067
|
* Sum of the miners' stakes after the protocol fees were taken; what
|
|
1822
2068
|
* funds the pot.
|
|
@@ -1919,10 +2165,6 @@ type SatrushConfigDto = {
|
|
|
1919
2165
|
* Protocol fee in basis points.
|
|
1920
2166
|
*/
|
|
1921
2167
|
protocolFeeBps: number;
|
|
1922
|
-
/**
|
|
1923
|
-
* Sats Vault claim fee in basis points.
|
|
1924
|
-
*/
|
|
1925
|
-
satsVaultClaimFeeBps: number;
|
|
1926
2168
|
/**
|
|
1927
2169
|
* Sats Vault round fee in basis points.
|
|
1928
2170
|
*/
|
|
@@ -1931,6 +2173,10 @@ type SatrushConfigDto = {
|
|
|
1931
2173
|
* Strike jackpot fee in basis points.
|
|
1932
2174
|
*/
|
|
1933
2175
|
strikeFeeBps: number;
|
|
2176
|
+
/**
|
|
2177
|
+
* The SatRush token mint, issued per round by the mint program.
|
|
2178
|
+
*/
|
|
2179
|
+
tokenMint: PubkeyDto;
|
|
1934
2180
|
/**
|
|
1935
2181
|
* Share of each settled play's hashrate reward deferred until the sats claim in basis points.
|
|
1936
2182
|
*/
|
|
@@ -1939,6 +2185,10 @@ type SatrushConfigDto = {
|
|
|
1939
2185
|
* USD mint (initially USDC).
|
|
1940
2186
|
*/
|
|
1941
2187
|
usdMint: PubkeyDto;
|
|
2188
|
+
/**
|
|
2189
|
+
* Vault exit fee in basis points, applied to both the sats and token vaults.
|
|
2190
|
+
*/
|
|
2191
|
+
vaultExitFeeBps: number;
|
|
1942
2192
|
};
|
|
1943
2193
|
/**
|
|
1944
2194
|
* Sats vault balances: the BTC backing and the shares issued against it.
|
|
@@ -1965,12 +2215,84 @@ type SnapshotDto = {
|
|
|
1965
2215
|
entity: NotificationEntity;
|
|
1966
2216
|
profile?: null | ProfileDto;
|
|
1967
2217
|
};
|
|
2218
|
+
/**
|
|
2219
|
+
* Direction of a sorted page.
|
|
2220
|
+
*/
|
|
2221
|
+
declare const SortOrderDto: {
|
|
2222
|
+
readonly DESC: "desc";
|
|
2223
|
+
readonly ASC: "asc";
|
|
2224
|
+
};
|
|
2225
|
+
/**
|
|
2226
|
+
* Direction of a sorted page.
|
|
2227
|
+
*/
|
|
2228
|
+
type SortOrderDto = typeof SortOrderDto[keyof typeof SortOrderDto];
|
|
1968
2229
|
type SseResponse = {
|
|
1969
2230
|
entity: 'state_snapshot';
|
|
1970
2231
|
} & SseResponseSnapshot;
|
|
1971
2232
|
type SseResponseSnapshot = SnapshotDto & {
|
|
1972
2233
|
entity: 'state_snapshot';
|
|
1973
2234
|
};
|
|
2235
|
+
/**
|
|
2236
|
+
* A wallet's staking position, projected to the moment of the request.
|
|
2237
|
+
*/
|
|
2238
|
+
type StakingPositionDto = {
|
|
2239
|
+
/**
|
|
2240
|
+
* The position account (`["position", authority]`).
|
|
2241
|
+
*/
|
|
2242
|
+
address: PubkeyDto;
|
|
2243
|
+
authority: PubkeyDto;
|
|
2244
|
+
/**
|
|
2245
|
+
* Staked base units (1 share = 1 unit).
|
|
2246
|
+
*/
|
|
2247
|
+
shares: U64Dto;
|
|
2248
|
+
/**
|
|
2249
|
+
* Everything a `claim_reward` sent now would pay (reward base units):
|
|
2250
|
+
* the reward settled on-chain plus the stream accrued since the
|
|
2251
|
+
* position's last snapshot, replayed from the treasury and position
|
|
2252
|
+
* accounts in state.
|
|
2253
|
+
*/
|
|
2254
|
+
unclaimedReward: U64Dto;
|
|
2255
|
+
};
|
|
2256
|
+
type StakingTreasuryApiError404Error = {
|
|
2257
|
+
code: 'not_found';
|
|
2258
|
+
};
|
|
2259
|
+
type StakingTreasuryApiError500Error = {
|
|
2260
|
+
code: 'internal';
|
|
2261
|
+
};
|
|
2262
|
+
/**
|
|
2263
|
+
* The staking treasury: the two tokens, their vaults and the totals.
|
|
2264
|
+
*/
|
|
2265
|
+
type StakingTreasuryDto = {
|
|
2266
|
+
address: PubkeyDto;
|
|
2267
|
+
/**
|
|
2268
|
+
* Token users earn (8 decimals).
|
|
2269
|
+
*/
|
|
2270
|
+
rewardTokenMint: PubkeyDto;
|
|
2271
|
+
/**
|
|
2272
|
+
* The treasury's associated token account the rewards are paid from.
|
|
2273
|
+
*/
|
|
2274
|
+
rewardVault: PubkeyDto;
|
|
2275
|
+
/**
|
|
2276
|
+
* Token users stake (9 decimals).
|
|
2277
|
+
*/
|
|
2278
|
+
stakedTokenMint: PubkeyDto;
|
|
2279
|
+
/**
|
|
2280
|
+
* The treasury's associated token account holding every stake.
|
|
2281
|
+
*/
|
|
2282
|
+
stakedVault: PubkeyDto;
|
|
2283
|
+
/**
|
|
2284
|
+
* Lifetime reward deposited through `deposit_reward` (reward base units).
|
|
2285
|
+
*/
|
|
2286
|
+
totalRewardDeposited: U64Dto;
|
|
2287
|
+
/**
|
|
2288
|
+
* Staked base units across every position.
|
|
2289
|
+
*/
|
|
2290
|
+
totalStaked: U64Dto;
|
|
2291
|
+
/**
|
|
2292
|
+
* Positions with a non-zero stake right now.
|
|
2293
|
+
*/
|
|
2294
|
+
totalStakers: number;
|
|
2295
|
+
};
|
|
1974
2296
|
/**
|
|
1975
2297
|
* Strike jackpot balances tracked on the board.
|
|
1976
2298
|
*/
|
|
@@ -2001,11 +2323,24 @@ type StrikeJackpotDto = {
|
|
|
2001
2323
|
* price.
|
|
2002
2324
|
*/
|
|
2003
2325
|
poolCombinedUsdAmount: number;
|
|
2326
|
+
/**
|
|
2327
|
+
* Payout portion of `token_amount` (see `pool_usd_amount`).
|
|
2328
|
+
*/
|
|
2329
|
+
poolTokenAmount: U64Dto;
|
|
2004
2330
|
/**
|
|
2005
2331
|
* Payout portion of `usd_amount` — the pot minus the 30% that rolls
|
|
2006
2332
|
* over to seed the next strike pot.
|
|
2007
2333
|
*/
|
|
2008
2334
|
poolUsdAmount: U64Dto;
|
|
2335
|
+
/**
|
|
2336
|
+
* Tokens held in the strike reserve.
|
|
2337
|
+
*/
|
|
2338
|
+
reserveTokenAmount: U64Dto;
|
|
2339
|
+
/**
|
|
2340
|
+
* SatRush tokens (base units) in the strike pot: the strike leg of
|
|
2341
|
+
* every round's mint plus any rerouted player leg.
|
|
2342
|
+
*/
|
|
2343
|
+
tokenAmount: U64Dto;
|
|
2009
2344
|
/**
|
|
2010
2345
|
* USD held after the swap.
|
|
2011
2346
|
*/
|
|
@@ -2018,6 +2353,31 @@ type TileStakeDto = {
|
|
|
2018
2353
|
deployCount: number;
|
|
2019
2354
|
stake: U64Dto;
|
|
2020
2355
|
};
|
|
2356
|
+
/**
|
|
2357
|
+
* Token vault balances: the SatRush tokens backing the shares issued against
|
|
2358
|
+
* them. Same share math as the sats vault.
|
|
2359
|
+
*/
|
|
2360
|
+
type TokenVaultDto = {
|
|
2361
|
+
address: PubkeyDto;
|
|
2362
|
+
/**
|
|
2363
|
+
* Rolling 7-day projected APR in percentage points (12.0 = 12%): the
|
|
2364
|
+
* average hourly share-price return over the trailing 7 days,
|
|
2365
|
+
* annualized. `null` until enough history is indexed.
|
|
2366
|
+
*/
|
|
2367
|
+
apr?: number | null;
|
|
2368
|
+
/**
|
|
2369
|
+
* Tokens left behind by full drains; back no shares.
|
|
2370
|
+
*/
|
|
2371
|
+
leftovers: U64Dto;
|
|
2372
|
+
/**
|
|
2373
|
+
* Total tokens (base units) backing outstanding shares.
|
|
2374
|
+
*/
|
|
2375
|
+
tokenAmount: U64Dto;
|
|
2376
|
+
/**
|
|
2377
|
+
* Total shares issued against `token_amount`.
|
|
2378
|
+
*/
|
|
2379
|
+
tokenShares: U64Dto;
|
|
2380
|
+
};
|
|
2021
2381
|
/**
|
|
2022
2382
|
* Unsigned 128-bit integer encoded as a decimal string.
|
|
2023
2383
|
*/
|
|
@@ -2026,6 +2386,20 @@ type U128Dto = bigint;
|
|
|
2026
2386
|
* Unsigned 64-bit integer encoded as a decimal string.
|
|
2027
2387
|
*/
|
|
2028
2388
|
type U64Dto = bigint;
|
|
2389
|
+
type UserAffiliateApiError400Error = ({
|
|
2390
|
+
code: 'invalid_address';
|
|
2391
|
+
} & UserAffiliateApiError400InvalidAddress) | ({
|
|
2392
|
+
code: 'invalid_body' | 'invalid_path' | 'invalid_query';
|
|
2393
|
+
} & BadRequestErrorCodeErrorBody);
|
|
2394
|
+
type UserAffiliateApiError400InvalidAddress = {
|
|
2395
|
+
code: 'invalid_address';
|
|
2396
|
+
};
|
|
2397
|
+
type UserAffiliateApiError404Error = {
|
|
2398
|
+
code: 'not_found';
|
|
2399
|
+
};
|
|
2400
|
+
type UserAffiliateApiError500Error = {
|
|
2401
|
+
code: 'internal';
|
|
2402
|
+
};
|
|
2029
2403
|
type UserClaimsApiError400Error = ({
|
|
2030
2404
|
code: 'invalid_address';
|
|
2031
2405
|
} & UserClaimsApiError400InvalidAddress) | ({
|
|
@@ -2097,6 +2471,31 @@ type UserProfileApiError400Error = ({
|
|
|
2097
2471
|
type UserProfileApiError400InvalidAddress = {
|
|
2098
2472
|
code: 'invalid_address';
|
|
2099
2473
|
};
|
|
2474
|
+
type UserReferralsApiError400Error = ({
|
|
2475
|
+
code: 'invalid_address';
|
|
2476
|
+
} & UserReferralsApiError400InvalidAddress) | ({
|
|
2477
|
+
code: 'invalid_body' | 'invalid_path' | 'invalid_query';
|
|
2478
|
+
} & BadRequestErrorCodeErrorBody);
|
|
2479
|
+
type UserReferralsApiError400InvalidAddress = {
|
|
2480
|
+
code: 'invalid_address';
|
|
2481
|
+
};
|
|
2482
|
+
type UserReferralsApiError500Error = {
|
|
2483
|
+
code: 'internal';
|
|
2484
|
+
};
|
|
2485
|
+
type UserStakingApiError400Error = ({
|
|
2486
|
+
code: 'invalid_address';
|
|
2487
|
+
} & UserStakingApiError400InvalidAddress) | ({
|
|
2488
|
+
code: 'invalid_body' | 'invalid_path' | 'invalid_query';
|
|
2489
|
+
} & BadRequestErrorCodeErrorBody);
|
|
2490
|
+
type UserStakingApiError400InvalidAddress = {
|
|
2491
|
+
code: 'invalid_address';
|
|
2492
|
+
};
|
|
2493
|
+
type UserStakingApiError404Error = {
|
|
2494
|
+
code: 'not_found';
|
|
2495
|
+
};
|
|
2496
|
+
type UserStakingApiError500Error = {
|
|
2497
|
+
code: 'internal';
|
|
2498
|
+
};
|
|
2100
2499
|
type UserVaultEntriesApiError400Error = ({
|
|
2101
2500
|
code: 'invalid_address';
|
|
2102
2501
|
} & UserVaultEntriesApiError400InvalidAddress) | ({
|
|
@@ -2609,6 +3008,23 @@ type GetRoundResponses = {
|
|
|
2609
3008
|
};
|
|
2610
3009
|
};
|
|
2611
3010
|
type GetRoundResponse = GetRoundResponses[keyof GetRoundResponses];
|
|
3011
|
+
type GetStakingTreasuryData = {
|
|
3012
|
+
body?: never;
|
|
3013
|
+
path?: never;
|
|
3014
|
+
query?: never;
|
|
3015
|
+
url: '/v1/staking/treasury';
|
|
3016
|
+
};
|
|
3017
|
+
type GetStakingTreasuryErrors = {
|
|
3018
|
+
404: StakingTreasuryApiError404Error;
|
|
3019
|
+
500: StakingTreasuryApiError500Error;
|
|
3020
|
+
};
|
|
3021
|
+
type GetStakingTreasuryError = GetStakingTreasuryErrors[keyof GetStakingTreasuryErrors];
|
|
3022
|
+
type GetStakingTreasuryResponses = {
|
|
3023
|
+
200: {
|
|
3024
|
+
data: StakingTreasuryDto;
|
|
3025
|
+
};
|
|
3026
|
+
};
|
|
3027
|
+
type GetStakingTreasuryResponse = GetStakingTreasuryResponses[keyof GetStakingTreasuryResponses];
|
|
2612
3028
|
type SseData = {
|
|
2613
3029
|
body?: never;
|
|
2614
3030
|
path?: never;
|
|
@@ -2660,6 +3076,30 @@ type GetUserProfileResponses = {
|
|
|
2660
3076
|
};
|
|
2661
3077
|
};
|
|
2662
3078
|
type GetUserProfileResponse = GetUserProfileResponses[keyof GetUserProfileResponses];
|
|
3079
|
+
type GetUserAffiliateData = {
|
|
3080
|
+
body?: never;
|
|
3081
|
+
path: {
|
|
3082
|
+
/**
|
|
3083
|
+
* User wallet address (base58)
|
|
3084
|
+
*/
|
|
3085
|
+
address: string;
|
|
3086
|
+
};
|
|
3087
|
+
query?: never;
|
|
3088
|
+
url: '/v1/users/{address}/affiliate';
|
|
3089
|
+
};
|
|
3090
|
+
type GetUserAffiliateErrors = {
|
|
3091
|
+
400: UserAffiliateApiError400Error;
|
|
3092
|
+
404: UserAffiliateApiError404Error;
|
|
3093
|
+
422: ValidationErrorCodeErrorBody;
|
|
3094
|
+
500: UserAffiliateApiError500Error;
|
|
3095
|
+
};
|
|
3096
|
+
type GetUserAffiliateError = GetUserAffiliateErrors[keyof GetUserAffiliateErrors];
|
|
3097
|
+
type GetUserAffiliateResponses = {
|
|
3098
|
+
200: {
|
|
3099
|
+
data: AffiliateStatsDto;
|
|
3100
|
+
};
|
|
3101
|
+
};
|
|
3102
|
+
type GetUserAffiliateResponse = GetUserAffiliateResponses[keyof GetUserAffiliateResponses];
|
|
2663
3103
|
type GetUserClaimsData = {
|
|
2664
3104
|
body?: never;
|
|
2665
3105
|
path: {
|
|
@@ -2858,6 +3298,70 @@ type GetUserOneBtcEntriesResponses = {
|
|
|
2858
3298
|
};
|
|
2859
3299
|
};
|
|
2860
3300
|
type GetUserOneBtcEntriesResponse = GetUserOneBtcEntriesResponses[keyof GetUserOneBtcEntriesResponses];
|
|
3301
|
+
type GetUserReferralsData = {
|
|
3302
|
+
body?: never;
|
|
3303
|
+
path: {
|
|
3304
|
+
/**
|
|
3305
|
+
* User wallet address (base58)
|
|
3306
|
+
*/
|
|
3307
|
+
address: string;
|
|
3308
|
+
};
|
|
3309
|
+
query?: {
|
|
3310
|
+
/**
|
|
3311
|
+
* Sort key; defaults to `usd_volume`.
|
|
3312
|
+
*/
|
|
3313
|
+
sort?: ReferralSortDto;
|
|
3314
|
+
/**
|
|
3315
|
+
* Sort direction; defaults to `desc`.
|
|
3316
|
+
*/
|
|
3317
|
+
order?: SortOrderDto;
|
|
3318
|
+
/**
|
|
3319
|
+
* Referrals to skip; defaults to 0.
|
|
3320
|
+
*/
|
|
3321
|
+
offset?: number;
|
|
3322
|
+
/**
|
|
3323
|
+
* Page size, 1..=100; defaults to 50.
|
|
3324
|
+
*/
|
|
3325
|
+
limit?: number;
|
|
3326
|
+
};
|
|
3327
|
+
url: '/v1/users/{address}/referrals';
|
|
3328
|
+
};
|
|
3329
|
+
type GetUserReferralsErrors = {
|
|
3330
|
+
400: UserReferralsApiError400Error;
|
|
3331
|
+
422: ValidationErrorCodeErrorBody;
|
|
3332
|
+
500: UserReferralsApiError500Error;
|
|
3333
|
+
};
|
|
3334
|
+
type GetUserReferralsError = GetUserReferralsErrors[keyof GetUserReferralsErrors];
|
|
3335
|
+
type GetUserReferralsResponses = {
|
|
3336
|
+
200: {
|
|
3337
|
+
data: ReferralsPageDto;
|
|
3338
|
+
};
|
|
3339
|
+
};
|
|
3340
|
+
type GetUserReferralsResponse = GetUserReferralsResponses[keyof GetUserReferralsResponses];
|
|
3341
|
+
type GetUserStakingData = {
|
|
3342
|
+
body?: never;
|
|
3343
|
+
path: {
|
|
3344
|
+
/**
|
|
3345
|
+
* Staker wallet address (base58)
|
|
3346
|
+
*/
|
|
3347
|
+
address: string;
|
|
3348
|
+
};
|
|
3349
|
+
query?: never;
|
|
3350
|
+
url: '/v1/users/{address}/staking';
|
|
3351
|
+
};
|
|
3352
|
+
type GetUserStakingErrors = {
|
|
3353
|
+
400: UserStakingApiError400Error;
|
|
3354
|
+
404: UserStakingApiError404Error;
|
|
3355
|
+
422: ValidationErrorCodeErrorBody;
|
|
3356
|
+
500: UserStakingApiError500Error;
|
|
3357
|
+
};
|
|
3358
|
+
type GetUserStakingError = GetUserStakingErrors[keyof GetUserStakingErrors];
|
|
3359
|
+
type GetUserStakingResponses = {
|
|
3360
|
+
200: {
|
|
3361
|
+
data: StakingPositionDto;
|
|
3362
|
+
};
|
|
3363
|
+
};
|
|
3364
|
+
type GetUserStakingResponse = GetUserStakingResponses[keyof GetUserStakingResponses];
|
|
2861
3365
|
|
|
2862
3366
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
|
|
2863
3367
|
/**
|
|
@@ -2993,6 +3497,10 @@ declare class SatrushBackendSdk extends HeyApiClient {
|
|
|
2993
3497
|
getRound<ThrowOnError extends boolean = false>(parameters: {
|
|
2994
3498
|
id: number;
|
|
2995
3499
|
}, options?: Options<never, ThrowOnError>): RequestResult<GetRoundResponses, GetRoundErrors, ThrowOnError, "fields">;
|
|
3500
|
+
/**
|
|
3501
|
+
* Request the staking treasury: configuration, authorities and the reward stream
|
|
3502
|
+
*/
|
|
3503
|
+
getStakingTreasury<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetStakingTreasuryResponses, GetStakingTreasuryErrors, ThrowOnError, "fields">;
|
|
2996
3504
|
/**
|
|
2997
3505
|
* Subscribe for SSE stream
|
|
2998
3506
|
*/
|
|
@@ -3005,6 +3513,12 @@ declare class SatrushBackendSdk extends HeyApiClient {
|
|
|
3005
3513
|
getUserProfile<ThrowOnError extends boolean = false>(parameters: {
|
|
3006
3514
|
address: string;
|
|
3007
3515
|
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserProfileResponses, GetUserProfileErrors, ThrowOnError, "fields">;
|
|
3516
|
+
/**
|
|
3517
|
+
* Request a wallet's affiliate stats over its referrals
|
|
3518
|
+
*/
|
|
3519
|
+
getUserAffiliate<ThrowOnError extends boolean = false>(parameters: {
|
|
3520
|
+
address: string;
|
|
3521
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserAffiliateResponses, GetUserAffiliateErrors, ThrowOnError, "fields">;
|
|
3008
3522
|
/**
|
|
3009
3523
|
* Request user claims
|
|
3010
3524
|
*/
|
|
@@ -3052,6 +3566,22 @@ declare class SatrushBackendSdk extends HeyApiClient {
|
|
|
3052
3566
|
limit?: number;
|
|
3053
3567
|
winsOnly?: number;
|
|
3054
3568
|
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserOneBtcEntriesResponses, GetUserOneBtcEntriesErrors, ThrowOnError, "fields">;
|
|
3569
|
+
/**
|
|
3570
|
+
* Request a page of the miners a wallet referred
|
|
3571
|
+
*/
|
|
3572
|
+
getUserReferrals<ThrowOnError extends boolean = false>(parameters: {
|
|
3573
|
+
address: string;
|
|
3574
|
+
sort?: ReferralSortDto;
|
|
3575
|
+
order?: SortOrderDto;
|
|
3576
|
+
offset?: number;
|
|
3577
|
+
limit?: number;
|
|
3578
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserReferralsResponses, GetUserReferralsErrors, ThrowOnError, "fields">;
|
|
3579
|
+
/**
|
|
3580
|
+
* Request a wallet's staking position with its claimable reward projected now
|
|
3581
|
+
*/
|
|
3582
|
+
getUserStaking<ThrowOnError extends boolean = false>(parameters: {
|
|
3583
|
+
address: string;
|
|
3584
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserStakingResponses, GetUserStakingErrors, ThrowOnError, "fields">;
|
|
3055
3585
|
}
|
|
3056
3586
|
|
|
3057
3587
|
/**
|
|
@@ -3075,6 +3605,7 @@ declare const zBadRequestErrorCodeErrorBody: z.ZodObject<{
|
|
|
3075
3605
|
declare const zClaimTypeDto: z.ZodEnum<{
|
|
3076
3606
|
usd: "usd";
|
|
3077
3607
|
sats: "sats";
|
|
3608
|
+
token: "token";
|
|
3078
3609
|
}>;
|
|
3079
3610
|
declare const zEpochHistoryApiError400InvalidRange: z.ZodObject<{
|
|
3080
3611
|
code: z.ZodEnum<{
|
|
@@ -3323,6 +3854,8 @@ declare const zPreviousRoundDto: z.ZodObject<{
|
|
|
3323
3854
|
declare const zPricesDto: z.ZodObject<{
|
|
3324
3855
|
btc: z.ZodNumber;
|
|
3325
3856
|
sat: z.ZodNumber;
|
|
3857
|
+
token: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3858
|
+
tokenShare: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3326
3859
|
}, z.core.$strip>;
|
|
3327
3860
|
/**
|
|
3328
3861
|
* Pubkey represented as base58 string in JSON and OpenAPI.
|
|
@@ -3331,6 +3864,13 @@ declare const zPricesDto: z.ZodObject<{
|
|
|
3331
3864
|
* - OpenAPI: `type: string`, pattern for base58, optional format
|
|
3332
3865
|
*/
|
|
3333
3866
|
declare const zPubkeyDto: z.ZodString;
|
|
3867
|
+
/**
|
|
3868
|
+
* Sort key of a referrals page.
|
|
3869
|
+
*/
|
|
3870
|
+
declare const zReferralSortDto: z.ZodEnum<{
|
|
3871
|
+
usd_volume: "usd_volume";
|
|
3872
|
+
first_deployed_at: "first_deployed_at";
|
|
3873
|
+
}>;
|
|
3334
3874
|
declare const zRoundDetailsApiError404Error: z.ZodObject<{
|
|
3335
3875
|
code: z.ZodEnum<{
|
|
3336
3876
|
not_found: "not_found";
|
|
@@ -3407,6 +3947,23 @@ declare const zRoundsApiError500Error: z.ZodObject<{
|
|
|
3407
3947
|
internal: "internal";
|
|
3408
3948
|
}>;
|
|
3409
3949
|
}, z.core.$strip>;
|
|
3950
|
+
/**
|
|
3951
|
+
* Direction of a sorted page.
|
|
3952
|
+
*/
|
|
3953
|
+
declare const zSortOrderDto: z.ZodEnum<{
|
|
3954
|
+
desc: "desc";
|
|
3955
|
+
asc: "asc";
|
|
3956
|
+
}>;
|
|
3957
|
+
declare const zStakingTreasuryApiError404Error: z.ZodObject<{
|
|
3958
|
+
code: z.ZodEnum<{
|
|
3959
|
+
not_found: "not_found";
|
|
3960
|
+
}>;
|
|
3961
|
+
}, z.core.$strip>;
|
|
3962
|
+
declare const zStakingTreasuryApiError500Error: z.ZodObject<{
|
|
3963
|
+
code: z.ZodEnum<{
|
|
3964
|
+
internal: "internal";
|
|
3965
|
+
}>;
|
|
3966
|
+
}, z.core.$strip>;
|
|
3410
3967
|
/**
|
|
3411
3968
|
* Unsigned 128-bit integer encoded as a decimal string.
|
|
3412
3969
|
*/
|
|
@@ -3415,6 +3972,18 @@ declare const zU128Dto: z.ZodString;
|
|
|
3415
3972
|
* Unsigned 64-bit integer encoded as a decimal string.
|
|
3416
3973
|
*/
|
|
3417
3974
|
declare const zU64Dto: z.ZodCoercedBigInt<unknown>;
|
|
3975
|
+
/**
|
|
3976
|
+
* An affiliate's aggregates over the miners it referred.
|
|
3977
|
+
*/
|
|
3978
|
+
declare const zAffiliateStatsDto: z.ZodObject<{
|
|
3979
|
+
affiliateRateBps: z.ZodInt;
|
|
3980
|
+
authority: z.ZodString;
|
|
3981
|
+
grubstakeClaimable: z.ZodCoercedBigInt<unknown>;
|
|
3982
|
+
grubstakeEarned: z.ZodCoercedBigInt<unknown>;
|
|
3983
|
+
referralUsdVolume: z.ZodCoercedBigInt<unknown>;
|
|
3984
|
+
referredMiners: z.ZodInt;
|
|
3985
|
+
tag: z.ZodString;
|
|
3986
|
+
}, z.core.$strip>;
|
|
3418
3987
|
/**
|
|
3419
3988
|
* An Epoch Vault iteration as recorded by the rounds indexer.
|
|
3420
3989
|
*/
|
|
@@ -3424,6 +3993,7 @@ declare const zEpochIterationHistoryDto: z.ZodObject<{
|
|
|
3424
3993
|
id: z.ZodInt;
|
|
3425
3994
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3426
3995
|
poolCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3996
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
3427
3997
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3428
3998
|
startedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
3429
3999
|
totalParticipants: z.ZodInt;
|
|
@@ -3444,6 +4014,7 @@ declare const zEpochIterationParticipantDto: z.ZodObject<{
|
|
|
3444
4014
|
tickets: z.ZodCoercedBigInt<unknown>;
|
|
3445
4015
|
wonBtcAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3446
4016
|
wonCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4017
|
+
wonTokenAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3447
4018
|
wonUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3448
4019
|
}, z.core.$strip>;
|
|
3449
4020
|
/**
|
|
@@ -3457,6 +4028,8 @@ declare const zEpochIterationWinnerDto: z.ZodObject<{
|
|
|
3457
4028
|
tickets: z.ZodCoercedBigInt<unknown>;
|
|
3458
4029
|
wonBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3459
4030
|
wonCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4031
|
+
wonTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4032
|
+
wonTokenShares: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3460
4033
|
wonUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3461
4034
|
}, z.core.$strip>;
|
|
3462
4035
|
/**
|
|
@@ -3482,6 +4055,8 @@ declare const zEpochIterationDetailsDto: z.ZodObject<{
|
|
|
3482
4055
|
tickets: z.ZodCoercedBigInt<unknown>;
|
|
3483
4056
|
wonBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3484
4057
|
wonCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4058
|
+
wonTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4059
|
+
wonTokenShares: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3485
4060
|
wonUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3486
4061
|
}, z.core.$strip>>, z.ZodNull]>>;
|
|
3487
4062
|
}, z.core.$strip>;
|
|
@@ -3509,6 +4084,7 @@ declare const zEpochWinnerDto: z.ZodObject<{
|
|
|
3509
4084
|
declare const zEpochVaultIterationDto: z.ZodObject<{
|
|
3510
4085
|
address: z.ZodString;
|
|
3511
4086
|
claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4087
|
+
claimableToken: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3512
4088
|
claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3513
4089
|
id: z.ZodInt;
|
|
3514
4090
|
pageCount: z.ZodInt;
|
|
@@ -3538,11 +4114,13 @@ declare const zEpochVaultDto: z.ZodObject<{
|
|
|
3538
4114
|
activePendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3539
4115
|
activePoolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3540
4116
|
activePoolCombinedUsdAmount: z.ZodNumber;
|
|
4117
|
+
activePoolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
3541
4118
|
activePoolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3542
4119
|
address: z.ZodString;
|
|
3543
4120
|
currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
3544
4121
|
address: z.ZodString;
|
|
3545
4122
|
claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4123
|
+
claimableToken: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3546
4124
|
claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3547
4125
|
id: z.ZodInt;
|
|
3548
4126
|
pageCount: z.ZodInt;
|
|
@@ -3571,8 +4149,10 @@ declare const zEpochVaultDto: z.ZodObject<{
|
|
|
3571
4149
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
3572
4150
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3573
4151
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4152
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
3574
4153
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3575
4154
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4155
|
+
reservedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
3576
4156
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3577
4157
|
}, z.core.$strip>;
|
|
3578
4158
|
/**
|
|
@@ -3587,6 +4167,7 @@ declare const zEpochWinnerHistoryDto: z.ZodObject<{
|
|
|
3587
4167
|
settledAtSlot: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3588
4168
|
tickets: z.ZodCoercedBigInt<unknown>;
|
|
3589
4169
|
wonBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4170
|
+
wonTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
3590
4171
|
wonUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3591
4172
|
}, z.core.$strip>;
|
|
3592
4173
|
/**
|
|
@@ -3634,8 +4215,10 @@ declare const zLeaderboardPageDto: z.ZodObject<{
|
|
|
3634
4215
|
updatedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
3635
4216
|
}, z.core.$strip>;
|
|
3636
4217
|
/**
|
|
3637
|
-
* A miner's claim as recorded by the rounds indexer from a `claim_usd
|
|
3638
|
-
* `claim_sats` instruction.
|
|
4218
|
+
* A miner's claim as recorded by the rounds indexer from a `claim_usd`,
|
|
4219
|
+
* `claim_sats` or `claim_token` instruction. Sats and token claims are
|
|
4220
|
+
* coupled on-chain: each redeems the same fraction of the other vault's
|
|
4221
|
+
* shares, so a row may carry both legs.
|
|
3639
4222
|
*/
|
|
3640
4223
|
declare const zMinerClaimDto: z.ZodObject<{
|
|
3641
4224
|
authority: z.ZodString;
|
|
@@ -3643,12 +4226,15 @@ declare const zMinerClaimDto: z.ZodObject<{
|
|
|
3643
4226
|
claimType: z.ZodEnum<{
|
|
3644
4227
|
usd: "usd";
|
|
3645
4228
|
sats: "sats";
|
|
4229
|
+
token: "token";
|
|
3646
4230
|
}>;
|
|
3647
4231
|
claimedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
3648
4232
|
hashrateClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3649
4233
|
id: z.ZodInt;
|
|
3650
4234
|
satsClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3651
4235
|
signature: z.ZodString;
|
|
4236
|
+
tokenSharesClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4237
|
+
tokensReceived: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3652
4238
|
usdClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3653
4239
|
}, z.core.$strip>;
|
|
3654
4240
|
/**
|
|
@@ -3671,6 +4257,8 @@ declare const zMinerDeploymentDto: z.ZodObject<{
|
|
|
3671
4257
|
satsSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
3672
4258
|
selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
3673
4259
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4260
|
+
tokenEarned: z.ZodCoercedBigInt<unknown>;
|
|
4261
|
+
tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
3674
4262
|
totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
|
|
3675
4263
|
usdEarned: z.ZodCoercedBigInt<unknown>;
|
|
3676
4264
|
}, z.core.$strip>;
|
|
@@ -3695,14 +4283,20 @@ declare const zMinerDto: z.ZodObject<{
|
|
|
3695
4283
|
totalRounds: z.ZodInt;
|
|
3696
4284
|
totalSatsClaimed: z.ZodCoercedBigInt<unknown>;
|
|
3697
4285
|
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
4286
|
+
totalTokenSharesClaimed: z.ZodCoercedBigInt<unknown>;
|
|
4287
|
+
totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
4288
|
+
totalTokensReceived: z.ZodCoercedBigInt<unknown>;
|
|
3698
4289
|
totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
|
|
3699
4290
|
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
3700
4291
|
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
3701
4292
|
unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
3702
4293
|
unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
4294
|
+
unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
3703
4295
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3704
4296
|
unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
|
|
4297
|
+
unrealizedTokenPnl: z.ZodCoercedBigInt<unknown>;
|
|
3705
4298
|
unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
4299
|
+
unsettledTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
3706
4300
|
unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3707
4301
|
}, z.core.$strip>;
|
|
3708
4302
|
/**
|
|
@@ -3723,6 +4317,8 @@ declare const zMinerEpochEntryDto: z.ZodObject<{
|
|
|
3723
4317
|
tickets: z.ZodCoercedBigInt<unknown>;
|
|
3724
4318
|
wonBtcAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3725
4319
|
wonCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4320
|
+
wonTokenAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4321
|
+
wonTokenShares: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3726
4322
|
wonUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3727
4323
|
}, z.core.$strip>;
|
|
3728
4324
|
/**
|
|
@@ -3944,14 +4540,20 @@ declare const zProfileDto: z.ZodObject<{
|
|
|
3944
4540
|
totalRounds: z.ZodInt;
|
|
3945
4541
|
totalSatsClaimed: z.ZodCoercedBigInt<unknown>;
|
|
3946
4542
|
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
4543
|
+
totalTokenSharesClaimed: z.ZodCoercedBigInt<unknown>;
|
|
4544
|
+
totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
4545
|
+
totalTokensReceived: z.ZodCoercedBigInt<unknown>;
|
|
3947
4546
|
totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
|
|
3948
4547
|
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
3949
4548
|
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
3950
4549
|
unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
3951
4550
|
unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
4551
|
+
unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
3952
4552
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3953
4553
|
unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
|
|
4554
|
+
unrealizedTokenPnl: z.ZodCoercedBigInt<unknown>;
|
|
3954
4555
|
unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
4556
|
+
unsettledTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
3955
4557
|
unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3956
4558
|
}, z.core.$strip>;
|
|
3957
4559
|
oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
|
|
@@ -3967,6 +4569,29 @@ declare const zProfileDto: z.ZodObject<{
|
|
|
3967
4569
|
selectionMask: z.ZodInt;
|
|
3968
4570
|
}, z.core.$strip>>;
|
|
3969
4571
|
}, z.core.$strip>;
|
|
4572
|
+
/**
|
|
4573
|
+
* A miner referred by an affiliate.
|
|
4574
|
+
*/
|
|
4575
|
+
declare const zReferralDto: z.ZodObject<{
|
|
4576
|
+
authority: z.ZodString;
|
|
4577
|
+
firstDeployedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4578
|
+
grubstakeEarned: z.ZodCoercedBigInt<unknown>;
|
|
4579
|
+
totalDeployments: z.ZodInt;
|
|
4580
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
4581
|
+
}, z.core.$strip>;
|
|
4582
|
+
/**
|
|
4583
|
+
* One page of an affiliate's referrals.
|
|
4584
|
+
*/
|
|
4585
|
+
declare const zReferralsPageDto: z.ZodObject<{
|
|
4586
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
4587
|
+
authority: z.ZodString;
|
|
4588
|
+
firstDeployedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4589
|
+
grubstakeEarned: z.ZodCoercedBigInt<unknown>;
|
|
4590
|
+
totalDeployments: z.ZodInt;
|
|
4591
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
4592
|
+
}, z.core.$strip>>;
|
|
4593
|
+
total: z.ZodInt;
|
|
4594
|
+
}, z.core.$strip>;
|
|
3970
4595
|
/**
|
|
3971
4596
|
* One deployment onto a round: the deploy itself plus its settlement
|
|
3972
4597
|
* outcome once the round is settled.
|
|
@@ -3985,6 +4610,8 @@ declare const zRoundDeploymentDto: z.ZodObject<{
|
|
|
3985
4610
|
satsSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
3986
4611
|
selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
3987
4612
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4613
|
+
tokenEarned: z.ZodCoercedBigInt<unknown>;
|
|
4614
|
+
tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
3988
4615
|
totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
|
|
3989
4616
|
usdEarned: z.ZodCoercedBigInt<unknown>;
|
|
3990
4617
|
winningUsdStakeAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
@@ -4012,6 +4639,8 @@ declare const zRoundDetailsDto: z.ZodObject<{
|
|
|
4012
4639
|
satsSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
4013
4640
|
selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
4014
4641
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4642
|
+
tokenEarned: z.ZodCoercedBigInt<unknown>;
|
|
4643
|
+
tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
4015
4644
|
totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
|
|
4016
4645
|
usdEarned: z.ZodCoercedBigInt<unknown>;
|
|
4017
4646
|
winningUsdStakeAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
@@ -4021,6 +4650,7 @@ declare const zRoundDetailsDto: z.ZodObject<{
|
|
|
4021
4650
|
isHashrateBoosted: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4022
4651
|
isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4023
4652
|
minersCount: z.ZodInt;
|
|
4653
|
+
mintedToken: z.ZodCoercedBigInt<unknown>;
|
|
4024
4654
|
oneBtcFeeUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4025
4655
|
protocolFeeUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4026
4656
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -4035,14 +4665,19 @@ declare const zRoundDetailsDto: z.ZodObject<{
|
|
|
4035
4665
|
}>;
|
|
4036
4666
|
strikeBonusBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4037
4667
|
strikeBonusCombinedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4668
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
4038
4669
|
strikeBonusUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4039
4670
|
strikeEpochBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4671
|
+
strikeEpochToken: z.ZodCoercedBigInt<unknown>;
|
|
4040
4672
|
strikeEpochUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4041
4673
|
strikeFeeUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4042
4674
|
strikeReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4675
|
+
strikeReserveToken: z.ZodCoercedBigInt<unknown>;
|
|
4043
4676
|
strikeReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4044
4677
|
strikeSeedFromReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4678
|
+
strikeSeedFromReserveToken: z.ZodCoercedBigInt<unknown>;
|
|
4045
4679
|
strikeSeedFromReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4680
|
+
strikeTokenFee: z.ZodCoercedBigInt<unknown>;
|
|
4046
4681
|
totalDeployedUsd: z.ZodCoercedBigInt<unknown>;
|
|
4047
4682
|
totalGrossDeployedUsd: z.ZodCoercedBigInt<unknown>;
|
|
4048
4683
|
totalPotBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
@@ -4059,6 +4694,7 @@ declare const zRoundHistoryDto: z.ZodObject<{
|
|
|
4059
4694
|
isHashrateBoosted: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4060
4695
|
isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4061
4696
|
minersCount: z.ZodInt;
|
|
4697
|
+
mintedToken: z.ZodCoercedBigInt<unknown>;
|
|
4062
4698
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4063
4699
|
startedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4064
4700
|
state: z.ZodEnum<{
|
|
@@ -4070,13 +4706,18 @@ declare const zRoundHistoryDto: z.ZodObject<{
|
|
|
4070
4706
|
}>;
|
|
4071
4707
|
strikeBonusBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4072
4708
|
strikeBonusCombinedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4709
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
4073
4710
|
strikeBonusUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4074
4711
|
strikeEpochBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4712
|
+
strikeEpochToken: z.ZodCoercedBigInt<unknown>;
|
|
4075
4713
|
strikeEpochUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4076
4714
|
strikeReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4715
|
+
strikeReserveToken: z.ZodCoercedBigInt<unknown>;
|
|
4077
4716
|
strikeReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4078
4717
|
strikeSeedFromReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4718
|
+
strikeSeedFromReserveToken: z.ZodCoercedBigInt<unknown>;
|
|
4079
4719
|
strikeSeedFromReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4720
|
+
strikeTokenFee: z.ZodCoercedBigInt<unknown>;
|
|
4080
4721
|
totalDeployedUsd: z.ZodCoercedBigInt<unknown>;
|
|
4081
4722
|
totalGrossDeployedUsd: z.ZodCoercedBigInt<unknown>;
|
|
4082
4723
|
totalPotBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
@@ -4096,11 +4737,12 @@ declare const zSatrushConfigDto: z.ZodObject<{
|
|
|
4096
4737
|
minDeployUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4097
4738
|
oneBtcFeeBps: z.ZodInt;
|
|
4098
4739
|
protocolFeeBps: z.ZodInt;
|
|
4099
|
-
satsVaultClaimFeeBps: z.ZodInt;
|
|
4100
4740
|
satsVaultRoundFeeBps: z.ZodInt;
|
|
4101
4741
|
strikeFeeBps: z.ZodInt;
|
|
4742
|
+
tokenMint: z.ZodString;
|
|
4102
4743
|
unclaimedHashrateBps: z.ZodInt;
|
|
4103
4744
|
usdMint: z.ZodString;
|
|
4745
|
+
vaultExitFeeBps: z.ZodInt;
|
|
4104
4746
|
}, z.core.$strip>;
|
|
4105
4747
|
/**
|
|
4106
4748
|
* Sats vault balances: the BTC backing and the shares issued against it.
|
|
@@ -4111,6 +4753,28 @@ declare const zSatsVaultDto: z.ZodObject<{
|
|
|
4111
4753
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4112
4754
|
btcShares: z.ZodCoercedBigInt<unknown>;
|
|
4113
4755
|
}, z.core.$strip>;
|
|
4756
|
+
/**
|
|
4757
|
+
* A wallet's staking position, projected to the moment of the request.
|
|
4758
|
+
*/
|
|
4759
|
+
declare const zStakingPositionDto: z.ZodObject<{
|
|
4760
|
+
address: z.ZodString;
|
|
4761
|
+
authority: z.ZodString;
|
|
4762
|
+
shares: z.ZodCoercedBigInt<unknown>;
|
|
4763
|
+
unclaimedReward: z.ZodCoercedBigInt<unknown>;
|
|
4764
|
+
}, z.core.$strip>;
|
|
4765
|
+
/**
|
|
4766
|
+
* The staking treasury: the two tokens, their vaults and the totals.
|
|
4767
|
+
*/
|
|
4768
|
+
declare const zStakingTreasuryDto: z.ZodObject<{
|
|
4769
|
+
address: z.ZodString;
|
|
4770
|
+
rewardTokenMint: z.ZodString;
|
|
4771
|
+
rewardVault: z.ZodString;
|
|
4772
|
+
stakedTokenMint: z.ZodString;
|
|
4773
|
+
stakedVault: z.ZodString;
|
|
4774
|
+
totalRewardDeposited: z.ZodCoercedBigInt<unknown>;
|
|
4775
|
+
totalStaked: z.ZodCoercedBigInt<unknown>;
|
|
4776
|
+
totalStakers: z.ZodInt;
|
|
4777
|
+
}, z.core.$strip>;
|
|
4114
4778
|
/**
|
|
4115
4779
|
* Strike jackpot balances tracked on the board.
|
|
4116
4780
|
*/
|
|
@@ -4121,7 +4785,10 @@ declare const zStrikeJackpotDto: z.ZodObject<{
|
|
|
4121
4785
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4122
4786
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4123
4787
|
poolCombinedUsdAmount: z.ZodNumber;
|
|
4788
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4124
4789
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4790
|
+
reserveTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4791
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4125
4792
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4126
4793
|
}, z.core.$strip>;
|
|
4127
4794
|
/**
|
|
@@ -4144,6 +4811,7 @@ declare const zRoundDto: z.ZodObject<{
|
|
|
4144
4811
|
id: z.ZodInt;
|
|
4145
4812
|
isHashrateBoosted: z.ZodBoolean;
|
|
4146
4813
|
minersCount: z.ZodInt;
|
|
4814
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4147
4815
|
revealedMinersCount: z.ZodInt;
|
|
4148
4816
|
settledMinersCount: z.ZodInt;
|
|
4149
4817
|
state: z.ZodEnum<{
|
|
@@ -4153,6 +4821,7 @@ declare const zRoundDto: z.ZodObject<{
|
|
|
4153
4821
|
finished: "finished";
|
|
4154
4822
|
}>;
|
|
4155
4823
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
4824
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
4156
4825
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
4157
4826
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
4158
4827
|
deployCount: z.ZodInt;
|
|
@@ -4162,6 +4831,17 @@ declare const zRoundDto: z.ZodObject<{
|
|
|
4162
4831
|
winnersCount: z.ZodInt;
|
|
4163
4832
|
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
4164
4833
|
}, z.core.$strip>;
|
|
4834
|
+
/**
|
|
4835
|
+
* Token vault balances: the SatRush tokens backing the shares issued against
|
|
4836
|
+
* them. Same share math as the sats vault.
|
|
4837
|
+
*/
|
|
4838
|
+
declare const zTokenVaultDto: z.ZodObject<{
|
|
4839
|
+
address: z.ZodString;
|
|
4840
|
+
apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4841
|
+
leftovers: z.ZodCoercedBigInt<unknown>;
|
|
4842
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4843
|
+
tokenShares: z.ZodCoercedBigInt<unknown>;
|
|
4844
|
+
}, z.core.$strip>;
|
|
4165
4845
|
/**
|
|
4166
4846
|
* Board state: the active round pointer, its mining window, the strike
|
|
4167
4847
|
* jackpot, the live blockchain slot and the current round's details.
|
|
@@ -4177,6 +4857,7 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
4177
4857
|
id: z.ZodInt;
|
|
4178
4858
|
isHashrateBoosted: z.ZodBoolean;
|
|
4179
4859
|
minersCount: z.ZodInt;
|
|
4860
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4180
4861
|
revealedMinersCount: z.ZodInt;
|
|
4181
4862
|
settledMinersCount: z.ZodInt;
|
|
4182
4863
|
state: z.ZodEnum<{
|
|
@@ -4186,6 +4867,7 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
4186
4867
|
finished: "finished";
|
|
4187
4868
|
}>;
|
|
4188
4869
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
4870
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
4189
4871
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
4190
4872
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
4191
4873
|
deployCount: z.ZodInt;
|
|
@@ -4202,11 +4884,13 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
4202
4884
|
activePendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4203
4885
|
activePoolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4204
4886
|
activePoolCombinedUsdAmount: z.ZodNumber;
|
|
4887
|
+
activePoolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4205
4888
|
activePoolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4206
4889
|
address: z.ZodString;
|
|
4207
4890
|
currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4208
4891
|
address: z.ZodString;
|
|
4209
4892
|
claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4893
|
+
claimableToken: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4210
4894
|
claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4211
4895
|
id: z.ZodInt;
|
|
4212
4896
|
pageCount: z.ZodInt;
|
|
@@ -4235,8 +4919,10 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
4235
4919
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
4236
4920
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4237
4921
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4922
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4238
4923
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4239
4924
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4925
|
+
reservedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4240
4926
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4241
4927
|
}, z.core.$strip>;
|
|
4242
4928
|
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
@@ -4272,6 +4958,7 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
4272
4958
|
id: z.ZodInt;
|
|
4273
4959
|
isHashrateBoosted: z.ZodBoolean;
|
|
4274
4960
|
minersCount: z.ZodInt;
|
|
4961
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4275
4962
|
revealedMinersCount: z.ZodInt;
|
|
4276
4963
|
settledMinersCount: z.ZodInt;
|
|
4277
4964
|
state: z.ZodEnum<{
|
|
@@ -4281,6 +4968,7 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
4281
4968
|
finished: "finished";
|
|
4282
4969
|
}>;
|
|
4283
4970
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
4971
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
4284
4972
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
4285
4973
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
4286
4974
|
deployCount: z.ZodInt;
|
|
@@ -4297,6 +4985,8 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
4297
4985
|
prices: z.ZodObject<{
|
|
4298
4986
|
btc: z.ZodNumber;
|
|
4299
4987
|
sat: z.ZodNumber;
|
|
4988
|
+
token: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4989
|
+
tokenShare: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4300
4990
|
}, z.core.$strip>;
|
|
4301
4991
|
roundDuration: z.ZodInt;
|
|
4302
4992
|
roundEndsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -4308,6 +4998,7 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
4308
4998
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4309
4999
|
btcShares: z.ZodCoercedBigInt<unknown>;
|
|
4310
5000
|
}, z.core.$strip>;
|
|
5001
|
+
slotDurationMs: z.ZodNumber;
|
|
4311
5002
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
4312
5003
|
strike: z.ZodObject<{
|
|
4313
5004
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -4316,9 +5007,19 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
4316
5007
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4317
5008
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4318
5009
|
poolCombinedUsdAmount: z.ZodNumber;
|
|
5010
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4319
5011
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5012
|
+
reserveTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5013
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4320
5014
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4321
5015
|
}, z.core.$strip>;
|
|
5016
|
+
tokenVault: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
5017
|
+
address: z.ZodString;
|
|
5018
|
+
apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
5019
|
+
leftovers: z.ZodCoercedBigInt<unknown>;
|
|
5020
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5021
|
+
tokenShares: z.ZodCoercedBigInt<unknown>;
|
|
5022
|
+
}, z.core.$strip>]>>;
|
|
4322
5023
|
}, z.core.$strip>;
|
|
4323
5024
|
declare const zSnapshotDto: z.ZodObject<{
|
|
4324
5025
|
board: z.ZodObject<{
|
|
@@ -4332,6 +5033,7 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
4332
5033
|
id: z.ZodInt;
|
|
4333
5034
|
isHashrateBoosted: z.ZodBoolean;
|
|
4334
5035
|
minersCount: z.ZodInt;
|
|
5036
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4335
5037
|
revealedMinersCount: z.ZodInt;
|
|
4336
5038
|
settledMinersCount: z.ZodInt;
|
|
4337
5039
|
state: z.ZodEnum<{
|
|
@@ -4341,6 +5043,7 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
4341
5043
|
finished: "finished";
|
|
4342
5044
|
}>;
|
|
4343
5045
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
5046
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
4344
5047
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
4345
5048
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
4346
5049
|
deployCount: z.ZodInt;
|
|
@@ -4357,11 +5060,13 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
4357
5060
|
activePendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4358
5061
|
activePoolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4359
5062
|
activePoolCombinedUsdAmount: z.ZodNumber;
|
|
5063
|
+
activePoolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4360
5064
|
activePoolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4361
5065
|
address: z.ZodString;
|
|
4362
5066
|
currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4363
5067
|
address: z.ZodString;
|
|
4364
5068
|
claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5069
|
+
claimableToken: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4365
5070
|
claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4366
5071
|
id: z.ZodInt;
|
|
4367
5072
|
pageCount: z.ZodInt;
|
|
@@ -4390,8 +5095,10 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
4390
5095
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
4391
5096
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4392
5097
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5098
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4393
5099
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4394
5100
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5101
|
+
reservedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4395
5102
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4396
5103
|
}, z.core.$strip>;
|
|
4397
5104
|
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
@@ -4427,6 +5134,7 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
4427
5134
|
id: z.ZodInt;
|
|
4428
5135
|
isHashrateBoosted: z.ZodBoolean;
|
|
4429
5136
|
minersCount: z.ZodInt;
|
|
5137
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4430
5138
|
revealedMinersCount: z.ZodInt;
|
|
4431
5139
|
settledMinersCount: z.ZodInt;
|
|
4432
5140
|
state: z.ZodEnum<{
|
|
@@ -4436,6 +5144,7 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
4436
5144
|
finished: "finished";
|
|
4437
5145
|
}>;
|
|
4438
5146
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
5147
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
4439
5148
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
4440
5149
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
4441
5150
|
deployCount: z.ZodInt;
|
|
@@ -4452,6 +5161,8 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
4452
5161
|
prices: z.ZodObject<{
|
|
4453
5162
|
btc: z.ZodNumber;
|
|
4454
5163
|
sat: z.ZodNumber;
|
|
5164
|
+
token: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
5165
|
+
tokenShare: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4455
5166
|
}, z.core.$strip>;
|
|
4456
5167
|
roundDuration: z.ZodInt;
|
|
4457
5168
|
roundEndsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -4463,6 +5174,7 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
4463
5174
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4464
5175
|
btcShares: z.ZodCoercedBigInt<unknown>;
|
|
4465
5176
|
}, z.core.$strip>;
|
|
5177
|
+
slotDurationMs: z.ZodNumber;
|
|
4466
5178
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
4467
5179
|
strike: z.ZodObject<{
|
|
4468
5180
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -4471,9 +5183,19 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
4471
5183
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4472
5184
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4473
5185
|
poolCombinedUsdAmount: z.ZodNumber;
|
|
5186
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4474
5187
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5188
|
+
reserveTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5189
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4475
5190
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4476
5191
|
}, z.core.$strip>;
|
|
5192
|
+
tokenVault: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
5193
|
+
address: z.ZodString;
|
|
5194
|
+
apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
5195
|
+
leftovers: z.ZodCoercedBigInt<unknown>;
|
|
5196
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5197
|
+
tokenShares: z.ZodCoercedBigInt<unknown>;
|
|
5198
|
+
}, z.core.$strip>]>>;
|
|
4477
5199
|
}, z.core.$strip>;
|
|
4478
5200
|
entity: z.ZodEnum<{
|
|
4479
5201
|
state_snapshot: "state_snapshot";
|
|
@@ -4522,14 +5244,20 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
4522
5244
|
totalRounds: z.ZodInt;
|
|
4523
5245
|
totalSatsClaimed: z.ZodCoercedBigInt<unknown>;
|
|
4524
5246
|
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
5247
|
+
totalTokenSharesClaimed: z.ZodCoercedBigInt<unknown>;
|
|
5248
|
+
totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
5249
|
+
totalTokensReceived: z.ZodCoercedBigInt<unknown>;
|
|
4525
5250
|
totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
|
|
4526
5251
|
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
4527
5252
|
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
4528
5253
|
unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
4529
5254
|
unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
5255
|
+
unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
4530
5256
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4531
5257
|
unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
|
|
5258
|
+
unrealizedTokenPnl: z.ZodCoercedBigInt<unknown>;
|
|
4532
5259
|
unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
5260
|
+
unsettledTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
4533
5261
|
unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4534
5262
|
}, z.core.$strip>;
|
|
4535
5263
|
oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
|
|
@@ -4558,6 +5286,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
4558
5286
|
id: z.ZodInt;
|
|
4559
5287
|
isHashrateBoosted: z.ZodBoolean;
|
|
4560
5288
|
minersCount: z.ZodInt;
|
|
5289
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4561
5290
|
revealedMinersCount: z.ZodInt;
|
|
4562
5291
|
settledMinersCount: z.ZodInt;
|
|
4563
5292
|
state: z.ZodEnum<{
|
|
@@ -4567,6 +5296,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
4567
5296
|
finished: "finished";
|
|
4568
5297
|
}>;
|
|
4569
5298
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
5299
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
4570
5300
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
4571
5301
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
4572
5302
|
deployCount: z.ZodInt;
|
|
@@ -4583,11 +5313,13 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
4583
5313
|
activePendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4584
5314
|
activePoolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4585
5315
|
activePoolCombinedUsdAmount: z.ZodNumber;
|
|
5316
|
+
activePoolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4586
5317
|
activePoolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4587
5318
|
address: z.ZodString;
|
|
4588
5319
|
currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4589
5320
|
address: z.ZodString;
|
|
4590
5321
|
claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5322
|
+
claimableToken: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4591
5323
|
claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4592
5324
|
id: z.ZodInt;
|
|
4593
5325
|
pageCount: z.ZodInt;
|
|
@@ -4616,8 +5348,10 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
4616
5348
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
4617
5349
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4618
5350
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5351
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4619
5352
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4620
5353
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5354
|
+
reservedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4621
5355
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4622
5356
|
}, z.core.$strip>;
|
|
4623
5357
|
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
@@ -4653,6 +5387,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
4653
5387
|
id: z.ZodInt;
|
|
4654
5388
|
isHashrateBoosted: z.ZodBoolean;
|
|
4655
5389
|
minersCount: z.ZodInt;
|
|
5390
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4656
5391
|
revealedMinersCount: z.ZodInt;
|
|
4657
5392
|
settledMinersCount: z.ZodInt;
|
|
4658
5393
|
state: z.ZodEnum<{
|
|
@@ -4662,6 +5397,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
4662
5397
|
finished: "finished";
|
|
4663
5398
|
}>;
|
|
4664
5399
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
5400
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
4665
5401
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
4666
5402
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
4667
5403
|
deployCount: z.ZodInt;
|
|
@@ -4678,6 +5414,8 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
4678
5414
|
prices: z.ZodObject<{
|
|
4679
5415
|
btc: z.ZodNumber;
|
|
4680
5416
|
sat: z.ZodNumber;
|
|
5417
|
+
token: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
5418
|
+
tokenShare: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4681
5419
|
}, z.core.$strip>;
|
|
4682
5420
|
roundDuration: z.ZodInt;
|
|
4683
5421
|
roundEndsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -4689,6 +5427,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
4689
5427
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4690
5428
|
btcShares: z.ZodCoercedBigInt<unknown>;
|
|
4691
5429
|
}, z.core.$strip>;
|
|
5430
|
+
slotDurationMs: z.ZodNumber;
|
|
4692
5431
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
4693
5432
|
strike: z.ZodObject<{
|
|
4694
5433
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -4697,9 +5436,19 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
4697
5436
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4698
5437
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4699
5438
|
poolCombinedUsdAmount: z.ZodNumber;
|
|
5439
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4700
5440
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5441
|
+
reserveTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5442
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4701
5443
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4702
5444
|
}, z.core.$strip>;
|
|
5445
|
+
tokenVault: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
5446
|
+
address: z.ZodString;
|
|
5447
|
+
apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
5448
|
+
leftovers: z.ZodCoercedBigInt<unknown>;
|
|
5449
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5450
|
+
tokenShares: z.ZodCoercedBigInt<unknown>;
|
|
5451
|
+
}, z.core.$strip>]>>;
|
|
4703
5452
|
}, z.core.$strip>;
|
|
4704
5453
|
entity: z.ZodEnum<{
|
|
4705
5454
|
state_snapshot: "state_snapshot";
|
|
@@ -4748,14 +5497,20 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
4748
5497
|
totalRounds: z.ZodInt;
|
|
4749
5498
|
totalSatsClaimed: z.ZodCoercedBigInt<unknown>;
|
|
4750
5499
|
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
5500
|
+
totalTokenSharesClaimed: z.ZodCoercedBigInt<unknown>;
|
|
5501
|
+
totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
5502
|
+
totalTokensReceived: z.ZodCoercedBigInt<unknown>;
|
|
4751
5503
|
totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
|
|
4752
5504
|
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
4753
5505
|
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
4754
5506
|
unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
4755
5507
|
unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
5508
|
+
unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
4756
5509
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4757
5510
|
unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
|
|
5511
|
+
unrealizedTokenPnl: z.ZodCoercedBigInt<unknown>;
|
|
4758
5512
|
unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
5513
|
+
unsettledTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
4759
5514
|
unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4760
5515
|
}, z.core.$strip>;
|
|
4761
5516
|
oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
|
|
@@ -4790,6 +5545,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
4790
5545
|
id: z.ZodInt;
|
|
4791
5546
|
isHashrateBoosted: z.ZodBoolean;
|
|
4792
5547
|
minersCount: z.ZodInt;
|
|
5548
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4793
5549
|
revealedMinersCount: z.ZodInt;
|
|
4794
5550
|
settledMinersCount: z.ZodInt;
|
|
4795
5551
|
state: z.ZodEnum<{
|
|
@@ -4799,6 +5555,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
4799
5555
|
finished: "finished";
|
|
4800
5556
|
}>;
|
|
4801
5557
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
5558
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
4802
5559
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
4803
5560
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
4804
5561
|
deployCount: z.ZodInt;
|
|
@@ -4815,11 +5572,13 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
4815
5572
|
activePendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4816
5573
|
activePoolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4817
5574
|
activePoolCombinedUsdAmount: z.ZodNumber;
|
|
5575
|
+
activePoolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4818
5576
|
activePoolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4819
5577
|
address: z.ZodString;
|
|
4820
5578
|
currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4821
5579
|
address: z.ZodString;
|
|
4822
5580
|
claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5581
|
+
claimableToken: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4823
5582
|
claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4824
5583
|
id: z.ZodInt;
|
|
4825
5584
|
pageCount: z.ZodInt;
|
|
@@ -4848,8 +5607,10 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
4848
5607
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
4849
5608
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4850
5609
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5610
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4851
5611
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4852
5612
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5613
|
+
reservedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4853
5614
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4854
5615
|
}, z.core.$strip>;
|
|
4855
5616
|
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
@@ -4885,6 +5646,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
4885
5646
|
id: z.ZodInt;
|
|
4886
5647
|
isHashrateBoosted: z.ZodBoolean;
|
|
4887
5648
|
minersCount: z.ZodInt;
|
|
5649
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4888
5650
|
revealedMinersCount: z.ZodInt;
|
|
4889
5651
|
settledMinersCount: z.ZodInt;
|
|
4890
5652
|
state: z.ZodEnum<{
|
|
@@ -4894,6 +5656,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
4894
5656
|
finished: "finished";
|
|
4895
5657
|
}>;
|
|
4896
5658
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
5659
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
4897
5660
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
4898
5661
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
4899
5662
|
deployCount: z.ZodInt;
|
|
@@ -4910,6 +5673,8 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
4910
5673
|
prices: z.ZodObject<{
|
|
4911
5674
|
btc: z.ZodNumber;
|
|
4912
5675
|
sat: z.ZodNumber;
|
|
5676
|
+
token: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
5677
|
+
tokenShare: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4913
5678
|
}, z.core.$strip>;
|
|
4914
5679
|
roundDuration: z.ZodInt;
|
|
4915
5680
|
roundEndsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -4921,6 +5686,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
4921
5686
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4922
5687
|
btcShares: z.ZodCoercedBigInt<unknown>;
|
|
4923
5688
|
}, z.core.$strip>;
|
|
5689
|
+
slotDurationMs: z.ZodNumber;
|
|
4924
5690
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
4925
5691
|
strike: z.ZodObject<{
|
|
4926
5692
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -4929,9 +5695,19 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
4929
5695
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4930
5696
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4931
5697
|
poolCombinedUsdAmount: z.ZodNumber;
|
|
5698
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4932
5699
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5700
|
+
reserveTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5701
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4933
5702
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4934
5703
|
}, z.core.$strip>;
|
|
5704
|
+
tokenVault: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
5705
|
+
address: z.ZodString;
|
|
5706
|
+
apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
5707
|
+
leftovers: z.ZodCoercedBigInt<unknown>;
|
|
5708
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5709
|
+
tokenShares: z.ZodCoercedBigInt<unknown>;
|
|
5710
|
+
}, z.core.$strip>]>>;
|
|
4935
5711
|
}, z.core.$strip>;
|
|
4936
5712
|
entity: z.ZodEnum<{
|
|
4937
5713
|
state_snapshot: "state_snapshot";
|
|
@@ -4980,14 +5756,20 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
4980
5756
|
totalRounds: z.ZodInt;
|
|
4981
5757
|
totalSatsClaimed: z.ZodCoercedBigInt<unknown>;
|
|
4982
5758
|
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
5759
|
+
totalTokenSharesClaimed: z.ZodCoercedBigInt<unknown>;
|
|
5760
|
+
totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
5761
|
+
totalTokensReceived: z.ZodCoercedBigInt<unknown>;
|
|
4983
5762
|
totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
|
|
4984
5763
|
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
4985
5764
|
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
4986
5765
|
unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
4987
5766
|
unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
5767
|
+
unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
4988
5768
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4989
5769
|
unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
|
|
5770
|
+
unrealizedTokenPnl: z.ZodCoercedBigInt<unknown>;
|
|
4990
5771
|
unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
5772
|
+
unsettledTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
4991
5773
|
unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4992
5774
|
}, z.core.$strip>;
|
|
4993
5775
|
oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
|
|
@@ -5008,6 +5790,36 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
5008
5790
|
state_snapshot: "state_snapshot";
|
|
5009
5791
|
}>;
|
|
5010
5792
|
}, z.core.$strip>>>;
|
|
5793
|
+
declare const zUserAffiliateApiError400InvalidAddress: z.ZodObject<{
|
|
5794
|
+
code: z.ZodEnum<{
|
|
5795
|
+
invalid_address: "invalid_address";
|
|
5796
|
+
}>;
|
|
5797
|
+
}, z.core.$strip>;
|
|
5798
|
+
declare const zUserAffiliateApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
5799
|
+
code: z.ZodLiteral<"invalid_address">;
|
|
5800
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5801
|
+
code: z.ZodEnum<{
|
|
5802
|
+
invalid_address: "invalid_address";
|
|
5803
|
+
}>;
|
|
5804
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
5805
|
+
code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
|
|
5806
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5807
|
+
code: z.ZodEnum<{
|
|
5808
|
+
invalid_path: "invalid_path";
|
|
5809
|
+
invalid_query: "invalid_query";
|
|
5810
|
+
invalid_body: "invalid_body";
|
|
5811
|
+
}>;
|
|
5812
|
+
}, z.core.$strip>>]>;
|
|
5813
|
+
declare const zUserAffiliateApiError404Error: z.ZodObject<{
|
|
5814
|
+
code: z.ZodEnum<{
|
|
5815
|
+
not_found: "not_found";
|
|
5816
|
+
}>;
|
|
5817
|
+
}, z.core.$strip>;
|
|
5818
|
+
declare const zUserAffiliateApiError500Error: z.ZodObject<{
|
|
5819
|
+
code: z.ZodEnum<{
|
|
5820
|
+
internal: "internal";
|
|
5821
|
+
}>;
|
|
5822
|
+
}, z.core.$strip>;
|
|
5011
5823
|
declare const zUserClaimsApiError400InvalidAddress: z.ZodObject<{
|
|
5012
5824
|
code: z.ZodEnum<{
|
|
5013
5825
|
invalid_address: "invalid_address";
|
|
@@ -5169,6 +5981,61 @@ declare const zUserProfileApiError400Error: z.ZodUnion<readonly [z.ZodIntersecti
|
|
|
5169
5981
|
invalid_body: "invalid_body";
|
|
5170
5982
|
}>;
|
|
5171
5983
|
}, z.core.$strip>>]>;
|
|
5984
|
+
declare const zUserReferralsApiError400InvalidAddress: z.ZodObject<{
|
|
5985
|
+
code: z.ZodEnum<{
|
|
5986
|
+
invalid_address: "invalid_address";
|
|
5987
|
+
}>;
|
|
5988
|
+
}, z.core.$strip>;
|
|
5989
|
+
declare const zUserReferralsApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
5990
|
+
code: z.ZodLiteral<"invalid_address">;
|
|
5991
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5992
|
+
code: z.ZodEnum<{
|
|
5993
|
+
invalid_address: "invalid_address";
|
|
5994
|
+
}>;
|
|
5995
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
5996
|
+
code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
|
|
5997
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5998
|
+
code: z.ZodEnum<{
|
|
5999
|
+
invalid_path: "invalid_path";
|
|
6000
|
+
invalid_query: "invalid_query";
|
|
6001
|
+
invalid_body: "invalid_body";
|
|
6002
|
+
}>;
|
|
6003
|
+
}, z.core.$strip>>]>;
|
|
6004
|
+
declare const zUserReferralsApiError500Error: z.ZodObject<{
|
|
6005
|
+
code: z.ZodEnum<{
|
|
6006
|
+
internal: "internal";
|
|
6007
|
+
}>;
|
|
6008
|
+
}, z.core.$strip>;
|
|
6009
|
+
declare const zUserStakingApiError400InvalidAddress: z.ZodObject<{
|
|
6010
|
+
code: z.ZodEnum<{
|
|
6011
|
+
invalid_address: "invalid_address";
|
|
6012
|
+
}>;
|
|
6013
|
+
}, z.core.$strip>;
|
|
6014
|
+
declare const zUserStakingApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
6015
|
+
code: z.ZodLiteral<"invalid_address">;
|
|
6016
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6017
|
+
code: z.ZodEnum<{
|
|
6018
|
+
invalid_address: "invalid_address";
|
|
6019
|
+
}>;
|
|
6020
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
6021
|
+
code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
|
|
6022
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6023
|
+
code: z.ZodEnum<{
|
|
6024
|
+
invalid_path: "invalid_path";
|
|
6025
|
+
invalid_query: "invalid_query";
|
|
6026
|
+
invalid_body: "invalid_body";
|
|
6027
|
+
}>;
|
|
6028
|
+
}, z.core.$strip>>]>;
|
|
6029
|
+
declare const zUserStakingApiError404Error: z.ZodObject<{
|
|
6030
|
+
code: z.ZodEnum<{
|
|
6031
|
+
not_found: "not_found";
|
|
6032
|
+
}>;
|
|
6033
|
+
}, z.core.$strip>;
|
|
6034
|
+
declare const zUserStakingApiError500Error: z.ZodObject<{
|
|
6035
|
+
code: z.ZodEnum<{
|
|
6036
|
+
internal: "internal";
|
|
6037
|
+
}>;
|
|
6038
|
+
}, z.core.$strip>;
|
|
5172
6039
|
declare const zUserVaultEntriesApiError400InvalidAddress: z.ZodObject<{
|
|
5173
6040
|
code: z.ZodEnum<{
|
|
5174
6041
|
invalid_address: "invalid_address";
|
|
@@ -5313,6 +6180,7 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
5313
6180
|
id: z.ZodInt;
|
|
5314
6181
|
isHashrateBoosted: z.ZodBoolean;
|
|
5315
6182
|
minersCount: z.ZodInt;
|
|
6183
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5316
6184
|
revealedMinersCount: z.ZodInt;
|
|
5317
6185
|
settledMinersCount: z.ZodInt;
|
|
5318
6186
|
state: z.ZodEnum<{
|
|
@@ -5322,6 +6190,7 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
5322
6190
|
finished: "finished";
|
|
5323
6191
|
}>;
|
|
5324
6192
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
6193
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
5325
6194
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
5326
6195
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
5327
6196
|
deployCount: z.ZodInt;
|
|
@@ -5338,11 +6207,13 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
5338
6207
|
activePendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5339
6208
|
activePoolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5340
6209
|
activePoolCombinedUsdAmount: z.ZodNumber;
|
|
6210
|
+
activePoolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5341
6211
|
activePoolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5342
6212
|
address: z.ZodString;
|
|
5343
6213
|
currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
5344
6214
|
address: z.ZodString;
|
|
5345
6215
|
claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6216
|
+
claimableToken: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5346
6217
|
claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5347
6218
|
id: z.ZodInt;
|
|
5348
6219
|
pageCount: z.ZodInt;
|
|
@@ -5371,8 +6242,10 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
5371
6242
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
5372
6243
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5373
6244
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
6245
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5374
6246
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5375
6247
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
6248
|
+
reservedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5376
6249
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5377
6250
|
}, z.core.$strip>;
|
|
5378
6251
|
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
@@ -5408,6 +6281,7 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
5408
6281
|
id: z.ZodInt;
|
|
5409
6282
|
isHashrateBoosted: z.ZodBoolean;
|
|
5410
6283
|
minersCount: z.ZodInt;
|
|
6284
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5411
6285
|
revealedMinersCount: z.ZodInt;
|
|
5412
6286
|
settledMinersCount: z.ZodInt;
|
|
5413
6287
|
state: z.ZodEnum<{
|
|
@@ -5417,6 +6291,7 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
5417
6291
|
finished: "finished";
|
|
5418
6292
|
}>;
|
|
5419
6293
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
6294
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
5420
6295
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
5421
6296
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
5422
6297
|
deployCount: z.ZodInt;
|
|
@@ -5433,6 +6308,8 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
5433
6308
|
prices: z.ZodObject<{
|
|
5434
6309
|
btc: z.ZodNumber;
|
|
5435
6310
|
sat: z.ZodNumber;
|
|
6311
|
+
token: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6312
|
+
tokenShare: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
5436
6313
|
}, z.core.$strip>;
|
|
5437
6314
|
roundDuration: z.ZodInt;
|
|
5438
6315
|
roundEndsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -5444,6 +6321,7 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
5444
6321
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5445
6322
|
btcShares: z.ZodCoercedBigInt<unknown>;
|
|
5446
6323
|
}, z.core.$strip>;
|
|
6324
|
+
slotDurationMs: z.ZodNumber;
|
|
5447
6325
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
5448
6326
|
strike: z.ZodObject<{
|
|
5449
6327
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -5452,9 +6330,19 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
5452
6330
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5453
6331
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5454
6332
|
poolCombinedUsdAmount: z.ZodNumber;
|
|
6333
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5455
6334
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
6335
|
+
reserveTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
6336
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5456
6337
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5457
6338
|
}, z.core.$strip>;
|
|
6339
|
+
tokenVault: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
6340
|
+
address: z.ZodString;
|
|
6341
|
+
apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6342
|
+
leftovers: z.ZodCoercedBigInt<unknown>;
|
|
6343
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
6344
|
+
tokenShares: z.ZodCoercedBigInt<unknown>;
|
|
6345
|
+
}, z.core.$strip>]>>;
|
|
5458
6346
|
}, z.core.$strip>;
|
|
5459
6347
|
}, z.core.$strip>;
|
|
5460
6348
|
type GetBoardResponseZodType = z.infer<typeof zGetBoardResponse>;
|
|
@@ -5472,11 +6360,12 @@ declare const zGetConfigResponse: z.ZodObject<{
|
|
|
5472
6360
|
minDeployUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5473
6361
|
oneBtcFeeBps: z.ZodInt;
|
|
5474
6362
|
protocolFeeBps: z.ZodInt;
|
|
5475
|
-
satsVaultClaimFeeBps: z.ZodInt;
|
|
5476
6363
|
satsVaultRoundFeeBps: z.ZodInt;
|
|
5477
6364
|
strikeFeeBps: z.ZodInt;
|
|
6365
|
+
tokenMint: z.ZodString;
|
|
5478
6366
|
unclaimedHashrateBps: z.ZodInt;
|
|
5479
6367
|
usdMint: z.ZodString;
|
|
6368
|
+
vaultExitFeeBps: z.ZodInt;
|
|
5480
6369
|
}, z.core.$strip>;
|
|
5481
6370
|
}, z.core.$strip>;
|
|
5482
6371
|
type GetConfigResponseZodType = z.infer<typeof zGetConfigResponse>;
|
|
@@ -5496,6 +6385,7 @@ declare const zGetEpochHistoryResponse: z.ZodObject<{
|
|
|
5496
6385
|
id: z.ZodInt;
|
|
5497
6386
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5498
6387
|
poolCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6388
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5499
6389
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5500
6390
|
startedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
5501
6391
|
totalParticipants: z.ZodInt;
|
|
@@ -5531,6 +6421,8 @@ declare const zGetEpochIterationResponse: z.ZodObject<{
|
|
|
5531
6421
|
tickets: z.ZodCoercedBigInt<unknown>;
|
|
5532
6422
|
wonBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5533
6423
|
wonCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6424
|
+
wonTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
6425
|
+
wonTokenShares: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5534
6426
|
wonUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5535
6427
|
}, z.core.$strip>>, z.ZodNull]>>;
|
|
5536
6428
|
}, z.core.$strip>;
|
|
@@ -5558,6 +6450,7 @@ declare const zGetEpochIterationParticipantsResponse: z.ZodObject<{
|
|
|
5558
6450
|
tickets: z.ZodCoercedBigInt<unknown>;
|
|
5559
6451
|
wonBtcAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5560
6452
|
wonCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6453
|
+
wonTokenAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5561
6454
|
wonUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5562
6455
|
}, z.core.$strip>>;
|
|
5563
6456
|
}, z.core.$strip>;
|
|
@@ -5581,6 +6474,7 @@ declare const zGetEpochWinnersResponse: z.ZodObject<{
|
|
|
5581
6474
|
settledAtSlot: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5582
6475
|
tickets: z.ZodCoercedBigInt<unknown>;
|
|
5583
6476
|
wonBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
6477
|
+
wonTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5584
6478
|
wonUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5585
6479
|
}, z.core.$strip>>;
|
|
5586
6480
|
}, z.core.$strip>;
|
|
@@ -5786,6 +6680,7 @@ declare const zGetRoundsResponse: z.ZodObject<{
|
|
|
5786
6680
|
isHashrateBoosted: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
5787
6681
|
isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
5788
6682
|
minersCount: z.ZodInt;
|
|
6683
|
+
mintedToken: z.ZodCoercedBigInt<unknown>;
|
|
5789
6684
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
5790
6685
|
startedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
5791
6686
|
state: z.ZodEnum<{
|
|
@@ -5797,13 +6692,18 @@ declare const zGetRoundsResponse: z.ZodObject<{
|
|
|
5797
6692
|
}>;
|
|
5798
6693
|
strikeBonusBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5799
6694
|
strikeBonusCombinedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6695
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
5800
6696
|
strikeBonusUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5801
6697
|
strikeEpochBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6698
|
+
strikeEpochToken: z.ZodCoercedBigInt<unknown>;
|
|
5802
6699
|
strikeEpochUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5803
6700
|
strikeReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6701
|
+
strikeReserveToken: z.ZodCoercedBigInt<unknown>;
|
|
5804
6702
|
strikeReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5805
6703
|
strikeSeedFromReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6704
|
+
strikeSeedFromReserveToken: z.ZodCoercedBigInt<unknown>;
|
|
5806
6705
|
strikeSeedFromReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6706
|
+
strikeTokenFee: z.ZodCoercedBigInt<unknown>;
|
|
5807
6707
|
totalDeployedUsd: z.ZodCoercedBigInt<unknown>;
|
|
5808
6708
|
totalGrossDeployedUsd: z.ZodCoercedBigInt<unknown>;
|
|
5809
6709
|
totalPotBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
@@ -5841,6 +6741,8 @@ declare const zGetRoundResponse: z.ZodObject<{
|
|
|
5841
6741
|
satsSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
5842
6742
|
selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
5843
6743
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
6744
|
+
tokenEarned: z.ZodCoercedBigInt<unknown>;
|
|
6745
|
+
tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
5844
6746
|
totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
|
|
5845
6747
|
usdEarned: z.ZodCoercedBigInt<unknown>;
|
|
5846
6748
|
winningUsdStakeAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
@@ -5850,6 +6752,7 @@ declare const zGetRoundResponse: z.ZodObject<{
|
|
|
5850
6752
|
isHashrateBoosted: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
5851
6753
|
isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
5852
6754
|
minersCount: z.ZodInt;
|
|
6755
|
+
mintedToken: z.ZodCoercedBigInt<unknown>;
|
|
5853
6756
|
oneBtcFeeUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5854
6757
|
protocolFeeUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5855
6758
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -5864,14 +6767,19 @@ declare const zGetRoundResponse: z.ZodObject<{
|
|
|
5864
6767
|
}>;
|
|
5865
6768
|
strikeBonusBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5866
6769
|
strikeBonusCombinedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6770
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
5867
6771
|
strikeBonusUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5868
6772
|
strikeEpochBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6773
|
+
strikeEpochToken: z.ZodCoercedBigInt<unknown>;
|
|
5869
6774
|
strikeEpochUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5870
6775
|
strikeFeeUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5871
6776
|
strikeReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6777
|
+
strikeReserveToken: z.ZodCoercedBigInt<unknown>;
|
|
5872
6778
|
strikeReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5873
6779
|
strikeSeedFromReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6780
|
+
strikeSeedFromReserveToken: z.ZodCoercedBigInt<unknown>;
|
|
5874
6781
|
strikeSeedFromReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6782
|
+
strikeTokenFee: z.ZodCoercedBigInt<unknown>;
|
|
5875
6783
|
totalDeployedUsd: z.ZodCoercedBigInt<unknown>;
|
|
5876
6784
|
totalGrossDeployedUsd: z.ZodCoercedBigInt<unknown>;
|
|
5877
6785
|
totalPotBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
@@ -5882,6 +6790,24 @@ declare const zGetRoundResponse: z.ZodObject<{
|
|
|
5882
6790
|
}, z.core.$strip>;
|
|
5883
6791
|
}, z.core.$strip>;
|
|
5884
6792
|
type GetRoundResponseZodType = z.infer<typeof zGetRoundResponse>;
|
|
6793
|
+
declare const zGetStakingTreasuryData: z.ZodObject<{
|
|
6794
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
6795
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
6796
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
6797
|
+
}, z.core.$strip>;
|
|
6798
|
+
declare const zGetStakingTreasuryResponse: z.ZodObject<{
|
|
6799
|
+
data: z.ZodObject<{
|
|
6800
|
+
address: z.ZodString;
|
|
6801
|
+
rewardTokenMint: z.ZodString;
|
|
6802
|
+
rewardVault: z.ZodString;
|
|
6803
|
+
stakedTokenMint: z.ZodString;
|
|
6804
|
+
stakedVault: z.ZodString;
|
|
6805
|
+
totalRewardDeposited: z.ZodCoercedBigInt<unknown>;
|
|
6806
|
+
totalStaked: z.ZodCoercedBigInt<unknown>;
|
|
6807
|
+
totalStakers: z.ZodInt;
|
|
6808
|
+
}, z.core.$strip>;
|
|
6809
|
+
}, z.core.$strip>;
|
|
6810
|
+
type GetStakingTreasuryResponseZodType = z.infer<typeof zGetStakingTreasuryResponse>;
|
|
5885
6811
|
declare const zSseData: z.ZodObject<{
|
|
5886
6812
|
body: z.ZodOptional<z.ZodNever>;
|
|
5887
6813
|
path: z.ZodOptional<z.ZodNever>;
|
|
@@ -5906,6 +6832,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
5906
6832
|
id: z.ZodInt;
|
|
5907
6833
|
isHashrateBoosted: z.ZodBoolean;
|
|
5908
6834
|
minersCount: z.ZodInt;
|
|
6835
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5909
6836
|
revealedMinersCount: z.ZodInt;
|
|
5910
6837
|
settledMinersCount: z.ZodInt;
|
|
5911
6838
|
state: z.ZodEnum<{
|
|
@@ -5915,6 +6842,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
5915
6842
|
finished: "finished";
|
|
5916
6843
|
}>;
|
|
5917
6844
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
6845
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
5918
6846
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
5919
6847
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
5920
6848
|
deployCount: z.ZodInt;
|
|
@@ -5931,11 +6859,13 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
5931
6859
|
activePendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5932
6860
|
activePoolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5933
6861
|
activePoolCombinedUsdAmount: z.ZodNumber;
|
|
6862
|
+
activePoolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5934
6863
|
activePoolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5935
6864
|
address: z.ZodString;
|
|
5936
6865
|
currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
5937
6866
|
address: z.ZodString;
|
|
5938
6867
|
claimableBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6868
|
+
claimableToken: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5939
6869
|
claimableUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5940
6870
|
id: z.ZodInt;
|
|
5941
6871
|
pageCount: z.ZodInt;
|
|
@@ -5964,8 +6894,10 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
5964
6894
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
5965
6895
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5966
6896
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
6897
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5967
6898
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5968
6899
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
6900
|
+
reservedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
5969
6901
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5970
6902
|
}, z.core.$strip>;
|
|
5971
6903
|
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
@@ -6001,6 +6933,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
6001
6933
|
id: z.ZodInt;
|
|
6002
6934
|
isHashrateBoosted: z.ZodBoolean;
|
|
6003
6935
|
minersCount: z.ZodInt;
|
|
6936
|
+
mintedTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
6004
6937
|
revealedMinersCount: z.ZodInt;
|
|
6005
6938
|
settledMinersCount: z.ZodInt;
|
|
6006
6939
|
state: z.ZodEnum<{
|
|
@@ -6010,6 +6943,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
6010
6943
|
finished: "finished";
|
|
6011
6944
|
}>;
|
|
6012
6945
|
strikeBonusBtc: z.ZodCoercedBigInt<unknown>;
|
|
6946
|
+
strikeBonusToken: z.ZodCoercedBigInt<unknown>;
|
|
6013
6947
|
strikeBonusUsd: z.ZodCoercedBigInt<unknown>;
|
|
6014
6948
|
tileStakes: z.ZodArray<z.ZodObject<{
|
|
6015
6949
|
deployCount: z.ZodInt;
|
|
@@ -6026,6 +6960,8 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
6026
6960
|
prices: z.ZodObject<{
|
|
6027
6961
|
btc: z.ZodNumber;
|
|
6028
6962
|
sat: z.ZodNumber;
|
|
6963
|
+
token: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6964
|
+
tokenShare: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6029
6965
|
}, z.core.$strip>;
|
|
6030
6966
|
roundDuration: z.ZodInt;
|
|
6031
6967
|
roundEndsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -6037,6 +6973,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
6037
6973
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
6038
6974
|
btcShares: z.ZodCoercedBigInt<unknown>;
|
|
6039
6975
|
}, z.core.$strip>;
|
|
6976
|
+
slotDurationMs: z.ZodNumber;
|
|
6040
6977
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
6041
6978
|
strike: z.ZodObject<{
|
|
6042
6979
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -6045,9 +6982,19 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
6045
6982
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
6046
6983
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
6047
6984
|
poolCombinedUsdAmount: z.ZodNumber;
|
|
6985
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
6048
6986
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
6987
|
+
reserveTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
6988
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
6049
6989
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
6050
6990
|
}, z.core.$strip>;
|
|
6991
|
+
tokenVault: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
6992
|
+
address: z.ZodString;
|
|
6993
|
+
apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6994
|
+
leftovers: z.ZodCoercedBigInt<unknown>;
|
|
6995
|
+
tokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
6996
|
+
tokenShares: z.ZodCoercedBigInt<unknown>;
|
|
6997
|
+
}, z.core.$strip>]>>;
|
|
6051
6998
|
}, z.core.$strip>;
|
|
6052
6999
|
entity: z.ZodEnum<{
|
|
6053
7000
|
state_snapshot: "state_snapshot";
|
|
@@ -6096,14 +7043,20 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
6096
7043
|
totalRounds: z.ZodInt;
|
|
6097
7044
|
totalSatsClaimed: z.ZodCoercedBigInt<unknown>;
|
|
6098
7045
|
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
7046
|
+
totalTokenSharesClaimed: z.ZodCoercedBigInt<unknown>;
|
|
7047
|
+
totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
7048
|
+
totalTokensReceived: z.ZodCoercedBigInt<unknown>;
|
|
6099
7049
|
totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
|
|
6100
7050
|
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
6101
7051
|
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
6102
7052
|
unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
6103
7053
|
unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
7054
|
+
unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
6104
7055
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
6105
7056
|
unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
|
|
7057
|
+
unrealizedTokenPnl: z.ZodCoercedBigInt<unknown>;
|
|
6106
7058
|
unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
7059
|
+
unsettledTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
6107
7060
|
unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
6108
7061
|
}, z.core.$strip>;
|
|
6109
7062
|
oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
|
|
@@ -6177,14 +7130,20 @@ declare const zGetUserProfileResponse: z.ZodObject<{
|
|
|
6177
7130
|
totalRounds: z.ZodInt;
|
|
6178
7131
|
totalSatsClaimed: z.ZodCoercedBigInt<unknown>;
|
|
6179
7132
|
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
7133
|
+
totalTokenSharesClaimed: z.ZodCoercedBigInt<unknown>;
|
|
7134
|
+
totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
7135
|
+
totalTokensReceived: z.ZodCoercedBigInt<unknown>;
|
|
6180
7136
|
totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
|
|
6181
7137
|
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
6182
7138
|
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
6183
7139
|
unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
|
|
6184
7140
|
unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
7141
|
+
unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
6185
7142
|
unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
6186
7143
|
unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
|
|
7144
|
+
unrealizedTokenPnl: z.ZodCoercedBigInt<unknown>;
|
|
6187
7145
|
unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
7146
|
+
unsettledTokenShares: z.ZodCoercedBigInt<unknown>;
|
|
6188
7147
|
unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
6189
7148
|
}, z.core.$strip>;
|
|
6190
7149
|
oneBtcVaultEntries: z.ZodArray<z.ZodObject<{
|
|
@@ -6202,6 +7161,25 @@ declare const zGetUserProfileResponse: z.ZodObject<{
|
|
|
6202
7161
|
}, z.core.$strip>;
|
|
6203
7162
|
}, z.core.$strip>;
|
|
6204
7163
|
type GetUserProfileResponseZodType = z.infer<typeof zGetUserProfileResponse>;
|
|
7164
|
+
declare const zGetUserAffiliateData: z.ZodObject<{
|
|
7165
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
7166
|
+
path: z.ZodObject<{
|
|
7167
|
+
address: z.ZodString;
|
|
7168
|
+
}, z.core.$strip>;
|
|
7169
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
7170
|
+
}, z.core.$strip>;
|
|
7171
|
+
declare const zGetUserAffiliateResponse: z.ZodObject<{
|
|
7172
|
+
data: z.ZodObject<{
|
|
7173
|
+
affiliateRateBps: z.ZodInt;
|
|
7174
|
+
authority: z.ZodString;
|
|
7175
|
+
grubstakeClaimable: z.ZodCoercedBigInt<unknown>;
|
|
7176
|
+
grubstakeEarned: z.ZodCoercedBigInt<unknown>;
|
|
7177
|
+
referralUsdVolume: z.ZodCoercedBigInt<unknown>;
|
|
7178
|
+
referredMiners: z.ZodInt;
|
|
7179
|
+
tag: z.ZodString;
|
|
7180
|
+
}, z.core.$strip>;
|
|
7181
|
+
}, z.core.$strip>;
|
|
7182
|
+
type GetUserAffiliateResponseZodType = z.infer<typeof zGetUserAffiliateResponse>;
|
|
6205
7183
|
declare const zGetUserClaimsData: z.ZodObject<{
|
|
6206
7184
|
body: z.ZodOptional<z.ZodNever>;
|
|
6207
7185
|
path: z.ZodObject<{
|
|
@@ -6220,12 +7198,15 @@ declare const zGetUserClaimsResponse: z.ZodObject<{
|
|
|
6220
7198
|
claimType: z.ZodEnum<{
|
|
6221
7199
|
usd: "usd";
|
|
6222
7200
|
sats: "sats";
|
|
7201
|
+
token: "token";
|
|
6223
7202
|
}>;
|
|
6224
7203
|
claimedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
6225
7204
|
hashrateClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6226
7205
|
id: z.ZodInt;
|
|
6227
7206
|
satsClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6228
7207
|
signature: z.ZodString;
|
|
7208
|
+
tokenSharesClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
7209
|
+
tokensReceived: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6229
7210
|
usdClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6230
7211
|
}, z.core.$strip>>;
|
|
6231
7212
|
}, z.core.$strip>;
|
|
@@ -6258,6 +7239,8 @@ declare const zGetUserDeploymentsResponse: z.ZodObject<{
|
|
|
6258
7239
|
satsSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
6259
7240
|
selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
6260
7241
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
7242
|
+
tokenEarned: z.ZodCoercedBigInt<unknown>;
|
|
7243
|
+
tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
6261
7244
|
totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
|
|
6262
7245
|
usdEarned: z.ZodCoercedBigInt<unknown>;
|
|
6263
7246
|
}, z.core.$strip>>;
|
|
@@ -6289,6 +7272,8 @@ declare const zGetUserEpochEntriesResponse: z.ZodObject<{
|
|
|
6289
7272
|
tickets: z.ZodCoercedBigInt<unknown>;
|
|
6290
7273
|
wonBtcAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6291
7274
|
wonCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
7275
|
+
wonTokenAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
7276
|
+
wonTokenShares: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6292
7277
|
wonUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
6293
7278
|
}, z.core.$strip>>;
|
|
6294
7279
|
}, z.core.$strip>;
|
|
@@ -6346,6 +7331,53 @@ declare const zGetUserOneBtcEntriesResponse: z.ZodObject<{
|
|
|
6346
7331
|
}, z.core.$strip>>;
|
|
6347
7332
|
}, z.core.$strip>;
|
|
6348
7333
|
type GetUserOneBtcEntriesResponseZodType = z.infer<typeof zGetUserOneBtcEntriesResponse>;
|
|
7334
|
+
declare const zGetUserReferralsData: z.ZodObject<{
|
|
7335
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
7336
|
+
path: z.ZodObject<{
|
|
7337
|
+
address: z.ZodString;
|
|
7338
|
+
}, z.core.$strip>;
|
|
7339
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
7340
|
+
sort: z.ZodOptional<z.ZodEnum<{
|
|
7341
|
+
usd_volume: "usd_volume";
|
|
7342
|
+
first_deployed_at: "first_deployed_at";
|
|
7343
|
+
}>>;
|
|
7344
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
7345
|
+
desc: "desc";
|
|
7346
|
+
asc: "asc";
|
|
7347
|
+
}>>;
|
|
7348
|
+
offset: z.ZodOptional<z.ZodInt>;
|
|
7349
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
7350
|
+
}, z.core.$strip>>;
|
|
7351
|
+
}, z.core.$strip>;
|
|
7352
|
+
declare const zGetUserReferralsResponse: z.ZodObject<{
|
|
7353
|
+
data: z.ZodObject<{
|
|
7354
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
7355
|
+
authority: z.ZodString;
|
|
7356
|
+
firstDeployedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
7357
|
+
grubstakeEarned: z.ZodCoercedBigInt<unknown>;
|
|
7358
|
+
totalDeployments: z.ZodInt;
|
|
7359
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
7360
|
+
}, z.core.$strip>>;
|
|
7361
|
+
total: z.ZodInt;
|
|
7362
|
+
}, z.core.$strip>;
|
|
7363
|
+
}, z.core.$strip>;
|
|
7364
|
+
type GetUserReferralsResponseZodType = z.infer<typeof zGetUserReferralsResponse>;
|
|
7365
|
+
declare const zGetUserStakingData: z.ZodObject<{
|
|
7366
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
7367
|
+
path: z.ZodObject<{
|
|
7368
|
+
address: z.ZodString;
|
|
7369
|
+
}, z.core.$strip>;
|
|
7370
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
7371
|
+
}, z.core.$strip>;
|
|
7372
|
+
declare const zGetUserStakingResponse: z.ZodObject<{
|
|
7373
|
+
data: z.ZodObject<{
|
|
7374
|
+
address: z.ZodString;
|
|
7375
|
+
authority: z.ZodString;
|
|
7376
|
+
shares: z.ZodCoercedBigInt<unknown>;
|
|
7377
|
+
unclaimedReward: z.ZodCoercedBigInt<unknown>;
|
|
7378
|
+
}, z.core.$strip>;
|
|
7379
|
+
}, z.core.$strip>;
|
|
7380
|
+
type GetUserStakingResponseZodType = z.infer<typeof zGetUserStakingResponse>;
|
|
6349
7381
|
|
|
6350
7382
|
type HasOnlyDataKey<T> = T extends object ? Exclude<keyof T, 'data'> extends never ? true : false : false;
|
|
6351
7383
|
type UnwrapData<T> = T extends {
|
|
@@ -6369,4 +7401,4 @@ declare class SatrushBackendSdkError<TCause = unknown> extends Error {
|
|
|
6369
7401
|
declare const satrushSdkErrorInterceptor: (error: unknown, response?: Response) => SatrushBackendSdkError<unknown>;
|
|
6370
7402
|
declare const isSatrushSdkError: <TCause = unknown>(error: unknown) => error is SatrushBackendSdkError<TCause>;
|
|
6371
7403
|
|
|
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 };
|
|
7404
|
+
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 GetStakingTreasuryData, type GetStakingTreasuryError, type GetStakingTreasuryErrors, type GetStakingTreasuryResponse, type GetStakingTreasuryResponseZodType, type GetStakingTreasuryResponses, 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 GetUserStakingData, type GetUserStakingError, type GetUserStakingErrors, type GetUserStakingResponse, type GetUserStakingResponseZodType, type GetUserStakingResponses, 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 StakingPositionDto, type StakingTreasuryApiError404Error, type StakingTreasuryApiError500Error, type StakingTreasuryDto, 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 UserStakingApiError400Error, type UserStakingApiError400InvalidAddress, type UserStakingApiError404Error, type UserStakingApiError500Error, 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, zGetStakingTreasuryData, zGetStakingTreasuryResponse, zGetUserAffiliateData, zGetUserAffiliateResponse, zGetUserClaimsData, zGetUserClaimsResponse, zGetUserDeploymentsData, zGetUserDeploymentsResponse, zGetUserEpochEntriesData, zGetUserEpochEntriesResponse, zGetUserHashrateActionsData, zGetUserHashrateActionsResponse, zGetUserOneBtcEntriesData, zGetUserOneBtcEntriesResponse, zGetUserProfileData, zGetUserProfileResponse, zGetUserReferralsData, zGetUserReferralsResponse, zGetUserStakingData, zGetUserStakingResponse, 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, zStakingPositionDto, zStakingTreasuryApiError404Error, zStakingTreasuryApiError500Error, zStakingTreasuryDto, 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, zUserStakingApiError400Error, zUserStakingApiError400InvalidAddress, zUserStakingApiError404Error, zUserStakingApiError500Error, zUserVaultEntriesApiError400Error, zUserVaultEntriesApiError400InvalidAddress, zUserVaultEntriesApiError400InvalidBefore, zUserVaultEntriesApiError400InvalidRange, zUserVaultEntriesApiError400InvalidWinsOnly, zUserVaultEntriesApiError500Error, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody, zWalletLeaderboardApiError400Error, zWalletLeaderboardApiError400InvalidAddress, zWalletLeaderboardApiError404Error, zWalletLeaderboardDto };
|