@polymarket/bindings 0.12.0 → 0.14.0
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/chunk-JPPG656Y.js +2 -0
- package/dist/chunk-JPPG656Y.js.map +1 -0
- package/dist/chunk-YXNKEMRF.js +2 -0
- package/dist/chunk-YXNKEMRF.js.map +1 -0
- package/dist/chunk-ZMJTXTXA.js +2 -0
- package/dist/chunk-ZMJTXTXA.js.map +1 -0
- package/dist/clob/index.d.ts +489 -8
- package/dist/clob/index.js +1 -1
- package/dist/clob/index.js.map +1 -1
- package/dist/combos/index.d.ts +1 -1
- package/dist/combos/index.js +1 -1
- package/dist/combos/index.js.map +1 -1
- package/dist/{comment-CKJIqOZS.d.ts → comment-tQ-L48Di.d.ts} +2 -2
- package/dist/data/index.d.ts +446 -10
- package/dist/data/index.js +1 -1
- package/dist/data/index.js.map +1 -1
- package/dist/gamma/index.d.ts +79 -4
- package/dist/gamma/index.js +1 -1
- package/dist/gamma/index.js.map +1 -1
- package/dist/index.d.ts +108 -213
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/{orders-BMW5PN-Q.d.ts → orders-SIFuRgWc.d.ts} +608 -35
- package/dist/perps/index.d.ts +995 -4
- package/dist/perps/index.js +1 -1
- package/dist/perps/index.js.map +1 -1
- package/dist/relayer/index.d.ts +1 -1
- package/dist/relayer/index.js +1 -1
- package/dist/shared-QrXQ5O6x.d.ts +223 -0
- package/dist/subscriptions/index.d.ts +668 -78
- package/dist/subscriptions/index.js +1 -1
- package/dist/subscriptions/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-2FRDSBWY.js +0 -2
- package/dist/chunk-2FRDSBWY.js.map +0 -1
- package/dist/chunk-3IZ4N7C2.js +0 -2
- package/dist/chunk-3IZ4N7C2.js.map +0 -1
- package/dist/chunk-DAWT25YZ.js +0 -2
- package/dist/chunk-DAWT25YZ.js.map +0 -1
package/dist/data/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ConditionId, PositionId, IsoDateTimeString, DecimalString, ComboConditionId, EpochMilliseconds, PaginationCursor, TokenId, IsoCalendarDateString, OrderSide, ComboActivityId, ClobAssetId, EventId, BuilderCode, QuestionId } from '../
|
|
1
|
+
import { u as ConditionId, am as PositionId, $ as IsoDateTimeString, y as DecimalString, o as ComboConditionId, H as EpochMilliseconds, aj as PaginationCursor, aK as TokenId, Z as IsoCalendarDateString, af as OrderSide, m as ComboActivityId, h as ClobAssetId, O as EventId, d as BuilderCode, ap as QuestionId } from '../shared-QrXQ5O6x.js';
|
|
2
|
+
import * as _polymarket_types from '@polymarket/types';
|
|
2
3
|
import { EvmAddress, TxHash } from '@polymarket/types';
|
|
3
4
|
import { z } from 'zod';
|
|
4
5
|
|
|
@@ -84,6 +85,8 @@ declare const PositionRowStatusSchema: z.ZodEnum<{
|
|
|
84
85
|
/** Sort key for position listings. */
|
|
85
86
|
declare enum PositionSortBy {
|
|
86
87
|
CurrentValue = "CURRENT_VALUE",
|
|
88
|
+
/** Current effective price; wallet closed positions use realized PnL instead. */
|
|
89
|
+
Price = "PRICE",
|
|
87
90
|
Tokens = "TOKENS",
|
|
88
91
|
UnrealizedPnl = "UNREALIZED_PNL",
|
|
89
92
|
RealizedPnl = "REALIZED_PNL",
|
|
@@ -167,6 +170,8 @@ type Position = {
|
|
|
167
170
|
* positions with no native economics.
|
|
168
171
|
*/
|
|
169
172
|
lastEventAt?: EpochMilliseconds;
|
|
173
|
+
/** First acquisition as Unix epoch milliseconds; absent when unrecorded. */
|
|
174
|
+
firstEntryAt?: EpochMilliseconds;
|
|
170
175
|
name?: string;
|
|
171
176
|
profileImage?: string;
|
|
172
177
|
verified: boolean;
|
|
@@ -177,7 +182,7 @@ type Position = {
|
|
|
177
182
|
* The wire is strict snake_case: absence arrives as an empty string (or the
|
|
178
183
|
* unknown-outcome sentinel `999`), normalized to `undefined` here. Timestamps
|
|
179
184
|
* arrive as epoch seconds and normalize to epoch milliseconds, with `0`
|
|
180
|
-
* (no
|
|
185
|
+
* (no recorded timestamp) normalized to `undefined`.
|
|
181
186
|
*/
|
|
182
187
|
declare const PositionSchema: z.ZodPipe<z.ZodObject<{
|
|
183
188
|
proxy_wallet: z.ZodPipe<z.ZodString, z.ZodTransform<EvmAddress, string>>;
|
|
@@ -216,6 +221,7 @@ declare const PositionSchema: z.ZodPipe<z.ZodObject<{
|
|
|
216
221
|
opposite_token_id: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PositionId | TokenId, string>>>>;
|
|
217
222
|
end_date: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
218
223
|
last_event_at: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodNumber, z.ZodTransform<EpochMilliseconds, number>>>>;
|
|
224
|
+
first_entry_at: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodNumber, z.ZodTransform<EpochMilliseconds, number>>>>;
|
|
219
225
|
name: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>;
|
|
220
226
|
profile_image: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>;
|
|
221
227
|
verified: z.ZodBoolean;
|
|
@@ -254,6 +260,7 @@ declare const PositionSchema: z.ZodPipe<z.ZodObject<{
|
|
|
254
260
|
oppositeTokenId: PositionId | TokenId | undefined;
|
|
255
261
|
endDate: IsoCalendarDateString | undefined;
|
|
256
262
|
lastEventAt: EpochMilliseconds | undefined;
|
|
263
|
+
firstEntryAt: EpochMilliseconds | undefined;
|
|
257
264
|
name: string | undefined;
|
|
258
265
|
profileImage: string | undefined;
|
|
259
266
|
verified: boolean;
|
|
@@ -291,6 +298,7 @@ declare const PositionSchema: z.ZodPipe<z.ZodObject<{
|
|
|
291
298
|
opposite_token_id?: PositionId | TokenId | undefined;
|
|
292
299
|
end_date?: IsoCalendarDateString | undefined;
|
|
293
300
|
last_event_at?: EpochMilliseconds | undefined;
|
|
301
|
+
first_entry_at?: EpochMilliseconds | undefined;
|
|
294
302
|
name?: string | undefined;
|
|
295
303
|
profile_image?: string | undefined;
|
|
296
304
|
}>>;
|
|
@@ -1388,6 +1396,7 @@ declare const ListPositionsResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1388
1396
|
opposite_token_id: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PositionId | TokenId, string>>>>;
|
|
1389
1397
|
end_date: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
1390
1398
|
last_event_at: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodNumber, z.ZodTransform<EpochMilliseconds, number>>>>;
|
|
1399
|
+
first_entry_at: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodNumber, z.ZodTransform<EpochMilliseconds, number>>>>;
|
|
1391
1400
|
name: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>;
|
|
1392
1401
|
profile_image: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>;
|
|
1393
1402
|
verified: z.ZodBoolean;
|
|
@@ -1426,6 +1435,7 @@ declare const ListPositionsResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1426
1435
|
oppositeTokenId: PositionId | TokenId | undefined;
|
|
1427
1436
|
endDate: IsoCalendarDateString | undefined;
|
|
1428
1437
|
lastEventAt: EpochMilliseconds | undefined;
|
|
1438
|
+
firstEntryAt: EpochMilliseconds | undefined;
|
|
1429
1439
|
name: string | undefined;
|
|
1430
1440
|
profileImage: string | undefined;
|
|
1431
1441
|
verified: boolean;
|
|
@@ -1463,6 +1473,7 @@ declare const ListPositionsResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1463
1473
|
opposite_token_id?: PositionId | TokenId | undefined;
|
|
1464
1474
|
end_date?: IsoCalendarDateString | undefined;
|
|
1465
1475
|
last_event_at?: EpochMilliseconds | undefined;
|
|
1476
|
+
first_entry_at?: EpochMilliseconds | undefined;
|
|
1466
1477
|
name?: string | undefined;
|
|
1467
1478
|
profile_image?: string | undefined;
|
|
1468
1479
|
}>>>;
|
|
@@ -1508,6 +1519,7 @@ declare const ListPositionsResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1508
1519
|
oppositeTokenId: PositionId | TokenId | undefined;
|
|
1509
1520
|
endDate: IsoCalendarDateString | undefined;
|
|
1510
1521
|
lastEventAt: EpochMilliseconds | undefined;
|
|
1522
|
+
firstEntryAt: EpochMilliseconds | undefined;
|
|
1511
1523
|
name: string | undefined;
|
|
1512
1524
|
profileImage: string | undefined;
|
|
1513
1525
|
verified: boolean;
|
|
@@ -1550,6 +1562,7 @@ declare const ListPositionsResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1550
1562
|
oppositeTokenId: PositionId | TokenId | undefined;
|
|
1551
1563
|
endDate: IsoCalendarDateString | undefined;
|
|
1552
1564
|
lastEventAt: EpochMilliseconds | undefined;
|
|
1565
|
+
firstEntryAt: EpochMilliseconds | undefined;
|
|
1553
1566
|
name: string | undefined;
|
|
1554
1567
|
profileImage: string | undefined;
|
|
1555
1568
|
verified: boolean;
|
|
@@ -2558,11 +2571,18 @@ type ComboTradeActivity = TradeActivityBase & {
|
|
|
2558
2571
|
conditionId: ComboConditionId;
|
|
2559
2572
|
/** Combo position id bought or sold by the wallet. */
|
|
2560
2573
|
positionId: PositionId;
|
|
2574
|
+
/** Basket token label, when available; never a selected leg's label. */
|
|
2575
|
+
outcome?: string;
|
|
2576
|
+
/** Basket token side index, when known. Missing is not zero. */
|
|
2577
|
+
outcomeIndex?: number;
|
|
2561
2578
|
};
|
|
2562
2579
|
type TradeActivity = ClobTradeActivity | ComboTradeActivity;
|
|
2563
|
-
|
|
2580
|
+
/** Collateral split into a market or Combo complete set; narrow on isCombo for market URLs. */
|
|
2581
|
+
type SplitActivity = ActivityBase & ({
|
|
2564
2582
|
/** Splitting collateral into a complete market set. */
|
|
2565
2583
|
type: 'SPLIT';
|
|
2584
|
+
/** Ordinary complete-set activity; parsed rows return false. */
|
|
2585
|
+
isCombo?: false;
|
|
2566
2586
|
/** Condition id of the market whose complete set was created. */
|
|
2567
2587
|
conditionId: ConditionId;
|
|
2568
2588
|
/** The collateral amount split into the complete set in USD. */
|
|
@@ -2575,10 +2595,24 @@ type SplitActivity = ActivityBase & {
|
|
|
2575
2595
|
icon: string | null;
|
|
2576
2596
|
/** URL slug of the event containing the split market. */
|
|
2577
2597
|
eventSlug: string;
|
|
2578
|
-
}
|
|
2579
|
-
|
|
2598
|
+
} | {
|
|
2599
|
+
/** Complete-set activity for a Combo basket. */
|
|
2600
|
+
type: 'SPLIT';
|
|
2601
|
+
isCombo: true;
|
|
2602
|
+
/** Canonical Combo condition id of the basket. */
|
|
2603
|
+
conditionId: ComboConditionId;
|
|
2604
|
+
/** Collateral amount in USD. */
|
|
2605
|
+
amount: DecimalString;
|
|
2606
|
+
/** Human-readable basket title, when available. */
|
|
2607
|
+
title?: string;
|
|
2608
|
+
icon: string | null;
|
|
2609
|
+
});
|
|
2610
|
+
/** A complete set merged into collateral; narrow on isCombo for market URLs. */
|
|
2611
|
+
type MergeActivity = ActivityBase & ({
|
|
2580
2612
|
/** Merging a complete market set into collateral. */
|
|
2581
2613
|
type: 'MERGE';
|
|
2614
|
+
/** Ordinary complete-set activity; parsed rows return false. */
|
|
2615
|
+
isCombo?: false;
|
|
2582
2616
|
/** Condition id of the market whose complete set was merged. */
|
|
2583
2617
|
conditionId: ConditionId;
|
|
2584
2618
|
/** The collateral amount received from merging the complete set in USD. */
|
|
@@ -2591,10 +2625,27 @@ type MergeActivity = ActivityBase & {
|
|
|
2591
2625
|
icon: string | null;
|
|
2592
2626
|
/** URL slug of the event containing the merged market. */
|
|
2593
2627
|
eventSlug: string;
|
|
2594
|
-
}
|
|
2595
|
-
|
|
2628
|
+
} | {
|
|
2629
|
+
/** Complete-set activity for a Combo basket. */
|
|
2630
|
+
type: 'MERGE';
|
|
2631
|
+
isCombo: true;
|
|
2632
|
+
/** Canonical Combo condition id of the basket. */
|
|
2633
|
+
conditionId: ComboConditionId;
|
|
2634
|
+
/** Collateral amount in USD. */
|
|
2635
|
+
amount: DecimalString;
|
|
2636
|
+
/** Human-readable basket title, when available. */
|
|
2637
|
+
title?: string;
|
|
2638
|
+
icon: string | null;
|
|
2639
|
+
});
|
|
2640
|
+
type ClobRedeemActivity = ActivityBase & {
|
|
2596
2641
|
/** Redeeming resolved market proceeds. */
|
|
2597
2642
|
type: 'REDEEM';
|
|
2643
|
+
/** Ordinary redemption; parsed rows return false, constructed values may omit it. */
|
|
2644
|
+
isCombo?: false;
|
|
2645
|
+
/** Label of the redeemed token, when available. */
|
|
2646
|
+
outcome?: string;
|
|
2647
|
+
/** Index of the redeemed token's outcome, when known. */
|
|
2648
|
+
outcomeIndex?: number;
|
|
2598
2649
|
/** Condition id of the market redeemed by the wallet. */
|
|
2599
2650
|
conditionId: ConditionId;
|
|
2600
2651
|
/** The proceeds redeemed from the resolved market in USD. */
|
|
@@ -2608,6 +2659,24 @@ type RedeemActivity = ActivityBase & {
|
|
|
2608
2659
|
/** URL slug of the event containing the redeemed market. */
|
|
2609
2660
|
eventSlug: string;
|
|
2610
2661
|
};
|
|
2662
|
+
/** A resolved Combo token's proceeds in wallet activity history. */
|
|
2663
|
+
type ComboRedemptionActivity = ActivityBase & {
|
|
2664
|
+
type: 'REDEEM';
|
|
2665
|
+
isCombo: true;
|
|
2666
|
+
/** Canonical Combo condition id of the redeemed basket. */
|
|
2667
|
+
conditionId: ComboConditionId;
|
|
2668
|
+
/** Proceeds redeemed in USD. */
|
|
2669
|
+
amount: DecimalString;
|
|
2670
|
+
/** Human-readable title of the redeemed basket, when available. */
|
|
2671
|
+
title?: string;
|
|
2672
|
+
icon: string | null;
|
|
2673
|
+
/** Basket token label, when available; never a selected leg's label. */
|
|
2674
|
+
outcome?: string;
|
|
2675
|
+
/** Basket token side index, when known. Missing is not zero. */
|
|
2676
|
+
outcomeIndex?: number;
|
|
2677
|
+
};
|
|
2678
|
+
/** Wallet redemption; narrow on isCombo before using market-only metadata. */
|
|
2679
|
+
type RedeemActivity = ClobRedeemActivity | ComboRedemptionActivity;
|
|
2611
2680
|
type ConversionActivity = ActivityBase & {
|
|
2612
2681
|
/** A market conversion or migration activity. */
|
|
2613
2682
|
type: 'CONVERSION';
|
|
@@ -3583,6 +3652,142 @@ type ListMarketHoldersResponse = z.infer<typeof ListMarketHoldersResponseSchema>
|
|
|
3583
3652
|
type FetchOpenInterestResponse = z.infer<typeof FetchOpenInterestResponseSchema>;
|
|
3584
3653
|
type FetchEventLiveVolumeResponse = z.infer<typeof FetchEventLiveVolumeResponseSchema>;
|
|
3585
3654
|
|
|
3655
|
+
declare enum ApprovalStandard {
|
|
3656
|
+
Erc20 = "ERC20",
|
|
3657
|
+
Erc1155 = "ERC1155"
|
|
3658
|
+
}
|
|
3659
|
+
declare const ApprovalContractSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3660
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_types.EvmAddress, string>>;
|
|
3661
|
+
spender: z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_types.EvmAddress, string>>;
|
|
3662
|
+
standard: z.ZodLiteral<ApprovalStandard.Erc20>;
|
|
3663
|
+
amount: z.ZodUnion<readonly [z.ZodLiteral<"max">, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>;
|
|
3664
|
+
approved: z.ZodBoolean;
|
|
3665
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3666
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_types.EvmAddress, string>>;
|
|
3667
|
+
spender: z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_types.EvmAddress, string>>;
|
|
3668
|
+
standard: z.ZodLiteral<ApprovalStandard.Erc1155>;
|
|
3669
|
+
approved: z.ZodBoolean;
|
|
3670
|
+
}, z.core.$strip>], "standard">, z.ZodPipe<z.ZodObject<{
|
|
3671
|
+
token: z.ZodString;
|
|
3672
|
+
spender: z.ZodString;
|
|
3673
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
3674
|
+
token: string;
|
|
3675
|
+
spender: string;
|
|
3676
|
+
standard: undefined;
|
|
3677
|
+
}, {
|
|
3678
|
+
token: string;
|
|
3679
|
+
spender: string;
|
|
3680
|
+
}>>]>;
|
|
3681
|
+
type ApprovalContract = z.infer<typeof ApprovalContractSchema>;
|
|
3682
|
+
/** An indexed approval snapshot. Recent changes may not yet be reflected. */
|
|
3683
|
+
declare const FetchApprovalsResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
3684
|
+
data: z.ZodPipe<z.ZodObject<{
|
|
3685
|
+
address: z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_types.EvmAddress, string>>;
|
|
3686
|
+
chain_id: z.ZodNumber;
|
|
3687
|
+
contracts: z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3688
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_types.EvmAddress, string>>;
|
|
3689
|
+
spender: z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_types.EvmAddress, string>>;
|
|
3690
|
+
standard: z.ZodLiteral<ApprovalStandard.Erc20>;
|
|
3691
|
+
amount: z.ZodUnion<readonly [z.ZodLiteral<"max">, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>;
|
|
3692
|
+
approved: z.ZodBoolean;
|
|
3693
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3694
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_types.EvmAddress, string>>;
|
|
3695
|
+
spender: z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_types.EvmAddress, string>>;
|
|
3696
|
+
standard: z.ZodLiteral<ApprovalStandard.Erc1155>;
|
|
3697
|
+
approved: z.ZodBoolean;
|
|
3698
|
+
}, z.core.$strip>], "standard">, z.ZodPipe<z.ZodObject<{
|
|
3699
|
+
token: z.ZodString;
|
|
3700
|
+
spender: z.ZodString;
|
|
3701
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
3702
|
+
token: string;
|
|
3703
|
+
spender: string;
|
|
3704
|
+
standard: undefined;
|
|
3705
|
+
}, {
|
|
3706
|
+
token: string;
|
|
3707
|
+
spender: string;
|
|
3708
|
+
}>>]>>;
|
|
3709
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
3710
|
+
chainId: number;
|
|
3711
|
+
address: _polymarket_types.EvmAddress;
|
|
3712
|
+
contracts: ({
|
|
3713
|
+
token: _polymarket_types.EvmAddress;
|
|
3714
|
+
spender: _polymarket_types.EvmAddress;
|
|
3715
|
+
standard: ApprovalStandard.Erc20;
|
|
3716
|
+
amount: bigint | "max";
|
|
3717
|
+
approved: boolean;
|
|
3718
|
+
} | {
|
|
3719
|
+
token: _polymarket_types.EvmAddress;
|
|
3720
|
+
spender: _polymarket_types.EvmAddress;
|
|
3721
|
+
standard: ApprovalStandard.Erc1155;
|
|
3722
|
+
approved: boolean;
|
|
3723
|
+
} | {
|
|
3724
|
+
token: string;
|
|
3725
|
+
spender: string;
|
|
3726
|
+
standard: undefined;
|
|
3727
|
+
})[];
|
|
3728
|
+
}, {
|
|
3729
|
+
address: _polymarket_types.EvmAddress;
|
|
3730
|
+
chain_id: number;
|
|
3731
|
+
contracts: ({
|
|
3732
|
+
token: _polymarket_types.EvmAddress;
|
|
3733
|
+
spender: _polymarket_types.EvmAddress;
|
|
3734
|
+
standard: ApprovalStandard.Erc20;
|
|
3735
|
+
amount: bigint | "max";
|
|
3736
|
+
approved: boolean;
|
|
3737
|
+
} | {
|
|
3738
|
+
token: _polymarket_types.EvmAddress;
|
|
3739
|
+
spender: _polymarket_types.EvmAddress;
|
|
3740
|
+
standard: ApprovalStandard.Erc1155;
|
|
3741
|
+
approved: boolean;
|
|
3742
|
+
} | {
|
|
3743
|
+
token: string;
|
|
3744
|
+
spender: string;
|
|
3745
|
+
standard: undefined;
|
|
3746
|
+
})[];
|
|
3747
|
+
}>>;
|
|
3748
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
3749
|
+
chainId: number;
|
|
3750
|
+
address: _polymarket_types.EvmAddress;
|
|
3751
|
+
contracts: ({
|
|
3752
|
+
token: _polymarket_types.EvmAddress;
|
|
3753
|
+
spender: _polymarket_types.EvmAddress;
|
|
3754
|
+
standard: ApprovalStandard.Erc20;
|
|
3755
|
+
amount: bigint | "max";
|
|
3756
|
+
approved: boolean;
|
|
3757
|
+
} | {
|
|
3758
|
+
token: _polymarket_types.EvmAddress;
|
|
3759
|
+
spender: _polymarket_types.EvmAddress;
|
|
3760
|
+
standard: ApprovalStandard.Erc1155;
|
|
3761
|
+
approved: boolean;
|
|
3762
|
+
} | {
|
|
3763
|
+
token: string;
|
|
3764
|
+
spender: string;
|
|
3765
|
+
standard: undefined;
|
|
3766
|
+
})[];
|
|
3767
|
+
}, {
|
|
3768
|
+
data: {
|
|
3769
|
+
chainId: number;
|
|
3770
|
+
address: _polymarket_types.EvmAddress;
|
|
3771
|
+
contracts: ({
|
|
3772
|
+
token: _polymarket_types.EvmAddress;
|
|
3773
|
+
spender: _polymarket_types.EvmAddress;
|
|
3774
|
+
standard: ApprovalStandard.Erc20;
|
|
3775
|
+
amount: bigint | "max";
|
|
3776
|
+
approved: boolean;
|
|
3777
|
+
} | {
|
|
3778
|
+
token: _polymarket_types.EvmAddress;
|
|
3779
|
+
spender: _polymarket_types.EvmAddress;
|
|
3780
|
+
standard: ApprovalStandard.Erc1155;
|
|
3781
|
+
approved: boolean;
|
|
3782
|
+
} | {
|
|
3783
|
+
token: string;
|
|
3784
|
+
spender: string;
|
|
3785
|
+
standard: undefined;
|
|
3786
|
+
})[];
|
|
3787
|
+
};
|
|
3788
|
+
}>>;
|
|
3789
|
+
type ApprovalsSnapshot = z.infer<typeof FetchApprovalsResponseSchema>;
|
|
3790
|
+
|
|
3586
3791
|
/**
|
|
3587
3792
|
* Parses the data-service paginated list envelope straight into the SDK's page shape
|
|
3588
3793
|
* — `{ items, hasMore, nextCursor }` — so actions hand the result to the
|
|
@@ -4303,6 +4508,14 @@ declare enum ResolutionReporter {
|
|
|
4303
4508
|
Eoa = "EOA"
|
|
4304
4509
|
}
|
|
4305
4510
|
declare const ResolutionReporterSchema: z.ZodEnum<typeof ResolutionReporter>;
|
|
4511
|
+
/** Basis for a resolution's earliest estimated settlement time. */
|
|
4512
|
+
declare enum ResolutionSettlementTimeBasis {
|
|
4513
|
+
ManagedProposalExpiration = "managed_proposal_expiration",
|
|
4514
|
+
ProposalExpiration = "proposal_expiration",
|
|
4515
|
+
Liveness = "liveness",
|
|
4516
|
+
DvmRoundEstimate = "dvm_round_estimate"
|
|
4517
|
+
}
|
|
4518
|
+
declare const ResolutionSettlementTimeBasisSchema: z.ZodEnum<typeof ResolutionSettlementTimeBasis>;
|
|
4306
4519
|
type Resolution = {
|
|
4307
4520
|
/** Oracle question identifier, when the resolution has one. */
|
|
4308
4521
|
questionId?: QuestionId;
|
|
@@ -4311,6 +4524,10 @@ type Resolution = {
|
|
|
4311
4524
|
status: ResolutionStatus;
|
|
4312
4525
|
/** Whether a managed proposal is in extended review. */
|
|
4313
4526
|
extendedReview: boolean;
|
|
4527
|
+
/** Earliest estimated settlement time, not a deadline; may have elapsed. */
|
|
4528
|
+
expectedSettlementTime?: IsoDateTimeString;
|
|
4529
|
+
/** Estimate basis, omitted when unavailable. Voting estimates can roll to a later round. */
|
|
4530
|
+
settlementTimeBasis?: ResolutionSettlementTimeBasis;
|
|
4314
4531
|
/** Whether the resolution was disputed at any point. */
|
|
4315
4532
|
wasDisputed: boolean;
|
|
4316
4533
|
/** Whether the question rules were updated after the question was posed. */
|
|
@@ -4321,9 +4538,18 @@ type Resolution = {
|
|
|
4321
4538
|
reproposedPrice?: DecimalString;
|
|
4322
4539
|
/** Final oracle settlement price, omitted until set. */
|
|
4323
4540
|
price?: DecimalString;
|
|
4324
|
-
/**
|
|
4541
|
+
/**
|
|
4542
|
+
* Transaction for the latest lifecycle event, or `null` when unavailable.
|
|
4543
|
+
* On UMA lifecycle rows, this can differ from the initial RequestPrice
|
|
4544
|
+
* transaction whose log index is retained in `logIndex`.
|
|
4545
|
+
*/
|
|
4325
4546
|
transactionHash: TxHash | null;
|
|
4326
|
-
/**
|
|
4547
|
+
/**
|
|
4548
|
+
* Initial RequestPrice log index on UMA lifecycle rows, or `null` when
|
|
4549
|
+
* unavailable. It need not belong to `transactionHash`.
|
|
4550
|
+
* Condition-resolution fallback rows instead carry their condition event's
|
|
4551
|
+
* log index and transaction hash.
|
|
4552
|
+
*/
|
|
4327
4553
|
logIndex: number | null;
|
|
4328
4554
|
/** Latest lifecycle change as an ISO 8601 datetime. */
|
|
4329
4555
|
lastUpdatedAt: IsoDateTimeString;
|
|
@@ -4341,6 +4567,8 @@ declare const ResolutionSchema: z.ZodPipe<z.ZodObject<{
|
|
|
4341
4567
|
condition_id: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>>;
|
|
4342
4568
|
status: z.ZodEnum<typeof ResolutionStatus>;
|
|
4343
4569
|
extended_review: z.ZodBoolean;
|
|
4570
|
+
expected_settlement_time: z.ZodOptional<z.ZodPipe<z.ZodISODateTime, z.ZodTransform<IsoDateTimeString, string>>>;
|
|
4571
|
+
settlement_time_basis: z.ZodOptional<z.ZodEnum<typeof ResolutionSettlementTimeBasis>>;
|
|
4344
4572
|
was_disputed: z.ZodBoolean;
|
|
4345
4573
|
new_version_q: z.ZodBoolean;
|
|
4346
4574
|
proposed_price: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>;
|
|
@@ -4366,6 +4594,8 @@ declare const ResolutionSchema: z.ZodPipe<z.ZodObject<{
|
|
|
4366
4594
|
last_update_timestamp: IsoDateTimeString;
|
|
4367
4595
|
question_id?: QuestionId | undefined;
|
|
4368
4596
|
condition_id?: ConditionId | undefined;
|
|
4597
|
+
expected_settlement_time?: IsoDateTimeString | undefined;
|
|
4598
|
+
settlement_time_basis?: ResolutionSettlementTimeBasis | undefined;
|
|
4369
4599
|
proposed_price?: DecimalString | undefined;
|
|
4370
4600
|
reproposed_price?: DecimalString | undefined;
|
|
4371
4601
|
price?: DecimalString | undefined;
|
|
@@ -4383,6 +4613,8 @@ declare const FetchResolutionsResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
4383
4613
|
condition_id: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>>;
|
|
4384
4614
|
status: z.ZodEnum<typeof ResolutionStatus>;
|
|
4385
4615
|
extended_review: z.ZodBoolean;
|
|
4616
|
+
expected_settlement_time: z.ZodOptional<z.ZodPipe<z.ZodISODateTime, z.ZodTransform<IsoDateTimeString, string>>>;
|
|
4617
|
+
settlement_time_basis: z.ZodOptional<z.ZodEnum<typeof ResolutionSettlementTimeBasis>>;
|
|
4386
4618
|
was_disputed: z.ZodBoolean;
|
|
4387
4619
|
new_version_q: z.ZodBoolean;
|
|
4388
4620
|
proposed_price: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>;
|
|
@@ -4408,6 +4640,8 @@ declare const FetchResolutionsResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
4408
4640
|
last_update_timestamp: IsoDateTimeString;
|
|
4409
4641
|
question_id?: QuestionId | undefined;
|
|
4410
4642
|
condition_id?: ConditionId | undefined;
|
|
4643
|
+
expected_settlement_time?: IsoDateTimeString | undefined;
|
|
4644
|
+
settlement_time_basis?: ResolutionSettlementTimeBasis | undefined;
|
|
4411
4645
|
proposed_price?: DecimalString | undefined;
|
|
4412
4646
|
reproposed_price?: DecimalString | undefined;
|
|
4413
4647
|
price?: DecimalString | undefined;
|
|
@@ -4424,4 +4658,206 @@ declare const FetchResolutionsResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
4424
4658
|
}>>;
|
|
4425
4659
|
type FetchResolutionsResponse = z.infer<typeof FetchResolutionsResponseSchema>;
|
|
4426
4660
|
|
|
4427
|
-
|
|
4661
|
+
/** Contract family that issued an outcome asset. */
|
|
4662
|
+
declare enum TokenModule {
|
|
4663
|
+
V1Ctf = "v1_ctf",
|
|
4664
|
+
Binary = "binary",
|
|
4665
|
+
NegRisk = "neg_risk",
|
|
4666
|
+
Combo = "combo"
|
|
4667
|
+
}
|
|
4668
|
+
declare const TokenModuleSchema: z.ZodEnum<typeof TokenModule>;
|
|
4669
|
+
/** Reference facts and current settlement metadata for an outcome asset. */
|
|
4670
|
+
type TokenReference = {
|
|
4671
|
+
/** Decimal ERC-1155 identifier, including structured protocol v2 assets. */
|
|
4672
|
+
assetId: ClobAssetId;
|
|
4673
|
+
/** Market condition in its 32-byte representation. */
|
|
4674
|
+
conditionId: ConditionId;
|
|
4675
|
+
/** On-chain protocol v2 condition in its 32-byte form; null for v1 assets. */
|
|
4676
|
+
structuralConditionId: ConditionId | null;
|
|
4677
|
+
module: TokenModule;
|
|
4678
|
+
/** On-chain outcome slot; this can differ from the market's order-book slot. */
|
|
4679
|
+
outcomeIndex: number;
|
|
4680
|
+
/** Order-book token-list slot; null before registration or outside v1. */
|
|
4681
|
+
clobIndex: number | null;
|
|
4682
|
+
/** Outcome label, which can lag by up to a minute. */
|
|
4683
|
+
outcome: string | null;
|
|
4684
|
+
/** The other asset of a two-outcome condition; otherwise null. */
|
|
4685
|
+
oppositeAssetId: ClobAssetId | null;
|
|
4686
|
+
/** Whether an on-chain payout exists; this can lag by up to a minute. */
|
|
4687
|
+
resolved: boolean;
|
|
4688
|
+
/** Payout rate, including fractional split payouts; null while unresolved. */
|
|
4689
|
+
finalPrice: DecimalString | null;
|
|
4690
|
+
title: string | null;
|
|
4691
|
+
marketSlug: string | null;
|
|
4692
|
+
/** Market closure state, which can lag by up to a minute. */
|
|
4693
|
+
closed: boolean | null;
|
|
4694
|
+
negRisk: boolean | null;
|
|
4695
|
+
/** Identifier of the containing neg-risk structure. */
|
|
4696
|
+
negRiskMarketId: ConditionId | null;
|
|
4697
|
+
/** Market's question index within its neg-risk structure. */
|
|
4698
|
+
questionIndex: number | null;
|
|
4699
|
+
/** Lowest event ID associated with the market. */
|
|
4700
|
+
eventId: EventId | null;
|
|
4701
|
+
eventSlug: string | null;
|
|
4702
|
+
};
|
|
4703
|
+
declare const TokenReferenceSchema: z.ZodPipe<z.ZodObject<{
|
|
4704
|
+
token_id: z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<PositionId | TokenId, string>>>;
|
|
4705
|
+
condition_id: z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>>;
|
|
4706
|
+
structural_condition_id: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>>>;
|
|
4707
|
+
module: z.ZodEnum<typeof TokenModule>;
|
|
4708
|
+
outcome_index: z.ZodNumber;
|
|
4709
|
+
clob_index: z.ZodNullable<z.ZodNumber>;
|
|
4710
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
4711
|
+
opposite_token_id: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<PositionId | TokenId, string>>>>;
|
|
4712
|
+
resolved: z.ZodBoolean;
|
|
4713
|
+
final_price: z.ZodNullable<z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>>;
|
|
4714
|
+
title: z.ZodNullable<z.ZodString>;
|
|
4715
|
+
market_slug: z.ZodNullable<z.ZodString>;
|
|
4716
|
+
closed: z.ZodNullable<z.ZodBoolean>;
|
|
4717
|
+
neg_risk: z.ZodNullable<z.ZodBoolean>;
|
|
4718
|
+
neg_risk_market_id: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>>>;
|
|
4719
|
+
question_index: z.ZodNullable<z.ZodNumber>;
|
|
4720
|
+
event_id: z.ZodNullable<z.ZodPipe<z.ZodNumber, z.ZodTransform<EventId, number>>>;
|
|
4721
|
+
event_slug: z.ZodNullable<z.ZodString>;
|
|
4722
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
4723
|
+
assetId: PositionId | TokenId;
|
|
4724
|
+
conditionId: ConditionId;
|
|
4725
|
+
structuralConditionId: ConditionId | null;
|
|
4726
|
+
module: TokenModule;
|
|
4727
|
+
outcomeIndex: number;
|
|
4728
|
+
clobIndex: number | null;
|
|
4729
|
+
outcome: string | null;
|
|
4730
|
+
oppositeAssetId: PositionId | TokenId | null;
|
|
4731
|
+
resolved: boolean;
|
|
4732
|
+
finalPrice: DecimalString | null;
|
|
4733
|
+
title: string | null;
|
|
4734
|
+
marketSlug: string | null;
|
|
4735
|
+
closed: boolean | null;
|
|
4736
|
+
negRisk: boolean | null;
|
|
4737
|
+
negRiskMarketId: ConditionId | null;
|
|
4738
|
+
questionIndex: number | null;
|
|
4739
|
+
eventId: EventId | null;
|
|
4740
|
+
eventSlug: string | null;
|
|
4741
|
+
}, {
|
|
4742
|
+
token_id: PositionId | TokenId;
|
|
4743
|
+
condition_id: ConditionId;
|
|
4744
|
+
structural_condition_id: ConditionId | null;
|
|
4745
|
+
module: TokenModule;
|
|
4746
|
+
outcome_index: number;
|
|
4747
|
+
clob_index: number | null;
|
|
4748
|
+
outcome: string | null;
|
|
4749
|
+
opposite_token_id: PositionId | TokenId | null;
|
|
4750
|
+
resolved: boolean;
|
|
4751
|
+
final_price: DecimalString | null;
|
|
4752
|
+
title: string | null;
|
|
4753
|
+
market_slug: string | null;
|
|
4754
|
+
closed: boolean | null;
|
|
4755
|
+
neg_risk: boolean | null;
|
|
4756
|
+
neg_risk_market_id: ConditionId | null;
|
|
4757
|
+
question_index: number | null;
|
|
4758
|
+
event_id: EventId | null;
|
|
4759
|
+
event_slug: string | null;
|
|
4760
|
+
}>>;
|
|
4761
|
+
declare const FetchTokenReferencesResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
4762
|
+
data: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
4763
|
+
token_id: z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<PositionId | TokenId, string>>>;
|
|
4764
|
+
condition_id: z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>>;
|
|
4765
|
+
structural_condition_id: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>>>;
|
|
4766
|
+
module: z.ZodEnum<typeof TokenModule>;
|
|
4767
|
+
outcome_index: z.ZodNumber;
|
|
4768
|
+
clob_index: z.ZodNullable<z.ZodNumber>;
|
|
4769
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
4770
|
+
opposite_token_id: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<PositionId | TokenId, string>>>>;
|
|
4771
|
+
resolved: z.ZodBoolean;
|
|
4772
|
+
final_price: z.ZodNullable<z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>>;
|
|
4773
|
+
title: z.ZodNullable<z.ZodString>;
|
|
4774
|
+
market_slug: z.ZodNullable<z.ZodString>;
|
|
4775
|
+
closed: z.ZodNullable<z.ZodBoolean>;
|
|
4776
|
+
neg_risk: z.ZodNullable<z.ZodBoolean>;
|
|
4777
|
+
neg_risk_market_id: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>>>;
|
|
4778
|
+
question_index: z.ZodNullable<z.ZodNumber>;
|
|
4779
|
+
event_id: z.ZodNullable<z.ZodPipe<z.ZodNumber, z.ZodTransform<EventId, number>>>;
|
|
4780
|
+
event_slug: z.ZodNullable<z.ZodString>;
|
|
4781
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
4782
|
+
assetId: PositionId | TokenId;
|
|
4783
|
+
conditionId: ConditionId;
|
|
4784
|
+
structuralConditionId: ConditionId | null;
|
|
4785
|
+
module: TokenModule;
|
|
4786
|
+
outcomeIndex: number;
|
|
4787
|
+
clobIndex: number | null;
|
|
4788
|
+
outcome: string | null;
|
|
4789
|
+
oppositeAssetId: PositionId | TokenId | null;
|
|
4790
|
+
resolved: boolean;
|
|
4791
|
+
finalPrice: DecimalString | null;
|
|
4792
|
+
title: string | null;
|
|
4793
|
+
marketSlug: string | null;
|
|
4794
|
+
closed: boolean | null;
|
|
4795
|
+
negRisk: boolean | null;
|
|
4796
|
+
negRiskMarketId: ConditionId | null;
|
|
4797
|
+
questionIndex: number | null;
|
|
4798
|
+
eventId: EventId | null;
|
|
4799
|
+
eventSlug: string | null;
|
|
4800
|
+
}, {
|
|
4801
|
+
token_id: PositionId | TokenId;
|
|
4802
|
+
condition_id: ConditionId;
|
|
4803
|
+
structural_condition_id: ConditionId | null;
|
|
4804
|
+
module: TokenModule;
|
|
4805
|
+
outcome_index: number;
|
|
4806
|
+
clob_index: number | null;
|
|
4807
|
+
outcome: string | null;
|
|
4808
|
+
opposite_token_id: PositionId | TokenId | null;
|
|
4809
|
+
resolved: boolean;
|
|
4810
|
+
final_price: DecimalString | null;
|
|
4811
|
+
title: string | null;
|
|
4812
|
+
market_slug: string | null;
|
|
4813
|
+
closed: boolean | null;
|
|
4814
|
+
neg_risk: boolean | null;
|
|
4815
|
+
neg_risk_market_id: ConditionId | null;
|
|
4816
|
+
question_index: number | null;
|
|
4817
|
+
event_id: EventId | null;
|
|
4818
|
+
event_slug: string | null;
|
|
4819
|
+
}>>>;
|
|
4820
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
4821
|
+
assetId: PositionId | TokenId;
|
|
4822
|
+
conditionId: ConditionId;
|
|
4823
|
+
structuralConditionId: ConditionId | null;
|
|
4824
|
+
module: TokenModule;
|
|
4825
|
+
outcomeIndex: number;
|
|
4826
|
+
clobIndex: number | null;
|
|
4827
|
+
outcome: string | null;
|
|
4828
|
+
oppositeAssetId: PositionId | TokenId | null;
|
|
4829
|
+
resolved: boolean;
|
|
4830
|
+
finalPrice: DecimalString | null;
|
|
4831
|
+
title: string | null;
|
|
4832
|
+
marketSlug: string | null;
|
|
4833
|
+
closed: boolean | null;
|
|
4834
|
+
negRisk: boolean | null;
|
|
4835
|
+
negRiskMarketId: ConditionId | null;
|
|
4836
|
+
questionIndex: number | null;
|
|
4837
|
+
eventId: EventId | null;
|
|
4838
|
+
eventSlug: string | null;
|
|
4839
|
+
}[], {
|
|
4840
|
+
data: {
|
|
4841
|
+
assetId: PositionId | TokenId;
|
|
4842
|
+
conditionId: ConditionId;
|
|
4843
|
+
structuralConditionId: ConditionId | null;
|
|
4844
|
+
module: TokenModule;
|
|
4845
|
+
outcomeIndex: number;
|
|
4846
|
+
clobIndex: number | null;
|
|
4847
|
+
outcome: string | null;
|
|
4848
|
+
oppositeAssetId: PositionId | TokenId | null;
|
|
4849
|
+
resolved: boolean;
|
|
4850
|
+
finalPrice: DecimalString | null;
|
|
4851
|
+
title: string | null;
|
|
4852
|
+
marketSlug: string | null;
|
|
4853
|
+
closed: boolean | null;
|
|
4854
|
+
negRisk: boolean | null;
|
|
4855
|
+
negRiskMarketId: ConditionId | null;
|
|
4856
|
+
questionIndex: number | null;
|
|
4857
|
+
eventId: EventId | null;
|
|
4858
|
+
eventSlug: string | null;
|
|
4859
|
+
}[];
|
|
4860
|
+
}>>;
|
|
4861
|
+
type FetchTokenReferencesResponse = z.infer<typeof FetchTokenReferencesResponseSchema>;
|
|
4862
|
+
|
|
4863
|
+
export { type Activity, type ActivityBase, ActivitySchema, ActivityType, ActivityTypeSchema, type ApprovalContract, ApprovalStandard, type ApprovalsSnapshot, type BiggestWinner, BiggestWinnerKind, BiggestWinnerKindSchema, BiggestWinnerSchema, type BuilderStanding, BuilderStandingSchema, BuilderVolumeInterval, BuilderVolumeIntervalSchema, type BuilderVolumePoint, BuilderVolumePointSchema, CanonicalMarketConditionIdSchema, type ClobRedeemActivity, type ClobTradeActivity, type ComboActivity, ComboActivitySchema, ComboActivityType, type ComboBiggestWinner, type ComboCompressActivity, type ComboConvertActivity, type ComboMergeActivity, type ComboPosition, type ComboPositionLeg, ComboPositionLegSchema, type ComboPositionMarket, type ComboPositionMarketEvent, ComboPositionMarketEventSchema, ComboPositionMarketSchema, ComboPositionSchema, ComboPositionSortBy, ComboPositionSortBySchema, ComboPositionStatus, ComboPositionStatusSchema, type ComboRedeemActivity, type ComboRedemptionActivity, type ComboSplitActivity, type ComboTradeActivity, type ComboUnwrapActivity, type ComboWrapActivity, type ConversionActivity, type DepositActivity, FetchApprovalsResponseSchema, type FetchBuilderVolumeResponse, FetchBuilderVolumeResponseSchema, type FetchEventLiveVolumeResponse, FetchEventLiveVolumeResponseSchema, type FetchOpenInterestResponse, FetchOpenInterestResponseSchema, type FetchPortfolioValueResponse, FetchPortfolioValueResponseSchema, type FetchResolutionsResponse, FetchResolutionsResponseSchema, type FetchTokenReferencesResponse, FetchTokenReferencesResponseSchema, type FetchTraderLeaderboardStandingResponse, FetchTraderLeaderboardStandingResponseSchema, type FetchUserPnlResponse, FetchUserPnlResponseSchema, type FetchUserStatsResponse, FetchUserStatsResponseSchema, type FetchUserVolumeResponse, FetchUserVolumeResponseSchema, type Holder, HolderSchema, LeaderboardWindow, LeaderboardWindowSchema, type ListActivityResponse, ListActivityResponseSchema, type ListBiggestWinnersResponse, ListBiggestWinnersResponseSchema, type ListBuilderLeaderboardResponse, ListBuilderLeaderboardResponseSchema, type ListComboActivityResponse, ListComboActivityResponseSchema, type ListComboPositionsResponse, ListComboPositionsResponseSchema, type ListMarketHoldersResponse, ListMarketHoldersResponseSchema, type ListPositionsResponse, ListPositionsResponseSchema, type ListPriceHistoryResponse, ListPriceHistoryResponseSchema, type ListTraderLeaderboardResponse, ListTraderLeaderboardResponseSchema, type ListTradesResponse, ListTradesResponseSchema, type LiveVolume, LiveVolumeSchema, type MakerRebateActivity, type MarketBiggestWinner, type MarketLiveVolume, MarketLiveVolumeSchema, type MergeActivity, type MetaHolder, MetaHolderSchema, type MigrationActivity, type OpenInterest, OpenInterestSchema, type PortfolioValue, PortfolioValueSchema, type Position, PositionFilterType, PositionFilterTypeSchema, type PositionRowStatus, PositionRowStatusSchema, PositionSchema, PositionSortBy, PositionSortBySchema, PositionStatus, PositionStatusSchema, PriceHistoryInterval, PriceHistoryIntervalSchema, type PriceHistoryPoint, PriceHistoryPointSchema, type RedeemActivity, type ReferralRewardActivity, type Resolution, ResolutionMarketType, ResolutionMarketTypeSchema, ResolutionReporter, ResolutionReporterSchema, ResolutionSchema, ResolutionSettlementTimeBasis, ResolutionSettlementTimeBasisSchema, ResolutionSource, ResolutionSourceSchema, ResolutionStatus, ResolutionStatusSchema, type RewardActivity, SortDirection, SortDirectionSchema, type SplitActivity, type TakerRebateActivity, type TipActivity, TipSide, TipSideSchema, TokenModule, TokenModuleSchema, type TokenReference, TokenReferenceSchema, type Trade, type TradeActivity, TradeFilterType, TradeFilterTypeSchema, TradeSchema, type TraderLeaderboardEntry, TraderLeaderboardEntrySchema, TraderLeaderboardSort, TraderLeaderboardSortSchema, type TraderLeaderboardStanding, TraderLeaderboardStandingSchema, UserPnlFidelity, UserPnlFidelitySchema, UserPnlInterval, UserPnlIntervalSchema, type UserPnlPoint, UserPnlPointSchema, type UserPnlSeries, UserPnlSeriesSchema, type UserStats, UserStatsSchema, type UserVolume, UserVolumeSchema, type WithdrawalActivity, type YieldActivity, dataEnvelopeSchema, dataPageSchema };
|