@longdotxyz/shared 0.0.29 → 0.0.31

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({
@@ -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;QACvC,8BAA8B,EAAE,aAAC,CAAC,MAAM,EAAE;QAC1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E,aAAC,CAAC,MAAM,CAAC;gBACV,MAAM,EAAE,aAAC,CAAC,KAAK,CAAC,aAAa,CAAC;aACjC,CAAC;SACL;QACD,WAAW,EAAE,0HAA0H;KAC1I;IACD,YAAY,EAAE;QACV,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,aAAC,CAAC,MAAM,CAAC;YACZ,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE;YAChB,KAAK,EAAE,aAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;SACvE,CAAC;QACF,SAAS,EAAE;YACP,GAAG,EAAE,aAAC,CAAC,MAAM,CAAC;gBACV,MAAM,EAAE,aAAC,CAAC,KAAK,CAAC,aAAa,CAAC;aACjC,CAAC;SACL;QACD,WAAW,EAAE,6GAA6G;KAC7H;IACD,QAAQ,EAAE;QACN,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,gBAAgB;QACtB,UAAU,EAAE,aAAC,CAAC,MAAM,CAAC;YACjB,YAAY,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,WAAG,CAAC;SACrC,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,13 +4,13 @@ declare const AuctionTemplateResponse: z.ZodObject<{
4
4
  name: z.ZodString;
5
5
  description: z.ZodNullable<z.ZodString>;
6
6
  }, "strip", z.ZodTypeAny, {
7
+ name: string;
7
8
  description: string | null;
8
9
  id: string;
9
- name: string;
10
10
  }, {
11
+ name: string;
11
12
  description: string | null;
12
13
  id: string;
13
- name: string;
14
14
  }>;
15
15
  declare const auctionTemplateContract: {
16
16
  listAuctionTemplates: {
@@ -24,25 +24,25 @@ declare const auctionTemplateContract: {
24
24
  name: z.ZodString;
25
25
  description: z.ZodNullable<z.ZodString>;
26
26
  }, "strip", z.ZodTypeAny, {
27
+ name: string;
27
28
  description: string | null;
28
29
  id: string;
29
- name: string;
30
30
  }, {
31
+ name: string;
31
32
  description: string | null;
32
33
  id: string;
33
- name: string;
34
34
  }>, "many">;
35
35
  }, "strip", z.ZodTypeAny, {
36
36
  result: {
37
+ name: string;
37
38
  description: string | null;
38
39
  id: string;
39
- name: string;
40
40
  }[];
41
41
  }, {
42
42
  result: {
43
+ name: string;
43
44
  description: string | null;
44
45
  id: string;
45
- name: string;
46
46
  }[];
47
47
  }>;
48
48
  };
@@ -174,6 +174,7 @@ declare const auctionContract: {
174
174
  };
175
175
  };
176
176
  getAuctionByPoolAddress: {
177
+ description: "Get an auction by its pool address";
177
178
  pathParams: z.ZodObject<{
178
179
  poolAddress: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
179
180
  }, "strip", z.ZodTypeAny, {
@@ -181,7 +182,6 @@ declare const auctionContract: {
181
182
  }, {
182
183
  poolAddress: string;
183
184
  }>;
184
- description: "Get an auction by its pool address";
185
185
  method: "GET";
186
186
  path: "/auctions/:poolAddress";
187
187
  responses: {
@@ -34,9 +34,9 @@ const CreateDynamicAuctionResponse = zod_1.default.object({
34
34
  token_factory_data: zod_1.default.string().pipe(types_1.hex),
35
35
  })
36
36
  .optional(),
37
- hook_address: zod_1.default.string().pipe(types_1.hex).optional(),
38
- token_address: zod_1.default.string().pipe(types_1.hex).optional(),
39
- encoded_payload: zod_1.default.string().pipe(types_1.hex),
37
+ hook_address: zod_1.default.string().pipe(types_1.hex).optional().describe("The pre-minted hook address"),
38
+ token_address: zod_1.default.string().pipe(types_1.hex).optional().describe("The pre-minted token address"),
39
+ encoded_payload: zod_1.default.string().pipe(types_1.hex).describe("The encoded payload of the auction, to be signed and sent raw to the blockchain"),
40
40
  });
41
41
  exports.CreateDynamicAuctionResponse = CreateDynamicAuctionResponse;
42
42
  const auctionContract = contract.router({
@@ -67,14 +67,14 @@ const auctionContract = contract.router({
67
67
  method: "POST",
68
68
  path: "/dynamic",
69
69
  body: zod_1.default.object({
70
- chain_id: zod_1.default.number(),
71
- template_id: zod_1.default.string(),
72
- debug: zod_1.default.boolean().optional().default(false),
70
+ chain_id: zod_1.default.number().describe("The chain ID (e.g. 8453 for Base)"),
71
+ template_id: zod_1.default.string().describe("The auction template ID (from the Long Team)"),
72
+ debug: zod_1.default.boolean().optional().default(false).describe("Whether to include debug information in the response"),
73
73
  metadata: zod_1.default.object({
74
- token_name: zod_1.default.string(),
75
- token_symbol: zod_1.default.string(),
76
- token_uri: zod_1.default.string(),
77
- user_address: zod_1.default.string().pipe(types_1.hex),
74
+ token_name: zod_1.default.string().describe("The name of the token (e.g. 'My Token')"),
75
+ token_symbol: zod_1.default.string().describe("The symbol of the token (e.g. 'MTK')"),
76
+ token_uri: zod_1.default.string().describe("The URI of the token (e.g. 'ipfs://...')"),
77
+ user_address: zod_1.default.string().pipe(types_1.hex).describe("The address of the owner of the token (e.g. '0x123...')"),
78
78
  }),
79
79
  }),
80
80
  responses: {
@@ -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,EA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