@longdotxyz/shared 0.0.30 → 0.0.32

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.
@@ -6,66 +6,108 @@ const zod_1 = require("zod");
6
6
  const types_1 = require("../types");
7
7
  const contract = (0, core_1.initContract)();
8
8
  const AssetResponse = zod_1.default.object({
9
- asset_address: zod_1.default.string().pipe(types_1.hex),
10
- asset_numeraire_address: zod_1.default.string().pipe(types_1.hex),
11
- asset_creation_timestamp: zod_1.default.number(),
12
- asset_migration_timestamp: zod_1.default.number().nullable(),
13
- auction_pool: zod_1.default.object({
14
- pool_current_price: zod_1.default.string(),
15
- pool_current_sqrt_price: zod_1.default.string(),
16
- pool_current_fdv: zod_1.default.string(),
17
- pool_current_liquidity: zod_1.default.string(),
18
- pool_current_tick: zod_1.default.number(),
19
- pool_last_epoch: zod_1.default.number(),
20
- pool_current_market_cap: zod_1.default.string(),
21
- pool_current_fees_accrued: zod_1.default.string(),
22
- pool_current_total_proceeds: zod_1.default.string(),
23
- pool_current_total_tokens_sold: zod_1.default.string(),
24
- pool_last_epoch_total_tokens_sold: zod_1.default.string(),
25
- pool_current_sale_progress_percentage: zod_1.default.coerce.number(),
26
- pool_config_max_proceeds: zod_1.default.string(),
27
- pool_config_min_proceeds: zod_1.default.string(),
28
- pool_id: zod_1.default.string(),
29
- pool_address: zod_1.default.string().pipe(types_1.hex),
30
- pool_config_starting_time: zod_1.default.string(),
31
- pool_config_ending_time: zod_1.default.string(),
32
- pool_migration_timestamp: zod_1.default.number().nullable(),
33
- pool_type: zod_1.default.string(),
34
- base_token: zod_1.default.object({
35
- token_address: zod_1.default.string().pipe(types_1.hex),
36
- token_name: zod_1.default.string(),
37
- token_description: zod_1.default.string().nullable(),
38
- token_symbol: zod_1.default.string(),
39
- token_uri_data: zod_1.default.any().nullable(),
40
- token_image_public_url: zod_1.default.string().nullable(),
41
- token_creator_address: zod_1.default.string().pipe(types_1.hex),
42
- token_fee_receiver_address: zod_1.default.string().pipe(types_1.hex),
43
- token_vesting_recipient_addresses: zod_1.default.array(zod_1.default.string().pipe(types_1.hex)),
44
- }),
45
- }),
46
- graduation_pool: zod_1.default.object({
47
- pool_current_price: zod_1.default.string(),
48
- pool_current_sqrt_price: zod_1.default.string(),
49
- pool_current_fdv: zod_1.default.string(),
50
- pool_current_liquidity: zod_1.default.string(),
51
- pool_current_tick: zod_1.default.number(),
52
- pool_current_market_cap: zod_1.default.string(),
53
- pool_address: zod_1.default.string().pipe(types_1.hex),
54
- pool_migration_timestamp: zod_1.default.number().nullable(),
55
- pool_type: zod_1.default.string(),
56
- base_token: zod_1.default.object({
57
- token_address: zod_1.default.string().pipe(types_1.hex),
58
- token_name: zod_1.default.string(),
59
- token_description: zod_1.default.string().nullable(),
60
- token_symbol: zod_1.default.string(),
61
- token_uri_data: zod_1.default.any().nullable(),
62
- token_image_public_url: zod_1.default.string().nullable(),
63
- token_creator_address: zod_1.default.string().pipe(types_1.hex),
64
- token_fee_receiver_address: zod_1.default.string().pipe(types_1.hex),
65
- token_vesting_recipient_addresses: zod_1.default.array(zod_1.default.string().pipe(types_1.hex)),
66
- integrator_address: zod_1.default.string(),
67
- }),
68
- }),
9
+ asset_address: zod_1.default.string().pipe(types_1.hex).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."),
10
+ 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."),
11
+ asset_creation_timestamp: zod_1.default.number().describe("**Created At** — Unix timestamp (seconds since epoch) when the asset was initially created and deployed to the blockchain. Use this to calculate asset age or filter by creation date."),
12
+ asset_migration_timestamp: zod_1.default
13
+ .number()
14
+ .nullable()
15
+ .describe("**Migrated At** — Unix timestamp (seconds since epoch) 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."),
16
+ auction_pool: zod_1.default
17
+ .object({
18
+ pool_current_price: zod_1.default.string().describe('**Price** — Current token price in the numeraire (quote) token. Returned as a decimal string to preserve precision (e.g., `"1.234567"`). To display: multiply by your quote token decimals.'),
19
+ pool_current_sqrt_price: zod_1.default.string().describe("**sqrtPriceX96** — Square root of price encoded as a Q64.96 fixed-point number. This is the internal price representation used by Uniswap V4/V3."),
20
+ pool_current_fdv: zod_1.default
21
+ .string()
22
+ .describe("**FDV** — Fully Diluted Valuation in numeraire tokens. Calculated as `total_supply * current_price`.\n\n> **Best metric for tracking asset market movement.** Shows valuation in readable terms (e.g., `$50k` to `$200k` FDV) instead of long decimals for token price or ambiguous market cap."),
23
+ pool_current_liquidity: zod_1.default.string().describe("**liquidity** — Swap depth currently in range (internal unit, not tokens/USD). Convert to token amounts with `sqrtPriceX96` and tick bounds. [Learn more](https://docs.uniswap.org/contracts/v3)"),
24
+ pool_current_tick: zod_1.default
25
+ .number()
26
+ .describe("**Tick** — Current tick index in the Uniswap V3 price curve. Each tick represents a 0.01% price movement. Technical field primarily used for advanced integrations. [Learn more](https://docs.uniswap.org/concepts/protocol/concentrated-liquidity#ticks)"),
27
+ pool_last_epoch: zod_1.default.number().describe("**Epoch** — Auction epoch number. Epochs are time periods (typically short periods 50-200 seconds) used to track auction progress. Increments each period."),
28
+ pool_current_market_cap: zod_1.default.string().describe("**Market Cap** — Current market capitalization based on circulating supply in the numeraire token. Calculated as `circulating_supply * current_price`."),
29
+ pool_current_fees_accrued: zod_1.default.string().describe("**Fees Collected** — Total trading fees collected by the auction pool since inception, denominated in the numeraire token."),
30
+ pool_current_total_proceeds: zod_1.default.string().describe("**Total Raised** — Total amount raised from token sales in the numeraire token. This represents all accured numeraire tokens left in the acution after buy and sell transaction since the auction started."),
31
+ pool_current_total_tokens_sold: zod_1.default.string().describe("**Tokens Sold** — Total number of tokens sold since auction start. Formatted as decimal string to preserve precision."),
32
+ pool_last_epoch_total_tokens_sold: zod_1.default.string().describe("**Tokens Sold (Last Epoch)** — Number of tokens sold in the most recent completed epoch. Useful for tracking recent momentum and calculating velocity metrics."),
33
+ pool_current_sale_progress_percentage: zod_1.default.coerce
34
+ .number()
35
+ .describe("**Auction Progress** — Percentage toward migration (0-100). Calculated as `pool_current_total_proceeds / pool_config_max_proceeds * 100`. When this hits 100, the auction migrates to `graduation_pool`.\n\n**Use case:** Use as a progress bar or to trigger a UI state change indicating the pool is migrating."),
36
+ pool_config_max_proceeds: zod_1.default.string().describe("**Max Raise** — Maximum amount that can be raised in numeraire tokens. Once reached, auction tradign is stooped and it will migarte to the graduation pool."),
37
+ pool_config_min_proceeds: zod_1.default.string().describe("**Min Raise** — Minimum amount required to be raised for successful auction. If not met by `pool_config_ending_time`, the auction may be canceled and funds returned. Set for advanced integrations"),
38
+ pool_id: zod_1.default.string().describe("**Pool ID** — The Unique Uniswap V4 pool identifier for this pool instance. Use this to track the pool across different endpoints or link to detailed pool pages."),
39
+ pool_address: zod_1.default.string().pipe(types_1.hex).describe("**Pool Address** — EVM address of the pool smart contract. Use this to interact directly with the pool on-chain (e.g., for swaps, adding liquidity) or view in block explorers."),
40
+ pool_config_starting_time: zod_1.default.string().describe('**Starts At** — Unix timestamp as string when the auction begins accepting trades (e.g., `"1759330983"`). Trades before this time will revert.'),
41
+ 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.'),
42
+ pool_migration_timestamp: zod_1.default
43
+ .number()
44
+ .nullable()
45
+ .describe("**Migrated At** — Unix timestamp 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`."),
46
+ 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).'),
47
+ base_token: zod_1.default
48
+ .object({
49
+ token_address: zod_1.default.string().pipe(types_1.hex).describe("**Token Address** — EVM contract address of the token. Use this to add the token to wallets, verify on block explorers, or call the token contract directly."),
50
+ token_name: zod_1.default.string().describe('**Name** — Full display name of the token (e.g., `"Ethereum"`, `"USD Coin"`). Use this in UIs alongside the symbol.'),
51
+ token_description: zod_1.default.string().nullable().describe("**Description** — Project description or token purpose. Returns `null` if not provided by creator. Display in token detail pages."),
52
+ token_symbol: zod_1.default.string().describe('**Symbol** — Short trading ticker (e.g., `"ETH"`, `"USDC"`). Typically 2-5 uppercase characters. Use for compact displays and trading pairs.'),
53
+ token_uri_data: zod_1.default
54
+ .object({
55
+ name: zod_1.default.string().optional(),
56
+ description: zod_1.default.string().optional(),
57
+ image_hash: zod_1.default.string().optional(),
58
+ fee_receiver: zod_1.default.string().optional(),
59
+ social_links: zod_1.default.array(zod_1.default.string()).optional(),
60
+ vesting_recipients: zod_1.default.array(zod_1.default.object({ address: zod_1.default.string(), percentage: zod_1.default.number() })).optional(),
61
+ })
62
+ .nullable()
63
+ .describe("**Metadata** — Full token metadata from URI. Contains `name`, `description`, `image_hash` (IPFS), `fee_receiver`, `social_links`, and `vesting_recipients` (with `address` and `percentage` for each). Returns `null` if not set."),
64
+ token_image_public_url: zod_1.default.string().nullable().describe("**Logo URL** — CDN-hosted image URL for the token logo (e.g., Google Cloud Storage). Optimized for fast loading. Use as `<img src>` in token displays."),
65
+ token_creator_address: zod_1.default.string().pipe(types_1.hex).describe("**Creator** — EVM address that deployed and owns the token contract."),
66
+ token_fee_receiver_address: zod_1.default.string().pipe(types_1.hex).describe("**Fee Recipient** — EVM address receiving trading fees and royalties. May differ from creator address. Fees are automatically sent here on each trade."),
67
+ token_vesting_recipient_addresses: zod_1.default
68
+ .array(zod_1.default.string().pipe(types_1.hex))
69
+ .describe("**Vesting Recipients** — Array of vesting schedules. Each object has `amount` (locked tokens as string) and `address` (recipient EVM address). Tokens unlock gradually over time. Subtract total vesting amounts from total supply to get circulating supply."),
70
+ })
71
+ .describe("**Token Details** — Complete metadata for the token being auctioned.\n\n> **Note:** This token metadata is duplicated in both `auction_pool` and `graduation_pool` for convenience. It's the same token - use whichever pool you're working with."),
72
+ })
73
+ .describe("**Auction Pool** — Contains all current state and configuration for the active token auction. This pool uses a continuous Dutch auction Dynamic Bonding Curve mechanism where price adjusts based on demand."),
74
+ graduation_pool: zod_1.default
75
+ .object({
76
+ pool_current_price: zod_1.default.string().describe("**Price** — Current secondary market price in numeraire tokens. This is the post-graduation price determined by open market trading, not the auction mechanism."),
77
+ pool_current_sqrt_price: zod_1.default.string().describe("**sqrtPriceX96** — Technical price representation for Uniswap V3. Use `pool_current_price` for display purposes. [Learn more](https://docs.uniswap.org/contracts/v3/reference/core/libraries/TickMath)"),
78
+ pool_current_fdv: zod_1.default.string().describe("**FDV** — Fully Diluted Valuation in the graduation pool. Compare with auction pool's [`pool_current_fdv`](#pool_current_fdv) to track price movement after migration."),
79
+ pool_current_liquidity: zod_1.default.string().describe("**Liquidity** — Total liquidity depth in the active price range. Higher liquidity means better prices for large trades."),
80
+ 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."),
81
+ 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."),
82
+ 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."),
83
+ pool_migration_timestamp: zod_1.default.number().nullable().describe("**Graduated At** — Unix timestamp when the token graduated from auction to open market. Returns `null` if still in auction phase. Marks the transition to price-discovery trading."),
84
+ 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'),
85
+ base_token: zod_1.default
86
+ .object({
87
+ token_address: zod_1.default.string().pipe(types_1.hex).describe("**Token Address** — EVM contract address of the token. Use this to add the token to wallets, verify on block explorers, or call the token contract directly."),
88
+ token_name: zod_1.default.string().describe('**Name** — Full display name of the token (e.g., `"Ethereum"`, `"USD Coin"`). Use this in UIs alongside the symbol.'),
89
+ token_description: zod_1.default.string().nullable().describe("**Description** — Project description or token purpose. Returns `null` if not provided by creator. Display in token detail pages."),
90
+ token_symbol: zod_1.default.string().describe('**Symbol** — Short trading ticker (e.g., `"ETH"`, `"USDC"`). Typically 2-5 uppercase characters. Use for compact displays and trading pairs.'),
91
+ token_uri_data: zod_1.default
92
+ .object({
93
+ name: zod_1.default.string().optional(),
94
+ description: zod_1.default.string().optional(),
95
+ image_hash: zod_1.default.string().optional(),
96
+ fee_receiver: zod_1.default.string().optional(),
97
+ social_links: zod_1.default.array(zod_1.default.string()).optional(),
98
+ vesting_recipients: zod_1.default.array(zod_1.default.object({ address: zod_1.default.string(), percentage: zod_1.default.number() })).optional(),
99
+ })
100
+ .nullable()
101
+ .describe("**Metadata** — Full token metadata from URI. Contains `name`, `description`, `image_hash` (IPFS), `fee_receiver`, `social_links`, and `vesting_recipients` (with `address` and `percentage` for each). Returns `null` if not set."),
102
+ token_image_public_url: zod_1.default.string().nullable().describe("**Logo URL** — CDN-hosted image URL for the token logo. Optimized for fast loading. Use as `<img src>` in token displays."),
103
+ token_creator_address: zod_1.default.string().pipe(types_1.hex).describe("**Creator** — EVM address that deployed the token contract. This address controls token settings and may receive creator fees."),
104
+ token_fee_receiver_address: zod_1.default.string().pipe(types_1.hex).describe("**Fee Recipient** — EVM address receiving trading fees. May differ from creator address."),
105
+ token_vesting_recipient_addresses: zod_1.default.array(zod_1.default.string().pipe(types_1.hex)).describe("**Vesting Recipients** — Array of EVM addresses receiving vested tokens. Amounts and percentages are in `token_uri_data.vesting_recipients`."),
106
+ integrator_address: zod_1.default.string().describe("**Integrator** — EVM address of the platform or protocol that integrated this token. May receive platform fees."),
107
+ })
108
+ .describe("**Token Details** — Complete metadata for the token in the graduation pool.\n\n> **Note:** Same token metadata as `auction_pool.base_token`. Duplicated for convenience so you can access it from either pool."),
109
+ })
110
+ .describe("**Graduation Pool** — Secondary market trading pool that becomes active after the auction completes successfully. Built on Uniswap V3 for efficient, decentralized trading. Returns `null` values if auction hasn't graduated yet."),
69
111
  });
70
112
  exports.AssetResponse = AssetResponse;
71
113
  const assetContract = contract.router({
@@ -73,9 +115,10 @@ const assetContract = contract.router({
73
115
  method: "GET",
74
116
  path: "/",
75
117
  query: zod_1.default.object({
76
- status: zod_1.default.nativeEnum(types_1.AssetStatus).optional().default(types_1.AssetStatus.ALL),
77
- limit: zod_1.default.coerce.number().int().min(0).max(50).optional().default(10),
78
- offset: zod_1.default.coerce.number().int().min(0).optional().default(0),
118
+ chainId: zod_1.default.nativeEnum(types_1.ChainID).optional().default(types_1.ChainID.BASE_MAINNET).describe("The chain ID of the assets to list"),
119
+ status: zod_1.default.nativeEnum(types_1.AssetStatus).optional().default(types_1.AssetStatus.ALL).describe("The status of the assets to list"),
120
+ limit: zod_1.default.coerce.number().int().min(0).max(50).optional().default(10).describe("The limit of the assets to list"),
121
+ offset: zod_1.default.coerce.number().int().min(0).optional().default(0).describe("The offset of the assets to list"),
79
122
  }),
80
123
  responses: {
81
124
  200: zod_1.default.object({
@@ -88,8 +131,9 @@ const assetContract = contract.router({
88
131
  method: "GET",
89
132
  path: "/search",
90
133
  query: zod_1.default.object({
91
- term: zod_1.default.string(),
92
- limit: zod_1.default.coerce.number().int().min(0).max(50).optional().default(50),
134
+ chainId: zod_1.default.nativeEnum(types_1.ChainID).optional().default(types_1.ChainID.BASE_MAINNET).describe("The chain ID of the assets to search"),
135
+ term: zod_1.default.string().describe("The term to search for in the assets"),
136
+ limit: zod_1.default.coerce.number().int().min(0).max(50).optional().default(50).describe("The limit of the assets to search"),
93
137
  }),
94
138
  responses: {
95
139
  200: zod_1.default.object({
@@ -101,8 +145,11 @@ const assetContract = contract.router({
101
145
  getAsset: {
102
146
  method: "GET",
103
147
  path: "/:assetAddress",
148
+ query: zod_1.default.object({
149
+ chainId: zod_1.default.nativeEnum(types_1.ChainID).optional().default(types_1.ChainID.BASE_MAINNET).describe("The chain ID of the asset to get"),
150
+ }),
104
151
  pathParams: zod_1.default.object({
105
- assetAddress: zod_1.default.string().pipe(types_1.hex),
152
+ assetAddress: zod_1.default.string().pipe(types_1.hex).describe("The address of the asset to get"),
106
153
  }),
107
154
  responses: {
108
155
  200: zod_1.default.object({
@@ -1 +1 @@
1
- {"version":3,"file":"asset.contract.js","sourceRoot":"","sources":["../../src/contracts/asset.contract.ts"],"names":[],"mappings":";;;AAAA,wCAA6C;AAC7C,6BAAoB;AAEpB,oCAA4C;AAE5C,MAAM,QAAQ,GAAG,IAAA,mBAAY,GAAE,CAAC;AAEhC,MAAM,aAAa,GAAG,aAAC,CAAC,MAAM,CAAC;IAC3B,aAAa,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,WAAG,CAAC;IACnC,uBAAuB,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,WAAG,CAAC;IAC7C,wBAAwB,EAAE,aAAC,CAAC,MAAM,EAAE;IACpC,yBAAyB,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChD,YAAY,EAAE,aAAC,CAAC,MAAM,CAAC;QACnB,kBAAkB,EAAE,aAAC,CAAC,MAAM,EAAE;QAC9B,uBAAuB,EAAE,aAAC,CAAC,MAAM,EAAE;QACnC,gBAAgB,EAAE,aAAC,CAAC,MAAM,EAAE;QAC5B,sBAAsB,EAAE,aAAC,CAAC,MAAM,EAAE;QAClC,iBAAiB,EAAE,aAAC,CAAC,MAAM,EAAE;QAC7B,eAAe,EAAE,aAAC,CAAC,MAAM,EAAE;QAC3B,uBAAuB,EAAE,aAAC,CAAC,MAAM,EAAE;QACnC,yBAAyB,EAAE,aAAC,CAAC,MAAM,EAAE;QACrC,2BAA2B,EAAE,aAAC,CAAC,MAAM,EAAE;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AC,CAAC,MAAM,CAAC;YACZ,OAAO,EAAE,aAAC,CAAC,UAAU,CAAC,eAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,eAAO,CAAC,YAAY,CAAC,CAAC,QAAQ,CAAC,kCAAkC,CAAC;SACvH,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"}
@@ -1,20 +1,28 @@
1
1
  import z from "zod";
2
+ import { ChainID } from "../types";
2
3
  declare const AuctionTemplateResponse: z.ZodObject<{
3
4
  id: z.ZodString;
4
5
  name: z.ZodString;
5
6
  description: z.ZodNullable<z.ZodString>;
6
7
  }, "strip", z.ZodTypeAny, {
8
+ name: string;
7
9
  description: string | null;
8
10
  id: string;
9
- name: string;
10
11
  }, {
12
+ name: string;
11
13
  description: string | null;
12
14
  id: string;
13
- name: string;
14
15
  }>;
15
16
  declare const auctionTemplateContract: {
16
17
  listAuctionTemplates: {
17
18
  description: "List all auction templates for an integrator";
19
+ query: z.ZodObject<{
20
+ chainId: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof ChainID>>>;
21
+ }, "strip", z.ZodTypeAny, {
22
+ chainId: ChainID;
23
+ }, {
24
+ chainId?: ChainID | undefined;
25
+ }>;
18
26
  method: "GET";
19
27
  path: "/auction-templates/";
20
28
  responses: {
@@ -24,25 +32,25 @@ declare const auctionTemplateContract: {
24
32
  name: z.ZodString;
25
33
  description: z.ZodNullable<z.ZodString>;
26
34
  }, "strip", z.ZodTypeAny, {
35
+ name: string;
27
36
  description: string | null;
28
37
  id: string;
29
- name: string;
30
38
  }, {
39
+ name: string;
31
40
  description: string | null;
32
41
  id: string;
33
- name: string;
34
42
  }>, "many">;
35
43
  }, "strip", z.ZodTypeAny, {
36
44
  result: {
45
+ name: string;
37
46
  description: string | null;
38
47
  id: string;
39
- name: string;
40
48
  }[];
41
49
  }, {
42
50
  result: {
51
+ name: string;
43
52
  description: string | null;
44
53
  id: string;
45
- name: string;
46
54
  }[];
47
55
  }>;
48
56
  };
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AuctionTemplateResponse = exports.auctionTemplateContract = void 0;
4
4
  const core_1 = require("@ts-rest/core");
5
5
  const zod_1 = require("zod");
6
+ const types_1 = require("../types");
6
7
  const contract = (0, core_1.initContract)();
7
8
  const AuctionTemplateResponse = zod_1.default.object({
8
9
  id: zod_1.default.string(),
@@ -14,6 +15,9 @@ const auctionTemplateContract = contract.router({
14
15
  listAuctionTemplates: {
15
16
  method: "GET",
16
17
  path: "/",
18
+ query: zod_1.default.object({
19
+ chainId: zod_1.default.nativeEnum(types_1.ChainID).optional().default(types_1.ChainID.BASE_MAINNET).describe("The chain ID of the auction templates to list"),
20
+ }),
17
21
  responses: {
18
22
  200: zod_1.default.object({
19
23
  result: zod_1.default.array(AuctionTemplateResponse),
@@ -1 +1 @@
1
- {"version":3,"file":"auction-template.contract.js","sourceRoot":"","sources":["../../src/contracts/auction-template.contract.ts"],"names":[],"mappings":";;;AAAA,wCAA6C;AAC7C,6BAAoB;AAEpB,MAAM,QAAQ,GAAG,IAAA,mBAAY,GAAE,CAAC;AAEhC,MAAM,uBAAuB,GAAG,aAAC,CAAC,MAAM,CAAC;IACrC,EAAE,EAAE,aAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACrC,CAAC,CAAC;AAoB+B,0DAAuB;AAlBzD,MAAM,uBAAuB,GAAG,QAAQ,CAAC,MAAM,CAC3C;IACI,oBAAoB,EAAE;QAClB,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,GAAG;QACT,SAAS,EAAE;YACP,GAAG,EAAE,aAAC,CAAC,MAAM,CAAC;gBACV,MAAM,EAAE,aAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC;aAC3C,CAAC;SACL;QACD,WAAW,EAAE,8CAA8C;KAC9D;CACJ,EACD;IACI,UAAU,EAAE,oBAAoB;CACnC,CACJ,CAAC;AAEO,0DAAuB"}
1
+ {"version":3,"file":"auction-template.contract.js","sourceRoot":"","sources":["../../src/contracts/auction-template.contract.ts"],"names":[],"mappings":";;;AAAA,wCAA6C;AAC7C,6BAAoB;AAEpB,oCAAmC;AAEnC,MAAM,QAAQ,GAAG,IAAA,mBAAY,GAAE,CAAC;AAEhC,MAAM,uBAAuB,GAAG,aAAC,CAAC,MAAM,CAAC;IACrC,EAAE,EAAE,aAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACrC,CAAC,CAAC;AAuB+B,0DAAuB;AArBzD,MAAM,uBAAuB,GAAG,QAAQ,CAAC,MAAM,CAC3C;IACI,oBAAoB,EAAE;QAClB,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,GAAG;QACT,KAAK,EAAE,aAAC,CAAC,MAAM,CAAC;YACZ,OAAO,EAAE,aAAC,CAAC,UAAU,CAAC,eAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,eAAO,CAAC,YAAY,CAAC,CAAC,QAAQ,CAAC,+CAA+C,CAAC;SACpI,CAAC;QACF,SAAS,EAAE;YACP,GAAG,EAAE,aAAC,CAAC,MAAM,CAAC;gBACV,MAAM,EAAE,aAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC;aAC3C,CAAC;SACL;QACD,WAAW,EAAE,8CAA8C;KAC9D;CACJ,EACD;IACI,UAAU,EAAE,oBAAoB;CACnC,CACJ,CAAC;AAEO,0DAAuB"}
@@ -1,4 +1,5 @@
1
1
  import z from "zod";
2
+ import { ChainID } from "../types";
2
3
  declare const AuctionResponse: z.ZodObject<{
3
4
  auction_pool_address: z.ZodString;
4
5
  auction_pool_id: z.ZodString;
@@ -116,6 +117,13 @@ declare const CreateDynamicAuctionResponse: z.ZodObject<{
116
117
  declare const auctionContract: {
117
118
  listAuctions: {
118
119
  description: "List all auctions for an integrator";
120
+ query: z.ZodObject<{
121
+ chainId: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof ChainID>>>;
122
+ }, "strip", z.ZodTypeAny, {
123
+ chainId: ChainID;
124
+ }, {
125
+ chainId?: ChainID | undefined;
126
+ }>;
119
127
  method: "GET";
120
128
  path: "/auctions/";
121
129
  responses: {
@@ -174,14 +182,17 @@ declare const auctionContract: {
174
182
  };
175
183
  };
176
184
  getAuctionByPoolAddress: {
185
+ description: "Get an auction by its pool address";
177
186
  pathParams: z.ZodObject<{
187
+ chainId: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof ChainID>>>;
178
188
  poolAddress: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
179
189
  }, "strip", z.ZodTypeAny, {
190
+ chainId: ChainID;
180
191
  poolAddress: `0x${string}`;
181
192
  }, {
182
193
  poolAddress: string;
194
+ chainId?: ChainID | undefined;
183
195
  }>;
184
- description: "Get an auction by its pool address";
185
196
  method: "GET";
186
197
  path: "/auctions/:poolAddress";
187
198
  responses: {
@@ -241,9 +252,15 @@ declare const auctionContract: {
241
252
  };
242
253
  createDynamicAuction: {
243
254
  description: "Create a dynamic auction based on an auction template";
255
+ query: z.ZodObject<{
256
+ chainId: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof ChainID>>>;
257
+ }, "strip", z.ZodTypeAny, {
258
+ chainId: ChainID;
259
+ }, {
260
+ chainId?: ChainID | undefined;
261
+ }>;
244
262
  method: "POST";
245
263
  body: z.ZodObject<{
246
- chain_id: z.ZodNumber;
247
264
  template_id: z.ZodString;
248
265
  debug: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
249
266
  metadata: z.ZodObject<{
@@ -269,7 +286,6 @@ declare const auctionContract: {
269
286
  token_uri: string;
270
287
  user_address: `0x${string}`;
271
288
  };
272
- chain_id: number;
273
289
  template_id: string;
274
290
  debug: boolean;
275
291
  }, {
@@ -279,7 +295,6 @@ declare const auctionContract: {
279
295
  token_uri: string;
280
296
  user_address: string;
281
297
  };
282
- chain_id: number;
283
298
  template_id: string;
284
299
  debug?: boolean | undefined;
285
300
  }>;
@@ -43,6 +43,9 @@ const auctionContract = contract.router({
43
43
  listAuctions: {
44
44
  method: "GET",
45
45
  path: "/",
46
+ query: zod_1.default.object({
47
+ chainId: zod_1.default.nativeEnum(types_1.ChainID).optional().default(types_1.ChainID.BASE_MAINNET).describe("The chain ID of the auctions to list"),
48
+ }),
46
49
  responses: {
47
50
  200: zod_1.default.object({
48
51
  result: zod_1.default.array(AuctionResponse),
@@ -54,6 +57,7 @@ const auctionContract = contract.router({
54
57
  method: "GET",
55
58
  path: "/:poolAddress",
56
59
  pathParams: zod_1.default.object({
60
+ chainId: zod_1.default.nativeEnum(types_1.ChainID).optional().default(types_1.ChainID.BASE_MAINNET).describe("The chain ID of the auction to get"),
57
61
  poolAddress: zod_1.default.string().pipe(types_1.hex),
58
62
  }),
59
63
  responses: {
@@ -66,8 +70,10 @@ const auctionContract = contract.router({
66
70
  createDynamicAuction: {
67
71
  method: "POST",
68
72
  path: "/dynamic",
73
+ query: zod_1.default.object({
74
+ chainId: zod_1.default.nativeEnum(types_1.ChainID).optional().default(types_1.ChainID.BASE_MAINNET).describe("The chain ID of the auction to create"),
75
+ }),
69
76
  body: zod_1.default.object({
70
- chain_id: zod_1.default.number().describe("The chain ID (e.g. 8453 for Base)"),
71
77
  template_id: zod_1.default.string().describe("The auction template ID (from the Long Team)"),
72
78
  debug: zod_1.default.boolean().optional().default(false).describe("Whether to include debug information in the response"),
73
79
  metadata: zod_1.default.object({
@@ -1 +1 @@
1
- {"version":3,"file":"auction.contract.js","sourceRoot":"","sources":["../../src/contracts/auction.contract.ts"],"names":[],"mappings":";;;AAAA,wCAA6C;AAC7C,6BAAoB;AAEpB,oCAA+B;AAE/B,MAAM,QAAQ,GAAG,IAAA,mBAAY,GAAE,CAAC;AAEhC,MAAM,eAAe,GAAG,aAAC,CAAC,MAAM,CAAC;IAC7B,oBAAoB,EAAE,aAAC,CAAC,MAAM,EAAE;IAChC,eAAe,EAAE,aAAC,CAAC,MAAM,EAAE;IAC3B,uBAAuB,EAAE,aAAC,CAAC,MAAM,EAAE;IACnC,yBAAyB,EAAE,aAAC,CAAC,MAAM,EAAE;IACrC,0BAA0B,EAAE,aAAC,CAAC,MAAM,EAAE;IACtC,wBAAwB,EAAE,aAAC,CAAC,MAAM,EAAE;IACpC,0BAA0B,EAAE,aAAC,CAAC,MAAM,EAAE;IACtC,2BAA2B,EAAE,aAAC,CAAC,MAAM,EAAE;CAC1C,CAAC,CAAC;AA6EqD,0CAAe;AA3EvE,MAAM,4BAA4B,GAAG,aAAC,CAAC,MAAM,CAAC;IAC1C,MAAM,EAAE,aAAC;SACJ,MAAM,CAAC;QACJ,kBAAkB,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,WAAG,CAAC;QACxC,uBAAuB,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,WAAG,CAAC;QAC7C,gBAAgB,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,WAAG,CAAC;QACtC,qBAAqB,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,WAAG,CAAC;QAC3C,kBAAkB,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,WAAG,CAAC;QAC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