@longdotxyz/shared 0.0.18 → 0.0.20
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.
|
@@ -71,6 +71,8 @@ declare const CreateDynamicAuctionResponse: z.ZodObject<{
|
|
|
71
71
|
token_factory: string;
|
|
72
72
|
token_factory_data: string;
|
|
73
73
|
}>>;
|
|
74
|
+
hook_address: z.ZodOptional<z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>>;
|
|
75
|
+
token_address: z.ZodOptional<z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>>;
|
|
74
76
|
encoded_payload: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
75
77
|
}, "strip", z.ZodTypeAny, {
|
|
76
78
|
encoded_payload: `0x${string}`;
|
|
@@ -89,6 +91,8 @@ declare const CreateDynamicAuctionResponse: z.ZodObject<{
|
|
|
89
91
|
token_factory: `0x${string}`;
|
|
90
92
|
token_factory_data: `0x${string}`;
|
|
91
93
|
} | undefined;
|
|
94
|
+
hook_address?: `0x${string}` | undefined;
|
|
95
|
+
token_address?: `0x${string}` | undefined;
|
|
92
96
|
}, {
|
|
93
97
|
encoded_payload: string;
|
|
94
98
|
params?: {
|
|
@@ -106,6 +110,8 @@ declare const CreateDynamicAuctionResponse: z.ZodObject<{
|
|
|
106
110
|
token_factory: string;
|
|
107
111
|
token_factory_data: string;
|
|
108
112
|
} | undefined;
|
|
113
|
+
hook_address?: string | undefined;
|
|
114
|
+
token_address?: string | undefined;
|
|
109
115
|
}>;
|
|
110
116
|
declare const auctionContract: {
|
|
111
117
|
getDynamicAuction: {
|
|
@@ -178,7 +184,7 @@ declare const auctionContract: {
|
|
|
178
184
|
body: z.ZodObject<{
|
|
179
185
|
chain_id: z.ZodNumber;
|
|
180
186
|
template_id: z.ZodString;
|
|
181
|
-
|
|
187
|
+
debug: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
182
188
|
metadata: z.ZodObject<{
|
|
183
189
|
token_name: z.ZodString;
|
|
184
190
|
token_symbol: z.ZodString;
|
|
@@ -230,7 +236,7 @@ declare const auctionContract: {
|
|
|
230
236
|
};
|
|
231
237
|
chain_id: number;
|
|
232
238
|
template_id: string;
|
|
233
|
-
|
|
239
|
+
debug: boolean;
|
|
234
240
|
}, {
|
|
235
241
|
metadata: {
|
|
236
242
|
token_name: string;
|
|
@@ -245,7 +251,7 @@ declare const auctionContract: {
|
|
|
245
251
|
};
|
|
246
252
|
chain_id: number;
|
|
247
253
|
template_id: string;
|
|
248
|
-
|
|
254
|
+
debug?: boolean | undefined;
|
|
249
255
|
}>;
|
|
250
256
|
path: "/auctions/dynamic";
|
|
251
257
|
responses: {
|
|
@@ -294,6 +300,8 @@ declare const auctionContract: {
|
|
|
294
300
|
token_factory: string;
|
|
295
301
|
token_factory_data: string;
|
|
296
302
|
}>>;
|
|
303
|
+
hook_address: z.ZodOptional<z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>>;
|
|
304
|
+
token_address: z.ZodOptional<z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>>;
|
|
297
305
|
encoded_payload: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
298
306
|
}, "strip", z.ZodTypeAny, {
|
|
299
307
|
encoded_payload: `0x${string}`;
|
|
@@ -312,6 +320,8 @@ declare const auctionContract: {
|
|
|
312
320
|
token_factory: `0x${string}`;
|
|
313
321
|
token_factory_data: `0x${string}`;
|
|
314
322
|
} | undefined;
|
|
323
|
+
hook_address?: `0x${string}` | undefined;
|
|
324
|
+
token_address?: `0x${string}` | undefined;
|
|
315
325
|
}, {
|
|
316
326
|
encoded_payload: string;
|
|
317
327
|
params?: {
|
|
@@ -329,6 +339,8 @@ declare const auctionContract: {
|
|
|
329
339
|
token_factory: string;
|
|
330
340
|
token_factory_data: string;
|
|
331
341
|
} | undefined;
|
|
342
|
+
hook_address?: string | undefined;
|
|
343
|
+
token_address?: string | undefined;
|
|
332
344
|
}>;
|
|
333
345
|
}, "strip", z.ZodTypeAny, {
|
|
334
346
|
result: {
|
|
@@ -348,6 +360,8 @@ declare const auctionContract: {
|
|
|
348
360
|
token_factory: `0x${string}`;
|
|
349
361
|
token_factory_data: `0x${string}`;
|
|
350
362
|
} | undefined;
|
|
363
|
+
hook_address?: `0x${string}` | undefined;
|
|
364
|
+
token_address?: `0x${string}` | undefined;
|
|
351
365
|
};
|
|
352
366
|
}, {
|
|
353
367
|
result: {
|
|
@@ -367,6 +381,8 @@ declare const auctionContract: {
|
|
|
367
381
|
token_factory: string;
|
|
368
382
|
token_factory_data: string;
|
|
369
383
|
} | undefined;
|
|
384
|
+
hook_address?: string | undefined;
|
|
385
|
+
token_address?: string | undefined;
|
|
370
386
|
};
|
|
371
387
|
}>;
|
|
372
388
|
};
|
|
@@ -34,6 +34,8 @@ 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(),
|
|
37
39
|
encoded_payload: zod_1.default.string().pipe(types_1.hex),
|
|
38
40
|
});
|
|
39
41
|
exports.CreateDynamicAuctionResponse = CreateDynamicAuctionResponse;
|
|
@@ -56,7 +58,7 @@ const auctionContract = contract.router({
|
|
|
56
58
|
body: zod_1.default.object({
|
|
57
59
|
chain_id: zod_1.default.number(),
|
|
58
60
|
template_id: zod_1.default.string(),
|
|
59
|
-
|
|
61
|
+
debug: zod_1.default.boolean().optional().default(false),
|
|
60
62
|
metadata: zod_1.default.object({
|
|
61
63
|
token_name: zod_1.default.string(),
|
|
62
64
|
token_symbol: zod_1.default.string(),
|
|
@@ -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,sBAAsB,GAAG,aAAC,CAAC,MAAM,CAAC;IACpC,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;
|
|
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,sBAAsB,GAAG,aAAC,CAAC,MAAM,CAAC;IACpC,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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aAAC,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,WAAG,CAAC;aACrC,CAAC;SACL,CAAC;QACF,SAAS,EAAE;YACP,GAAG,EAAE,aAAC,CAAC,MAAM,CAAC;gBACV,MAAM,EAAE,4BAA4B;aACvC,CAAC;SACL;KACJ;CACJ,EACD;IACI,UAAU,EAAE,WAAW;CAC1B,CACJ,CAAC;AAEO,0CAAe"}
|
|
@@ -70,7 +70,7 @@ export declare const rootContract: {
|
|
|
70
70
|
body: import("zod").ZodObject<{
|
|
71
71
|
chain_id: import("zod").ZodNumber;
|
|
72
72
|
template_id: import("zod").ZodString;
|
|
73
|
-
|
|
73
|
+
debug: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
74
74
|
metadata: import("zod").ZodObject<{
|
|
75
75
|
token_name: import("zod").ZodString;
|
|
76
76
|
token_symbol: import("zod").ZodString;
|
|
@@ -122,7 +122,7 @@ export declare const rootContract: {
|
|
|
122
122
|
};
|
|
123
123
|
chain_id: number;
|
|
124
124
|
template_id: string;
|
|
125
|
-
|
|
125
|
+
debug: boolean;
|
|
126
126
|
}, {
|
|
127
127
|
metadata: {
|
|
128
128
|
token_name: string;
|
|
@@ -137,7 +137,7 @@ export declare const rootContract: {
|
|
|
137
137
|
};
|
|
138
138
|
chain_id: number;
|
|
139
139
|
template_id: string;
|
|
140
|
-
|
|
140
|
+
debug?: boolean | undefined;
|
|
141
141
|
}>;
|
|
142
142
|
path: "/auctions/dynamic";
|
|
143
143
|
responses: {
|
|
@@ -186,6 +186,8 @@ export declare const rootContract: {
|
|
|
186
186
|
token_factory: string;
|
|
187
187
|
token_factory_data: string;
|
|
188
188
|
}>>;
|
|
189
|
+
hook_address: import("zod").ZodOptional<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>>;
|
|
190
|
+
token_address: import("zod").ZodOptional<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>>;
|
|
189
191
|
encoded_payload: import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
190
192
|
}, "strip", import("zod").ZodTypeAny, {
|
|
191
193
|
encoded_payload: `0x${string}`;
|
|
@@ -204,6 +206,8 @@ export declare const rootContract: {
|
|
|
204
206
|
token_factory: `0x${string}`;
|
|
205
207
|
token_factory_data: `0x${string}`;
|
|
206
208
|
} | undefined;
|
|
209
|
+
hook_address?: `0x${string}` | undefined;
|
|
210
|
+
token_address?: `0x${string}` | undefined;
|
|
207
211
|
}, {
|
|
208
212
|
encoded_payload: string;
|
|
209
213
|
params?: {
|
|
@@ -221,6 +225,8 @@ export declare const rootContract: {
|
|
|
221
225
|
token_factory: string;
|
|
222
226
|
token_factory_data: string;
|
|
223
227
|
} | undefined;
|
|
228
|
+
hook_address?: string | undefined;
|
|
229
|
+
token_address?: string | undefined;
|
|
224
230
|
}>;
|
|
225
231
|
}, "strip", import("zod").ZodTypeAny, {
|
|
226
232
|
result: {
|
|
@@ -240,6 +246,8 @@ export declare const rootContract: {
|
|
|
240
246
|
token_factory: `0x${string}`;
|
|
241
247
|
token_factory_data: `0x${string}`;
|
|
242
248
|
} | undefined;
|
|
249
|
+
hook_address?: `0x${string}` | undefined;
|
|
250
|
+
token_address?: `0x${string}` | undefined;
|
|
243
251
|
};
|
|
244
252
|
}, {
|
|
245
253
|
result: {
|
|
@@ -259,6 +267,8 @@ export declare const rootContract: {
|
|
|
259
267
|
token_factory: string;
|
|
260
268
|
token_factory_data: string;
|
|
261
269
|
} | undefined;
|
|
270
|
+
hook_address?: string | undefined;
|
|
271
|
+
token_address?: string | undefined;
|
|
262
272
|
};
|
|
263
273
|
}>;
|
|
264
274
|
};
|