@longdotxyz/shared 0.0.38 → 0.0.40
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/contracts/asset.contract.d.ts +30 -30
- package/dist/contracts/asset.contract.js +11 -11
- package/dist/contracts/asset.contract.js.map +1 -1
- package/dist/contracts/index.d.ts +24 -24
- package/dist/types/constants.d.ts +6 -0
- package/dist/types/constants.js +9 -2
- package/dist/types/constants.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import z from "zod";
|
|
2
|
-
import { AssetStatus } from "../types";
|
|
2
|
+
import { AssetStatus, AssetStatusQuery } from "../types";
|
|
3
3
|
declare const AssetResponse: z.ZodEffects<z.ZodObject<{
|
|
4
4
|
asset_address: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
5
5
|
asset_numeraire_address: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
6
6
|
asset_creation_timestamp: z.ZodDate;
|
|
7
7
|
asset_current_pool: z.ZodString;
|
|
8
8
|
asset_migration_timestamp: z.ZodNullable<z.ZodDate>;
|
|
9
|
-
asset_status: z.ZodDefault<z.
|
|
9
|
+
asset_status: z.ZodDefault<z.ZodEnum<[AssetStatus.GRADUATED, AssetStatus.LIVE, AssetStatus.INCOMING, AssetStatus.STALL]>>;
|
|
10
10
|
auction_pool: z.ZodObject<{
|
|
11
11
|
pool_current_price: z.ZodString;
|
|
12
12
|
pool_current_sqrt_price: z.ZodString;
|
|
@@ -371,7 +371,7 @@ declare const AssetResponse: z.ZodEffects<z.ZodObject<{
|
|
|
371
371
|
asset_creation_timestamp: Date;
|
|
372
372
|
asset_current_pool: string;
|
|
373
373
|
asset_migration_timestamp: Date | null;
|
|
374
|
-
asset_status:
|
|
374
|
+
asset_status: AssetStatus;
|
|
375
375
|
auction_pool: {
|
|
376
376
|
pool_current_price: string;
|
|
377
377
|
pool_current_sqrt_price: string;
|
|
@@ -530,9 +530,9 @@ declare const AssetResponse: z.ZodEffects<z.ZodObject<{
|
|
|
530
530
|
integrator_address: string;
|
|
531
531
|
};
|
|
532
532
|
};
|
|
533
|
-
asset_status?:
|
|
533
|
+
asset_status?: AssetStatus | undefined;
|
|
534
534
|
}>, {
|
|
535
|
-
asset_status:
|
|
535
|
+
asset_status: AssetStatus;
|
|
536
536
|
asset_address: `0x${string}`;
|
|
537
537
|
asset_numeraire_address: `0x${string}`;
|
|
538
538
|
asset_creation_timestamp: Date;
|
|
@@ -696,23 +696,23 @@ declare const AssetResponse: z.ZodEffects<z.ZodObject<{
|
|
|
696
696
|
integrator_address: string;
|
|
697
697
|
};
|
|
698
698
|
};
|
|
699
|
-
asset_status?:
|
|
699
|
+
asset_status?: AssetStatus | undefined;
|
|
700
700
|
}>;
|
|
701
701
|
declare const assetContract: {
|
|
702
702
|
listAssets: {
|
|
703
703
|
description: "List all assets for an integrator, with optional status filtering, pagination and default ordering by creation timestamp";
|
|
704
704
|
query: z.ZodObject<{
|
|
705
705
|
chainId: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
706
|
-
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<[
|
|
706
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<[AssetStatusQuery.ALL, AssetStatusQuery.GRADUATED, AssetStatusQuery.INCOMING, AssetStatusQuery.LIVE]>>>;
|
|
707
707
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
708
708
|
offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
709
709
|
}, "strip", z.ZodTypeAny, {
|
|
710
|
-
status:
|
|
710
|
+
status: AssetStatusQuery.LIVE | AssetStatusQuery.GRADUATED | AssetStatusQuery.INCOMING | AssetStatusQuery.ALL;
|
|
711
711
|
chainId: number;
|
|
712
712
|
limit: number;
|
|
713
713
|
offset: number;
|
|
714
714
|
}, {
|
|
715
|
-
status?:
|
|
715
|
+
status?: AssetStatusQuery.LIVE | AssetStatusQuery.GRADUATED | AssetStatusQuery.INCOMING | AssetStatusQuery.ALL | undefined;
|
|
716
716
|
chainId?: number | undefined;
|
|
717
717
|
limit?: number | undefined;
|
|
718
718
|
offset?: number | undefined;
|
|
@@ -727,7 +727,7 @@ declare const assetContract: {
|
|
|
727
727
|
asset_creation_timestamp: z.ZodDate;
|
|
728
728
|
asset_current_pool: z.ZodString;
|
|
729
729
|
asset_migration_timestamp: z.ZodNullable<z.ZodDate>;
|
|
730
|
-
asset_status: z.ZodDefault<z.
|
|
730
|
+
asset_status: z.ZodDefault<z.ZodEnum<[AssetStatus.GRADUATED, AssetStatus.LIVE, AssetStatus.INCOMING, AssetStatus.STALL]>>;
|
|
731
731
|
auction_pool: z.ZodObject<{
|
|
732
732
|
pool_current_price: z.ZodString;
|
|
733
733
|
pool_current_sqrt_price: z.ZodString;
|
|
@@ -1092,7 +1092,7 @@ declare const assetContract: {
|
|
|
1092
1092
|
asset_creation_timestamp: Date;
|
|
1093
1093
|
asset_current_pool: string;
|
|
1094
1094
|
asset_migration_timestamp: Date | null;
|
|
1095
|
-
asset_status:
|
|
1095
|
+
asset_status: AssetStatus;
|
|
1096
1096
|
auction_pool: {
|
|
1097
1097
|
pool_current_price: string;
|
|
1098
1098
|
pool_current_sqrt_price: string;
|
|
@@ -1251,9 +1251,9 @@ declare const assetContract: {
|
|
|
1251
1251
|
integrator_address: string;
|
|
1252
1252
|
};
|
|
1253
1253
|
};
|
|
1254
|
-
asset_status?:
|
|
1254
|
+
asset_status?: AssetStatus | undefined;
|
|
1255
1255
|
}>, {
|
|
1256
|
-
asset_status:
|
|
1256
|
+
asset_status: AssetStatus;
|
|
1257
1257
|
asset_address: `0x${string}`;
|
|
1258
1258
|
asset_numeraire_address: `0x${string}`;
|
|
1259
1259
|
asset_creation_timestamp: Date;
|
|
@@ -1417,11 +1417,11 @@ declare const assetContract: {
|
|
|
1417
1417
|
integrator_address: string;
|
|
1418
1418
|
};
|
|
1419
1419
|
};
|
|
1420
|
-
asset_status?:
|
|
1420
|
+
asset_status?: AssetStatus | undefined;
|
|
1421
1421
|
}>, "many">;
|
|
1422
1422
|
}, "strip", z.ZodTypeAny, {
|
|
1423
1423
|
result: {
|
|
1424
|
-
asset_status:
|
|
1424
|
+
asset_status: AssetStatus;
|
|
1425
1425
|
asset_address: `0x${string}`;
|
|
1426
1426
|
asset_numeraire_address: `0x${string}`;
|
|
1427
1427
|
asset_creation_timestamp: Date;
|
|
@@ -1587,7 +1587,7 @@ declare const assetContract: {
|
|
|
1587
1587
|
integrator_address: string;
|
|
1588
1588
|
};
|
|
1589
1589
|
};
|
|
1590
|
-
asset_status?:
|
|
1590
|
+
asset_status?: AssetStatus | undefined;
|
|
1591
1591
|
}[];
|
|
1592
1592
|
}>;
|
|
1593
1593
|
};
|
|
@@ -1617,7 +1617,7 @@ declare const assetContract: {
|
|
|
1617
1617
|
asset_creation_timestamp: z.ZodDate;
|
|
1618
1618
|
asset_current_pool: z.ZodString;
|
|
1619
1619
|
asset_migration_timestamp: z.ZodNullable<z.ZodDate>;
|
|
1620
|
-
asset_status: z.ZodDefault<z.
|
|
1620
|
+
asset_status: z.ZodDefault<z.ZodEnum<[AssetStatus.GRADUATED, AssetStatus.LIVE, AssetStatus.INCOMING, AssetStatus.STALL]>>;
|
|
1621
1621
|
auction_pool: z.ZodObject<{
|
|
1622
1622
|
pool_current_price: z.ZodString;
|
|
1623
1623
|
pool_current_sqrt_price: z.ZodString;
|
|
@@ -1982,7 +1982,7 @@ declare const assetContract: {
|
|
|
1982
1982
|
asset_creation_timestamp: Date;
|
|
1983
1983
|
asset_current_pool: string;
|
|
1984
1984
|
asset_migration_timestamp: Date | null;
|
|
1985
|
-
asset_status:
|
|
1985
|
+
asset_status: AssetStatus;
|
|
1986
1986
|
auction_pool: {
|
|
1987
1987
|
pool_current_price: string;
|
|
1988
1988
|
pool_current_sqrt_price: string;
|
|
@@ -2141,9 +2141,9 @@ declare const assetContract: {
|
|
|
2141
2141
|
integrator_address: string;
|
|
2142
2142
|
};
|
|
2143
2143
|
};
|
|
2144
|
-
asset_status?:
|
|
2144
|
+
asset_status?: AssetStatus | undefined;
|
|
2145
2145
|
}>, {
|
|
2146
|
-
asset_status:
|
|
2146
|
+
asset_status: AssetStatus;
|
|
2147
2147
|
asset_address: `0x${string}`;
|
|
2148
2148
|
asset_numeraire_address: `0x${string}`;
|
|
2149
2149
|
asset_creation_timestamp: Date;
|
|
@@ -2307,11 +2307,11 @@ declare const assetContract: {
|
|
|
2307
2307
|
integrator_address: string;
|
|
2308
2308
|
};
|
|
2309
2309
|
};
|
|
2310
|
-
asset_status?:
|
|
2310
|
+
asset_status?: AssetStatus | undefined;
|
|
2311
2311
|
}>, "many">;
|
|
2312
2312
|
}, "strip", z.ZodTypeAny, {
|
|
2313
2313
|
result: {
|
|
2314
|
-
asset_status:
|
|
2314
|
+
asset_status: AssetStatus;
|
|
2315
2315
|
asset_address: `0x${string}`;
|
|
2316
2316
|
asset_numeraire_address: `0x${string}`;
|
|
2317
2317
|
asset_creation_timestamp: Date;
|
|
@@ -2477,7 +2477,7 @@ declare const assetContract: {
|
|
|
2477
2477
|
integrator_address: string;
|
|
2478
2478
|
};
|
|
2479
2479
|
};
|
|
2480
|
-
asset_status?:
|
|
2480
|
+
asset_status?: AssetStatus | undefined;
|
|
2481
2481
|
}[];
|
|
2482
2482
|
}>;
|
|
2483
2483
|
};
|
|
@@ -2508,7 +2508,7 @@ declare const assetContract: {
|
|
|
2508
2508
|
asset_creation_timestamp: z.ZodDate;
|
|
2509
2509
|
asset_current_pool: z.ZodString;
|
|
2510
2510
|
asset_migration_timestamp: z.ZodNullable<z.ZodDate>;
|
|
2511
|
-
asset_status: z.ZodDefault<z.
|
|
2511
|
+
asset_status: z.ZodDefault<z.ZodEnum<[AssetStatus.GRADUATED, AssetStatus.LIVE, AssetStatus.INCOMING, AssetStatus.STALL]>>;
|
|
2512
2512
|
auction_pool: z.ZodObject<{
|
|
2513
2513
|
pool_current_price: z.ZodString;
|
|
2514
2514
|
pool_current_sqrt_price: z.ZodString;
|
|
@@ -2873,7 +2873,7 @@ declare const assetContract: {
|
|
|
2873
2873
|
asset_creation_timestamp: Date;
|
|
2874
2874
|
asset_current_pool: string;
|
|
2875
2875
|
asset_migration_timestamp: Date | null;
|
|
2876
|
-
asset_status:
|
|
2876
|
+
asset_status: AssetStatus;
|
|
2877
2877
|
auction_pool: {
|
|
2878
2878
|
pool_current_price: string;
|
|
2879
2879
|
pool_current_sqrt_price: string;
|
|
@@ -3032,9 +3032,9 @@ declare const assetContract: {
|
|
|
3032
3032
|
integrator_address: string;
|
|
3033
3033
|
};
|
|
3034
3034
|
};
|
|
3035
|
-
asset_status?:
|
|
3035
|
+
asset_status?: AssetStatus | undefined;
|
|
3036
3036
|
}>, {
|
|
3037
|
-
asset_status:
|
|
3037
|
+
asset_status: AssetStatus;
|
|
3038
3038
|
asset_address: `0x${string}`;
|
|
3039
3039
|
asset_numeraire_address: `0x${string}`;
|
|
3040
3040
|
asset_creation_timestamp: Date;
|
|
@@ -3198,11 +3198,11 @@ declare const assetContract: {
|
|
|
3198
3198
|
integrator_address: string;
|
|
3199
3199
|
};
|
|
3200
3200
|
};
|
|
3201
|
-
asset_status?:
|
|
3201
|
+
asset_status?: AssetStatus | undefined;
|
|
3202
3202
|
}>;
|
|
3203
3203
|
}, "strip", z.ZodTypeAny, {
|
|
3204
3204
|
result: {
|
|
3205
|
-
asset_status:
|
|
3205
|
+
asset_status: AssetStatus;
|
|
3206
3206
|
asset_address: `0x${string}`;
|
|
3207
3207
|
asset_numeraire_address: `0x${string}`;
|
|
3208
3208
|
asset_creation_timestamp: Date;
|
|
@@ -3368,7 +3368,7 @@ declare const assetContract: {
|
|
|
3368
3368
|
integrator_address: string;
|
|
3369
3369
|
};
|
|
3370
3370
|
};
|
|
3371
|
-
asset_status?:
|
|
3371
|
+
asset_status?: AssetStatus | undefined;
|
|
3372
3372
|
};
|
|
3373
3373
|
}>;
|
|
3374
3374
|
};
|
|
@@ -12,12 +12,12 @@ const AssetResponse = zod_1.default
|
|
|
12
12
|
.pipe(types_1.hex)
|
|
13
13
|
.describe("**Address** — EVM address of the asset contract (newly created token in auction). This is the unique identifier for the token on the blockchain and can be used to interact with the token contract directly or add it to wallets."),
|
|
14
14
|
asset_numeraire_address: zod_1.default.string().pipe(types_1.hex).describe("**Quote Token Address** — EVM address of the numeraire (quote) token used for pricing this asset and directly paired with the asset in the auction."),
|
|
15
|
-
asset_creation_timestamp: zod_1.default.date().describe("**Creation Timestamp** — Date when the asset was initially created and deployed to the blockchain. Use this to calculate asset age or filter by creation date."),
|
|
15
|
+
asset_creation_timestamp: zod_1.default.coerce.date().describe("**Creation Timestamp** — Date when the asset was initially created and deployed to the blockchain. Use this to calculate asset age or filter by creation date."),
|
|
16
16
|
asset_current_pool: zod_1.default.string().describe("**Current Pool** - The current pool that the asset is in. Can be `auction` or `graduation`."),
|
|
17
|
-
asset_migration_timestamp: zod_1.default.date().nullable().describe("**Migration Timestamp** — Date when the asset was migrated from the auction pool to the graduation pool. Returns `null` if the asset hasn't migrated yet (still in auction phase) or auction ended unsuccessfully."),
|
|
17
|
+
asset_migration_timestamp: zod_1.default.coerce.date().nullable().describe("**Migration Timestamp** — Date when the asset was migrated from the auction pool to the graduation pool. Returns `null` if the asset hasn't migrated yet (still in auction phase) or auction ended unsuccessfully."),
|
|
18
18
|
asset_status: zod_1.default
|
|
19
|
-
.
|
|
20
|
-
.default(
|
|
19
|
+
.enum([types_1.AssetStatus.GRADUATED, types_1.AssetStatus.LIVE, types_1.AssetStatus.INCOMING, types_1.AssetStatus.STALL])
|
|
20
|
+
.default(types_1.AssetStatus.STALL)
|
|
21
21
|
.describe("**Asset Status** — Live-computed status of the asset based on migration state and auction timing. Values: `graduated` (migrated to graduation pool), `live` (auction active), `incoming` (auction not started), `stall` (auction ended without migration)."),
|
|
22
22
|
auction_pool: zod_1.default
|
|
23
23
|
.object({
|
|
@@ -46,7 +46,7 @@ const AssetResponse = zod_1.default
|
|
|
46
46
|
pool_config_starting_time: zod_1.default.string().describe('**Starts At** — Unix timestamp when the auction begins accepting trades (e.g., `"1759330983"`). Trades before this time will revert.'),
|
|
47
47
|
pool_config_ending_time: zod_1.default.string().describe('**Ends At** — Unix timestamp as string when the auction phase concludes (e.g., `"1759352583"`). After this, the pool may migrate if targets are met.'),
|
|
48
48
|
pool_migration_timestamp: zod_1.default
|
|
49
|
-
.date()
|
|
49
|
+
.coerce.date()
|
|
50
50
|
.nullable()
|
|
51
51
|
.describe("**Migration Timestamp** — Date when this pool migrated to the graduation pool. Returns `null` if still in active auction or if the auction ended unsuccessfully. Once migrated, this pool becomes read-only and trading moves to `graduation_pool`."),
|
|
52
52
|
pool_type: zod_1.default.string().describe('**Pool Type** — Uniswap protocol version used for this pool. Values: `"v2"`, `"v3"`, or `"v4"`. Use this for trading routing, quote calculations, and protocol-specific integrations (e.g., concentrated liquidity on V3/V4).'),
|
|
@@ -86,7 +86,7 @@ const AssetResponse = zod_1.default
|
|
|
86
86
|
pool_current_tick: zod_1.default.number().describe("**Tick** — Current tick index in the Uniswap V3/V4 price curve. See auction pool's [`pool_current_tick`](#pool_current_tick) for details."),
|
|
87
87
|
pool_current_market_cap: zod_1.default.string().describe("**Market Cap** — Post-graduation market cap based on circulating supply and current trading price. This reflects real market valuation."),
|
|
88
88
|
pool_address: zod_1.default.string().pipe(types_1.hex).describe("**Pool Address** — EVM address of the Uniswap V3 pool contract for secondary trading. Use this address to execute swaps, add liquidity, or track on-chain activity."),
|
|
89
|
-
pool_migration_timestamp: zod_1.default.date().nullable().describe("**Migration Timestamp** — Date when the token graduated from auction to open market. Returns `null` if still in auction phase. Marks the transition to price-discovery trading."),
|
|
89
|
+
pool_migration_timestamp: zod_1.default.coerce.date().nullable().describe("**Migration Timestamp** — Date when the token graduated from auction to open market. Returns `null` if still in auction phase. Marks the transition to price-discovery trading."),
|
|
90
90
|
pool_type: zod_1.default.string().describe('**Pool Type** — Uniswap protocol version used for this graduation pool. Values: `"v2"`, `"v3"`, or `"v4"`. Use this for trading routing, quote calculations, and protocol-specific integrations'),
|
|
91
91
|
base_token: zod_1.default
|
|
92
92
|
.object({
|
|
@@ -120,18 +120,18 @@ const AssetResponse = zod_1.default
|
|
|
120
120
|
asset_status: (() => {
|
|
121
121
|
const migrated = !!asset.asset_migration_timestamp;
|
|
122
122
|
if (migrated) {
|
|
123
|
-
return
|
|
123
|
+
return types_1.AssetStatus.GRADUATED;
|
|
124
124
|
}
|
|
125
125
|
const ends = Number(asset.auction_pool.pool_config_ending_time);
|
|
126
126
|
const starts = Number(asset.auction_pool.pool_config_starting_time);
|
|
127
127
|
const now = Math.floor(Date.now() / 1000);
|
|
128
128
|
if (starts > now) {
|
|
129
|
-
return
|
|
129
|
+
return types_1.AssetStatus.INCOMING;
|
|
130
130
|
}
|
|
131
131
|
if (ends > now) {
|
|
132
|
-
return
|
|
132
|
+
return types_1.AssetStatus.LIVE;
|
|
133
133
|
}
|
|
134
|
-
return
|
|
134
|
+
return types_1.AssetStatus.STALL;
|
|
135
135
|
})(),
|
|
136
136
|
}));
|
|
137
137
|
exports.AssetResponse = AssetResponse;
|
|
@@ -149,7 +149,7 @@ const assetContract = contract.router({
|
|
|
149
149
|
.optional()
|
|
150
150
|
.default(types_1.ChainID.BASE_MAINNET)
|
|
151
151
|
.describe("The chain ID of the assets to list"),
|
|
152
|
-
status: zod_1.default.enum([types_1.
|
|
152
|
+
status: zod_1.default.enum([types_1.AssetStatusQuery.ALL, types_1.AssetStatusQuery.GRADUATED, types_1.AssetStatusQuery.INCOMING, types_1.AssetStatusQuery.LIVE]).optional().default(types_1.AssetStatusQuery.ALL).describe("The status of the assets to list"),
|
|
153
153
|
limit: zod_1.default.coerce.number().int().min(0).max(50).optional().default(10).describe("The limit of the assets to list"),
|
|
154
154
|
offset: zod_1.default.coerce.number().int().min(0).optional().default(0).describe("The offset of the assets to list"),
|
|
155
155
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset.contract.js","sourceRoot":"","sources":["../../src/contracts/asset.contract.ts"],"names":[],"mappings":";;;AAAA,wCAA6C;AAC7C,6BAAoB;AAEpB,
|
|
1
|
+
{"version":3,"file":"asset.contract.js","sourceRoot":"","sources":["../../src/contracts/asset.contract.ts"],"names":[],"mappings":";;;AAAA,wCAA6C;AAC7C,6BAAoB;AAEpB,oCAAuE;AAEvE,MAAM,QAAQ,GAAG,IAAA,mBAAY,GAAE,CAAC;AAEhC,MAAM,aAAa,GAAG,aAAC;KAClB,MAAM,CAAC;IACJ,aAAa,EAAE,aAAC;SACX,MAAM,EAAE;SACR,IAAI,CAAC,WAAG,CAAC;SACT,QAAQ,CAAC,oOAAoO,CAAC;IACnP,uBAAuB,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,WAAG,CAAC,CAAC,QAAQ,CAAC,qJAAqJ,CAAC;IAC7M,wBAAwB,EAAE,aAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,gKAAgK,CAAC;IACpN,kBAAkB,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6FAA6F,CAAC;IACtI,yBAAyB,EAAE,aAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,oNAAoN,CAAC;IACpR,YAAY,EAAE,aAAC;SACV,IAAI,CAAC,CAAC,mBAAW,CAAC,SAAS,EAAE,mBAAW,CAAC,IAAI,EAAE,mBAAW,CAAC,QAAQ,EAAE,mBAAW,CAAC,KAAK,CAAC,CAAC;SACxF,OAAO,CAAC,mBAAW,CAAC,KAAK,CAAC;SAC1B,QAAQ,CAAC,4PAA4P,CAAC;IAC3Q,YAAY,EAAE,aAAC;SACV,MAAM,CAAC;QACJ,kBAAkB,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CA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QACD,WAAW,EAAE,6GAA6G;KAC7H;IACD,QAAQ,EAAE;QACN,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,gBAAgB;QACtB,KAAK,EAAE,aAAC,CAAC,MAAM,CAAC;YACZ,OAAO,EAAE,aAAC,CAAC,MAAM;iBACZ,MAAM,EAAE;iBACR,GAAG,EAAE;iBACL,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,eAAO,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACnD,OAAO,EAAE,kBAAkB;aAC9B,CAAC;iBACD,QAAQ,EAAE;iBACV,OAAO,CAAC,eAAO,CAAC,YAAY,CAAC;iBAC7B,QAAQ,CAAC,kCAAkC,CAAC;SACpD,CAAC;QACF,UAAU,EAAE,aAAC,CAAC,MAAM,CAAC;YACjB,YAAY,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,WAAG,CAAC,CAAC,QAAQ,CAAC,iCAAiC,CAAC;SACjF,CAAC;QACF,SAAS,EAAE;YACP,GAAG,EAAE,aAAC,CAAC,MAAM,CAAC;gBACV,MAAM,EAAE,aAAa;aACxB,CAAC;SACL;QACD,WAAW,EAAE,6BAA6B;KAC7C;CACJ,EACD;IACI,UAAU,EAAE,SAAS;CACxB,CACJ,CAAC;AAEO,sCAAa"}
|
|
@@ -4,16 +4,16 @@ export declare const rootContract: {
|
|
|
4
4
|
description: "List all assets for an integrator, with optional status filtering, pagination and default ordering by creation timestamp";
|
|
5
5
|
query: import("zod").ZodObject<{
|
|
6
6
|
chainId: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodNumber, number, number>>>;
|
|
7
|
-
status: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<[import("..").
|
|
7
|
+
status: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<[import("..").AssetStatusQuery.ALL, import("..").AssetStatusQuery.GRADUATED, import("..").AssetStatusQuery.INCOMING, import("..").AssetStatusQuery.LIVE]>>>;
|
|
8
8
|
limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
9
9
|
offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
10
10
|
}, "strip", import("zod").ZodTypeAny, {
|
|
11
|
-
status: import("..").
|
|
11
|
+
status: import("..").AssetStatusQuery.LIVE | import("..").AssetStatusQuery.GRADUATED | import("..").AssetStatusQuery.INCOMING | import("..").AssetStatusQuery.ALL;
|
|
12
12
|
chainId: number;
|
|
13
13
|
limit: number;
|
|
14
14
|
offset: number;
|
|
15
15
|
}, {
|
|
16
|
-
status?: import("..").
|
|
16
|
+
status?: import("..").AssetStatusQuery.LIVE | import("..").AssetStatusQuery.GRADUATED | import("..").AssetStatusQuery.INCOMING | import("..").AssetStatusQuery.ALL | undefined;
|
|
17
17
|
chainId?: number | undefined;
|
|
18
18
|
limit?: number | undefined;
|
|
19
19
|
offset?: number | undefined;
|
|
@@ -28,7 +28,7 @@ export declare const rootContract: {
|
|
|
28
28
|
asset_creation_timestamp: import("zod").ZodDate;
|
|
29
29
|
asset_current_pool: import("zod").ZodString;
|
|
30
30
|
asset_migration_timestamp: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
31
|
-
asset_status: import("zod").ZodDefault<import("zod").
|
|
31
|
+
asset_status: import("zod").ZodDefault<import("zod").ZodEnum<[import("..").AssetStatus.GRADUATED, import("..").AssetStatus.LIVE, import("..").AssetStatus.INCOMING, import("..").AssetStatus.STALL]>>;
|
|
32
32
|
auction_pool: import("zod").ZodObject<{
|
|
33
33
|
pool_current_price: import("zod").ZodString;
|
|
34
34
|
pool_current_sqrt_price: import("zod").ZodString;
|
|
@@ -393,7 +393,7 @@ export declare const rootContract: {
|
|
|
393
393
|
asset_creation_timestamp: Date;
|
|
394
394
|
asset_current_pool: string;
|
|
395
395
|
asset_migration_timestamp: Date | null;
|
|
396
|
-
asset_status:
|
|
396
|
+
asset_status: import("..").AssetStatus;
|
|
397
397
|
auction_pool: {
|
|
398
398
|
pool_current_price: string;
|
|
399
399
|
pool_current_sqrt_price: string;
|
|
@@ -552,9 +552,9 @@ export declare const rootContract: {
|
|
|
552
552
|
integrator_address: string;
|
|
553
553
|
};
|
|
554
554
|
};
|
|
555
|
-
asset_status?:
|
|
555
|
+
asset_status?: import("..").AssetStatus | undefined;
|
|
556
556
|
}>, {
|
|
557
|
-
asset_status:
|
|
557
|
+
asset_status: import("..").AssetStatus;
|
|
558
558
|
asset_address: `0x${string}`;
|
|
559
559
|
asset_numeraire_address: `0x${string}`;
|
|
560
560
|
asset_creation_timestamp: Date;
|
|
@@ -718,11 +718,11 @@ export declare const rootContract: {
|
|
|
718
718
|
integrator_address: string;
|
|
719
719
|
};
|
|
720
720
|
};
|
|
721
|
-
asset_status?:
|
|
721
|
+
asset_status?: import("..").AssetStatus | undefined;
|
|
722
722
|
}>, "many">;
|
|
723
723
|
}, "strip", import("zod").ZodTypeAny, {
|
|
724
724
|
result: {
|
|
725
|
-
asset_status:
|
|
725
|
+
asset_status: import("..").AssetStatus;
|
|
726
726
|
asset_address: `0x${string}`;
|
|
727
727
|
asset_numeraire_address: `0x${string}`;
|
|
728
728
|
asset_creation_timestamp: Date;
|
|
@@ -888,7 +888,7 @@ export declare const rootContract: {
|
|
|
888
888
|
integrator_address: string;
|
|
889
889
|
};
|
|
890
890
|
};
|
|
891
|
-
asset_status?:
|
|
891
|
+
asset_status?: import("..").AssetStatus | undefined;
|
|
892
892
|
}[];
|
|
893
893
|
}>;
|
|
894
894
|
};
|
|
@@ -918,7 +918,7 @@ export declare const rootContract: {
|
|
|
918
918
|
asset_creation_timestamp: import("zod").ZodDate;
|
|
919
919
|
asset_current_pool: import("zod").ZodString;
|
|
920
920
|
asset_migration_timestamp: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
921
|
-
asset_status: import("zod").ZodDefault<import("zod").
|
|
921
|
+
asset_status: import("zod").ZodDefault<import("zod").ZodEnum<[import("..").AssetStatus.GRADUATED, import("..").AssetStatus.LIVE, import("..").AssetStatus.INCOMING, import("..").AssetStatus.STALL]>>;
|
|
922
922
|
auction_pool: import("zod").ZodObject<{
|
|
923
923
|
pool_current_price: import("zod").ZodString;
|
|
924
924
|
pool_current_sqrt_price: import("zod").ZodString;
|
|
@@ -1283,7 +1283,7 @@ export declare const rootContract: {
|
|
|
1283
1283
|
asset_creation_timestamp: Date;
|
|
1284
1284
|
asset_current_pool: string;
|
|
1285
1285
|
asset_migration_timestamp: Date | null;
|
|
1286
|
-
asset_status:
|
|
1286
|
+
asset_status: import("..").AssetStatus;
|
|
1287
1287
|
auction_pool: {
|
|
1288
1288
|
pool_current_price: string;
|
|
1289
1289
|
pool_current_sqrt_price: string;
|
|
@@ -1442,9 +1442,9 @@ export declare const rootContract: {
|
|
|
1442
1442
|
integrator_address: string;
|
|
1443
1443
|
};
|
|
1444
1444
|
};
|
|
1445
|
-
asset_status?:
|
|
1445
|
+
asset_status?: import("..").AssetStatus | undefined;
|
|
1446
1446
|
}>, {
|
|
1447
|
-
asset_status:
|
|
1447
|
+
asset_status: import("..").AssetStatus;
|
|
1448
1448
|
asset_address: `0x${string}`;
|
|
1449
1449
|
asset_numeraire_address: `0x${string}`;
|
|
1450
1450
|
asset_creation_timestamp: Date;
|
|
@@ -1608,11 +1608,11 @@ export declare const rootContract: {
|
|
|
1608
1608
|
integrator_address: string;
|
|
1609
1609
|
};
|
|
1610
1610
|
};
|
|
1611
|
-
asset_status?:
|
|
1611
|
+
asset_status?: import("..").AssetStatus | undefined;
|
|
1612
1612
|
}>, "many">;
|
|
1613
1613
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1614
1614
|
result: {
|
|
1615
|
-
asset_status:
|
|
1615
|
+
asset_status: import("..").AssetStatus;
|
|
1616
1616
|
asset_address: `0x${string}`;
|
|
1617
1617
|
asset_numeraire_address: `0x${string}`;
|
|
1618
1618
|
asset_creation_timestamp: Date;
|
|
@@ -1778,7 +1778,7 @@ export declare const rootContract: {
|
|
|
1778
1778
|
integrator_address: string;
|
|
1779
1779
|
};
|
|
1780
1780
|
};
|
|
1781
|
-
asset_status?:
|
|
1781
|
+
asset_status?: import("..").AssetStatus | undefined;
|
|
1782
1782
|
}[];
|
|
1783
1783
|
}>;
|
|
1784
1784
|
};
|
|
@@ -1809,7 +1809,7 @@ export declare const rootContract: {
|
|
|
1809
1809
|
asset_creation_timestamp: import("zod").ZodDate;
|
|
1810
1810
|
asset_current_pool: import("zod").ZodString;
|
|
1811
1811
|
asset_migration_timestamp: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
1812
|
-
asset_status: import("zod").ZodDefault<import("zod").
|
|
1812
|
+
asset_status: import("zod").ZodDefault<import("zod").ZodEnum<[import("..").AssetStatus.GRADUATED, import("..").AssetStatus.LIVE, import("..").AssetStatus.INCOMING, import("..").AssetStatus.STALL]>>;
|
|
1813
1813
|
auction_pool: import("zod").ZodObject<{
|
|
1814
1814
|
pool_current_price: import("zod").ZodString;
|
|
1815
1815
|
pool_current_sqrt_price: import("zod").ZodString;
|
|
@@ -2174,7 +2174,7 @@ export declare const rootContract: {
|
|
|
2174
2174
|
asset_creation_timestamp: Date;
|
|
2175
2175
|
asset_current_pool: string;
|
|
2176
2176
|
asset_migration_timestamp: Date | null;
|
|
2177
|
-
asset_status:
|
|
2177
|
+
asset_status: import("..").AssetStatus;
|
|
2178
2178
|
auction_pool: {
|
|
2179
2179
|
pool_current_price: string;
|
|
2180
2180
|
pool_current_sqrt_price: string;
|
|
@@ -2333,9 +2333,9 @@ export declare const rootContract: {
|
|
|
2333
2333
|
integrator_address: string;
|
|
2334
2334
|
};
|
|
2335
2335
|
};
|
|
2336
|
-
asset_status?:
|
|
2336
|
+
asset_status?: import("..").AssetStatus | undefined;
|
|
2337
2337
|
}>, {
|
|
2338
|
-
asset_status:
|
|
2338
|
+
asset_status: import("..").AssetStatus;
|
|
2339
2339
|
asset_address: `0x${string}`;
|
|
2340
2340
|
asset_numeraire_address: `0x${string}`;
|
|
2341
2341
|
asset_creation_timestamp: Date;
|
|
@@ -2499,11 +2499,11 @@ export declare const rootContract: {
|
|
|
2499
2499
|
integrator_address: string;
|
|
2500
2500
|
};
|
|
2501
2501
|
};
|
|
2502
|
-
asset_status?:
|
|
2502
|
+
asset_status?: import("..").AssetStatus | undefined;
|
|
2503
2503
|
}>;
|
|
2504
2504
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2505
2505
|
result: {
|
|
2506
|
-
asset_status:
|
|
2506
|
+
asset_status: import("..").AssetStatus;
|
|
2507
2507
|
asset_address: `0x${string}`;
|
|
2508
2508
|
asset_numeraire_address: `0x${string}`;
|
|
2509
2509
|
asset_creation_timestamp: Date;
|
|
@@ -2669,7 +2669,7 @@ export declare const rootContract: {
|
|
|
2669
2669
|
integrator_address: string;
|
|
2670
2670
|
};
|
|
2671
2671
|
};
|
|
2672
|
-
asset_status?:
|
|
2672
|
+
asset_status?: import("..").AssetStatus | undefined;
|
|
2673
2673
|
};
|
|
2674
2674
|
}>;
|
|
2675
2675
|
};
|
package/dist/types/constants.js
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ChainID = exports.AssetStatus = void 0;
|
|
3
|
+
exports.ChainID = exports.AssetStatusQuery = exports.AssetStatus = void 0;
|
|
4
4
|
var AssetStatus;
|
|
5
5
|
(function (AssetStatus) {
|
|
6
6
|
AssetStatus["LIVE"] = "live";
|
|
7
7
|
AssetStatus["GRADUATED"] = "graduated";
|
|
8
8
|
AssetStatus["INCOMING"] = "incoming";
|
|
9
9
|
AssetStatus["STALL"] = "stall";
|
|
10
|
-
AssetStatus["ALL"] = "all";
|
|
11
10
|
})(AssetStatus || (exports.AssetStatus = AssetStatus = {}));
|
|
11
|
+
var AssetStatusQuery;
|
|
12
|
+
(function (AssetStatusQuery) {
|
|
13
|
+
AssetStatusQuery["LIVE"] = "live";
|
|
14
|
+
AssetStatusQuery["GRADUATED"] = "graduated";
|
|
15
|
+
AssetStatusQuery["INCOMING"] = "incoming";
|
|
16
|
+
AssetStatusQuery["STALL"] = "stall";
|
|
17
|
+
AssetStatusQuery["ALL"] = "all";
|
|
18
|
+
})(AssetStatusQuery || (exports.AssetStatusQuery = AssetStatusQuery = {}));
|
|
12
19
|
var ChainID;
|
|
13
20
|
(function (ChainID) {
|
|
14
21
|
ChainID[ChainID["BASE_MAINNET"] = 8453] = "BASE_MAINNET";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/types/constants.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/types/constants.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAKX;AALD,WAAY,WAAW;IACnB,4BAAa,CAAA;IACb,sCAAuB,CAAA;IACvB,oCAAqB,CAAA;IACrB,8BAAe,CAAA;AACnB,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AAED,IAAY,gBAMX;AAND,WAAY,gBAAgB;IACxB,iCAAa,CAAA;IACb,2CAAuB,CAAA;IACvB,yCAAqB,CAAA;IACrB,mCAAe,CAAA;IACf,+BAAW,CAAA;AACf,CAAC,EANW,gBAAgB,gCAAhB,gBAAgB,QAM3B;AAED,IAAY,OAGX;AAHD,WAAY,OAAO;IACf,wDAAmB,CAAA;IACnB,yDAAoB,CAAA;AACxB,CAAC,EAHW,OAAO,uBAAP,OAAO,QAGlB"}
|