@satrush/api 0.1.13 → 0.1.14
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 +472 -0
- package/dist/index.d.cts +816 -1
- package/dist/index.d.ts +816 -1
- package/dist/index.js +446 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -414,6 +414,65 @@ type EpochHistoryApiError400InvalidRange = {
|
|
|
414
414
|
type EpochHistoryApiError500Error = {
|
|
415
415
|
code: 'internal';
|
|
416
416
|
};
|
|
417
|
+
type EpochIterationApiError404Error = {
|
|
418
|
+
code: 'not_found';
|
|
419
|
+
};
|
|
420
|
+
type EpochIterationApiError500Error = {
|
|
421
|
+
code: 'internal';
|
|
422
|
+
};
|
|
423
|
+
/**
|
|
424
|
+
* One Epoch Vault iteration in full: the pot, its dollar valuation at the
|
|
425
|
+
* draw-time BTC price, and the resolved winners.
|
|
426
|
+
*/
|
|
427
|
+
type EpochIterationDetailsDto = {
|
|
428
|
+
/**
|
|
429
|
+
* The on-chain EpochVaultIteration account address.
|
|
430
|
+
*/
|
|
431
|
+
address: PubkeyDto;
|
|
432
|
+
/**
|
|
433
|
+
* The BTC price valuing the pot: the draw-time indexed price for past
|
|
434
|
+
* iterations, the live Jupiter price for the current one; `null` when
|
|
435
|
+
* no price was indexed near the draw.
|
|
436
|
+
*/
|
|
437
|
+
btcPrice?: number | null;
|
|
438
|
+
/**
|
|
439
|
+
* When the last winner was selected; `null` until the draw resolves.
|
|
440
|
+
*/
|
|
441
|
+
endedAt?: Date | null;
|
|
442
|
+
/**
|
|
443
|
+
* Iteration id.
|
|
444
|
+
*/
|
|
445
|
+
id: number;
|
|
446
|
+
/**
|
|
447
|
+
* BTC pot: sealed at trigger time for past iterations, the drawable
|
|
448
|
+
* (rollover-excluded) share of the vault's live BTC pool for the
|
|
449
|
+
* current one.
|
|
450
|
+
*/
|
|
451
|
+
poolBtcAmount: U64Dto;
|
|
452
|
+
/**
|
|
453
|
+
* Both pools in dollars at `btc_price`; `null` when that price is
|
|
454
|
+
* unknown.
|
|
455
|
+
*/
|
|
456
|
+
poolCombinedUsdAmount?: number | null;
|
|
457
|
+
/**
|
|
458
|
+
* USD pot: sealed at trigger time for past iterations, the drawable
|
|
459
|
+
* (rollover-excluded) share of the vault's live accumulating USDC for
|
|
460
|
+
* the current one.
|
|
461
|
+
*/
|
|
462
|
+
poolUsdAmount: U64Dto;
|
|
463
|
+
startedAt: Date;
|
|
464
|
+
totalParticipants: number;
|
|
465
|
+
totalTickets: U64Dto;
|
|
466
|
+
/**
|
|
467
|
+
* When the draw was triggered; `null` while still accumulating.
|
|
468
|
+
*/
|
|
469
|
+
triggeredAt?: Date | null;
|
|
470
|
+
/**
|
|
471
|
+
* Winners in rank order with their winnings valued at `btc_price`;
|
|
472
|
+
* `null` until the draw resolves.
|
|
473
|
+
*/
|
|
474
|
+
winners?: Array<EpochIterationWinnerDto> | null;
|
|
475
|
+
};
|
|
417
476
|
/**
|
|
418
477
|
* An Epoch Vault iteration as recorded by the rounds indexer.
|
|
419
478
|
*/
|
|
@@ -434,6 +493,11 @@ type EpochIterationHistoryDto = {
|
|
|
434
493
|
* BTC pot sealed into the draw at trigger time; 0 while accumulating.
|
|
435
494
|
*/
|
|
436
495
|
poolBtcAmount: U64Dto;
|
|
496
|
+
/**
|
|
497
|
+
* Both pools in dollars at the draw-time BTC price; `null` while
|
|
498
|
+
* accumulating or when no price was indexed near the draw.
|
|
499
|
+
*/
|
|
500
|
+
poolCombinedUsdAmount?: number | null;
|
|
437
501
|
/**
|
|
438
502
|
* USD pot sealed into the draw at trigger time; 0 while accumulating.
|
|
439
503
|
*/
|
|
@@ -446,6 +510,90 @@ type EpochIterationHistoryDto = {
|
|
|
446
510
|
*/
|
|
447
511
|
triggeredAt?: Date | null;
|
|
448
512
|
};
|
|
513
|
+
/**
|
|
514
|
+
* A participant of an Epoch Vault iteration; the winner fields fill in once
|
|
515
|
+
* the draw resolves.
|
|
516
|
+
*/
|
|
517
|
+
type EpochIterationParticipantDto = {
|
|
518
|
+
authority: PubkeyDto;
|
|
519
|
+
/**
|
|
520
|
+
* When the winner claimed; `null` until claimed or for non-winners.
|
|
521
|
+
*/
|
|
522
|
+
claimedAt?: Date | null;
|
|
523
|
+
/**
|
|
524
|
+
* When the wallet first entered the iteration.
|
|
525
|
+
*/
|
|
526
|
+
createdAt: Date;
|
|
527
|
+
/**
|
|
528
|
+
* Entry id; the pagination cursor.
|
|
529
|
+
*/
|
|
530
|
+
id: number;
|
|
531
|
+
/**
|
|
532
|
+
* Whether the wallet won the draw; `null` until it resolves.
|
|
533
|
+
*/
|
|
534
|
+
isWon?: boolean | null;
|
|
535
|
+
/**
|
|
536
|
+
* 0-based selection order; `null` for non-winners.
|
|
537
|
+
*/
|
|
538
|
+
rank?: number | null;
|
|
539
|
+
/**
|
|
540
|
+
* The wallet's total tickets in the iteration.
|
|
541
|
+
*/
|
|
542
|
+
tickets: U64Dto;
|
|
543
|
+
wonBtcAmount?: null | U64Dto;
|
|
544
|
+
/**
|
|
545
|
+
* The win in dollars — USDC at face value, BTC at the iteration's
|
|
546
|
+
* draw-time price; `null` for non-winners or when that price is unknown.
|
|
547
|
+
*/
|
|
548
|
+
wonCombinedUsdAmount?: number | null;
|
|
549
|
+
wonUsdAmount?: null | U64Dto;
|
|
550
|
+
};
|
|
551
|
+
type EpochIterationParticipantsApiError400Error = ({
|
|
552
|
+
code: 'invalid_range';
|
|
553
|
+
} & EpochIterationParticipantsApiError400InvalidRange) | ({
|
|
554
|
+
code: 'invalid_body' | 'invalid_path' | 'invalid_query';
|
|
555
|
+
} & BadRequestErrorCodeErrorBody);
|
|
556
|
+
type EpochIterationParticipantsApiError400InvalidRange = {
|
|
557
|
+
code: 'invalid_range';
|
|
558
|
+
};
|
|
559
|
+
type EpochIterationParticipantsApiError404Error = {
|
|
560
|
+
code: 'not_found';
|
|
561
|
+
};
|
|
562
|
+
type EpochIterationParticipantsApiError500Error = {
|
|
563
|
+
code: 'internal';
|
|
564
|
+
};
|
|
565
|
+
/**
|
|
566
|
+
* A winner of an Epoch Vault iteration's draw, with its winnings valued at
|
|
567
|
+
* the iteration's draw-time BTC price.
|
|
568
|
+
*/
|
|
569
|
+
type EpochIterationWinnerDto = {
|
|
570
|
+
authority: PubkeyDto;
|
|
571
|
+
/**
|
|
572
|
+
* When the winner claimed; `null` until claimed.
|
|
573
|
+
*/
|
|
574
|
+
claimedAt?: Date | null;
|
|
575
|
+
/**
|
|
576
|
+
* 0-based selection order; determines the pot share.
|
|
577
|
+
*/
|
|
578
|
+
rank: number;
|
|
579
|
+
/**
|
|
580
|
+
* The winner's total tickets in the iteration.
|
|
581
|
+
*/
|
|
582
|
+
tickets: U64Dto;
|
|
583
|
+
/**
|
|
584
|
+
* BTC share of the pot; 0 for wins indexed from pre-extension events.
|
|
585
|
+
*/
|
|
586
|
+
wonBtcAmount: U64Dto;
|
|
587
|
+
/**
|
|
588
|
+
* Both shares in dollars — USDC at face value, BTC at the iteration's
|
|
589
|
+
* draw-time price; `null` when that price is unknown.
|
|
590
|
+
*/
|
|
591
|
+
wonCombinedUsdAmount?: number | null;
|
|
592
|
+
/**
|
|
593
|
+
* USD share of the pot; 0 for wins indexed from pre-extension events.
|
|
594
|
+
*/
|
|
595
|
+
wonUsdAmount: U64Dto;
|
|
596
|
+
};
|
|
449
597
|
/**
|
|
450
598
|
* Lifecycle state of an epoch vault iteration.
|
|
451
599
|
*/
|
|
@@ -463,6 +611,25 @@ type EpochStateDto = typeof EpochStateDto[keyof typeof EpochStateDto];
|
|
|
463
611
|
* Epoch vault balances and its current iteration.
|
|
464
612
|
*/
|
|
465
613
|
type EpochVaultDto = {
|
|
614
|
+
/**
|
|
615
|
+
* Payout portion of `pending_usd_amount` — the pool minus the 10% that
|
|
616
|
+
* rolls over to seed the next iteration's pot.
|
|
617
|
+
*/
|
|
618
|
+
activePendingUsdAmount: U64Dto;
|
|
619
|
+
/**
|
|
620
|
+
* Payout portion of `pool_btc_amount` (see `active_pending_usd_amount`).
|
|
621
|
+
*/
|
|
622
|
+
activePoolBtcAmount: U64Dto;
|
|
623
|
+
/**
|
|
624
|
+
* All three active legs in dollars — USDC at face value, BTC at the
|
|
625
|
+
* live price. Matches the drawable pot the iteration details endpoint
|
|
626
|
+
* reports for the current iteration (which also folds in pending fees).
|
|
627
|
+
*/
|
|
628
|
+
activePoolCombinedUsdAmount: number;
|
|
629
|
+
/**
|
|
630
|
+
* Payout portion of `pool_usd_amount` (see `active_pending_usd_amount`).
|
|
631
|
+
*/
|
|
632
|
+
activePoolUsdAmount: U64Dto;
|
|
466
633
|
address: PubkeyDto;
|
|
467
634
|
currentIteration?: null | EpochVaultIterationDto;
|
|
468
635
|
/**
|
|
@@ -697,6 +864,11 @@ type MinerClaimDto = {
|
|
|
697
864
|
type MinerDeploymentDto = {
|
|
698
865
|
authority: PubkeyDto;
|
|
699
866
|
btcEarned?: null | U64Dto;
|
|
867
|
+
/**
|
|
868
|
+
* `btc_earned` in dollars at the settle-time BTC price; `null` until
|
|
869
|
+
* settled or when no price was indexed near that moment.
|
|
870
|
+
*/
|
|
871
|
+
btcEarnedUsd?: number | null;
|
|
700
872
|
deployedAt: Date;
|
|
701
873
|
/**
|
|
702
874
|
* Gross USD deployed onto the round.
|
|
@@ -872,6 +1044,12 @@ type MinerEpochEntryDto = {
|
|
|
872
1044
|
*/
|
|
873
1045
|
tickets: U64Dto;
|
|
874
1046
|
wonBtcAmount?: null | U64Dto;
|
|
1047
|
+
/**
|
|
1048
|
+
* Both won legs in dollars — USDC at face value, BTC at the iteration's
|
|
1049
|
+
* draw-time price; `null` for non-winners, pre-extension wins, or when
|
|
1050
|
+
* no price was indexed near the draw.
|
|
1051
|
+
*/
|
|
1052
|
+
wonCombinedUsdAmount?: number | null;
|
|
875
1053
|
wonUsdAmount?: null | U64Dto;
|
|
876
1054
|
};
|
|
877
1055
|
/**
|
|
@@ -954,6 +1132,50 @@ type OneBtcHistoryApiError400InvalidRange = {
|
|
|
954
1132
|
type OneBtcHistoryApiError500Error = {
|
|
955
1133
|
code: 'internal';
|
|
956
1134
|
};
|
|
1135
|
+
type OneBtcIterationApiError404Error = {
|
|
1136
|
+
code: 'not_found';
|
|
1137
|
+
};
|
|
1138
|
+
type OneBtcIterationApiError500Error = {
|
|
1139
|
+
code: 'internal';
|
|
1140
|
+
};
|
|
1141
|
+
/**
|
|
1142
|
+
* One 1 BTC Vault iteration in full: the fixed prize, its dollar valuation
|
|
1143
|
+
* at the draw-time BTC price, and the winner once settled.
|
|
1144
|
+
*/
|
|
1145
|
+
type OneBtcIterationDetailsDto = {
|
|
1146
|
+
/**
|
|
1147
|
+
* The on-chain OneBtcVaultIteration account address.
|
|
1148
|
+
*/
|
|
1149
|
+
address: PubkeyDto;
|
|
1150
|
+
/**
|
|
1151
|
+
* The BTC price valuing the fixed 1 BTC prize: the draw-time indexed
|
|
1152
|
+
* price for past iterations, the live Jupiter price for the current
|
|
1153
|
+
* one; `null` when no price was indexed near the draw.
|
|
1154
|
+
*/
|
|
1155
|
+
btcPrice?: number | null;
|
|
1156
|
+
/**
|
|
1157
|
+
* When the winner claimed the prize; `null` until claimed.
|
|
1158
|
+
*/
|
|
1159
|
+
endedAt?: Date | null;
|
|
1160
|
+
/**
|
|
1161
|
+
* Iteration id.
|
|
1162
|
+
*/
|
|
1163
|
+
id: number;
|
|
1164
|
+
/**
|
|
1165
|
+
* When the draw was triggered and the winning ticket fixed; `null`
|
|
1166
|
+
* while still accumulating.
|
|
1167
|
+
*/
|
|
1168
|
+
settledAt?: Date | null;
|
|
1169
|
+
startedAt: Date;
|
|
1170
|
+
totalParticipants: number;
|
|
1171
|
+
totalTickets: U64Dto;
|
|
1172
|
+
/**
|
|
1173
|
+
* The prize in dollars at `btc_price`; `null` when that price is
|
|
1174
|
+
* unknown.
|
|
1175
|
+
*/
|
|
1176
|
+
usdAmount?: number | null;
|
|
1177
|
+
winner?: null | OneBtcIterationWinnerDto;
|
|
1178
|
+
};
|
|
957
1179
|
/**
|
|
958
1180
|
* A 1 BTC Vault iteration as recorded by the rounds indexer, including the
|
|
959
1181
|
* draw's winner once settled.
|
|
@@ -980,6 +1202,60 @@ type OneBtcIterationHistoryDto = {
|
|
|
980
1202
|
totalParticipants: number;
|
|
981
1203
|
totalTickets: U64Dto;
|
|
982
1204
|
winner?: null | PubkeyDto;
|
|
1205
|
+
winnerTickets?: null | U64Dto;
|
|
1206
|
+
};
|
|
1207
|
+
/**
|
|
1208
|
+
* A participant of a 1 BTC Vault iteration: the wallet's entries aggregated.
|
|
1209
|
+
*/
|
|
1210
|
+
type OneBtcIterationParticipantDto = {
|
|
1211
|
+
authority: PubkeyDto;
|
|
1212
|
+
/**
|
|
1213
|
+
* When the winner claimed the prize; `null` until claimed or for
|
|
1214
|
+
* non-winners.
|
|
1215
|
+
*/
|
|
1216
|
+
claimedAt?: Date | null;
|
|
1217
|
+
/**
|
|
1218
|
+
* When the wallet first entered the iteration.
|
|
1219
|
+
*/
|
|
1220
|
+
firstEntryAt: Date;
|
|
1221
|
+
/**
|
|
1222
|
+
* The wallet's first entry id in the iteration; the pagination cursor.
|
|
1223
|
+
*/
|
|
1224
|
+
id: number;
|
|
1225
|
+
/**
|
|
1226
|
+
* Whether one of the wallet's entries won the draw; `null` until it
|
|
1227
|
+
* settles.
|
|
1228
|
+
*/
|
|
1229
|
+
isWon?: boolean | null;
|
|
1230
|
+
/**
|
|
1231
|
+
* The wallet's total tickets across its entries in the iteration.
|
|
1232
|
+
*/
|
|
1233
|
+
tickets: U64Dto;
|
|
1234
|
+
};
|
|
1235
|
+
type OneBtcIterationParticipantsApiError400Error = ({
|
|
1236
|
+
code: 'invalid_range';
|
|
1237
|
+
} & OneBtcIterationParticipantsApiError400InvalidRange) | ({
|
|
1238
|
+
code: 'invalid_body' | 'invalid_path' | 'invalid_query';
|
|
1239
|
+
} & BadRequestErrorCodeErrorBody);
|
|
1240
|
+
type OneBtcIterationParticipantsApiError400InvalidRange = {
|
|
1241
|
+
code: 'invalid_range';
|
|
1242
|
+
};
|
|
1243
|
+
type OneBtcIterationParticipantsApiError404Error = {
|
|
1244
|
+
code: 'not_found';
|
|
1245
|
+
};
|
|
1246
|
+
type OneBtcIterationParticipantsApiError500Error = {
|
|
1247
|
+
code: 'internal';
|
|
1248
|
+
};
|
|
1249
|
+
/**
|
|
1250
|
+
* The winner of a 1 BTC iteration's draw.
|
|
1251
|
+
*/
|
|
1252
|
+
type OneBtcIterationWinnerDto = {
|
|
1253
|
+
authority: PubkeyDto;
|
|
1254
|
+
/**
|
|
1255
|
+
* When the winner claimed the prize; `null` until claimed.
|
|
1256
|
+
*/
|
|
1257
|
+
claimedAt?: Date | null;
|
|
1258
|
+
tickets?: null | U64Dto;
|
|
983
1259
|
};
|
|
984
1260
|
/**
|
|
985
1261
|
* Lifecycle state of a 1 BTC vault iteration.
|
|
@@ -1181,6 +1457,11 @@ type PublicDeploymentDto = {
|
|
|
1181
1457
|
type RoundDto = {
|
|
1182
1458
|
address: PubkeyDto;
|
|
1183
1459
|
deployedBtcAmount: U64Dto;
|
|
1460
|
+
/**
|
|
1461
|
+
* All deployed legs in dollars — pre- and post-swap USDC at face value,
|
|
1462
|
+
* BTC at the latest price.
|
|
1463
|
+
*/
|
|
1464
|
+
deployedCombinedUsdAmount: number;
|
|
1184
1465
|
deployedPendingUsdAmount: U64Dto;
|
|
1185
1466
|
deployedUsdAmount: U64Dto;
|
|
1186
1467
|
deployedUsdOnWinningTileAmount: U64Dto;
|
|
@@ -1228,6 +1509,11 @@ type RoundHistoryDto = {
|
|
|
1228
1509
|
startedAt?: Date | null;
|
|
1229
1510
|
state: RoundHistoryStateDto;
|
|
1230
1511
|
strikeBonusBtc?: null | U64Dto;
|
|
1512
|
+
/**
|
|
1513
|
+
* Both bonus legs in dollars at the reveal-time BTC price; unset until
|
|
1514
|
+
* revealed or when no price was indexed near that moment.
|
|
1515
|
+
*/
|
|
1516
|
+
strikeBonusCombinedUsd?: number | null;
|
|
1231
1517
|
strikeBonusUsd?: null | U64Dto;
|
|
1232
1518
|
strikeEpochBtc?: null | U64Dto;
|
|
1233
1519
|
strikeEpochUsd?: null | U64Dto;
|
|
@@ -1237,6 +1523,11 @@ type RoundHistoryDto = {
|
|
|
1237
1523
|
strikeSeedFromReserveUsd?: null | U64Dto;
|
|
1238
1524
|
totalDeployedUsd: U64Dto;
|
|
1239
1525
|
totalPotBtc?: null | U64Dto;
|
|
1526
|
+
/**
|
|
1527
|
+
* Both pot legs in dollars at the settle-time BTC price; unset until
|
|
1528
|
+
* settled or when no price was indexed near that moment.
|
|
1529
|
+
*/
|
|
1530
|
+
totalPotCombinedUsd?: number | null;
|
|
1240
1531
|
totalPotUsd?: null | U64Dto;
|
|
1241
1532
|
/**
|
|
1242
1533
|
* Miners on the winning tile; unset until revealed.
|
|
@@ -1397,6 +1688,20 @@ type StrikeJackpotDto = {
|
|
|
1397
1688
|
* USD waiting to be swapped into BTC.
|
|
1398
1689
|
*/
|
|
1399
1690
|
pendingUsdAmount: U64Dto;
|
|
1691
|
+
/**
|
|
1692
|
+
* Payout portion of `btc_amount` (see `pool_usd_amount`).
|
|
1693
|
+
*/
|
|
1694
|
+
poolBtcAmount: U64Dto;
|
|
1695
|
+
/**
|
|
1696
|
+
* Both pool legs in dollars — USDC at face value, BTC at the live
|
|
1697
|
+
* price.
|
|
1698
|
+
*/
|
|
1699
|
+
poolCombinedUsdAmount: number;
|
|
1700
|
+
/**
|
|
1701
|
+
* Payout portion of `usd_amount` — the pot minus the 30% that rolls
|
|
1702
|
+
* over to seed the next strike pot.
|
|
1703
|
+
*/
|
|
1704
|
+
poolUsdAmount: U64Dto;
|
|
1400
1705
|
/**
|
|
1401
1706
|
* USD held after the swap.
|
|
1402
1707
|
*/
|
|
@@ -1591,6 +1896,69 @@ type GetEpochHistoryResponses = {
|
|
|
1591
1896
|
};
|
|
1592
1897
|
};
|
|
1593
1898
|
type GetEpochHistoryResponse = GetEpochHistoryResponses[keyof GetEpochHistoryResponses];
|
|
1899
|
+
type GetEpochIterationData = {
|
|
1900
|
+
body?: never;
|
|
1901
|
+
path: {
|
|
1902
|
+
/**
|
|
1903
|
+
* Iteration id
|
|
1904
|
+
*/
|
|
1905
|
+
id: number;
|
|
1906
|
+
};
|
|
1907
|
+
query?: never;
|
|
1908
|
+
url: '/v1/epoch/iterations/{id}';
|
|
1909
|
+
};
|
|
1910
|
+
type GetEpochIterationErrors = {
|
|
1911
|
+
400: BadRequestErrorCodeErrorBody;
|
|
1912
|
+
404: EpochIterationApiError404Error;
|
|
1913
|
+
422: ValidationErrorCodeErrorBody;
|
|
1914
|
+
500: EpochIterationApiError500Error;
|
|
1915
|
+
};
|
|
1916
|
+
type GetEpochIterationError = GetEpochIterationErrors[keyof GetEpochIterationErrors];
|
|
1917
|
+
type GetEpochIterationResponses = {
|
|
1918
|
+
200: {
|
|
1919
|
+
data: EpochIterationDetailsDto;
|
|
1920
|
+
};
|
|
1921
|
+
};
|
|
1922
|
+
type GetEpochIterationResponse = GetEpochIterationResponses[keyof GetEpochIterationResponses];
|
|
1923
|
+
type GetEpochIterationParticipantsData = {
|
|
1924
|
+
body?: never;
|
|
1925
|
+
path: {
|
|
1926
|
+
/**
|
|
1927
|
+
* Iteration id
|
|
1928
|
+
*/
|
|
1929
|
+
id: number;
|
|
1930
|
+
};
|
|
1931
|
+
query?: {
|
|
1932
|
+
/**
|
|
1933
|
+
* Only participants with entry `id` strictly below this cursor; pass
|
|
1934
|
+
* the last `id` of the previous page to fetch the next one.
|
|
1935
|
+
*/
|
|
1936
|
+
before?: number;
|
|
1937
|
+
/**
|
|
1938
|
+
* Only participants with entry `id` strictly above this cursor; pass
|
|
1939
|
+
* the first `id` of a page to fetch newer participants.
|
|
1940
|
+
*/
|
|
1941
|
+
after?: number;
|
|
1942
|
+
/**
|
|
1943
|
+
* Page size, 1..=100; defaults to 50.
|
|
1944
|
+
*/
|
|
1945
|
+
limit?: number;
|
|
1946
|
+
};
|
|
1947
|
+
url: '/v1/epoch/iterations/{id}/participants';
|
|
1948
|
+
};
|
|
1949
|
+
type GetEpochIterationParticipantsErrors = {
|
|
1950
|
+
400: EpochIterationParticipantsApiError400Error;
|
|
1951
|
+
404: EpochIterationParticipantsApiError404Error;
|
|
1952
|
+
422: ValidationErrorCodeErrorBody;
|
|
1953
|
+
500: EpochIterationParticipantsApiError500Error;
|
|
1954
|
+
};
|
|
1955
|
+
type GetEpochIterationParticipantsError = GetEpochIterationParticipantsErrors[keyof GetEpochIterationParticipantsErrors];
|
|
1956
|
+
type GetEpochIterationParticipantsResponses = {
|
|
1957
|
+
200: {
|
|
1958
|
+
data: Array<EpochIterationParticipantDto>;
|
|
1959
|
+
};
|
|
1960
|
+
};
|
|
1961
|
+
type GetEpochIterationParticipantsResponse = GetEpochIterationParticipantsResponses[keyof GetEpochIterationParticipantsResponses];
|
|
1594
1962
|
type GetEpochWinnersData = {
|
|
1595
1963
|
body?: never;
|
|
1596
1964
|
path?: never;
|
|
@@ -1705,6 +2073,69 @@ type GetOneBtcHistoryResponses = {
|
|
|
1705
2073
|
};
|
|
1706
2074
|
};
|
|
1707
2075
|
type GetOneBtcHistoryResponse = GetOneBtcHistoryResponses[keyof GetOneBtcHistoryResponses];
|
|
2076
|
+
type GetOneBtcIterationData = {
|
|
2077
|
+
body?: never;
|
|
2078
|
+
path: {
|
|
2079
|
+
/**
|
|
2080
|
+
* Iteration id
|
|
2081
|
+
*/
|
|
2082
|
+
id: number;
|
|
2083
|
+
};
|
|
2084
|
+
query?: never;
|
|
2085
|
+
url: '/v1/one-btc/iterations/{id}';
|
|
2086
|
+
};
|
|
2087
|
+
type GetOneBtcIterationErrors = {
|
|
2088
|
+
400: BadRequestErrorCodeErrorBody;
|
|
2089
|
+
404: OneBtcIterationApiError404Error;
|
|
2090
|
+
422: ValidationErrorCodeErrorBody;
|
|
2091
|
+
500: OneBtcIterationApiError500Error;
|
|
2092
|
+
};
|
|
2093
|
+
type GetOneBtcIterationError = GetOneBtcIterationErrors[keyof GetOneBtcIterationErrors];
|
|
2094
|
+
type GetOneBtcIterationResponses = {
|
|
2095
|
+
200: {
|
|
2096
|
+
data: OneBtcIterationDetailsDto;
|
|
2097
|
+
};
|
|
2098
|
+
};
|
|
2099
|
+
type GetOneBtcIterationResponse = GetOneBtcIterationResponses[keyof GetOneBtcIterationResponses];
|
|
2100
|
+
type GetOneBtcIterationParticipantsData = {
|
|
2101
|
+
body?: never;
|
|
2102
|
+
path: {
|
|
2103
|
+
/**
|
|
2104
|
+
* Iteration id
|
|
2105
|
+
*/
|
|
2106
|
+
id: number;
|
|
2107
|
+
};
|
|
2108
|
+
query?: {
|
|
2109
|
+
/**
|
|
2110
|
+
* Only participants with first-entry `id` strictly below this cursor;
|
|
2111
|
+
* pass the last `id` of the previous page to fetch the next one.
|
|
2112
|
+
*/
|
|
2113
|
+
before?: number;
|
|
2114
|
+
/**
|
|
2115
|
+
* Only participants with first-entry `id` strictly above this cursor;
|
|
2116
|
+
* pass the first `id` of a page to fetch newer participants.
|
|
2117
|
+
*/
|
|
2118
|
+
after?: number;
|
|
2119
|
+
/**
|
|
2120
|
+
* Page size, 1..=100; defaults to 50.
|
|
2121
|
+
*/
|
|
2122
|
+
limit?: number;
|
|
2123
|
+
};
|
|
2124
|
+
url: '/v1/one-btc/iterations/{id}/participants';
|
|
2125
|
+
};
|
|
2126
|
+
type GetOneBtcIterationParticipantsErrors = {
|
|
2127
|
+
400: OneBtcIterationParticipantsApiError400Error;
|
|
2128
|
+
404: OneBtcIterationParticipantsApiError404Error;
|
|
2129
|
+
422: ValidationErrorCodeErrorBody;
|
|
2130
|
+
500: OneBtcIterationParticipantsApiError500Error;
|
|
2131
|
+
};
|
|
2132
|
+
type GetOneBtcIterationParticipantsError = GetOneBtcIterationParticipantsErrors[keyof GetOneBtcIterationParticipantsErrors];
|
|
2133
|
+
type GetOneBtcIterationParticipantsResponses = {
|
|
2134
|
+
200: {
|
|
2135
|
+
data: Array<OneBtcIterationParticipantDto>;
|
|
2136
|
+
};
|
|
2137
|
+
};
|
|
2138
|
+
type GetOneBtcIterationParticipantsResponse = GetOneBtcIterationParticipantsResponses[keyof GetOneBtcIterationParticipantsResponses];
|
|
1708
2139
|
type GetRoundsData = {
|
|
1709
2140
|
body?: never;
|
|
1710
2141
|
path?: never;
|
|
@@ -2040,6 +2471,21 @@ declare class SatrushBackendSdk extends HeyApiClient {
|
|
|
2040
2471
|
after?: number;
|
|
2041
2472
|
limit?: number;
|
|
2042
2473
|
}, options?: Options<never, ThrowOnError>): RequestResult<GetEpochHistoryResponses, GetEpochHistoryErrors, ThrowOnError, "fields">;
|
|
2474
|
+
/**
|
|
2475
|
+
* Request Epoch Vault iteration details
|
|
2476
|
+
*/
|
|
2477
|
+
getEpochIteration<ThrowOnError extends boolean = false>(parameters: {
|
|
2478
|
+
id: number;
|
|
2479
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetEpochIterationResponses, GetEpochIterationErrors, ThrowOnError, "fields">;
|
|
2480
|
+
/**
|
|
2481
|
+
* Request Epoch Vault iteration participants
|
|
2482
|
+
*/
|
|
2483
|
+
getEpochIterationParticipants<ThrowOnError extends boolean = false>(parameters: {
|
|
2484
|
+
id: number;
|
|
2485
|
+
before?: number;
|
|
2486
|
+
after?: number;
|
|
2487
|
+
limit?: number;
|
|
2488
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetEpochIterationParticipantsResponses, GetEpochIterationParticipantsErrors, ThrowOnError, "fields">;
|
|
2043
2489
|
/**
|
|
2044
2490
|
* Request Epoch Vault winners
|
|
2045
2491
|
*/
|
|
@@ -2068,6 +2514,21 @@ declare class SatrushBackendSdk extends HeyApiClient {
|
|
|
2068
2514
|
after?: number;
|
|
2069
2515
|
limit?: number;
|
|
2070
2516
|
}, options?: Options<never, ThrowOnError>): RequestResult<GetOneBtcHistoryResponses, GetOneBtcHistoryErrors, ThrowOnError, "fields">;
|
|
2517
|
+
/**
|
|
2518
|
+
* Request 1 BTC Vault iteration details
|
|
2519
|
+
*/
|
|
2520
|
+
getOneBtcIteration<ThrowOnError extends boolean = false>(parameters: {
|
|
2521
|
+
id: number;
|
|
2522
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetOneBtcIterationResponses, GetOneBtcIterationErrors, ThrowOnError, "fields">;
|
|
2523
|
+
/**
|
|
2524
|
+
* Request 1 BTC Vault iteration participants
|
|
2525
|
+
*/
|
|
2526
|
+
getOneBtcIterationParticipants<ThrowOnError extends boolean = false>(parameters: {
|
|
2527
|
+
id: number;
|
|
2528
|
+
before?: number;
|
|
2529
|
+
after?: number;
|
|
2530
|
+
limit?: number;
|
|
2531
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetOneBtcIterationParticipantsResponses, GetOneBtcIterationParticipantsErrors, ThrowOnError, "fields">;
|
|
2071
2532
|
/**
|
|
2072
2533
|
* Request rounds history
|
|
2073
2534
|
*/
|
|
@@ -2185,6 +2646,46 @@ declare const zEpochHistoryApiError500Error: z.ZodObject<{
|
|
|
2185
2646
|
internal: "internal";
|
|
2186
2647
|
}>;
|
|
2187
2648
|
}, z.core.$strip>;
|
|
2649
|
+
declare const zEpochIterationApiError404Error: z.ZodObject<{
|
|
2650
|
+
code: z.ZodEnum<{
|
|
2651
|
+
not_found: "not_found";
|
|
2652
|
+
}>;
|
|
2653
|
+
}, z.core.$strip>;
|
|
2654
|
+
declare const zEpochIterationApiError500Error: z.ZodObject<{
|
|
2655
|
+
code: z.ZodEnum<{
|
|
2656
|
+
internal: "internal";
|
|
2657
|
+
}>;
|
|
2658
|
+
}, z.core.$strip>;
|
|
2659
|
+
declare const zEpochIterationParticipantsApiError400InvalidRange: z.ZodObject<{
|
|
2660
|
+
code: z.ZodEnum<{
|
|
2661
|
+
invalid_range: "invalid_range";
|
|
2662
|
+
}>;
|
|
2663
|
+
}, z.core.$strip>;
|
|
2664
|
+
declare const zEpochIterationParticipantsApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
2665
|
+
code: z.ZodLiteral<"invalid_range">;
|
|
2666
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2667
|
+
code: z.ZodEnum<{
|
|
2668
|
+
invalid_range: "invalid_range";
|
|
2669
|
+
}>;
|
|
2670
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2671
|
+
code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
|
|
2672
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2673
|
+
code: z.ZodEnum<{
|
|
2674
|
+
invalid_path: "invalid_path";
|
|
2675
|
+
invalid_query: "invalid_query";
|
|
2676
|
+
invalid_body: "invalid_body";
|
|
2677
|
+
}>;
|
|
2678
|
+
}, z.core.$strip>>]>;
|
|
2679
|
+
declare const zEpochIterationParticipantsApiError404Error: z.ZodObject<{
|
|
2680
|
+
code: z.ZodEnum<{
|
|
2681
|
+
not_found: "not_found";
|
|
2682
|
+
}>;
|
|
2683
|
+
}, z.core.$strip>;
|
|
2684
|
+
declare const zEpochIterationParticipantsApiError500Error: z.ZodObject<{
|
|
2685
|
+
code: z.ZodEnum<{
|
|
2686
|
+
internal: "internal";
|
|
2687
|
+
}>;
|
|
2688
|
+
}, z.core.$strip>;
|
|
2188
2689
|
/**
|
|
2189
2690
|
* Lifecycle state of an epoch vault iteration.
|
|
2190
2691
|
*/
|
|
@@ -2282,6 +2783,46 @@ declare const zOneBtcHistoryApiError500Error: z.ZodObject<{
|
|
|
2282
2783
|
internal: "internal";
|
|
2283
2784
|
}>;
|
|
2284
2785
|
}, z.core.$strip>;
|
|
2786
|
+
declare const zOneBtcIterationApiError404Error: z.ZodObject<{
|
|
2787
|
+
code: z.ZodEnum<{
|
|
2788
|
+
not_found: "not_found";
|
|
2789
|
+
}>;
|
|
2790
|
+
}, z.core.$strip>;
|
|
2791
|
+
declare const zOneBtcIterationApiError500Error: z.ZodObject<{
|
|
2792
|
+
code: z.ZodEnum<{
|
|
2793
|
+
internal: "internal";
|
|
2794
|
+
}>;
|
|
2795
|
+
}, z.core.$strip>;
|
|
2796
|
+
declare const zOneBtcIterationParticipantsApiError400InvalidRange: z.ZodObject<{
|
|
2797
|
+
code: z.ZodEnum<{
|
|
2798
|
+
invalid_range: "invalid_range";
|
|
2799
|
+
}>;
|
|
2800
|
+
}, z.core.$strip>;
|
|
2801
|
+
declare const zOneBtcIterationParticipantsApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
2802
|
+
code: z.ZodLiteral<"invalid_range">;
|
|
2803
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2804
|
+
code: z.ZodEnum<{
|
|
2805
|
+
invalid_range: "invalid_range";
|
|
2806
|
+
}>;
|
|
2807
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2808
|
+
code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
|
|
2809
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2810
|
+
code: z.ZodEnum<{
|
|
2811
|
+
invalid_path: "invalid_path";
|
|
2812
|
+
invalid_query: "invalid_query";
|
|
2813
|
+
invalid_body: "invalid_body";
|
|
2814
|
+
}>;
|
|
2815
|
+
}, z.core.$strip>>]>;
|
|
2816
|
+
declare const zOneBtcIterationParticipantsApiError404Error: z.ZodObject<{
|
|
2817
|
+
code: z.ZodEnum<{
|
|
2818
|
+
not_found: "not_found";
|
|
2819
|
+
}>;
|
|
2820
|
+
}, z.core.$strip>;
|
|
2821
|
+
declare const zOneBtcIterationParticipantsApiError500Error: z.ZodObject<{
|
|
2822
|
+
code: z.ZodEnum<{
|
|
2823
|
+
internal: "internal";
|
|
2824
|
+
}>;
|
|
2825
|
+
}, z.core.$strip>;
|
|
2285
2826
|
/**
|
|
2286
2827
|
* Lifecycle state of a 1 BTC vault iteration.
|
|
2287
2828
|
*/
|
|
@@ -2393,11 +2934,67 @@ declare const zEpochIterationHistoryDto: z.ZodObject<{
|
|
|
2393
2934
|
endedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2394
2935
|
id: z.ZodInt;
|
|
2395
2936
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
2937
|
+
poolCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2938
|
+
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2939
|
+
startedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2940
|
+
totalParticipants: z.ZodInt;
|
|
2941
|
+
totalTickets: z.ZodCoercedBigInt<unknown>;
|
|
2942
|
+
triggeredAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2943
|
+
}, z.core.$strip>;
|
|
2944
|
+
/**
|
|
2945
|
+
* A participant of an Epoch Vault iteration; the winner fields fill in once
|
|
2946
|
+
* the draw resolves.
|
|
2947
|
+
*/
|
|
2948
|
+
declare const zEpochIterationParticipantDto: z.ZodObject<{
|
|
2949
|
+
authority: z.ZodString;
|
|
2950
|
+
claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2951
|
+
createdAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2952
|
+
id: z.ZodInt;
|
|
2953
|
+
isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
2954
|
+
rank: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
2955
|
+
tickets: z.ZodCoercedBigInt<unknown>;
|
|
2956
|
+
wonBtcAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
2957
|
+
wonCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2958
|
+
wonUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
2959
|
+
}, z.core.$strip>;
|
|
2960
|
+
/**
|
|
2961
|
+
* A winner of an Epoch Vault iteration's draw, with its winnings valued at
|
|
2962
|
+
* the iteration's draw-time BTC price.
|
|
2963
|
+
*/
|
|
2964
|
+
declare const zEpochIterationWinnerDto: z.ZodObject<{
|
|
2965
|
+
authority: z.ZodString;
|
|
2966
|
+
claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2967
|
+
rank: z.ZodInt;
|
|
2968
|
+
tickets: z.ZodCoercedBigInt<unknown>;
|
|
2969
|
+
wonBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
2970
|
+
wonCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2971
|
+
wonUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2972
|
+
}, z.core.$strip>;
|
|
2973
|
+
/**
|
|
2974
|
+
* One Epoch Vault iteration in full: the pot, its dollar valuation at the
|
|
2975
|
+
* draw-time BTC price, and the resolved winners.
|
|
2976
|
+
*/
|
|
2977
|
+
declare const zEpochIterationDetailsDto: z.ZodObject<{
|
|
2978
|
+
address: z.ZodString;
|
|
2979
|
+
btcPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2980
|
+
endedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2981
|
+
id: z.ZodInt;
|
|
2982
|
+
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
2983
|
+
poolCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2396
2984
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2397
2985
|
startedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2398
2986
|
totalParticipants: z.ZodInt;
|
|
2399
2987
|
totalTickets: z.ZodCoercedBigInt<unknown>;
|
|
2400
2988
|
triggeredAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2989
|
+
winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
2990
|
+
authority: z.ZodString;
|
|
2991
|
+
claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2992
|
+
rank: z.ZodInt;
|
|
2993
|
+
tickets: z.ZodCoercedBigInt<unknown>;
|
|
2994
|
+
wonBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
2995
|
+
wonCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2996
|
+
wonUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2997
|
+
}, z.core.$strip>>, z.ZodNull]>>;
|
|
2401
2998
|
}, z.core.$strip>;
|
|
2402
2999
|
/**
|
|
2403
3000
|
* A user's participation in an epoch vault iteration.
|
|
@@ -2445,6 +3042,10 @@ declare const zEpochVaultIterationDto: z.ZodObject<{
|
|
|
2445
3042
|
* Epoch vault balances and its current iteration.
|
|
2446
3043
|
*/
|
|
2447
3044
|
declare const zEpochVaultDto: z.ZodObject<{
|
|
3045
|
+
activePendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3046
|
+
activePoolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3047
|
+
activePoolCombinedUsdAmount: z.ZodNumber;
|
|
3048
|
+
activePoolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2448
3049
|
address: z.ZodString;
|
|
2449
3050
|
currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
2450
3051
|
address: z.ZodString;
|
|
@@ -2529,6 +3130,7 @@ declare const zMinerClaimDto: z.ZodObject<{
|
|
|
2529
3130
|
declare const zMinerDeploymentDto: z.ZodObject<{
|
|
2530
3131
|
authority: z.ZodString;
|
|
2531
3132
|
btcEarned: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3133
|
+
btcEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2532
3134
|
deployedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2533
3135
|
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2534
3136
|
deployment: z.ZodString;
|
|
@@ -2584,6 +3186,7 @@ declare const zMinerEpochEntryDto: z.ZodObject<{
|
|
|
2584
3186
|
rank: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
2585
3187
|
tickets: z.ZodCoercedBigInt<unknown>;
|
|
2586
3188
|
wonBtcAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3189
|
+
wonCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2587
3190
|
wonUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
2588
3191
|
}, z.core.$strip>;
|
|
2589
3192
|
/**
|
|
@@ -2633,6 +3236,46 @@ declare const zOneBtcIterationHistoryDto: z.ZodObject<{
|
|
|
2633
3236
|
totalParticipants: z.ZodInt;
|
|
2634
3237
|
totalTickets: z.ZodCoercedBigInt<unknown>;
|
|
2635
3238
|
winner: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
3239
|
+
winnerTickets: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3240
|
+
}, z.core.$strip>;
|
|
3241
|
+
/**
|
|
3242
|
+
* A participant of a 1 BTC Vault iteration: the wallet's entries aggregated.
|
|
3243
|
+
*/
|
|
3244
|
+
declare const zOneBtcIterationParticipantDto: z.ZodObject<{
|
|
3245
|
+
authority: z.ZodString;
|
|
3246
|
+
claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
3247
|
+
firstEntryAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
3248
|
+
id: z.ZodInt;
|
|
3249
|
+
isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
3250
|
+
tickets: z.ZodCoercedBigInt<unknown>;
|
|
3251
|
+
}, z.core.$strip>;
|
|
3252
|
+
/**
|
|
3253
|
+
* The winner of a 1 BTC iteration's draw.
|
|
3254
|
+
*/
|
|
3255
|
+
declare const zOneBtcIterationWinnerDto: z.ZodObject<{
|
|
3256
|
+
authority: z.ZodString;
|
|
3257
|
+
claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
3258
|
+
tickets: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3259
|
+
}, z.core.$strip>;
|
|
3260
|
+
/**
|
|
3261
|
+
* One 1 BTC Vault iteration in full: the fixed prize, its dollar valuation
|
|
3262
|
+
* at the draw-time BTC price, and the winner once settled.
|
|
3263
|
+
*/
|
|
3264
|
+
declare const zOneBtcIterationDetailsDto: z.ZodObject<{
|
|
3265
|
+
address: z.ZodString;
|
|
3266
|
+
btcPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3267
|
+
endedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
3268
|
+
id: z.ZodInt;
|
|
3269
|
+
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
3270
|
+
startedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
3271
|
+
totalParticipants: z.ZodInt;
|
|
3272
|
+
totalTickets: z.ZodCoercedBigInt<unknown>;
|
|
3273
|
+
usdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3274
|
+
winner: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
3275
|
+
authority: z.ZodString;
|
|
3276
|
+
claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
3277
|
+
tickets: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3278
|
+
}, z.core.$strip>]>>;
|
|
2636
3279
|
}, z.core.$strip>;
|
|
2637
3280
|
/**
|
|
2638
3281
|
* A user's ticket purchase in a 1 BTC vault iteration.
|
|
@@ -2795,6 +3438,7 @@ declare const zRoundHistoryDto: z.ZodObject<{
|
|
|
2795
3438
|
pending: "pending";
|
|
2796
3439
|
}>;
|
|
2797
3440
|
strikeBonusBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3441
|
+
strikeBonusCombinedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2798
3442
|
strikeBonusUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
2799
3443
|
strikeEpochBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
2800
3444
|
strikeEpochUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
@@ -2804,6 +3448,7 @@ declare const zRoundHistoryDto: z.ZodObject<{
|
|
|
2804
3448
|
strikeSeedFromReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
2805
3449
|
totalDeployedUsd: z.ZodCoercedBigInt<unknown>;
|
|
2806
3450
|
totalPotBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3451
|
+
totalPotCombinedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2807
3452
|
totalPotUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
2808
3453
|
winnersCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
2809
3454
|
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
@@ -2842,6 +3487,9 @@ declare const zStrikeJackpotDto: z.ZodObject<{
|
|
|
2842
3487
|
lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2843
3488
|
lastTriggerRoundId: z.ZodInt;
|
|
2844
3489
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3490
|
+
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3491
|
+
poolCombinedUsdAmount: z.ZodNumber;
|
|
3492
|
+
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2845
3493
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2846
3494
|
}, z.core.$strip>;
|
|
2847
3495
|
/**
|
|
@@ -2857,6 +3505,7 @@ declare const zTileStakeDto: z.ZodObject<{
|
|
|
2857
3505
|
declare const zRoundDto: z.ZodObject<{
|
|
2858
3506
|
address: z.ZodString;
|
|
2859
3507
|
deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3508
|
+
deployedCombinedUsdAmount: z.ZodNumber;
|
|
2860
3509
|
deployedPendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2861
3510
|
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2862
3511
|
deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2888,6 +3537,7 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
2888
3537
|
activeRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
2889
3538
|
address: z.ZodString;
|
|
2890
3539
|
deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3540
|
+
deployedCombinedUsdAmount: z.ZodNumber;
|
|
2891
3541
|
deployedPendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2892
3542
|
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2893
3543
|
deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2915,6 +3565,10 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
2915
3565
|
currentSlot: z.ZodCoercedBigInt<unknown>;
|
|
2916
3566
|
endSlot: z.ZodCoercedBigInt<unknown>;
|
|
2917
3567
|
epochVault: z.ZodObject<{
|
|
3568
|
+
activePendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3569
|
+
activePoolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3570
|
+
activePoolCombinedUsdAmount: z.ZodNumber;
|
|
3571
|
+
activePoolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2918
3572
|
address: z.ZodString;
|
|
2919
3573
|
currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
2920
3574
|
address: z.ZodString;
|
|
@@ -2973,6 +3627,7 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
2973
3627
|
previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
2974
3628
|
address: z.ZodString;
|
|
2975
3629
|
deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3630
|
+
deployedCombinedUsdAmount: z.ZodNumber;
|
|
2976
3631
|
deployedPendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2977
3632
|
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2978
3633
|
deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3020,6 +3675,9 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
3020
3675
|
lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
3021
3676
|
lastTriggerRoundId: z.ZodInt;
|
|
3022
3677
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3678
|
+
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3679
|
+
poolCombinedUsdAmount: z.ZodNumber;
|
|
3680
|
+
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3023
3681
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3024
3682
|
}, z.core.$strip>;
|
|
3025
3683
|
}, z.core.$strip>;
|
|
@@ -3028,6 +3686,7 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
3028
3686
|
activeRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
3029
3687
|
address: z.ZodString;
|
|
3030
3688
|
deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3689
|
+
deployedCombinedUsdAmount: z.ZodNumber;
|
|
3031
3690
|
deployedPendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3032
3691
|
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3033
3692
|
deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3055,6 +3714,10 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
3055
3714
|
currentSlot: z.ZodCoercedBigInt<unknown>;
|
|
3056
3715
|
endSlot: z.ZodCoercedBigInt<unknown>;
|
|
3057
3716
|
epochVault: z.ZodObject<{
|
|
3717
|
+
activePendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3718
|
+
activePoolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3719
|
+
activePoolCombinedUsdAmount: z.ZodNumber;
|
|
3720
|
+
activePoolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3058
3721
|
address: z.ZodString;
|
|
3059
3722
|
currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
3060
3723
|
address: z.ZodString;
|
|
@@ -3113,6 +3776,7 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
3113
3776
|
previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
3114
3777
|
address: z.ZodString;
|
|
3115
3778
|
deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3779
|
+
deployedCombinedUsdAmount: z.ZodNumber;
|
|
3116
3780
|
deployedPendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3117
3781
|
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3118
3782
|
deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3160,6 +3824,9 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
3160
3824
|
lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
3161
3825
|
lastTriggerRoundId: z.ZodInt;
|
|
3162
3826
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3827
|
+
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3828
|
+
poolCombinedUsdAmount: z.ZodNumber;
|
|
3829
|
+
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3163
3830
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3164
3831
|
}, z.core.$strip>;
|
|
3165
3832
|
}, z.core.$strip>;
|
|
@@ -3231,6 +3898,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
3231
3898
|
activeRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
3232
3899
|
address: z.ZodString;
|
|
3233
3900
|
deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3901
|
+
deployedCombinedUsdAmount: z.ZodNumber;
|
|
3234
3902
|
deployedPendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3235
3903
|
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3236
3904
|
deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3258,6 +3926,10 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
3258
3926
|
currentSlot: z.ZodCoercedBigInt<unknown>;
|
|
3259
3927
|
endSlot: z.ZodCoercedBigInt<unknown>;
|
|
3260
3928
|
epochVault: z.ZodObject<{
|
|
3929
|
+
activePendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3930
|
+
activePoolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3931
|
+
activePoolCombinedUsdAmount: z.ZodNumber;
|
|
3932
|
+
activePoolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3261
3933
|
address: z.ZodString;
|
|
3262
3934
|
currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
3263
3935
|
address: z.ZodString;
|
|
@@ -3316,6 +3988,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
3316
3988
|
previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
3317
3989
|
address: z.ZodString;
|
|
3318
3990
|
deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3991
|
+
deployedCombinedUsdAmount: z.ZodNumber;
|
|
3319
3992
|
deployedPendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3320
3993
|
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3321
3994
|
deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3363,6 +4036,9 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
3363
4036
|
lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
3364
4037
|
lastTriggerRoundId: z.ZodInt;
|
|
3365
4038
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4039
|
+
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4040
|
+
poolCombinedUsdAmount: z.ZodNumber;
|
|
4041
|
+
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3366
4042
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3367
4043
|
}, z.core.$strip>;
|
|
3368
4044
|
}, z.core.$strip>;
|
|
@@ -3440,6 +4116,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
3440
4116
|
activeRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
3441
4117
|
address: z.ZodString;
|
|
3442
4118
|
deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4119
|
+
deployedCombinedUsdAmount: z.ZodNumber;
|
|
3443
4120
|
deployedPendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3444
4121
|
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3445
4122
|
deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3467,6 +4144,10 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
3467
4144
|
currentSlot: z.ZodCoercedBigInt<unknown>;
|
|
3468
4145
|
endSlot: z.ZodCoercedBigInt<unknown>;
|
|
3469
4146
|
epochVault: z.ZodObject<{
|
|
4147
|
+
activePendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4148
|
+
activePoolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4149
|
+
activePoolCombinedUsdAmount: z.ZodNumber;
|
|
4150
|
+
activePoolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3470
4151
|
address: z.ZodString;
|
|
3471
4152
|
currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
3472
4153
|
address: z.ZodString;
|
|
@@ -3525,6 +4206,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
3525
4206
|
previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
3526
4207
|
address: z.ZodString;
|
|
3527
4208
|
deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4209
|
+
deployedCombinedUsdAmount: z.ZodNumber;
|
|
3528
4210
|
deployedPendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3529
4211
|
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3530
4212
|
deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3572,6 +4254,9 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
3572
4254
|
lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
3573
4255
|
lastTriggerRoundId: z.ZodInt;
|
|
3574
4256
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4257
|
+
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4258
|
+
poolCombinedUsdAmount: z.ZodNumber;
|
|
4259
|
+
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3575
4260
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3576
4261
|
}, z.core.$strip>;
|
|
3577
4262
|
}, z.core.$strip>;
|
|
@@ -3893,6 +4578,7 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
3893
4578
|
activeRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
3894
4579
|
address: z.ZodString;
|
|
3895
4580
|
deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4581
|
+
deployedCombinedUsdAmount: z.ZodNumber;
|
|
3896
4582
|
deployedPendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3897
4583
|
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3898
4584
|
deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3920,6 +4606,10 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
3920
4606
|
currentSlot: z.ZodCoercedBigInt<unknown>;
|
|
3921
4607
|
endSlot: z.ZodCoercedBigInt<unknown>;
|
|
3922
4608
|
epochVault: z.ZodObject<{
|
|
4609
|
+
activePendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4610
|
+
activePoolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4611
|
+
activePoolCombinedUsdAmount: z.ZodNumber;
|
|
4612
|
+
activePoolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3923
4613
|
address: z.ZodString;
|
|
3924
4614
|
currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
3925
4615
|
address: z.ZodString;
|
|
@@ -3978,6 +4668,7 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
3978
4668
|
previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
3979
4669
|
address: z.ZodString;
|
|
3980
4670
|
deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4671
|
+
deployedCombinedUsdAmount: z.ZodNumber;
|
|
3981
4672
|
deployedPendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3982
4673
|
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3983
4674
|
deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -4025,6 +4716,9 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
4025
4716
|
lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4026
4717
|
lastTriggerRoundId: z.ZodInt;
|
|
4027
4718
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4719
|
+
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4720
|
+
poolCombinedUsdAmount: z.ZodNumber;
|
|
4721
|
+
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4028
4722
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4029
4723
|
}, z.core.$strip>;
|
|
4030
4724
|
}, z.core.$strip>;
|
|
@@ -4067,6 +4761,7 @@ declare const zGetEpochHistoryResponse: z.ZodObject<{
|
|
|
4067
4761
|
endedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4068
4762
|
id: z.ZodInt;
|
|
4069
4763
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4764
|
+
poolCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4070
4765
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4071
4766
|
startedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
4072
4767
|
totalParticipants: z.ZodInt;
|
|
@@ -4075,6 +4770,64 @@ declare const zGetEpochHistoryResponse: z.ZodObject<{
|
|
|
4075
4770
|
}, z.core.$strip>>;
|
|
4076
4771
|
}, z.core.$strip>;
|
|
4077
4772
|
type GetEpochHistoryResponseZodType = z.infer<typeof zGetEpochHistoryResponse>;
|
|
4773
|
+
declare const zGetEpochIterationData: z.ZodObject<{
|
|
4774
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
4775
|
+
path: z.ZodObject<{
|
|
4776
|
+
id: z.ZodInt;
|
|
4777
|
+
}, z.core.$strip>;
|
|
4778
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
4779
|
+
}, z.core.$strip>;
|
|
4780
|
+
declare const zGetEpochIterationResponse: z.ZodObject<{
|
|
4781
|
+
data: z.ZodObject<{
|
|
4782
|
+
address: z.ZodString;
|
|
4783
|
+
btcPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4784
|
+
endedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4785
|
+
id: z.ZodInt;
|
|
4786
|
+
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4787
|
+
poolCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4788
|
+
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4789
|
+
startedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
4790
|
+
totalParticipants: z.ZodInt;
|
|
4791
|
+
totalTickets: z.ZodCoercedBigInt<unknown>;
|
|
4792
|
+
triggeredAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4793
|
+
winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
4794
|
+
authority: z.ZodString;
|
|
4795
|
+
claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4796
|
+
rank: z.ZodInt;
|
|
4797
|
+
tickets: z.ZodCoercedBigInt<unknown>;
|
|
4798
|
+
wonBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4799
|
+
wonCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4800
|
+
wonUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4801
|
+
}, z.core.$strip>>, z.ZodNull]>>;
|
|
4802
|
+
}, z.core.$strip>;
|
|
4803
|
+
}, z.core.$strip>;
|
|
4804
|
+
type GetEpochIterationResponseZodType = z.infer<typeof zGetEpochIterationResponse>;
|
|
4805
|
+
declare const zGetEpochIterationParticipantsData: z.ZodObject<{
|
|
4806
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
4807
|
+
path: z.ZodObject<{
|
|
4808
|
+
id: z.ZodInt;
|
|
4809
|
+
}, z.core.$strip>;
|
|
4810
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
4811
|
+
before: z.ZodOptional<z.ZodInt>;
|
|
4812
|
+
after: z.ZodOptional<z.ZodInt>;
|
|
4813
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
4814
|
+
}, z.core.$strip>>;
|
|
4815
|
+
}, z.core.$strip>;
|
|
4816
|
+
declare const zGetEpochIterationParticipantsResponse: z.ZodObject<{
|
|
4817
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4818
|
+
authority: z.ZodString;
|
|
4819
|
+
claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4820
|
+
createdAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
4821
|
+
id: z.ZodInt;
|
|
4822
|
+
isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4823
|
+
rank: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
4824
|
+
tickets: z.ZodCoercedBigInt<unknown>;
|
|
4825
|
+
wonBtcAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4826
|
+
wonCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4827
|
+
wonUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4828
|
+
}, z.core.$strip>>;
|
|
4829
|
+
}, z.core.$strip>;
|
|
4830
|
+
type GetEpochIterationParticipantsResponseZodType = z.infer<typeof zGetEpochIterationParticipantsResponse>;
|
|
4078
4831
|
declare const zGetEpochWinnersData: z.ZodObject<{
|
|
4079
4832
|
body: z.ZodOptional<z.ZodNever>;
|
|
4080
4833
|
path: z.ZodOptional<z.ZodNever>;
|
|
@@ -4168,9 +4921,58 @@ declare const zGetOneBtcHistoryResponse: z.ZodObject<{
|
|
|
4168
4921
|
totalParticipants: z.ZodInt;
|
|
4169
4922
|
totalTickets: z.ZodCoercedBigInt<unknown>;
|
|
4170
4923
|
winner: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
4924
|
+
winnerTickets: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4171
4925
|
}, z.core.$strip>>;
|
|
4172
4926
|
}, z.core.$strip>;
|
|
4173
4927
|
type GetOneBtcHistoryResponseZodType = z.infer<typeof zGetOneBtcHistoryResponse>;
|
|
4928
|
+
declare const zGetOneBtcIterationData: z.ZodObject<{
|
|
4929
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
4930
|
+
path: z.ZodObject<{
|
|
4931
|
+
id: z.ZodInt;
|
|
4932
|
+
}, z.core.$strip>;
|
|
4933
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
4934
|
+
}, z.core.$strip>;
|
|
4935
|
+
declare const zGetOneBtcIterationResponse: z.ZodObject<{
|
|
4936
|
+
data: z.ZodObject<{
|
|
4937
|
+
address: z.ZodString;
|
|
4938
|
+
btcPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4939
|
+
endedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4940
|
+
id: z.ZodInt;
|
|
4941
|
+
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4942
|
+
startedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
4943
|
+
totalParticipants: z.ZodInt;
|
|
4944
|
+
totalTickets: z.ZodCoercedBigInt<unknown>;
|
|
4945
|
+
usdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4946
|
+
winner: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4947
|
+
authority: z.ZodString;
|
|
4948
|
+
claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4949
|
+
tickets: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4950
|
+
}, z.core.$strip>]>>;
|
|
4951
|
+
}, z.core.$strip>;
|
|
4952
|
+
}, z.core.$strip>;
|
|
4953
|
+
type GetOneBtcIterationResponseZodType = z.infer<typeof zGetOneBtcIterationResponse>;
|
|
4954
|
+
declare const zGetOneBtcIterationParticipantsData: z.ZodObject<{
|
|
4955
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
4956
|
+
path: z.ZodObject<{
|
|
4957
|
+
id: z.ZodInt;
|
|
4958
|
+
}, z.core.$strip>;
|
|
4959
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
4960
|
+
before: z.ZodOptional<z.ZodInt>;
|
|
4961
|
+
after: z.ZodOptional<z.ZodInt>;
|
|
4962
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
4963
|
+
}, z.core.$strip>>;
|
|
4964
|
+
}, z.core.$strip>;
|
|
4965
|
+
declare const zGetOneBtcIterationParticipantsResponse: z.ZodObject<{
|
|
4966
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4967
|
+
authority: z.ZodString;
|
|
4968
|
+
claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4969
|
+
firstEntryAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
4970
|
+
id: z.ZodInt;
|
|
4971
|
+
isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4972
|
+
tickets: z.ZodCoercedBigInt<unknown>;
|
|
4973
|
+
}, z.core.$strip>>;
|
|
4974
|
+
}, z.core.$strip>;
|
|
4975
|
+
type GetOneBtcIterationParticipantsResponseZodType = z.infer<typeof zGetOneBtcIterationParticipantsResponse>;
|
|
4174
4976
|
declare const zGetRoundsData: z.ZodObject<{
|
|
4175
4977
|
body: z.ZodOptional<z.ZodNever>;
|
|
4176
4978
|
path: z.ZodOptional<z.ZodNever>;
|
|
@@ -4197,6 +4999,7 @@ declare const zGetRoundsResponse: z.ZodObject<{
|
|
|
4197
4999
|
pending: "pending";
|
|
4198
5000
|
}>;
|
|
4199
5001
|
strikeBonusBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5002
|
+
strikeBonusCombinedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4200
5003
|
strikeBonusUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4201
5004
|
strikeEpochBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4202
5005
|
strikeEpochUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
@@ -4206,6 +5009,7 @@ declare const zGetRoundsResponse: z.ZodObject<{
|
|
|
4206
5009
|
strikeSeedFromReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4207
5010
|
totalDeployedUsd: z.ZodCoercedBigInt<unknown>;
|
|
4208
5011
|
totalPotBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5012
|
+
totalPotCombinedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4209
5013
|
totalPotUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4210
5014
|
winnersCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
4211
5015
|
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
@@ -4229,6 +5033,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
4229
5033
|
activeRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4230
5034
|
address: z.ZodString;
|
|
4231
5035
|
deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5036
|
+
deployedCombinedUsdAmount: z.ZodNumber;
|
|
4232
5037
|
deployedPendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4233
5038
|
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4234
5039
|
deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -4256,6 +5061,10 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
4256
5061
|
currentSlot: z.ZodCoercedBigInt<unknown>;
|
|
4257
5062
|
endSlot: z.ZodCoercedBigInt<unknown>;
|
|
4258
5063
|
epochVault: z.ZodObject<{
|
|
5064
|
+
activePendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5065
|
+
activePoolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5066
|
+
activePoolCombinedUsdAmount: z.ZodNumber;
|
|
5067
|
+
activePoolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4259
5068
|
address: z.ZodString;
|
|
4260
5069
|
currentIteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4261
5070
|
address: z.ZodString;
|
|
@@ -4314,6 +5123,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
4314
5123
|
previousRound: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4315
5124
|
address: z.ZodString;
|
|
4316
5125
|
deployedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5126
|
+
deployedCombinedUsdAmount: z.ZodNumber;
|
|
4317
5127
|
deployedPendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4318
5128
|
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4319
5129
|
deployedUsdOnWinningTileAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -4361,6 +5171,9 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
4361
5171
|
lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4362
5172
|
lastTriggerRoundId: z.ZodInt;
|
|
4363
5173
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5174
|
+
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5175
|
+
poolCombinedUsdAmount: z.ZodNumber;
|
|
5176
|
+
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4364
5177
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4365
5178
|
}, z.core.$strip>;
|
|
4366
5179
|
}, z.core.$strip>;
|
|
@@ -4544,6 +5357,7 @@ declare const zGetUserDeploymentsResponse: z.ZodObject<{
|
|
|
4544
5357
|
data: z.ZodArray<z.ZodObject<{
|
|
4545
5358
|
authority: z.ZodString;
|
|
4546
5359
|
btcEarned: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5360
|
+
btcEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4547
5361
|
deployedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
4548
5362
|
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4549
5363
|
deployment: z.ZodString;
|
|
@@ -4585,6 +5399,7 @@ declare const zGetUserEpochEntriesResponse: z.ZodObject<{
|
|
|
4585
5399
|
rank: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
4586
5400
|
tickets: z.ZodCoercedBigInt<unknown>;
|
|
4587
5401
|
wonBtcAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5402
|
+
wonCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4588
5403
|
wonUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4589
5404
|
}, z.core.$strip>>;
|
|
4590
5405
|
}, z.core.$strip>;
|
|
@@ -4665,4 +5480,4 @@ declare class SatrushBackendSdkError<TCause = unknown> extends Error {
|
|
|
4665
5480
|
declare const satrushSdkErrorInterceptor: (error: unknown, response?: Response) => SatrushBackendSdkError<unknown>;
|
|
4666
5481
|
declare const isSatrushSdkError: <TCause = unknown>(error: unknown) => error is SatrushBackendSdkError<TCause>;
|
|
4667
5482
|
|
|
4668
|
-
export { AutomationStrategyDto, type BadRequestErrorCodeErrorBody, type BoardDto, ClaimTypeDto, type ClientOptions, type EpochHistoryApiError400Error, type EpochHistoryApiError400InvalidRange, type EpochHistoryApiError500Error, type EpochIterationHistoryDto, 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 GetEpochWinnersData, type GetEpochWinnersError, type GetEpochWinnersErrors, type GetEpochWinnersResponse, type GetEpochWinnersResponseZodType, type GetEpochWinnersResponses, type GetHashrateEarnedLeaderboardData, type GetHashrateEarnedLeaderboardError, type GetHashrateEarnedLeaderboardErrors, type GetHashrateEarnedLeaderboardResponse, type GetHashrateEarnedLeaderboardResponseZodType, type GetHashrateEarnedLeaderboardResponses, type GetOneBtcHistoryData, type GetOneBtcHistoryError, type GetOneBtcHistoryErrors, type GetOneBtcHistoryResponse, type GetOneBtcHistoryResponseZodType, type GetOneBtcHistoryResponses, 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, HashrateActionTypeDto, type I128Dto, type I64Dto, type InternalErrorCodeErrorBody, type LeaderboardEntryDto, type MinerClaimDto, type MinerDeploymentDto, type MinerDto, type MinerEpochEntryDto, type MinerHashrateActionDto, type MinerOneBtcEntryDto, NotificationEntity, type OneBtcHistoryApiError400Error, type OneBtcHistoryApiError400InvalidRange, type OneBtcHistoryApiError500Error, type OneBtcIterationHistoryDto, OneBtcStateDto, type OneBtcVaultDto, type OneBtcVaultEntryDto, type OneBtcVaultIterationDto, type Options, type PreviousRoundDto, type PricesDto, type ProfileDto, type PubkeyDto, type PublicAutomationDto, type PublicDeploymentDto, 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, createClient, createSseClient, isSatrushSdkError, satrushSdkErrorInterceptor, unwrap, zAutomationStrategyDto, zBadRequestErrorCodeErrorBody, zBoardDto, zClaimTypeDto, zEpochHistoryApiError400Error, zEpochHistoryApiError400InvalidRange, zEpochHistoryApiError500Error, zEpochIterationHistoryDto, zEpochStateDto, zEpochVaultDto, zEpochVaultEntryDto, zEpochVaultIterationDto, zEpochWinnerDto, zEpochWinnerHistoryDto, zEpochWinnersApiError400Error, zEpochWinnersApiError400InvalidBefore, zEpochWinnersApiError400InvalidRange, zEpochWinnersApiError500Error, zFieldError, zGetBoardData, zGetBoardResponse, zGetConfigData, zGetConfigResponse, zGetEpochHistoryData, zGetEpochHistoryResponse, zGetEpochWinnersData, zGetEpochWinnersResponse, zGetHashrateEarnedLeaderboardData, zGetHashrateEarnedLeaderboardResponse, zGetOneBtcHistoryData, zGetOneBtcHistoryResponse, zGetRoundsData, zGetRoundsPlayedLeaderboardData, zGetRoundsPlayedLeaderboardResponse, zGetRoundsResponse, zGetSatsEarnedLeaderboardData, zGetSatsEarnedLeaderboardResponse, zGetUserClaimsData, zGetUserClaimsResponse, zGetUserDeploymentsData, zGetUserDeploymentsResponse, zGetUserEpochEntriesData, zGetUserEpochEntriesResponse, zGetUserHashrateActionsData, zGetUserHashrateActionsResponse, zGetUserOneBtcEntriesData, zGetUserOneBtcEntriesResponse, zGetUserProfileData, zGetUserProfileResponse, zHashrateActionTypeDto, zI128Dto, zI64Dto, zInternalErrorCodeErrorBody, zLeaderboardEntryDto, zMinerClaimDto, zMinerDeploymentDto, zMinerDto, zMinerEpochEntryDto, zMinerHashrateActionDto, zMinerOneBtcEntryDto, zNotificationEntity, zOneBtcHistoryApiError400Error, zOneBtcHistoryApiError400InvalidRange, zOneBtcHistoryApiError500Error, zOneBtcIterationHistoryDto, zOneBtcStateDto, zOneBtcVaultDto, zOneBtcVaultEntryDto, zOneBtcVaultIterationDto, zPreviousRoundDto, zPricesDto, zProfileDto, zPubkeyDto, zPublicAutomationDto, zPublicDeploymentDto, 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 };
|
|
5483
|
+
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 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 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, HashrateActionTypeDto, type I128Dto, type I64Dto, type InternalErrorCodeErrorBody, type LeaderboardEntryDto, 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 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, 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, zGetOneBtcHistoryData, zGetOneBtcHistoryResponse, zGetOneBtcIterationData, zGetOneBtcIterationParticipantsData, zGetOneBtcIterationParticipantsResponse, zGetOneBtcIterationResponse, zGetRoundsData, zGetRoundsPlayedLeaderboardData, zGetRoundsPlayedLeaderboardResponse, zGetRoundsResponse, zGetSatsEarnedLeaderboardData, zGetSatsEarnedLeaderboardResponse, zGetUserClaimsData, zGetUserClaimsResponse, zGetUserDeploymentsData, zGetUserDeploymentsResponse, zGetUserEpochEntriesData, zGetUserEpochEntriesResponse, zGetUserHashrateActionsData, zGetUserHashrateActionsResponse, zGetUserOneBtcEntriesData, zGetUserOneBtcEntriesResponse, zGetUserProfileData, zGetUserProfileResponse, zHashrateActionTypeDto, zI128Dto, zI64Dto, zInternalErrorCodeErrorBody, zLeaderboardEntryDto, 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, 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 };
|