@numen-crypto/contract 0.20.0 → 0.21.1
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 +23 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +792 -71
- package/dist/index.d.ts +792 -71
- package/dist/index.js +23 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1157,18 +1157,18 @@ declare const DailyBonusClaimResultSchema: z.ZodObject<{
|
|
|
1157
1157
|
}>;
|
|
1158
1158
|
type DailyBonusClaimResult = z.infer<typeof DailyBonusClaimResultSchema>;
|
|
1159
1159
|
|
|
1160
|
-
declare const NotificationTypeSchema: z.ZodEnum<["TRADE_EXECUTED", "DEPOSIT_CREDITED", "COMMISSION_ACCRUED", "WITHDRAWAL_SENT", "BONUS_CLAIMED", "SYSTEM"]>;
|
|
1160
|
+
declare const NotificationTypeSchema: z.ZodEnum<["TRADE_EXECUTED", "DEPOSIT_CREDITED", "COMMISSION_ACCRUED", "WITHDRAWAL_SENT", "BONUS_CLAIMED", "PREDICTION_SETTLED", "SYSTEM"]>;
|
|
1161
1161
|
type NotificationType = z.infer<typeof NotificationTypeSchema>;
|
|
1162
1162
|
declare const NotificationSchema: z.ZodObject<{
|
|
1163
1163
|
id: z.ZodString;
|
|
1164
|
-
type: z.ZodEnum<["TRADE_EXECUTED", "DEPOSIT_CREDITED", "COMMISSION_ACCRUED", "WITHDRAWAL_SENT", "BONUS_CLAIMED", "SYSTEM"]>;
|
|
1164
|
+
type: z.ZodEnum<["TRADE_EXECUTED", "DEPOSIT_CREDITED", "COMMISSION_ACCRUED", "WITHDRAWAL_SENT", "BONUS_CLAIMED", "PREDICTION_SETTLED", "SYSTEM"]>;
|
|
1165
1165
|
title: z.ZodString;
|
|
1166
1166
|
body: z.ZodString;
|
|
1167
1167
|
read: z.ZodBoolean;
|
|
1168
1168
|
meta: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1169
1169
|
createdAt: z.ZodString;
|
|
1170
1170
|
}, "strip", z.ZodTypeAny, {
|
|
1171
|
-
type: "TRADE_EXECUTED" | "DEPOSIT_CREDITED" | "COMMISSION_ACCRUED" | "WITHDRAWAL_SENT" | "BONUS_CLAIMED" | "SYSTEM";
|
|
1171
|
+
type: "TRADE_EXECUTED" | "DEPOSIT_CREDITED" | "COMMISSION_ACCRUED" | "WITHDRAWAL_SENT" | "BONUS_CLAIMED" | "PREDICTION_SETTLED" | "SYSTEM";
|
|
1172
1172
|
id: string;
|
|
1173
1173
|
createdAt: string;
|
|
1174
1174
|
title: string;
|
|
@@ -1176,7 +1176,7 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
1176
1176
|
read: boolean;
|
|
1177
1177
|
meta: Record<string, unknown> | null;
|
|
1178
1178
|
}, {
|
|
1179
|
-
type: "TRADE_EXECUTED" | "DEPOSIT_CREDITED" | "COMMISSION_ACCRUED" | "WITHDRAWAL_SENT" | "BONUS_CLAIMED" | "SYSTEM";
|
|
1179
|
+
type: "TRADE_EXECUTED" | "DEPOSIT_CREDITED" | "COMMISSION_ACCRUED" | "WITHDRAWAL_SENT" | "BONUS_CLAIMED" | "PREDICTION_SETTLED" | "SYSTEM";
|
|
1180
1180
|
id: string;
|
|
1181
1181
|
createdAt: string;
|
|
1182
1182
|
title: string;
|
|
@@ -4429,14 +4429,14 @@ declare namespace ListNotificationsCommand {
|
|
|
4429
4429
|
const ResponseSchema: z.ZodObject<{
|
|
4430
4430
|
items: z.ZodArray<z.ZodObject<{
|
|
4431
4431
|
id: z.ZodString;
|
|
4432
|
-
type: z.ZodEnum<["TRADE_EXECUTED", "DEPOSIT_CREDITED", "COMMISSION_ACCRUED", "WITHDRAWAL_SENT", "BONUS_CLAIMED", "SYSTEM"]>;
|
|
4432
|
+
type: z.ZodEnum<["TRADE_EXECUTED", "DEPOSIT_CREDITED", "COMMISSION_ACCRUED", "WITHDRAWAL_SENT", "BONUS_CLAIMED", "PREDICTION_SETTLED", "SYSTEM"]>;
|
|
4433
4433
|
title: z.ZodString;
|
|
4434
4434
|
body: z.ZodString;
|
|
4435
4435
|
read: z.ZodBoolean;
|
|
4436
4436
|
meta: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4437
4437
|
createdAt: z.ZodString;
|
|
4438
4438
|
}, "strip", z.ZodTypeAny, {
|
|
4439
|
-
type: "TRADE_EXECUTED" | "DEPOSIT_CREDITED" | "COMMISSION_ACCRUED" | "WITHDRAWAL_SENT" | "BONUS_CLAIMED" | "SYSTEM";
|
|
4439
|
+
type: "TRADE_EXECUTED" | "DEPOSIT_CREDITED" | "COMMISSION_ACCRUED" | "WITHDRAWAL_SENT" | "BONUS_CLAIMED" | "PREDICTION_SETTLED" | "SYSTEM";
|
|
4440
4440
|
id: string;
|
|
4441
4441
|
createdAt: string;
|
|
4442
4442
|
title: string;
|
|
@@ -4444,7 +4444,7 @@ declare namespace ListNotificationsCommand {
|
|
|
4444
4444
|
read: boolean;
|
|
4445
4445
|
meta: Record<string, unknown> | null;
|
|
4446
4446
|
}, {
|
|
4447
|
-
type: "TRADE_EXECUTED" | "DEPOSIT_CREDITED" | "COMMISSION_ACCRUED" | "WITHDRAWAL_SENT" | "BONUS_CLAIMED" | "SYSTEM";
|
|
4447
|
+
type: "TRADE_EXECUTED" | "DEPOSIT_CREDITED" | "COMMISSION_ACCRUED" | "WITHDRAWAL_SENT" | "BONUS_CLAIMED" | "PREDICTION_SETTLED" | "SYSTEM";
|
|
4448
4448
|
id: string;
|
|
4449
4449
|
createdAt: string;
|
|
4450
4450
|
title: string;
|
|
@@ -4461,7 +4461,7 @@ declare namespace ListNotificationsCommand {
|
|
|
4461
4461
|
page: number;
|
|
4462
4462
|
pageSize: number;
|
|
4463
4463
|
items: {
|
|
4464
|
-
type: "TRADE_EXECUTED" | "DEPOSIT_CREDITED" | "COMMISSION_ACCRUED" | "WITHDRAWAL_SENT" | "BONUS_CLAIMED" | "SYSTEM";
|
|
4464
|
+
type: "TRADE_EXECUTED" | "DEPOSIT_CREDITED" | "COMMISSION_ACCRUED" | "WITHDRAWAL_SENT" | "BONUS_CLAIMED" | "PREDICTION_SETTLED" | "SYSTEM";
|
|
4465
4465
|
id: string;
|
|
4466
4466
|
createdAt: string;
|
|
4467
4467
|
title: string;
|
|
@@ -4475,7 +4475,7 @@ declare namespace ListNotificationsCommand {
|
|
|
4475
4475
|
page: number;
|
|
4476
4476
|
pageSize: number;
|
|
4477
4477
|
items: {
|
|
4478
|
-
type: "TRADE_EXECUTED" | "DEPOSIT_CREDITED" | "COMMISSION_ACCRUED" | "WITHDRAWAL_SENT" | "BONUS_CLAIMED" | "SYSTEM";
|
|
4478
|
+
type: "TRADE_EXECUTED" | "DEPOSIT_CREDITED" | "COMMISSION_ACCRUED" | "WITHDRAWAL_SENT" | "BONUS_CLAIMED" | "PREDICTION_SETTLED" | "SYSTEM";
|
|
4479
4479
|
id: string;
|
|
4480
4480
|
createdAt: string;
|
|
4481
4481
|
title: string;
|
|
@@ -6286,7 +6286,7 @@ declare namespace TicketAttachmentUploadCommand {
|
|
|
6286
6286
|
|
|
6287
6287
|
declare const PredictionSideSchema: z.ZodEnum<["YES", "NO"]>;
|
|
6288
6288
|
type PredictionSide = z.infer<typeof PredictionSideSchema>;
|
|
6289
|
-
declare const PredictionStatusSchema: z.ZodEnum<["OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
|
|
6289
|
+
declare const PredictionStatusSchema: z.ZodEnum<["QUEUED", "OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
|
|
6290
6290
|
type PredictionStatus = z.infer<typeof PredictionStatusSchema>;
|
|
6291
6291
|
declare const PredictionSchema: z.ZodObject<{
|
|
6292
6292
|
id: z.ZodString;
|
|
@@ -6295,11 +6295,13 @@ declare const PredictionSchema: z.ZodObject<{
|
|
|
6295
6295
|
description: z.ZodNullable<z.ZodString>;
|
|
6296
6296
|
category: z.ZodString;
|
|
6297
6297
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
6298
|
-
status: z.ZodEnum<["OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
|
|
6298
|
+
status: z.ZodEnum<["QUEUED", "OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
|
|
6299
6299
|
outcome: z.ZodNullable<z.ZodEnum<["YES", "NO"]>>;
|
|
6300
6300
|
asset: z.ZodEnum<["NMN", "bNMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
|
|
6301
|
-
|
|
6302
|
-
|
|
6301
|
+
/** Null while the prediction still waits in the queue — dates are stamped on air. */
|
|
6302
|
+
betsCloseAt: z.ZodNullable<z.ZodString>;
|
|
6303
|
+
resolvesAt: z.ZodNullable<z.ZodString>;
|
|
6304
|
+
openedAt: z.ZodNullable<z.ZodString>;
|
|
6303
6305
|
poolYes: z.ZodString;
|
|
6304
6306
|
poolNo: z.ZodString;
|
|
6305
6307
|
poolTotal: z.ZodString;
|
|
@@ -6313,7 +6315,7 @@ declare const PredictionSchema: z.ZodObject<{
|
|
|
6313
6315
|
maxStake: z.ZodNullable<z.ZodString>;
|
|
6314
6316
|
feeBp: z.ZodNumber;
|
|
6315
6317
|
}, "strip", z.ZodTypeAny, {
|
|
6316
|
-
status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6318
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6317
6319
|
id: string;
|
|
6318
6320
|
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6319
6321
|
imageUrl: string | null;
|
|
@@ -6322,8 +6324,9 @@ declare const PredictionSchema: z.ZodObject<{
|
|
|
6322
6324
|
slug: string;
|
|
6323
6325
|
description: string | null;
|
|
6324
6326
|
outcome: "YES" | "NO" | null;
|
|
6325
|
-
betsCloseAt: string;
|
|
6326
|
-
resolvesAt: string;
|
|
6327
|
+
betsCloseAt: string | null;
|
|
6328
|
+
resolvesAt: string | null;
|
|
6329
|
+
openedAt: string | null;
|
|
6327
6330
|
poolYes: string;
|
|
6328
6331
|
poolNo: string;
|
|
6329
6332
|
poolTotal: string;
|
|
@@ -6335,7 +6338,7 @@ declare const PredictionSchema: z.ZodObject<{
|
|
|
6335
6338
|
maxStake: string | null;
|
|
6336
6339
|
feeBp: number;
|
|
6337
6340
|
}, {
|
|
6338
|
-
status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6341
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6339
6342
|
id: string;
|
|
6340
6343
|
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6341
6344
|
imageUrl: string | null;
|
|
@@ -6344,8 +6347,9 @@ declare const PredictionSchema: z.ZodObject<{
|
|
|
6344
6347
|
slug: string;
|
|
6345
6348
|
description: string | null;
|
|
6346
6349
|
outcome: "YES" | "NO" | null;
|
|
6347
|
-
betsCloseAt: string;
|
|
6348
|
-
resolvesAt: string;
|
|
6350
|
+
betsCloseAt: string | null;
|
|
6351
|
+
resolvesAt: string | null;
|
|
6352
|
+
openedAt: string | null;
|
|
6349
6353
|
poolYes: string;
|
|
6350
6354
|
poolNo: string;
|
|
6351
6355
|
poolTotal: string;
|
|
@@ -6386,11 +6390,13 @@ declare const PredictionDetailSchema: z.ZodObject<{
|
|
|
6386
6390
|
description: z.ZodNullable<z.ZodString>;
|
|
6387
6391
|
category: z.ZodString;
|
|
6388
6392
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
6389
|
-
status: z.ZodEnum<["OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
|
|
6393
|
+
status: z.ZodEnum<["QUEUED", "OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
|
|
6390
6394
|
outcome: z.ZodNullable<z.ZodEnum<["YES", "NO"]>>;
|
|
6391
6395
|
asset: z.ZodEnum<["NMN", "bNMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
|
|
6392
|
-
|
|
6393
|
-
|
|
6396
|
+
/** Null while the prediction still waits in the queue — dates are stamped on air. */
|
|
6397
|
+
betsCloseAt: z.ZodNullable<z.ZodString>;
|
|
6398
|
+
resolvesAt: z.ZodNullable<z.ZodString>;
|
|
6399
|
+
openedAt: z.ZodNullable<z.ZodString>;
|
|
6394
6400
|
poolYes: z.ZodString;
|
|
6395
6401
|
poolNo: z.ZodString;
|
|
6396
6402
|
poolTotal: z.ZodString;
|
|
@@ -6425,7 +6431,7 @@ declare const PredictionDetailSchema: z.ZodObject<{
|
|
|
6425
6431
|
payout: string | null;
|
|
6426
6432
|
}>>;
|
|
6427
6433
|
}, "strip", z.ZodTypeAny, {
|
|
6428
|
-
status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6434
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6429
6435
|
id: string;
|
|
6430
6436
|
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6431
6437
|
imageUrl: string | null;
|
|
@@ -6434,8 +6440,9 @@ declare const PredictionDetailSchema: z.ZodObject<{
|
|
|
6434
6440
|
slug: string;
|
|
6435
6441
|
description: string | null;
|
|
6436
6442
|
outcome: "YES" | "NO" | null;
|
|
6437
|
-
betsCloseAt: string;
|
|
6438
|
-
resolvesAt: string;
|
|
6443
|
+
betsCloseAt: string | null;
|
|
6444
|
+
resolvesAt: string | null;
|
|
6445
|
+
openedAt: string | null;
|
|
6439
6446
|
poolYes: string;
|
|
6440
6447
|
poolNo: string;
|
|
6441
6448
|
poolTotal: string;
|
|
@@ -6454,7 +6461,7 @@ declare const PredictionDetailSchema: z.ZodObject<{
|
|
|
6454
6461
|
payout: string | null;
|
|
6455
6462
|
} | null;
|
|
6456
6463
|
}, {
|
|
6457
|
-
status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6464
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6458
6465
|
id: string;
|
|
6459
6466
|
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6460
6467
|
imageUrl: string | null;
|
|
@@ -6463,8 +6470,9 @@ declare const PredictionDetailSchema: z.ZodObject<{
|
|
|
6463
6470
|
slug: string;
|
|
6464
6471
|
description: string | null;
|
|
6465
6472
|
outcome: "YES" | "NO" | null;
|
|
6466
|
-
betsCloseAt: string;
|
|
6467
|
-
resolvesAt: string;
|
|
6473
|
+
betsCloseAt: string | null;
|
|
6474
|
+
resolvesAt: string | null;
|
|
6475
|
+
openedAt: string | null;
|
|
6468
6476
|
poolYes: string;
|
|
6469
6477
|
poolNo: string;
|
|
6470
6478
|
poolTotal: string;
|
|
@@ -6484,30 +6492,560 @@ declare const PredictionDetailSchema: z.ZodObject<{
|
|
|
6484
6492
|
} | null;
|
|
6485
6493
|
}>;
|
|
6486
6494
|
type PredictionDetail = z.infer<typeof PredictionDetailSchema>;
|
|
6495
|
+
/**
|
|
6496
|
+
* What the dashboard card shows right now: either a prediction taking bets, or the last
|
|
6497
|
+
* result plus the countdown to the next one going on air.
|
|
6498
|
+
*/
|
|
6499
|
+
declare const PredictionSlotSchema: z.ZodObject<{
|
|
6500
|
+
live: z.ZodNullable<z.ZodObject<{
|
|
6501
|
+
id: z.ZodString;
|
|
6502
|
+
slug: z.ZodString;
|
|
6503
|
+
title: z.ZodString;
|
|
6504
|
+
description: z.ZodNullable<z.ZodString>;
|
|
6505
|
+
category: z.ZodString;
|
|
6506
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
6507
|
+
status: z.ZodEnum<["QUEUED", "OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
|
|
6508
|
+
outcome: z.ZodNullable<z.ZodEnum<["YES", "NO"]>>;
|
|
6509
|
+
asset: z.ZodEnum<["NMN", "bNMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
|
|
6510
|
+
/** Null while the prediction still waits in the queue — dates are stamped on air. */
|
|
6511
|
+
betsCloseAt: z.ZodNullable<z.ZodString>;
|
|
6512
|
+
resolvesAt: z.ZodNullable<z.ZodString>;
|
|
6513
|
+
openedAt: z.ZodNullable<z.ZodString>;
|
|
6514
|
+
poolYes: z.ZodString;
|
|
6515
|
+
poolNo: z.ZodString;
|
|
6516
|
+
poolTotal: z.ZodString;
|
|
6517
|
+
/** Staked by real bettors, house seed excluded — this is what actually funds a payout. */
|
|
6518
|
+
stakedYes: z.ZodString;
|
|
6519
|
+
stakedNo: z.ZodString;
|
|
6520
|
+
/** Share of the total pool sitting on YES, in basis points. */
|
|
6521
|
+
yesShareBp: z.ZodNumber;
|
|
6522
|
+
participants: z.ZodNumber;
|
|
6523
|
+
minStake: z.ZodNullable<z.ZodString>;
|
|
6524
|
+
maxStake: z.ZodNullable<z.ZodString>;
|
|
6525
|
+
feeBp: z.ZodNumber;
|
|
6526
|
+
} & {
|
|
6527
|
+
position: z.ZodNullable<z.ZodObject<{
|
|
6528
|
+
side: z.ZodEnum<["YES", "NO"]>;
|
|
6529
|
+
staked: z.ZodString;
|
|
6530
|
+
/** What the position pays out right now if this side wins, stake included. */
|
|
6531
|
+
projectedPayout: z.ZodString;
|
|
6532
|
+
settled: z.ZodBoolean;
|
|
6533
|
+
payout: z.ZodNullable<z.ZodString>;
|
|
6534
|
+
}, "strip", z.ZodTypeAny, {
|
|
6535
|
+
side: "YES" | "NO";
|
|
6536
|
+
staked: string;
|
|
6537
|
+
projectedPayout: string;
|
|
6538
|
+
settled: boolean;
|
|
6539
|
+
payout: string | null;
|
|
6540
|
+
}, {
|
|
6541
|
+
side: "YES" | "NO";
|
|
6542
|
+
staked: string;
|
|
6543
|
+
projectedPayout: string;
|
|
6544
|
+
settled: boolean;
|
|
6545
|
+
payout: string | null;
|
|
6546
|
+
}>>;
|
|
6547
|
+
}, "strip", z.ZodTypeAny, {
|
|
6548
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6549
|
+
id: string;
|
|
6550
|
+
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6551
|
+
imageUrl: string | null;
|
|
6552
|
+
title: string;
|
|
6553
|
+
category: string;
|
|
6554
|
+
slug: string;
|
|
6555
|
+
description: string | null;
|
|
6556
|
+
outcome: "YES" | "NO" | null;
|
|
6557
|
+
betsCloseAt: string | null;
|
|
6558
|
+
resolvesAt: string | null;
|
|
6559
|
+
openedAt: string | null;
|
|
6560
|
+
poolYes: string;
|
|
6561
|
+
poolNo: string;
|
|
6562
|
+
poolTotal: string;
|
|
6563
|
+
stakedYes: string;
|
|
6564
|
+
stakedNo: string;
|
|
6565
|
+
yesShareBp: number;
|
|
6566
|
+
participants: number;
|
|
6567
|
+
minStake: string | null;
|
|
6568
|
+
maxStake: string | null;
|
|
6569
|
+
feeBp: number;
|
|
6570
|
+
position: {
|
|
6571
|
+
side: "YES" | "NO";
|
|
6572
|
+
staked: string;
|
|
6573
|
+
projectedPayout: string;
|
|
6574
|
+
settled: boolean;
|
|
6575
|
+
payout: string | null;
|
|
6576
|
+
} | null;
|
|
6577
|
+
}, {
|
|
6578
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6579
|
+
id: string;
|
|
6580
|
+
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6581
|
+
imageUrl: string | null;
|
|
6582
|
+
title: string;
|
|
6583
|
+
category: string;
|
|
6584
|
+
slug: string;
|
|
6585
|
+
description: string | null;
|
|
6586
|
+
outcome: "YES" | "NO" | null;
|
|
6587
|
+
betsCloseAt: string | null;
|
|
6588
|
+
resolvesAt: string | null;
|
|
6589
|
+
openedAt: string | null;
|
|
6590
|
+
poolYes: string;
|
|
6591
|
+
poolNo: string;
|
|
6592
|
+
poolTotal: string;
|
|
6593
|
+
stakedYes: string;
|
|
6594
|
+
stakedNo: string;
|
|
6595
|
+
yesShareBp: number;
|
|
6596
|
+
participants: number;
|
|
6597
|
+
minStake: string | null;
|
|
6598
|
+
maxStake: string | null;
|
|
6599
|
+
feeBp: number;
|
|
6600
|
+
position: {
|
|
6601
|
+
side: "YES" | "NO";
|
|
6602
|
+
staked: string;
|
|
6603
|
+
projectedPayout: string;
|
|
6604
|
+
settled: boolean;
|
|
6605
|
+
payout: string | null;
|
|
6606
|
+
} | null;
|
|
6607
|
+
}>>;
|
|
6608
|
+
last: z.ZodNullable<z.ZodObject<{
|
|
6609
|
+
id: z.ZodString;
|
|
6610
|
+
slug: z.ZodString;
|
|
6611
|
+
title: z.ZodString;
|
|
6612
|
+
description: z.ZodNullable<z.ZodString>;
|
|
6613
|
+
category: z.ZodString;
|
|
6614
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
6615
|
+
status: z.ZodEnum<["QUEUED", "OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
|
|
6616
|
+
outcome: z.ZodNullable<z.ZodEnum<["YES", "NO"]>>;
|
|
6617
|
+
asset: z.ZodEnum<["NMN", "bNMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
|
|
6618
|
+
/** Null while the prediction still waits in the queue — dates are stamped on air. */
|
|
6619
|
+
betsCloseAt: z.ZodNullable<z.ZodString>;
|
|
6620
|
+
resolvesAt: z.ZodNullable<z.ZodString>;
|
|
6621
|
+
openedAt: z.ZodNullable<z.ZodString>;
|
|
6622
|
+
poolYes: z.ZodString;
|
|
6623
|
+
poolNo: z.ZodString;
|
|
6624
|
+
poolTotal: z.ZodString;
|
|
6625
|
+
/** Staked by real bettors, house seed excluded — this is what actually funds a payout. */
|
|
6626
|
+
stakedYes: z.ZodString;
|
|
6627
|
+
stakedNo: z.ZodString;
|
|
6628
|
+
/** Share of the total pool sitting on YES, in basis points. */
|
|
6629
|
+
yesShareBp: z.ZodNumber;
|
|
6630
|
+
participants: z.ZodNumber;
|
|
6631
|
+
minStake: z.ZodNullable<z.ZodString>;
|
|
6632
|
+
maxStake: z.ZodNullable<z.ZodString>;
|
|
6633
|
+
feeBp: z.ZodNumber;
|
|
6634
|
+
} & {
|
|
6635
|
+
position: z.ZodNullable<z.ZodObject<{
|
|
6636
|
+
side: z.ZodEnum<["YES", "NO"]>;
|
|
6637
|
+
staked: z.ZodString;
|
|
6638
|
+
/** What the position pays out right now if this side wins, stake included. */
|
|
6639
|
+
projectedPayout: z.ZodString;
|
|
6640
|
+
settled: z.ZodBoolean;
|
|
6641
|
+
payout: z.ZodNullable<z.ZodString>;
|
|
6642
|
+
}, "strip", z.ZodTypeAny, {
|
|
6643
|
+
side: "YES" | "NO";
|
|
6644
|
+
staked: string;
|
|
6645
|
+
projectedPayout: string;
|
|
6646
|
+
settled: boolean;
|
|
6647
|
+
payout: string | null;
|
|
6648
|
+
}, {
|
|
6649
|
+
side: "YES" | "NO";
|
|
6650
|
+
staked: string;
|
|
6651
|
+
projectedPayout: string;
|
|
6652
|
+
settled: boolean;
|
|
6653
|
+
payout: string | null;
|
|
6654
|
+
}>>;
|
|
6655
|
+
}, "strip", z.ZodTypeAny, {
|
|
6656
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6657
|
+
id: string;
|
|
6658
|
+
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6659
|
+
imageUrl: string | null;
|
|
6660
|
+
title: string;
|
|
6661
|
+
category: string;
|
|
6662
|
+
slug: string;
|
|
6663
|
+
description: string | null;
|
|
6664
|
+
outcome: "YES" | "NO" | null;
|
|
6665
|
+
betsCloseAt: string | null;
|
|
6666
|
+
resolvesAt: string | null;
|
|
6667
|
+
openedAt: string | null;
|
|
6668
|
+
poolYes: string;
|
|
6669
|
+
poolNo: string;
|
|
6670
|
+
poolTotal: string;
|
|
6671
|
+
stakedYes: string;
|
|
6672
|
+
stakedNo: string;
|
|
6673
|
+
yesShareBp: number;
|
|
6674
|
+
participants: number;
|
|
6675
|
+
minStake: string | null;
|
|
6676
|
+
maxStake: string | null;
|
|
6677
|
+
feeBp: number;
|
|
6678
|
+
position: {
|
|
6679
|
+
side: "YES" | "NO";
|
|
6680
|
+
staked: string;
|
|
6681
|
+
projectedPayout: string;
|
|
6682
|
+
settled: boolean;
|
|
6683
|
+
payout: string | null;
|
|
6684
|
+
} | null;
|
|
6685
|
+
}, {
|
|
6686
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6687
|
+
id: string;
|
|
6688
|
+
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6689
|
+
imageUrl: string | null;
|
|
6690
|
+
title: string;
|
|
6691
|
+
category: string;
|
|
6692
|
+
slug: string;
|
|
6693
|
+
description: string | null;
|
|
6694
|
+
outcome: "YES" | "NO" | null;
|
|
6695
|
+
betsCloseAt: string | null;
|
|
6696
|
+
resolvesAt: string | null;
|
|
6697
|
+
openedAt: string | null;
|
|
6698
|
+
poolYes: string;
|
|
6699
|
+
poolNo: string;
|
|
6700
|
+
poolTotal: string;
|
|
6701
|
+
stakedYes: string;
|
|
6702
|
+
stakedNo: string;
|
|
6703
|
+
yesShareBp: number;
|
|
6704
|
+
participants: number;
|
|
6705
|
+
minStake: string | null;
|
|
6706
|
+
maxStake: string | null;
|
|
6707
|
+
feeBp: number;
|
|
6708
|
+
position: {
|
|
6709
|
+
side: "YES" | "NO";
|
|
6710
|
+
staked: string;
|
|
6711
|
+
projectedPayout: string;
|
|
6712
|
+
settled: boolean;
|
|
6713
|
+
payout: string | null;
|
|
6714
|
+
} | null;
|
|
6715
|
+
}>>;
|
|
6716
|
+
nextOpensAt: z.ZodNullable<z.ZodString>;
|
|
6717
|
+
queued: z.ZodNumber;
|
|
6718
|
+
}, "strip", z.ZodTypeAny, {
|
|
6719
|
+
live: {
|
|
6720
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6721
|
+
id: string;
|
|
6722
|
+
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6723
|
+
imageUrl: string | null;
|
|
6724
|
+
title: string;
|
|
6725
|
+
category: string;
|
|
6726
|
+
slug: string;
|
|
6727
|
+
description: string | null;
|
|
6728
|
+
outcome: "YES" | "NO" | null;
|
|
6729
|
+
betsCloseAt: string | null;
|
|
6730
|
+
resolvesAt: string | null;
|
|
6731
|
+
openedAt: string | null;
|
|
6732
|
+
poolYes: string;
|
|
6733
|
+
poolNo: string;
|
|
6734
|
+
poolTotal: string;
|
|
6735
|
+
stakedYes: string;
|
|
6736
|
+
stakedNo: string;
|
|
6737
|
+
yesShareBp: number;
|
|
6738
|
+
participants: number;
|
|
6739
|
+
minStake: string | null;
|
|
6740
|
+
maxStake: string | null;
|
|
6741
|
+
feeBp: number;
|
|
6742
|
+
position: {
|
|
6743
|
+
side: "YES" | "NO";
|
|
6744
|
+
staked: string;
|
|
6745
|
+
projectedPayout: string;
|
|
6746
|
+
settled: boolean;
|
|
6747
|
+
payout: string | null;
|
|
6748
|
+
} | null;
|
|
6749
|
+
} | null;
|
|
6750
|
+
last: {
|
|
6751
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6752
|
+
id: string;
|
|
6753
|
+
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6754
|
+
imageUrl: string | null;
|
|
6755
|
+
title: string;
|
|
6756
|
+
category: string;
|
|
6757
|
+
slug: string;
|
|
6758
|
+
description: string | null;
|
|
6759
|
+
outcome: "YES" | "NO" | null;
|
|
6760
|
+
betsCloseAt: string | null;
|
|
6761
|
+
resolvesAt: string | null;
|
|
6762
|
+
openedAt: string | null;
|
|
6763
|
+
poolYes: string;
|
|
6764
|
+
poolNo: string;
|
|
6765
|
+
poolTotal: string;
|
|
6766
|
+
stakedYes: string;
|
|
6767
|
+
stakedNo: string;
|
|
6768
|
+
yesShareBp: number;
|
|
6769
|
+
participants: number;
|
|
6770
|
+
minStake: string | null;
|
|
6771
|
+
maxStake: string | null;
|
|
6772
|
+
feeBp: number;
|
|
6773
|
+
position: {
|
|
6774
|
+
side: "YES" | "NO";
|
|
6775
|
+
staked: string;
|
|
6776
|
+
projectedPayout: string;
|
|
6777
|
+
settled: boolean;
|
|
6778
|
+
payout: string | null;
|
|
6779
|
+
} | null;
|
|
6780
|
+
} | null;
|
|
6781
|
+
nextOpensAt: string | null;
|
|
6782
|
+
queued: number;
|
|
6783
|
+
}, {
|
|
6784
|
+
live: {
|
|
6785
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6786
|
+
id: string;
|
|
6787
|
+
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6788
|
+
imageUrl: string | null;
|
|
6789
|
+
title: string;
|
|
6790
|
+
category: string;
|
|
6791
|
+
slug: string;
|
|
6792
|
+
description: string | null;
|
|
6793
|
+
outcome: "YES" | "NO" | null;
|
|
6794
|
+
betsCloseAt: string | null;
|
|
6795
|
+
resolvesAt: string | null;
|
|
6796
|
+
openedAt: string | null;
|
|
6797
|
+
poolYes: string;
|
|
6798
|
+
poolNo: string;
|
|
6799
|
+
poolTotal: string;
|
|
6800
|
+
stakedYes: string;
|
|
6801
|
+
stakedNo: string;
|
|
6802
|
+
yesShareBp: number;
|
|
6803
|
+
participants: number;
|
|
6804
|
+
minStake: string | null;
|
|
6805
|
+
maxStake: string | null;
|
|
6806
|
+
feeBp: number;
|
|
6807
|
+
position: {
|
|
6808
|
+
side: "YES" | "NO";
|
|
6809
|
+
staked: string;
|
|
6810
|
+
projectedPayout: string;
|
|
6811
|
+
settled: boolean;
|
|
6812
|
+
payout: string | null;
|
|
6813
|
+
} | null;
|
|
6814
|
+
} | null;
|
|
6815
|
+
last: {
|
|
6816
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6817
|
+
id: string;
|
|
6818
|
+
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6819
|
+
imageUrl: string | null;
|
|
6820
|
+
title: string;
|
|
6821
|
+
category: string;
|
|
6822
|
+
slug: string;
|
|
6823
|
+
description: string | null;
|
|
6824
|
+
outcome: "YES" | "NO" | null;
|
|
6825
|
+
betsCloseAt: string | null;
|
|
6826
|
+
resolvesAt: string | null;
|
|
6827
|
+
openedAt: string | null;
|
|
6828
|
+
poolYes: string;
|
|
6829
|
+
poolNo: string;
|
|
6830
|
+
poolTotal: string;
|
|
6831
|
+
stakedYes: string;
|
|
6832
|
+
stakedNo: string;
|
|
6833
|
+
yesShareBp: number;
|
|
6834
|
+
participants: number;
|
|
6835
|
+
minStake: string | null;
|
|
6836
|
+
maxStake: string | null;
|
|
6837
|
+
feeBp: number;
|
|
6838
|
+
position: {
|
|
6839
|
+
side: "YES" | "NO";
|
|
6840
|
+
staked: string;
|
|
6841
|
+
projectedPayout: string;
|
|
6842
|
+
settled: boolean;
|
|
6843
|
+
payout: string | null;
|
|
6844
|
+
} | null;
|
|
6845
|
+
} | null;
|
|
6846
|
+
nextOpensAt: string | null;
|
|
6847
|
+
queued: number;
|
|
6848
|
+
}>;
|
|
6849
|
+
type PredictionSlot = z.infer<typeof PredictionSlotSchema>;
|
|
6487
6850
|
|
|
6488
6851
|
declare namespace ListPredictionsCommand {
|
|
6489
6852
|
const endpointDetails: EndpointDetails;
|
|
6490
6853
|
const QuerySchema: z.ZodObject<{
|
|
6491
6854
|
status: z.ZodOptional<z.ZodEnum<["active", "resolved", "mine"]>>;
|
|
6492
6855
|
}, "strip", z.ZodTypeAny, {
|
|
6493
|
-
status?: "active" | "resolved" | "mine" | undefined;
|
|
6856
|
+
status?: "active" | "resolved" | "mine" | undefined;
|
|
6857
|
+
}, {
|
|
6858
|
+
status?: "active" | "resolved" | "mine" | undefined;
|
|
6859
|
+
}>;
|
|
6860
|
+
type Query = z.infer<typeof QuerySchema>;
|
|
6861
|
+
const ResponseSchema: z.ZodObject<{
|
|
6862
|
+
items: z.ZodArray<z.ZodObject<{
|
|
6863
|
+
id: z.ZodString;
|
|
6864
|
+
slug: z.ZodString;
|
|
6865
|
+
title: z.ZodString;
|
|
6866
|
+
description: z.ZodNullable<z.ZodString>;
|
|
6867
|
+
category: z.ZodString;
|
|
6868
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
6869
|
+
status: z.ZodEnum<["QUEUED", "OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
|
|
6870
|
+
outcome: z.ZodNullable<z.ZodEnum<["YES", "NO"]>>;
|
|
6871
|
+
asset: z.ZodEnum<["NMN", "bNMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
|
|
6872
|
+
betsCloseAt: z.ZodNullable<z.ZodString>;
|
|
6873
|
+
resolvesAt: z.ZodNullable<z.ZodString>;
|
|
6874
|
+
openedAt: z.ZodNullable<z.ZodString>;
|
|
6875
|
+
poolYes: z.ZodString;
|
|
6876
|
+
poolNo: z.ZodString;
|
|
6877
|
+
poolTotal: z.ZodString;
|
|
6878
|
+
stakedYes: z.ZodString;
|
|
6879
|
+
stakedNo: z.ZodString;
|
|
6880
|
+
yesShareBp: z.ZodNumber;
|
|
6881
|
+
participants: z.ZodNumber;
|
|
6882
|
+
minStake: z.ZodNullable<z.ZodString>;
|
|
6883
|
+
maxStake: z.ZodNullable<z.ZodString>;
|
|
6884
|
+
feeBp: z.ZodNumber;
|
|
6885
|
+
} & {
|
|
6886
|
+
position: z.ZodNullable<z.ZodObject<{
|
|
6887
|
+
side: z.ZodEnum<["YES", "NO"]>;
|
|
6888
|
+
staked: z.ZodString;
|
|
6889
|
+
projectedPayout: z.ZodString;
|
|
6890
|
+
settled: z.ZodBoolean;
|
|
6891
|
+
payout: z.ZodNullable<z.ZodString>;
|
|
6892
|
+
}, "strip", z.ZodTypeAny, {
|
|
6893
|
+
side: "YES" | "NO";
|
|
6894
|
+
staked: string;
|
|
6895
|
+
projectedPayout: string;
|
|
6896
|
+
settled: boolean;
|
|
6897
|
+
payout: string | null;
|
|
6898
|
+
}, {
|
|
6899
|
+
side: "YES" | "NO";
|
|
6900
|
+
staked: string;
|
|
6901
|
+
projectedPayout: string;
|
|
6902
|
+
settled: boolean;
|
|
6903
|
+
payout: string | null;
|
|
6904
|
+
}>>;
|
|
6905
|
+
}, "strip", z.ZodTypeAny, {
|
|
6906
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6907
|
+
id: string;
|
|
6908
|
+
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6909
|
+
imageUrl: string | null;
|
|
6910
|
+
title: string;
|
|
6911
|
+
category: string;
|
|
6912
|
+
slug: string;
|
|
6913
|
+
description: string | null;
|
|
6914
|
+
outcome: "YES" | "NO" | null;
|
|
6915
|
+
betsCloseAt: string | null;
|
|
6916
|
+
resolvesAt: string | null;
|
|
6917
|
+
openedAt: string | null;
|
|
6918
|
+
poolYes: string;
|
|
6919
|
+
poolNo: string;
|
|
6920
|
+
poolTotal: string;
|
|
6921
|
+
stakedYes: string;
|
|
6922
|
+
stakedNo: string;
|
|
6923
|
+
yesShareBp: number;
|
|
6924
|
+
participants: number;
|
|
6925
|
+
minStake: string | null;
|
|
6926
|
+
maxStake: string | null;
|
|
6927
|
+
feeBp: number;
|
|
6928
|
+
position: {
|
|
6929
|
+
side: "YES" | "NO";
|
|
6930
|
+
staked: string;
|
|
6931
|
+
projectedPayout: string;
|
|
6932
|
+
settled: boolean;
|
|
6933
|
+
payout: string | null;
|
|
6934
|
+
} | null;
|
|
6935
|
+
}, {
|
|
6936
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6937
|
+
id: string;
|
|
6938
|
+
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6939
|
+
imageUrl: string | null;
|
|
6940
|
+
title: string;
|
|
6941
|
+
category: string;
|
|
6942
|
+
slug: string;
|
|
6943
|
+
description: string | null;
|
|
6944
|
+
outcome: "YES" | "NO" | null;
|
|
6945
|
+
betsCloseAt: string | null;
|
|
6946
|
+
resolvesAt: string | null;
|
|
6947
|
+
openedAt: string | null;
|
|
6948
|
+
poolYes: string;
|
|
6949
|
+
poolNo: string;
|
|
6950
|
+
poolTotal: string;
|
|
6951
|
+
stakedYes: string;
|
|
6952
|
+
stakedNo: string;
|
|
6953
|
+
yesShareBp: number;
|
|
6954
|
+
participants: number;
|
|
6955
|
+
minStake: string | null;
|
|
6956
|
+
maxStake: string | null;
|
|
6957
|
+
feeBp: number;
|
|
6958
|
+
position: {
|
|
6959
|
+
side: "YES" | "NO";
|
|
6960
|
+
staked: string;
|
|
6961
|
+
projectedPayout: string;
|
|
6962
|
+
settled: boolean;
|
|
6963
|
+
payout: string | null;
|
|
6964
|
+
} | null;
|
|
6965
|
+
}>, "many">;
|
|
6966
|
+
}, "strip", z.ZodTypeAny, {
|
|
6967
|
+
items: {
|
|
6968
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6969
|
+
id: string;
|
|
6970
|
+
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6971
|
+
imageUrl: string | null;
|
|
6972
|
+
title: string;
|
|
6973
|
+
category: string;
|
|
6974
|
+
slug: string;
|
|
6975
|
+
description: string | null;
|
|
6976
|
+
outcome: "YES" | "NO" | null;
|
|
6977
|
+
betsCloseAt: string | null;
|
|
6978
|
+
resolvesAt: string | null;
|
|
6979
|
+
openedAt: string | null;
|
|
6980
|
+
poolYes: string;
|
|
6981
|
+
poolNo: string;
|
|
6982
|
+
poolTotal: string;
|
|
6983
|
+
stakedYes: string;
|
|
6984
|
+
stakedNo: string;
|
|
6985
|
+
yesShareBp: number;
|
|
6986
|
+
participants: number;
|
|
6987
|
+
minStake: string | null;
|
|
6988
|
+
maxStake: string | null;
|
|
6989
|
+
feeBp: number;
|
|
6990
|
+
position: {
|
|
6991
|
+
side: "YES" | "NO";
|
|
6992
|
+
staked: string;
|
|
6993
|
+
projectedPayout: string;
|
|
6994
|
+
settled: boolean;
|
|
6995
|
+
payout: string | null;
|
|
6996
|
+
} | null;
|
|
6997
|
+
}[];
|
|
6494
6998
|
}, {
|
|
6495
|
-
|
|
6999
|
+
items: {
|
|
7000
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
7001
|
+
id: string;
|
|
7002
|
+
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
7003
|
+
imageUrl: string | null;
|
|
7004
|
+
title: string;
|
|
7005
|
+
category: string;
|
|
7006
|
+
slug: string;
|
|
7007
|
+
description: string | null;
|
|
7008
|
+
outcome: "YES" | "NO" | null;
|
|
7009
|
+
betsCloseAt: string | null;
|
|
7010
|
+
resolvesAt: string | null;
|
|
7011
|
+
openedAt: string | null;
|
|
7012
|
+
poolYes: string;
|
|
7013
|
+
poolNo: string;
|
|
7014
|
+
poolTotal: string;
|
|
7015
|
+
stakedYes: string;
|
|
7016
|
+
stakedNo: string;
|
|
7017
|
+
yesShareBp: number;
|
|
7018
|
+
participants: number;
|
|
7019
|
+
minStake: string | null;
|
|
7020
|
+
maxStake: string | null;
|
|
7021
|
+
feeBp: number;
|
|
7022
|
+
position: {
|
|
7023
|
+
side: "YES" | "NO";
|
|
7024
|
+
staked: string;
|
|
7025
|
+
projectedPayout: string;
|
|
7026
|
+
settled: boolean;
|
|
7027
|
+
payout: string | null;
|
|
7028
|
+
} | null;
|
|
7029
|
+
}[];
|
|
6496
7030
|
}>;
|
|
6497
|
-
type
|
|
7031
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
7032
|
+
}
|
|
7033
|
+
declare namespace GetPredictionSlotCommand {
|
|
7034
|
+
const endpointDetails: EndpointDetails;
|
|
6498
7035
|
const ResponseSchema: z.ZodObject<{
|
|
6499
|
-
|
|
7036
|
+
live: z.ZodNullable<z.ZodObject<{
|
|
6500
7037
|
id: z.ZodString;
|
|
6501
7038
|
slug: z.ZodString;
|
|
6502
7039
|
title: z.ZodString;
|
|
6503
7040
|
description: z.ZodNullable<z.ZodString>;
|
|
6504
7041
|
category: z.ZodString;
|
|
6505
7042
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
6506
|
-
status: z.ZodEnum<["OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
|
|
7043
|
+
status: z.ZodEnum<["QUEUED", "OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
|
|
6507
7044
|
outcome: z.ZodNullable<z.ZodEnum<["YES", "NO"]>>;
|
|
6508
7045
|
asset: z.ZodEnum<["NMN", "bNMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
|
|
6509
|
-
betsCloseAt: z.ZodString
|
|
6510
|
-
resolvesAt: z.ZodString
|
|
7046
|
+
betsCloseAt: z.ZodNullable<z.ZodString>;
|
|
7047
|
+
resolvesAt: z.ZodNullable<z.ZodString>;
|
|
7048
|
+
openedAt: z.ZodNullable<z.ZodString>;
|
|
6511
7049
|
poolYes: z.ZodString;
|
|
6512
7050
|
poolNo: z.ZodString;
|
|
6513
7051
|
poolTotal: z.ZodString;
|
|
@@ -6539,7 +7077,7 @@ declare namespace ListPredictionsCommand {
|
|
|
6539
7077
|
payout: string | null;
|
|
6540
7078
|
}>>;
|
|
6541
7079
|
}, "strip", z.ZodTypeAny, {
|
|
6542
|
-
status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
7080
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6543
7081
|
id: string;
|
|
6544
7082
|
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6545
7083
|
imageUrl: string | null;
|
|
@@ -6548,8 +7086,9 @@ declare namespace ListPredictionsCommand {
|
|
|
6548
7086
|
slug: string;
|
|
6549
7087
|
description: string | null;
|
|
6550
7088
|
outcome: "YES" | "NO" | null;
|
|
6551
|
-
betsCloseAt: string;
|
|
6552
|
-
resolvesAt: string;
|
|
7089
|
+
betsCloseAt: string | null;
|
|
7090
|
+
resolvesAt: string | null;
|
|
7091
|
+
openedAt: string | null;
|
|
6553
7092
|
poolYes: string;
|
|
6554
7093
|
poolNo: string;
|
|
6555
7094
|
poolTotal: string;
|
|
@@ -6568,7 +7107,7 @@ declare namespace ListPredictionsCommand {
|
|
|
6568
7107
|
payout: string | null;
|
|
6569
7108
|
} | null;
|
|
6570
7109
|
}, {
|
|
6571
|
-
status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
7110
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6572
7111
|
id: string;
|
|
6573
7112
|
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6574
7113
|
imageUrl: string | null;
|
|
@@ -6577,8 +7116,9 @@ declare namespace ListPredictionsCommand {
|
|
|
6577
7116
|
slug: string;
|
|
6578
7117
|
description: string | null;
|
|
6579
7118
|
outcome: "YES" | "NO" | null;
|
|
6580
|
-
betsCloseAt: string;
|
|
6581
|
-
resolvesAt: string;
|
|
7119
|
+
betsCloseAt: string | null;
|
|
7120
|
+
resolvesAt: string | null;
|
|
7121
|
+
openedAt: string | null;
|
|
6582
7122
|
poolYes: string;
|
|
6583
7123
|
poolNo: string;
|
|
6584
7124
|
poolTotal: string;
|
|
@@ -6596,10 +7136,116 @@ declare namespace ListPredictionsCommand {
|
|
|
6596
7136
|
settled: boolean;
|
|
6597
7137
|
payout: string | null;
|
|
6598
7138
|
} | null;
|
|
6599
|
-
}
|
|
7139
|
+
}>>;
|
|
7140
|
+
last: z.ZodNullable<z.ZodObject<{
|
|
7141
|
+
id: z.ZodString;
|
|
7142
|
+
slug: z.ZodString;
|
|
7143
|
+
title: z.ZodString;
|
|
7144
|
+
description: z.ZodNullable<z.ZodString>;
|
|
7145
|
+
category: z.ZodString;
|
|
7146
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
7147
|
+
status: z.ZodEnum<["QUEUED", "OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
|
|
7148
|
+
outcome: z.ZodNullable<z.ZodEnum<["YES", "NO"]>>;
|
|
7149
|
+
asset: z.ZodEnum<["NMN", "bNMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
|
|
7150
|
+
betsCloseAt: z.ZodNullable<z.ZodString>;
|
|
7151
|
+
resolvesAt: z.ZodNullable<z.ZodString>;
|
|
7152
|
+
openedAt: z.ZodNullable<z.ZodString>;
|
|
7153
|
+
poolYes: z.ZodString;
|
|
7154
|
+
poolNo: z.ZodString;
|
|
7155
|
+
poolTotal: z.ZodString;
|
|
7156
|
+
stakedYes: z.ZodString;
|
|
7157
|
+
stakedNo: z.ZodString;
|
|
7158
|
+
yesShareBp: z.ZodNumber;
|
|
7159
|
+
participants: z.ZodNumber;
|
|
7160
|
+
minStake: z.ZodNullable<z.ZodString>;
|
|
7161
|
+
maxStake: z.ZodNullable<z.ZodString>;
|
|
7162
|
+
feeBp: z.ZodNumber;
|
|
7163
|
+
} & {
|
|
7164
|
+
position: z.ZodNullable<z.ZodObject<{
|
|
7165
|
+
side: z.ZodEnum<["YES", "NO"]>;
|
|
7166
|
+
staked: z.ZodString;
|
|
7167
|
+
projectedPayout: z.ZodString;
|
|
7168
|
+
settled: z.ZodBoolean;
|
|
7169
|
+
payout: z.ZodNullable<z.ZodString>;
|
|
7170
|
+
}, "strip", z.ZodTypeAny, {
|
|
7171
|
+
side: "YES" | "NO";
|
|
7172
|
+
staked: string;
|
|
7173
|
+
projectedPayout: string;
|
|
7174
|
+
settled: boolean;
|
|
7175
|
+
payout: string | null;
|
|
7176
|
+
}, {
|
|
7177
|
+
side: "YES" | "NO";
|
|
7178
|
+
staked: string;
|
|
7179
|
+
projectedPayout: string;
|
|
7180
|
+
settled: boolean;
|
|
7181
|
+
payout: string | null;
|
|
7182
|
+
}>>;
|
|
7183
|
+
}, "strip", z.ZodTypeAny, {
|
|
7184
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
7185
|
+
id: string;
|
|
7186
|
+
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
7187
|
+
imageUrl: string | null;
|
|
7188
|
+
title: string;
|
|
7189
|
+
category: string;
|
|
7190
|
+
slug: string;
|
|
7191
|
+
description: string | null;
|
|
7192
|
+
outcome: "YES" | "NO" | null;
|
|
7193
|
+
betsCloseAt: string | null;
|
|
7194
|
+
resolvesAt: string | null;
|
|
7195
|
+
openedAt: string | null;
|
|
7196
|
+
poolYes: string;
|
|
7197
|
+
poolNo: string;
|
|
7198
|
+
poolTotal: string;
|
|
7199
|
+
stakedYes: string;
|
|
7200
|
+
stakedNo: string;
|
|
7201
|
+
yesShareBp: number;
|
|
7202
|
+
participants: number;
|
|
7203
|
+
minStake: string | null;
|
|
7204
|
+
maxStake: string | null;
|
|
7205
|
+
feeBp: number;
|
|
7206
|
+
position: {
|
|
7207
|
+
side: "YES" | "NO";
|
|
7208
|
+
staked: string;
|
|
7209
|
+
projectedPayout: string;
|
|
7210
|
+
settled: boolean;
|
|
7211
|
+
payout: string | null;
|
|
7212
|
+
} | null;
|
|
7213
|
+
}, {
|
|
7214
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
7215
|
+
id: string;
|
|
7216
|
+
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
7217
|
+
imageUrl: string | null;
|
|
7218
|
+
title: string;
|
|
7219
|
+
category: string;
|
|
7220
|
+
slug: string;
|
|
7221
|
+
description: string | null;
|
|
7222
|
+
outcome: "YES" | "NO" | null;
|
|
7223
|
+
betsCloseAt: string | null;
|
|
7224
|
+
resolvesAt: string | null;
|
|
7225
|
+
openedAt: string | null;
|
|
7226
|
+
poolYes: string;
|
|
7227
|
+
poolNo: string;
|
|
7228
|
+
poolTotal: string;
|
|
7229
|
+
stakedYes: string;
|
|
7230
|
+
stakedNo: string;
|
|
7231
|
+
yesShareBp: number;
|
|
7232
|
+
participants: number;
|
|
7233
|
+
minStake: string | null;
|
|
7234
|
+
maxStake: string | null;
|
|
7235
|
+
feeBp: number;
|
|
7236
|
+
position: {
|
|
7237
|
+
side: "YES" | "NO";
|
|
7238
|
+
staked: string;
|
|
7239
|
+
projectedPayout: string;
|
|
7240
|
+
settled: boolean;
|
|
7241
|
+
payout: string | null;
|
|
7242
|
+
} | null;
|
|
7243
|
+
}>>;
|
|
7244
|
+
nextOpensAt: z.ZodNullable<z.ZodString>;
|
|
7245
|
+
queued: z.ZodNumber;
|
|
6600
7246
|
}, "strip", z.ZodTypeAny, {
|
|
6601
|
-
|
|
6602
|
-
status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
7247
|
+
live: {
|
|
7248
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6603
7249
|
id: string;
|
|
6604
7250
|
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6605
7251
|
imageUrl: string | null;
|
|
@@ -6608,8 +7254,9 @@ declare namespace ListPredictionsCommand {
|
|
|
6608
7254
|
slug: string;
|
|
6609
7255
|
description: string | null;
|
|
6610
7256
|
outcome: "YES" | "NO" | null;
|
|
6611
|
-
betsCloseAt: string;
|
|
6612
|
-
resolvesAt: string;
|
|
7257
|
+
betsCloseAt: string | null;
|
|
7258
|
+
resolvesAt: string | null;
|
|
7259
|
+
openedAt: string | null;
|
|
6613
7260
|
poolYes: string;
|
|
6614
7261
|
poolNo: string;
|
|
6615
7262
|
poolTotal: string;
|
|
@@ -6627,10 +7274,43 @@ declare namespace ListPredictionsCommand {
|
|
|
6627
7274
|
settled: boolean;
|
|
6628
7275
|
payout: string | null;
|
|
6629
7276
|
} | null;
|
|
6630
|
-
}
|
|
7277
|
+
} | null;
|
|
7278
|
+
last: {
|
|
7279
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
7280
|
+
id: string;
|
|
7281
|
+
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
7282
|
+
imageUrl: string | null;
|
|
7283
|
+
title: string;
|
|
7284
|
+
category: string;
|
|
7285
|
+
slug: string;
|
|
7286
|
+
description: string | null;
|
|
7287
|
+
outcome: "YES" | "NO" | null;
|
|
7288
|
+
betsCloseAt: string | null;
|
|
7289
|
+
resolvesAt: string | null;
|
|
7290
|
+
openedAt: string | null;
|
|
7291
|
+
poolYes: string;
|
|
7292
|
+
poolNo: string;
|
|
7293
|
+
poolTotal: string;
|
|
7294
|
+
stakedYes: string;
|
|
7295
|
+
stakedNo: string;
|
|
7296
|
+
yesShareBp: number;
|
|
7297
|
+
participants: number;
|
|
7298
|
+
minStake: string | null;
|
|
7299
|
+
maxStake: string | null;
|
|
7300
|
+
feeBp: number;
|
|
7301
|
+
position: {
|
|
7302
|
+
side: "YES" | "NO";
|
|
7303
|
+
staked: string;
|
|
7304
|
+
projectedPayout: string;
|
|
7305
|
+
settled: boolean;
|
|
7306
|
+
payout: string | null;
|
|
7307
|
+
} | null;
|
|
7308
|
+
} | null;
|
|
7309
|
+
nextOpensAt: string | null;
|
|
7310
|
+
queued: number;
|
|
6631
7311
|
}, {
|
|
6632
|
-
|
|
6633
|
-
status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
7312
|
+
live: {
|
|
7313
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6634
7314
|
id: string;
|
|
6635
7315
|
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6636
7316
|
imageUrl: string | null;
|
|
@@ -6639,8 +7319,9 @@ declare namespace ListPredictionsCommand {
|
|
|
6639
7319
|
slug: string;
|
|
6640
7320
|
description: string | null;
|
|
6641
7321
|
outcome: "YES" | "NO" | null;
|
|
6642
|
-
betsCloseAt: string;
|
|
6643
|
-
resolvesAt: string;
|
|
7322
|
+
betsCloseAt: string | null;
|
|
7323
|
+
resolvesAt: string | null;
|
|
7324
|
+
openedAt: string | null;
|
|
6644
7325
|
poolYes: string;
|
|
6645
7326
|
poolNo: string;
|
|
6646
7327
|
poolTotal: string;
|
|
@@ -6658,7 +7339,40 @@ declare namespace ListPredictionsCommand {
|
|
|
6658
7339
|
settled: boolean;
|
|
6659
7340
|
payout: string | null;
|
|
6660
7341
|
} | null;
|
|
6661
|
-
}
|
|
7342
|
+
} | null;
|
|
7343
|
+
last: {
|
|
7344
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
7345
|
+
id: string;
|
|
7346
|
+
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
7347
|
+
imageUrl: string | null;
|
|
7348
|
+
title: string;
|
|
7349
|
+
category: string;
|
|
7350
|
+
slug: string;
|
|
7351
|
+
description: string | null;
|
|
7352
|
+
outcome: "YES" | "NO" | null;
|
|
7353
|
+
betsCloseAt: string | null;
|
|
7354
|
+
resolvesAt: string | null;
|
|
7355
|
+
openedAt: string | null;
|
|
7356
|
+
poolYes: string;
|
|
7357
|
+
poolNo: string;
|
|
7358
|
+
poolTotal: string;
|
|
7359
|
+
stakedYes: string;
|
|
7360
|
+
stakedNo: string;
|
|
7361
|
+
yesShareBp: number;
|
|
7362
|
+
participants: number;
|
|
7363
|
+
minStake: string | null;
|
|
7364
|
+
maxStake: string | null;
|
|
7365
|
+
feeBp: number;
|
|
7366
|
+
position: {
|
|
7367
|
+
side: "YES" | "NO";
|
|
7368
|
+
staked: string;
|
|
7369
|
+
projectedPayout: string;
|
|
7370
|
+
settled: boolean;
|
|
7371
|
+
payout: string | null;
|
|
7372
|
+
} | null;
|
|
7373
|
+
} | null;
|
|
7374
|
+
nextOpensAt: string | null;
|
|
7375
|
+
queued: number;
|
|
6662
7376
|
}>;
|
|
6663
7377
|
type Response = z.infer<typeof ResponseSchema>;
|
|
6664
7378
|
}
|
|
@@ -6671,11 +7385,12 @@ declare namespace GetPredictionCommand {
|
|
|
6671
7385
|
description: z.ZodNullable<z.ZodString>;
|
|
6672
7386
|
category: z.ZodString;
|
|
6673
7387
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
6674
|
-
status: z.ZodEnum<["OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
|
|
7388
|
+
status: z.ZodEnum<["QUEUED", "OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
|
|
6675
7389
|
outcome: z.ZodNullable<z.ZodEnum<["YES", "NO"]>>;
|
|
6676
7390
|
asset: z.ZodEnum<["NMN", "bNMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
|
|
6677
|
-
betsCloseAt: z.ZodString
|
|
6678
|
-
resolvesAt: z.ZodString
|
|
7391
|
+
betsCloseAt: z.ZodNullable<z.ZodString>;
|
|
7392
|
+
resolvesAt: z.ZodNullable<z.ZodString>;
|
|
7393
|
+
openedAt: z.ZodNullable<z.ZodString>;
|
|
6679
7394
|
poolYes: z.ZodString;
|
|
6680
7395
|
poolNo: z.ZodString;
|
|
6681
7396
|
poolTotal: z.ZodString;
|
|
@@ -6707,7 +7422,7 @@ declare namespace GetPredictionCommand {
|
|
|
6707
7422
|
payout: string | null;
|
|
6708
7423
|
}>>;
|
|
6709
7424
|
}, "strip", z.ZodTypeAny, {
|
|
6710
|
-
status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
7425
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6711
7426
|
id: string;
|
|
6712
7427
|
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6713
7428
|
imageUrl: string | null;
|
|
@@ -6716,8 +7431,9 @@ declare namespace GetPredictionCommand {
|
|
|
6716
7431
|
slug: string;
|
|
6717
7432
|
description: string | null;
|
|
6718
7433
|
outcome: "YES" | "NO" | null;
|
|
6719
|
-
betsCloseAt: string;
|
|
6720
|
-
resolvesAt: string;
|
|
7434
|
+
betsCloseAt: string | null;
|
|
7435
|
+
resolvesAt: string | null;
|
|
7436
|
+
openedAt: string | null;
|
|
6721
7437
|
poolYes: string;
|
|
6722
7438
|
poolNo: string;
|
|
6723
7439
|
poolTotal: string;
|
|
@@ -6736,7 +7452,7 @@ declare namespace GetPredictionCommand {
|
|
|
6736
7452
|
payout: string | null;
|
|
6737
7453
|
} | null;
|
|
6738
7454
|
}, {
|
|
6739
|
-
status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
7455
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6740
7456
|
id: string;
|
|
6741
7457
|
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6742
7458
|
imageUrl: string | null;
|
|
@@ -6745,8 +7461,9 @@ declare namespace GetPredictionCommand {
|
|
|
6745
7461
|
slug: string;
|
|
6746
7462
|
description: string | null;
|
|
6747
7463
|
outcome: "YES" | "NO" | null;
|
|
6748
|
-
betsCloseAt: string;
|
|
6749
|
-
resolvesAt: string;
|
|
7464
|
+
betsCloseAt: string | null;
|
|
7465
|
+
resolvesAt: string | null;
|
|
7466
|
+
openedAt: string | null;
|
|
6750
7467
|
poolYes: string;
|
|
6751
7468
|
poolNo: string;
|
|
6752
7469
|
poolTotal: string;
|
|
@@ -6790,11 +7507,12 @@ declare namespace PlacePredictionBetCommand {
|
|
|
6790
7507
|
description: z.ZodNullable<z.ZodString>;
|
|
6791
7508
|
category: z.ZodString;
|
|
6792
7509
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
6793
|
-
status: z.ZodEnum<["OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
|
|
7510
|
+
status: z.ZodEnum<["QUEUED", "OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
|
|
6794
7511
|
outcome: z.ZodNullable<z.ZodEnum<["YES", "NO"]>>;
|
|
6795
7512
|
asset: z.ZodEnum<["NMN", "bNMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
|
|
6796
|
-
betsCloseAt: z.ZodString
|
|
6797
|
-
resolvesAt: z.ZodString
|
|
7513
|
+
betsCloseAt: z.ZodNullable<z.ZodString>;
|
|
7514
|
+
resolvesAt: z.ZodNullable<z.ZodString>;
|
|
7515
|
+
openedAt: z.ZodNullable<z.ZodString>;
|
|
6798
7516
|
poolYes: z.ZodString;
|
|
6799
7517
|
poolNo: z.ZodString;
|
|
6800
7518
|
poolTotal: z.ZodString;
|
|
@@ -6826,7 +7544,7 @@ declare namespace PlacePredictionBetCommand {
|
|
|
6826
7544
|
payout: string | null;
|
|
6827
7545
|
}>>;
|
|
6828
7546
|
}, "strip", z.ZodTypeAny, {
|
|
6829
|
-
status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
7547
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6830
7548
|
id: string;
|
|
6831
7549
|
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6832
7550
|
imageUrl: string | null;
|
|
@@ -6835,8 +7553,9 @@ declare namespace PlacePredictionBetCommand {
|
|
|
6835
7553
|
slug: string;
|
|
6836
7554
|
description: string | null;
|
|
6837
7555
|
outcome: "YES" | "NO" | null;
|
|
6838
|
-
betsCloseAt: string;
|
|
6839
|
-
resolvesAt: string;
|
|
7556
|
+
betsCloseAt: string | null;
|
|
7557
|
+
resolvesAt: string | null;
|
|
7558
|
+
openedAt: string | null;
|
|
6840
7559
|
poolYes: string;
|
|
6841
7560
|
poolNo: string;
|
|
6842
7561
|
poolTotal: string;
|
|
@@ -6855,7 +7574,7 @@ declare namespace PlacePredictionBetCommand {
|
|
|
6855
7574
|
payout: string | null;
|
|
6856
7575
|
} | null;
|
|
6857
7576
|
}, {
|
|
6858
|
-
status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
7577
|
+
status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
|
|
6859
7578
|
id: string;
|
|
6860
7579
|
asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
6861
7580
|
imageUrl: string | null;
|
|
@@ -6864,8 +7583,9 @@ declare namespace PlacePredictionBetCommand {
|
|
|
6864
7583
|
slug: string;
|
|
6865
7584
|
description: string | null;
|
|
6866
7585
|
outcome: "YES" | "NO" | null;
|
|
6867
|
-
betsCloseAt: string;
|
|
6868
|
-
resolvesAt: string;
|
|
7586
|
+
betsCloseAt: string | null;
|
|
7587
|
+
resolvesAt: string | null;
|
|
7588
|
+
openedAt: string | null;
|
|
6869
7589
|
poolYes: string;
|
|
6870
7590
|
poolNo: string;
|
|
6871
7591
|
poolTotal: string;
|
|
@@ -6989,6 +7709,7 @@ declare const REST_API: {
|
|
|
6989
7709
|
};
|
|
6990
7710
|
readonly PREDICTIONS: {
|
|
6991
7711
|
readonly LIST: "/predictions";
|
|
7712
|
+
readonly SLOT: "/predictions/slot";
|
|
6992
7713
|
readonly GET: "/predictions/:slug";
|
|
6993
7714
|
readonly BET: "/predictions/:slug/bet";
|
|
6994
7715
|
};
|
|
@@ -7004,4 +7725,4 @@ declare const REST_API: {
|
|
|
7004
7725
|
declare const API_PREFIX = "/api";
|
|
7005
7726
|
declare const API_VERSION = "v1";
|
|
7006
7727
|
|
|
7007
|
-
export { API_PREFIX, API_VERSION, ASSET_DECIMALS, ASSET_SYMBOLS, AVATAR_CONTENT_TYPES, type AssetBalance, AssetBalanceSchema, type AssetSymbol, AssetSymbolSchema, AvatarContentTypeSchema, AvatarUploadUrlCommand, BONUS_ASSET, BrowsePartnersCommand, BuyPackageCommand, CONTENT_LOCALES, CancelOrderCommand, CancelWithdrawalCommand, CaptchaPolicyCommand, ChangePasswordCommand, type ChartPeriod, ChartPeriodSchema, type ChartPoint, ChartPointSchema, ClaimDailyBonusCommand, ClaimTicketCommand, ClaimTutorialRewardCommand, ConfirmEmailChangeCommand, ConfirmTotpCommand, ConfirmWithdrawalCommand, type ContentLocale, ContentLocaleSchema, CreateTicketCommand, DEFAULT_CONTENT_LOCALE, DEPOSITABLE_ASSETS, type DailyBonusClaimResult, DailyBonusClaimResultSchema, type DailyBonusDay, DailyBonusDaySchema, type DailyBonusStatus, DailyBonusStatusSchema, type DepositAddress, DepositAddressCommand, DepositAddressSchema, type DepositEntry, DepositEntrySchema, type DepositStatus, DepositStatusSchema, type DepositableAsset, DepositableAssetSchema, DisableTotpCommand, ERROR_CODE, type EarningsOverview, EarningsOverviewSchema, type EndpointDetails, type ErrorCode, type ErrorResponse, ErrorResponseSchema, FUNDING_ASSET, ForgotPasswordCommand, GetDailyBonusCommand, GetEarningsCommand, GetIncomeCommand, GetLeaderboardCommand, GetOrderBookCommand, GetPackagesCommand, GetPartnersCommand, GetPredictionCommand, GetRanksCommand, GetSettingsCommand, GetSlidesCommand, GetSupportTicketCommand, GetTicketCommand, GetTokenChartCommand, GetTokenPriceCommand, GetTransactionsCommand, GetTutorialRewardCommand, GetWalletCommand, GetWheelCommand, type HttpMethod, type IncomeOverview, IncomeOverviewSchema, type IncomePeriod, IncomePeriodSchema, type Leaderboard, type LeaderboardEntry, LeaderboardEntrySchema, type LeaderboardPeriod, LeaderboardPeriodSchema, LeaderboardSchema, LinkGoogleCommand, type LinkProvider, LinkProviderSchema, LinkTelegramCommand, type LinkedAccount, LinkedAccountSchema, ListDepositsCommand, ListLinkedAccountsCommand, ListMyOrdersCommand, ListNotificationsCommand, ListPredictionsCommand, ListSupportTicketsCommand, ListTicketsCommand, ListTradesCommand, ListWithdrawalsCommand, LoginCommand, LogoutCommand, MONEY_REGEX, MarkNotificationsReadCommand, MeCommand, MoneyStringSchema, type MonthlyPricePoint, MonthlyPricePointSchema, NMN_PRICE_DECIMALS, type Notification, NotificationSchema, type NotificationType, NotificationTypeSchema, type Order, type OrderBook, type OrderBookLevel, OrderBookLevelSchema, OrderBookSchema, OrderSchema, type OrderSide, OrderSideSchema, type OrderStatus, OrderStatusSchema, type OrderType, OrderTypeSchema, type Package, PackageSchema, type PackageStatus, PackageStatusSchema, type PackagesOverview, PackagesOverviewSchema, PaginatedSchema, type PaginationQuery, PaginationQuerySchema, type PartnerAccrual, PartnerAccrualSchema, type PartnerBranch, type PartnerBranchRoot, PartnerBranchRootSchema, PartnerBranchSchema, type PartnerLevel, PartnerLevelSchema, type PartnerNode, PartnerNodeSchema, type PartnersOverview, PartnersOverviewSchema, type Period, PeriodSchema, PlaceOrderCommand, PlacePredictionBetCommand, PositiveMoneyStringSchema, type Prediction, type PredictionDetail, PredictionDetailSchema, type PredictionPosition, PredictionPositionSchema, PredictionSchema, type PredictionSide, PredictionSideSchema, type PredictionStatus, PredictionStatusSchema, type PublicTrade, PublicTradeSchema, REST_API, type RankDef, RankDefSchema, RegisterCommand, ReplyTicketCommand, RequestEmailChangeCommand, RequestPasswordChangeCommand, RequestWithdrawalCommand, ResendVerificationCommand, ResetPasswordCommand, ResolveTicketCommand, type SessionInfo, SessionInfoSchema, SetupTotpCommand, type Slide, type SlideButtonStyle, SlideButtonStyleSchema, type SlideKind, SlideKindSchema, type SlideLinkTarget, SlideLinkTargetSchema, SlideSchema, type SlidesResponse, SlidesResponseSchema, SpinWheelCommand, SupportReplyTicketCommand, type SupportTicketDetail, SupportTicketDetailSchema, type SupportTicketScope, SupportTicketScopeSchema, type SupportTicketSummary, SupportTicketSummarySchema, type SupportTicketUser, SupportTicketUserSchema, SwapCommand, type SwapSide, SwapSideSchema, TICKET_CATEGORIES, TOKEN_ASSET, TelegramLinkCodeCommand, type ThreatLevel, ThreatLevelSchema, type TicketAttachment, type TicketAttachmentInput, TicketAttachmentInputSchema, TicketAttachmentSchema, TicketAttachmentUploadCommand, type TicketAuthorType, TicketAuthorTypeSchema, TicketBodySchema, type TicketCategory, TicketCategorySchema, type TicketDetail, TicketDetailSchema, type TicketMessage, TicketMessageSchema, type TicketStatus, TicketStatusSchema, type TicketSummary, TicketSummarySchema, type TokenPrice, TokenPriceSchema, type TradeLimits, TradeLimitsSchema, type TradeResult, TradeResultSchema, type Transaction, TransactionSchema, type TransactionStatus, TransactionStatusSchema, type TransactionType, TransactionTypeSchema, UnlinkAccountCommand, UpdateProfileCommand, UpdateSettingsCommand, UpgradePackageCommand, type UserProfile, UserProfileSchema, type UserRank, UserRankSchema, type UserRole, UserRoleSchema, type UserSettings, UserSettingsSchema, type UserStatus, UserStatusSchema, UuidSchema, VerifyEmailCommand, WHEEL_SLOT_COUNT, type WalletOverview, WalletOverviewSchema, type WheelAmountMode, WheelAmountModeSchema, type WheelPrize, WheelPrizeSchema, WheelSlotSchema, type WheelSpinKind, WheelSpinKindSchema, type WheelSpinResult, WheelSpinResultSchema, type WheelStatus, WheelStatusSchema, type WheelWin, WheelWinSchema, type Withdrawal, WithdrawalSchema, type WithdrawalStatus, WithdrawalStatusSchema, assetDecimals, endpoint, isContentLocale };
|
|
7728
|
+
export { API_PREFIX, API_VERSION, ASSET_DECIMALS, ASSET_SYMBOLS, AVATAR_CONTENT_TYPES, type AssetBalance, AssetBalanceSchema, type AssetSymbol, AssetSymbolSchema, AvatarContentTypeSchema, AvatarUploadUrlCommand, BONUS_ASSET, BrowsePartnersCommand, BuyPackageCommand, CONTENT_LOCALES, CancelOrderCommand, CancelWithdrawalCommand, CaptchaPolicyCommand, ChangePasswordCommand, type ChartPeriod, ChartPeriodSchema, type ChartPoint, ChartPointSchema, ClaimDailyBonusCommand, ClaimTicketCommand, ClaimTutorialRewardCommand, ConfirmEmailChangeCommand, ConfirmTotpCommand, ConfirmWithdrawalCommand, type ContentLocale, ContentLocaleSchema, CreateTicketCommand, DEFAULT_CONTENT_LOCALE, DEPOSITABLE_ASSETS, type DailyBonusClaimResult, DailyBonusClaimResultSchema, type DailyBonusDay, DailyBonusDaySchema, type DailyBonusStatus, DailyBonusStatusSchema, type DepositAddress, DepositAddressCommand, DepositAddressSchema, type DepositEntry, DepositEntrySchema, type DepositStatus, DepositStatusSchema, type DepositableAsset, DepositableAssetSchema, DisableTotpCommand, ERROR_CODE, type EarningsOverview, EarningsOverviewSchema, type EndpointDetails, type ErrorCode, type ErrorResponse, ErrorResponseSchema, FUNDING_ASSET, ForgotPasswordCommand, GetDailyBonusCommand, GetEarningsCommand, GetIncomeCommand, GetLeaderboardCommand, GetOrderBookCommand, GetPackagesCommand, GetPartnersCommand, GetPredictionCommand, GetPredictionSlotCommand, GetRanksCommand, GetSettingsCommand, GetSlidesCommand, GetSupportTicketCommand, GetTicketCommand, GetTokenChartCommand, GetTokenPriceCommand, GetTransactionsCommand, GetTutorialRewardCommand, GetWalletCommand, GetWheelCommand, type HttpMethod, type IncomeOverview, IncomeOverviewSchema, type IncomePeriod, IncomePeriodSchema, type Leaderboard, type LeaderboardEntry, LeaderboardEntrySchema, type LeaderboardPeriod, LeaderboardPeriodSchema, LeaderboardSchema, LinkGoogleCommand, type LinkProvider, LinkProviderSchema, LinkTelegramCommand, type LinkedAccount, LinkedAccountSchema, ListDepositsCommand, ListLinkedAccountsCommand, ListMyOrdersCommand, ListNotificationsCommand, ListPredictionsCommand, ListSupportTicketsCommand, ListTicketsCommand, ListTradesCommand, ListWithdrawalsCommand, LoginCommand, LogoutCommand, MONEY_REGEX, MarkNotificationsReadCommand, MeCommand, MoneyStringSchema, type MonthlyPricePoint, MonthlyPricePointSchema, NMN_PRICE_DECIMALS, type Notification, NotificationSchema, type NotificationType, NotificationTypeSchema, type Order, type OrderBook, type OrderBookLevel, OrderBookLevelSchema, OrderBookSchema, OrderSchema, type OrderSide, OrderSideSchema, type OrderStatus, OrderStatusSchema, type OrderType, OrderTypeSchema, type Package, PackageSchema, type PackageStatus, PackageStatusSchema, type PackagesOverview, PackagesOverviewSchema, PaginatedSchema, type PaginationQuery, PaginationQuerySchema, type PartnerAccrual, PartnerAccrualSchema, type PartnerBranch, type PartnerBranchRoot, PartnerBranchRootSchema, PartnerBranchSchema, type PartnerLevel, PartnerLevelSchema, type PartnerNode, PartnerNodeSchema, type PartnersOverview, PartnersOverviewSchema, type Period, PeriodSchema, PlaceOrderCommand, PlacePredictionBetCommand, PositiveMoneyStringSchema, type Prediction, type PredictionDetail, PredictionDetailSchema, type PredictionPosition, PredictionPositionSchema, PredictionSchema, type PredictionSide, PredictionSideSchema, type PredictionSlot, PredictionSlotSchema, type PredictionStatus, PredictionStatusSchema, type PublicTrade, PublicTradeSchema, REST_API, type RankDef, RankDefSchema, RegisterCommand, ReplyTicketCommand, RequestEmailChangeCommand, RequestPasswordChangeCommand, RequestWithdrawalCommand, ResendVerificationCommand, ResetPasswordCommand, ResolveTicketCommand, type SessionInfo, SessionInfoSchema, SetupTotpCommand, type Slide, type SlideButtonStyle, SlideButtonStyleSchema, type SlideKind, SlideKindSchema, type SlideLinkTarget, SlideLinkTargetSchema, SlideSchema, type SlidesResponse, SlidesResponseSchema, SpinWheelCommand, SupportReplyTicketCommand, type SupportTicketDetail, SupportTicketDetailSchema, type SupportTicketScope, SupportTicketScopeSchema, type SupportTicketSummary, SupportTicketSummarySchema, type SupportTicketUser, SupportTicketUserSchema, SwapCommand, type SwapSide, SwapSideSchema, TICKET_CATEGORIES, TOKEN_ASSET, TelegramLinkCodeCommand, type ThreatLevel, ThreatLevelSchema, type TicketAttachment, type TicketAttachmentInput, TicketAttachmentInputSchema, TicketAttachmentSchema, TicketAttachmentUploadCommand, type TicketAuthorType, TicketAuthorTypeSchema, TicketBodySchema, type TicketCategory, TicketCategorySchema, type TicketDetail, TicketDetailSchema, type TicketMessage, TicketMessageSchema, type TicketStatus, TicketStatusSchema, type TicketSummary, TicketSummarySchema, type TokenPrice, TokenPriceSchema, type TradeLimits, TradeLimitsSchema, type TradeResult, TradeResultSchema, type Transaction, TransactionSchema, type TransactionStatus, TransactionStatusSchema, type TransactionType, TransactionTypeSchema, UnlinkAccountCommand, UpdateProfileCommand, UpdateSettingsCommand, UpgradePackageCommand, type UserProfile, UserProfileSchema, type UserRank, UserRankSchema, type UserRole, UserRoleSchema, type UserSettings, UserSettingsSchema, type UserStatus, UserStatusSchema, UuidSchema, VerifyEmailCommand, WHEEL_SLOT_COUNT, type WalletOverview, WalletOverviewSchema, type WheelAmountMode, WheelAmountModeSchema, type WheelPrize, WheelPrizeSchema, WheelSlotSchema, type WheelSpinKind, WheelSpinKindSchema, type WheelSpinResult, WheelSpinResultSchema, type WheelStatus, WheelStatusSchema, type WheelWin, WheelWinSchema, type Withdrawal, WithdrawalSchema, type WithdrawalStatus, WithdrawalStatusSchema, assetDecimals, endpoint, isContentLocale };
|