@longdotxyz/shared 0.0.74 → 0.0.75

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.
@@ -5,44 +5,168 @@ declare const AuctionTemplateResponseSchema: z.ZodObject<{
5
5
  description: z.ZodNullable<z.ZodString>;
6
6
  type: z.ZodString;
7
7
  integrator_id: z.ZodString;
8
- }, z.core.$strip>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ type: string;
10
+ name: string;
11
+ description: string | null;
12
+ id: string;
13
+ integrator_id: string;
14
+ }, {
15
+ type: string;
16
+ name: string;
17
+ description: string | null;
18
+ id: string;
19
+ integrator_id: string;
20
+ }>;
9
21
  type AuctionTemplateResponse = z.output<typeof AuctionTemplateResponseSchema>;
10
22
  declare const AuctionTemplateEncodeResponseSchema: z.ZodObject<{
11
23
  params: z.ZodOptional<z.ZodObject<{
12
- governance_factory: z.ZodPipe<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>;
13
- governance_factory_data: z.ZodPipe<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>;
14
- pool_initializer: z.ZodPipe<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>;
15
- pool_initializer_data: z.ZodPipe<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>;
16
- liquidity_migrator: z.ZodPipe<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>;
17
- liquidity_migrator_data: z.ZodPipe<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>;
18
- integrator: z.ZodPipe<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>;
19
- salt: z.ZodPipe<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>;
24
+ governance_factory: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
25
+ governance_factory_data: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
26
+ pool_initializer: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
27
+ pool_initializer_data: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
28
+ liquidity_migrator: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
29
+ liquidity_migrator_data: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
30
+ integrator: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
31
+ salt: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
20
32
  initial_supply: z.ZodString;
21
33
  num_tokens_to_sell: z.ZodString;
22
- numeraire: z.ZodPipe<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>;
23
- token_factory: z.ZodPipe<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>;
24
- token_factory_data: z.ZodPipe<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>;
25
- }, z.core.$strip>>;
26
- hook_address: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>>;
27
- token_address: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>>;
28
- encoded_payload: z.ZodPipe<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>;
29
- }, z.core.$strip>;
34
+ numeraire: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
35
+ token_factory: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
36
+ token_factory_data: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
37
+ }, "strip", z.ZodTypeAny, {
38
+ governance_factory: `0x${string}`;
39
+ governance_factory_data: `0x${string}`;
40
+ pool_initializer: `0x${string}`;
41
+ pool_initializer_data: `0x${string}`;
42
+ liquidity_migrator: `0x${string}`;
43
+ liquidity_migrator_data: `0x${string}`;
44
+ integrator: `0x${string}`;
45
+ salt: `0x${string}`;
46
+ initial_supply: string;
47
+ num_tokens_to_sell: string;
48
+ numeraire: `0x${string}`;
49
+ token_factory: `0x${string}`;
50
+ token_factory_data: `0x${string}`;
51
+ }, {
52
+ governance_factory: string;
53
+ governance_factory_data: string;
54
+ pool_initializer: string;
55
+ pool_initializer_data: string;
56
+ liquidity_migrator: string;
57
+ liquidity_migrator_data: string;
58
+ integrator: string;
59
+ salt: string;
60
+ initial_supply: string;
61
+ num_tokens_to_sell: string;
62
+ numeraire: string;
63
+ token_factory: string;
64
+ token_factory_data: string;
65
+ }>>;
66
+ hook_address: z.ZodOptional<z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>>;
67
+ token_address: z.ZodOptional<z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>>;
68
+ encoded_payload: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
69
+ }, "strip", z.ZodTypeAny, {
70
+ encoded_payload: `0x${string}`;
71
+ params?: {
72
+ governance_factory: `0x${string}`;
73
+ governance_factory_data: `0x${string}`;
74
+ pool_initializer: `0x${string}`;
75
+ pool_initializer_data: `0x${string}`;
76
+ liquidity_migrator: `0x${string}`;
77
+ liquidity_migrator_data: `0x${string}`;
78
+ integrator: `0x${string}`;
79
+ salt: `0x${string}`;
80
+ initial_supply: string;
81
+ num_tokens_to_sell: string;
82
+ numeraire: `0x${string}`;
83
+ token_factory: `0x${string}`;
84
+ token_factory_data: `0x${string}`;
85
+ } | undefined;
86
+ token_address?: `0x${string}` | undefined;
87
+ hook_address?: `0x${string}` | undefined;
88
+ }, {
89
+ encoded_payload: string;
90
+ params?: {
91
+ governance_factory: string;
92
+ governance_factory_data: string;
93
+ pool_initializer: string;
94
+ pool_initializer_data: string;
95
+ liquidity_migrator: string;
96
+ liquidity_migrator_data: string;
97
+ integrator: string;
98
+ salt: string;
99
+ initial_supply: string;
100
+ num_tokens_to_sell: string;
101
+ numeraire: string;
102
+ token_factory: string;
103
+ token_factory_data: string;
104
+ } | undefined;
105
+ token_address?: string | undefined;
106
+ hook_address?: string | undefined;
107
+ }>;
30
108
  type AuctionTemplateEncodeResponse = z.output<typeof AuctionTemplateEncodeResponseSchema>;
31
109
  declare const auctionTemplateContract: {
32
110
  listAuctionTemplates: {
33
- [x: string]: any;
34
111
  description: "List all auction templates for an integrator";
35
112
  query: z.ZodObject<{
36
- chainId: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
37
- }, z.core.$strip>;
113
+ chainId: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
114
+ }, "strip", z.ZodTypeAny, {
115
+ chainId: number;
116
+ }, {
117
+ chainId?: number | undefined;
118
+ }>;
38
119
  method: "GET";
120
+ path: "/auction-templates/";
121
+ responses: {
122
+ 200: z.ZodObject<{
123
+ result: z.ZodArray<z.ZodObject<{
124
+ id: z.ZodString;
125
+ name: z.ZodString;
126
+ description: z.ZodNullable<z.ZodString>;
127
+ type: z.ZodString;
128
+ integrator_id: z.ZodString;
129
+ }, "strip", z.ZodTypeAny, {
130
+ type: string;
131
+ name: string;
132
+ description: string | null;
133
+ id: string;
134
+ integrator_id: string;
135
+ }, {
136
+ type: string;
137
+ name: string;
138
+ description: string | null;
139
+ id: string;
140
+ integrator_id: string;
141
+ }>, "many">;
142
+ }, "strip", z.ZodTypeAny, {
143
+ result: {
144
+ type: string;
145
+ name: string;
146
+ description: string | null;
147
+ id: string;
148
+ integrator_id: string;
149
+ }[];
150
+ }, {
151
+ result: {
152
+ type: string;
153
+ name: string;
154
+ description: string | null;
155
+ id: string;
156
+ integrator_id: string;
157
+ }[];
158
+ }>;
159
+ };
39
160
  };
40
161
  encodeAuctionTemplate: {
41
- [x: string]: any;
42
162
  description: "Encode a auction template and return the payload to be signed and sent raw to the blockchain";
43
163
  query: z.ZodObject<{
44
- chainId: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
45
- }, z.core.$strip>;
164
+ chainId: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
165
+ }, "strip", z.ZodTypeAny, {
166
+ chainId: number;
167
+ }, {
168
+ chainId?: number | undefined;
169
+ }>;
46
170
  method: "POST";
47
171
  body: z.ZodObject<{
48
172
  template_id: z.ZodString;
@@ -51,13 +175,196 @@ declare const auctionTemplateContract: {
51
175
  token_name: z.ZodString;
52
176
  token_symbol: z.ZodString;
53
177
  token_uri: z.ZodDefault<z.ZodString>;
54
- user_address: z.ZodPipe<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>;
178
+ user_address: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
55
179
  beneficiaries: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
56
- beneficiary: z.ZodPipe<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>;
180
+ beneficiary: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
57
181
  shares: z.ZodString;
58
- }, z.core.$strip>>>>;
59
- }, z.core.$strip>;
60
- }, z.core.$strip>;
182
+ }, "strip", z.ZodTypeAny, {
183
+ beneficiary: `0x${string}`;
184
+ shares: string;
185
+ }, {
186
+ beneficiary: string;
187
+ shares: string;
188
+ }>, "many">>>;
189
+ }, "strip", z.ZodTypeAny, {
190
+ token_name: string;
191
+ token_symbol: string;
192
+ token_uri: string;
193
+ user_address: `0x${string}`;
194
+ beneficiaries: {
195
+ beneficiary: `0x${string}`;
196
+ shares: string;
197
+ }[];
198
+ }, {
199
+ token_name: string;
200
+ token_symbol: string;
201
+ user_address: string;
202
+ token_uri?: string | undefined;
203
+ beneficiaries?: {
204
+ beneficiary: string;
205
+ shares: string;
206
+ }[] | undefined;
207
+ }>;
208
+ }, "strip", z.ZodTypeAny, {
209
+ metadata: {
210
+ token_name: string;
211
+ token_symbol: string;
212
+ token_uri: string;
213
+ user_address: `0x${string}`;
214
+ beneficiaries: {
215
+ beneficiary: `0x${string}`;
216
+ shares: string;
217
+ }[];
218
+ };
219
+ template_id: string;
220
+ debug: boolean;
221
+ }, {
222
+ metadata: {
223
+ token_name: string;
224
+ token_symbol: string;
225
+ user_address: string;
226
+ token_uri?: string | undefined;
227
+ beneficiaries?: {
228
+ beneficiary: string;
229
+ shares: string;
230
+ }[] | undefined;
231
+ };
232
+ template_id: string;
233
+ debug?: boolean | undefined;
234
+ }>;
235
+ path: "/auction-templates";
236
+ responses: {
237
+ 200: z.ZodObject<{
238
+ result: z.ZodObject<{
239
+ params: z.ZodOptional<z.ZodObject<{
240
+ governance_factory: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
241
+ governance_factory_data: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
242
+ pool_initializer: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
243
+ pool_initializer_data: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
244
+ liquidity_migrator: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
245
+ liquidity_migrator_data: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
246
+ integrator: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
247
+ salt: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
248
+ initial_supply: z.ZodString;
249
+ num_tokens_to_sell: z.ZodString;
250
+ numeraire: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
251
+ token_factory: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
252
+ token_factory_data: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
253
+ }, "strip", z.ZodTypeAny, {
254
+ governance_factory: `0x${string}`;
255
+ governance_factory_data: `0x${string}`;
256
+ pool_initializer: `0x${string}`;
257
+ pool_initializer_data: `0x${string}`;
258
+ liquidity_migrator: `0x${string}`;
259
+ liquidity_migrator_data: `0x${string}`;
260
+ integrator: `0x${string}`;
261
+ salt: `0x${string}`;
262
+ initial_supply: string;
263
+ num_tokens_to_sell: string;
264
+ numeraire: `0x${string}`;
265
+ token_factory: `0x${string}`;
266
+ token_factory_data: `0x${string}`;
267
+ }, {
268
+ governance_factory: string;
269
+ governance_factory_data: string;
270
+ pool_initializer: string;
271
+ pool_initializer_data: string;
272
+ liquidity_migrator: string;
273
+ liquidity_migrator_data: string;
274
+ integrator: string;
275
+ salt: string;
276
+ initial_supply: string;
277
+ num_tokens_to_sell: string;
278
+ numeraire: string;
279
+ token_factory: string;
280
+ token_factory_data: string;
281
+ }>>;
282
+ hook_address: z.ZodOptional<z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>>;
283
+ token_address: z.ZodOptional<z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>>;
284
+ encoded_payload: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
285
+ }, "strip", z.ZodTypeAny, {
286
+ encoded_payload: `0x${string}`;
287
+ params?: {
288
+ governance_factory: `0x${string}`;
289
+ governance_factory_data: `0x${string}`;
290
+ pool_initializer: `0x${string}`;
291
+ pool_initializer_data: `0x${string}`;
292
+ liquidity_migrator: `0x${string}`;
293
+ liquidity_migrator_data: `0x${string}`;
294
+ integrator: `0x${string}`;
295
+ salt: `0x${string}`;
296
+ initial_supply: string;
297
+ num_tokens_to_sell: string;
298
+ numeraire: `0x${string}`;
299
+ token_factory: `0x${string}`;
300
+ token_factory_data: `0x${string}`;
301
+ } | undefined;
302
+ token_address?: `0x${string}` | undefined;
303
+ hook_address?: `0x${string}` | undefined;
304
+ }, {
305
+ encoded_payload: string;
306
+ params?: {
307
+ governance_factory: string;
308
+ governance_factory_data: string;
309
+ pool_initializer: string;
310
+ pool_initializer_data: string;
311
+ liquidity_migrator: string;
312
+ liquidity_migrator_data: string;
313
+ integrator: string;
314
+ salt: string;
315
+ initial_supply: string;
316
+ num_tokens_to_sell: string;
317
+ numeraire: string;
318
+ token_factory: string;
319
+ token_factory_data: string;
320
+ } | undefined;
321
+ token_address?: string | undefined;
322
+ hook_address?: string | undefined;
323
+ }>;
324
+ }, "strip", z.ZodTypeAny, {
325
+ result: {
326
+ encoded_payload: `0x${string}`;
327
+ params?: {
328
+ governance_factory: `0x${string}`;
329
+ governance_factory_data: `0x${string}`;
330
+ pool_initializer: `0x${string}`;
331
+ pool_initializer_data: `0x${string}`;
332
+ liquidity_migrator: `0x${string}`;
333
+ liquidity_migrator_data: `0x${string}`;
334
+ integrator: `0x${string}`;
335
+ salt: `0x${string}`;
336
+ initial_supply: string;
337
+ num_tokens_to_sell: string;
338
+ numeraire: `0x${string}`;
339
+ token_factory: `0x${string}`;
340
+ token_factory_data: `0x${string}`;
341
+ } | undefined;
342
+ token_address?: `0x${string}` | undefined;
343
+ hook_address?: `0x${string}` | undefined;
344
+ };
345
+ }, {
346
+ result: {
347
+ encoded_payload: string;
348
+ params?: {
349
+ governance_factory: string;
350
+ governance_factory_data: string;
351
+ pool_initializer: string;
352
+ pool_initializer_data: string;
353
+ liquidity_migrator: string;
354
+ liquidity_migrator_data: string;
355
+ integrator: string;
356
+ salt: string;
357
+ initial_supply: string;
358
+ num_tokens_to_sell: string;
359
+ numeraire: string;
360
+ token_factory: string;
361
+ token_factory_data: string;
362
+ } | undefined;
363
+ token_address?: string | undefined;
364
+ hook_address?: string | undefined;
365
+ };
366
+ }>;
367
+ };
61
368
  };
62
369
  };
63
370
  export { auctionTemplateContract, AuctionTemplateResponseSchema, AuctionTemplateEncodeResponseSchema, AuctionTemplateResponse, AuctionTemplateEncodeResponse };
@@ -8,27 +8,165 @@ declare const AuctionResponseSchema: z.ZodObject<{
8
8
  auction_quote_token_name: z.ZodString;
9
9
  auction_quote_token_symbol: z.ZodString;
10
10
  auction_quote_token_address: z.ZodString;
11
- }, z.core.$strip>;
11
+ }, "strip", z.ZodTypeAny, {
12
+ auction_pool_address: string;
13
+ auction_pool_id: string;
14
+ auction_base_token_name: string;
15
+ auction_base_token_symbol: string;
16
+ auction_base_token_address: string;
17
+ auction_quote_token_name: string;
18
+ auction_quote_token_symbol: string;
19
+ auction_quote_token_address: string;
20
+ }, {
21
+ auction_pool_address: string;
22
+ auction_pool_id: string;
23
+ auction_base_token_name: string;
24
+ auction_base_token_symbol: string;
25
+ auction_base_token_address: string;
26
+ auction_quote_token_name: string;
27
+ auction_quote_token_symbol: string;
28
+ auction_quote_token_address: string;
29
+ }>;
12
30
  type AuctionResponse = z.output<typeof AuctionResponseSchema>;
13
31
  declare const auctionContract: {
14
32
  listAuctions: {
15
- [x: string]: any;
16
33
  description: "List all auctions for an integrator";
17
34
  query: z.ZodObject<{
18
- chainId: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
19
- }, z.core.$strip>;
35
+ chainId: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
36
+ }, "strip", z.ZodTypeAny, {
37
+ chainId: number;
38
+ }, {
39
+ chainId?: number | undefined;
40
+ }>;
20
41
  method: "GET";
42
+ path: "/auctions/";
43
+ responses: {
44
+ 200: z.ZodObject<{
45
+ result: z.ZodArray<z.ZodObject<{
46
+ auction_pool_address: z.ZodString;
47
+ auction_pool_id: z.ZodString;
48
+ auction_base_token_name: z.ZodString;
49
+ auction_base_token_symbol: z.ZodString;
50
+ auction_base_token_address: z.ZodString;
51
+ auction_quote_token_name: z.ZodString;
52
+ auction_quote_token_symbol: z.ZodString;
53
+ auction_quote_token_address: z.ZodString;
54
+ }, "strip", z.ZodTypeAny, {
55
+ auction_pool_address: string;
56
+ auction_pool_id: string;
57
+ auction_base_token_name: string;
58
+ auction_base_token_symbol: string;
59
+ auction_base_token_address: string;
60
+ auction_quote_token_name: string;
61
+ auction_quote_token_symbol: string;
62
+ auction_quote_token_address: string;
63
+ }, {
64
+ auction_pool_address: string;
65
+ auction_pool_id: string;
66
+ auction_base_token_name: string;
67
+ auction_base_token_symbol: string;
68
+ auction_base_token_address: string;
69
+ auction_quote_token_name: string;
70
+ auction_quote_token_symbol: string;
71
+ auction_quote_token_address: string;
72
+ }>, "many">;
73
+ }, "strip", z.ZodTypeAny, {
74
+ result: {
75
+ auction_pool_address: string;
76
+ auction_pool_id: string;
77
+ auction_base_token_name: string;
78
+ auction_base_token_symbol: string;
79
+ auction_base_token_address: string;
80
+ auction_quote_token_name: string;
81
+ auction_quote_token_symbol: string;
82
+ auction_quote_token_address: string;
83
+ }[];
84
+ }, {
85
+ result: {
86
+ auction_pool_address: string;
87
+ auction_pool_id: string;
88
+ auction_base_token_name: string;
89
+ auction_base_token_symbol: string;
90
+ auction_base_token_address: string;
91
+ auction_quote_token_name: string;
92
+ auction_quote_token_symbol: string;
93
+ auction_quote_token_address: string;
94
+ }[];
95
+ }>;
96
+ };
21
97
  };
22
98
  getAuctionByPoolAddress: {
23
- [x: string]: any;
24
99
  description: "Get an auction by its pool address";
25
100
  pathParams: z.ZodObject<{
26
- poolAddress: z.ZodPipe<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>;
27
- }, z.core.$strip>;
101
+ poolAddress: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
102
+ }, "strip", z.ZodTypeAny, {
103
+ poolAddress: `0x${string}`;
104
+ }, {
105
+ poolAddress: string;
106
+ }>;
28
107
  query: z.ZodObject<{
29
- chainId: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
30
- }, z.core.$strip>;
108
+ chainId: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
109
+ }, "strip", z.ZodTypeAny, {
110
+ chainId: number;
111
+ }, {
112
+ chainId?: number | undefined;
113
+ }>;
31
114
  method: "GET";
115
+ path: "/auctions/:poolAddress";
116
+ responses: {
117
+ 200: z.ZodObject<{
118
+ result: z.ZodObject<{
119
+ auction_pool_address: z.ZodString;
120
+ auction_pool_id: z.ZodString;
121
+ auction_base_token_name: z.ZodString;
122
+ auction_base_token_symbol: z.ZodString;
123
+ auction_base_token_address: z.ZodString;
124
+ auction_quote_token_name: z.ZodString;
125
+ auction_quote_token_symbol: z.ZodString;
126
+ auction_quote_token_address: z.ZodString;
127
+ }, "strip", z.ZodTypeAny, {
128
+ auction_pool_address: string;
129
+ auction_pool_id: string;
130
+ auction_base_token_name: string;
131
+ auction_base_token_symbol: string;
132
+ auction_base_token_address: string;
133
+ auction_quote_token_name: string;
134
+ auction_quote_token_symbol: string;
135
+ auction_quote_token_address: string;
136
+ }, {
137
+ auction_pool_address: string;
138
+ auction_pool_id: string;
139
+ auction_base_token_name: string;
140
+ auction_base_token_symbol: string;
141
+ auction_base_token_address: string;
142
+ auction_quote_token_name: string;
143
+ auction_quote_token_symbol: string;
144
+ auction_quote_token_address: string;
145
+ }>;
146
+ }, "strip", z.ZodTypeAny, {
147
+ result: {
148
+ auction_pool_address: string;
149
+ auction_pool_id: string;
150
+ auction_base_token_name: string;
151
+ auction_base_token_symbol: string;
152
+ auction_base_token_address: string;
153
+ auction_quote_token_name: string;
154
+ auction_quote_token_symbol: string;
155
+ auction_quote_token_address: string;
156
+ };
157
+ }, {
158
+ result: {
159
+ auction_pool_address: string;
160
+ auction_pool_id: string;
161
+ auction_base_token_name: string;
162
+ auction_base_token_symbol: string;
163
+ auction_base_token_address: string;
164
+ auction_quote_token_name: string;
165
+ auction_quote_token_symbol: string;
166
+ auction_quote_token_address: string;
167
+ };
168
+ }>;
169
+ };
32
170
  };
33
171
  };
34
172
  export { auctionContract, AuctionResponseSchema, AuctionResponse };