@longdotxyz/shared 0.0.131 → 0.0.133
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 +3519 -3547
- package/dist/contracts/asset.contract.js +57 -94
- package/dist/contracts/asset.contract.js.map +1 -1
- package/dist/contracts/auction-template.contract.d.ts +208 -186
- package/dist/contracts/auction-template.contract.js +54 -64
- package/dist/contracts/auction-template.contract.js.map +1 -1
- package/dist/contracts/auction.contract.d.ts +113 -133
- package/dist/contracts/auction.contract.js +31 -51
- package/dist/contracts/auction.contract.js.map +1 -1
- package/dist/contracts/charts.contract.d.ts +91 -119
- package/dist/contracts/charts.contract.js +13 -32
- package/dist/contracts/charts.contract.js.map +1 -1
- package/dist/contracts/community.contract.d.ts +73 -86
- package/dist/contracts/community.contract.js +7 -27
- package/dist/contracts/community.contract.js.map +1 -1
- package/dist/contracts/github-activity.contract.d.ts +507 -0
- package/dist/contracts/github-activity.contract.js +43 -0
- package/dist/contracts/github-activity.contract.js.map +1 -0
- package/dist/contracts/index.d.ts +6071 -6159
- package/dist/contracts/index.js +5 -4
- package/dist/contracts/index.js.map +1 -1
- package/dist/contracts/ipfs.contract.d.ts +66 -83
- package/dist/contracts/ipfs.contract.js +30 -49
- package/dist/contracts/ipfs.contract.js.map +1 -1
- package/dist/contracts/market.contract.d.ts +1268 -1418
- package/dist/contracts/market.contract.js +69 -132
- package/dist/contracts/market.contract.js.map +1 -1
- package/dist/contracts/pathfinding.contract.d.ts +191 -202
- package/dist/contracts/pathfinding.contract.js +13 -23
- package/dist/contracts/pathfinding.contract.js.map +1 -1
- package/dist/contracts/sponsorship.contract.d.ts +230 -331
- package/dist/contracts/sponsorship.contract.js +78 -138
- package/dist/contracts/sponsorship.contract.js.map +1 -1
- package/dist/contracts/tokens.contract.d.ts +62 -61
- package/dist/contracts/tokens.contract.js +42 -51
- package/dist/contracts/tokens.contract.js.map +1 -1
- package/package.json +4 -3
|
@@ -88,8 +88,7 @@ declare const EncodeMulticurveResponseSchema: z.ZodObject<{
|
|
|
88
88
|
}>;
|
|
89
89
|
export { CoinCategory, EncodeMulticurveResponseSchema };
|
|
90
90
|
export declare const sponsorshipContract: {
|
|
91
|
-
encodeMulticurve: {
|
|
92
|
-
description: "Encode a multicurve auction with fixed fee logic (5% Doppler, 45% LONG, 50% agent). No authentication required.";
|
|
91
|
+
encodeMulticurve: import("@orpc/contract", { with: { "resolution-mode": "import" } }).ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
93
92
|
query: z.ZodObject<{
|
|
94
93
|
chainId: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
95
94
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -97,7 +96,6 @@ export declare const sponsorshipContract: {
|
|
|
97
96
|
}, {
|
|
98
97
|
chainId?: number | undefined;
|
|
99
98
|
}>;
|
|
100
|
-
method: "POST";
|
|
101
99
|
body: z.ZodObject<{
|
|
102
100
|
token_name: z.ZodString;
|
|
103
101
|
token_symbol: z.ZodString;
|
|
@@ -123,348 +121,249 @@ export declare const sponsorshipContract: {
|
|
|
123
121
|
token_uri?: string | undefined;
|
|
124
122
|
category?: "builder" | "product" | undefined;
|
|
125
123
|
}>;
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
num_tokens_to_sell: string;
|
|
169
|
-
numeraire: string;
|
|
170
|
-
token_factory: string;
|
|
171
|
-
token_factory_data: string;
|
|
172
|
-
}>>;
|
|
173
|
-
hook_address: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
174
|
-
token_address: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
175
|
-
encoded_payload: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
176
|
-
}, "strip", z.ZodTypeAny, {
|
|
177
|
-
encoded_payload: `0x${string}`;
|
|
178
|
-
params?: {
|
|
179
|
-
governance_factory: `0x${string}`;
|
|
180
|
-
governance_factory_data: `0x${string}`;
|
|
181
|
-
pool_initializer: `0x${string}`;
|
|
182
|
-
pool_initializer_data: `0x${string}`;
|
|
183
|
-
liquidity_migrator: `0x${string}`;
|
|
184
|
-
liquidity_migrator_data: `0x${string}`;
|
|
185
|
-
integrator: `0x${string}`;
|
|
186
|
-
salt: `0x${string}`;
|
|
187
|
-
initial_supply: string;
|
|
188
|
-
num_tokens_to_sell: string;
|
|
189
|
-
numeraire: `0x${string}`;
|
|
190
|
-
token_factory: `0x${string}`;
|
|
191
|
-
token_factory_data: `0x${string}`;
|
|
192
|
-
} | undefined;
|
|
193
|
-
token_address?: `0x${string}` | undefined;
|
|
194
|
-
hook_address?: `0x${string}` | undefined;
|
|
195
|
-
}, {
|
|
196
|
-
encoded_payload: string;
|
|
197
|
-
params?: {
|
|
198
|
-
governance_factory: string;
|
|
199
|
-
governance_factory_data: string;
|
|
200
|
-
pool_initializer: string;
|
|
201
|
-
pool_initializer_data: string;
|
|
202
|
-
liquidity_migrator: string;
|
|
203
|
-
liquidity_migrator_data: string;
|
|
204
|
-
integrator: string;
|
|
205
|
-
salt: string;
|
|
206
|
-
initial_supply: string;
|
|
207
|
-
num_tokens_to_sell: string;
|
|
208
|
-
numeraire: string;
|
|
209
|
-
token_factory: string;
|
|
210
|
-
token_factory_data: string;
|
|
211
|
-
} | undefined;
|
|
212
|
-
token_address?: string | undefined;
|
|
213
|
-
hook_address?: string | undefined;
|
|
214
|
-
}>;
|
|
215
|
-
}, "strip", z.ZodTypeAny, {
|
|
216
|
-
result: {
|
|
217
|
-
encoded_payload: `0x${string}`;
|
|
218
|
-
params?: {
|
|
219
|
-
governance_factory: `0x${string}`;
|
|
220
|
-
governance_factory_data: `0x${string}`;
|
|
221
|
-
pool_initializer: `0x${string}`;
|
|
222
|
-
pool_initializer_data: `0x${string}`;
|
|
223
|
-
liquidity_migrator: `0x${string}`;
|
|
224
|
-
liquidity_migrator_data: `0x${string}`;
|
|
225
|
-
integrator: `0x${string}`;
|
|
226
|
-
salt: `0x${string}`;
|
|
227
|
-
initial_supply: string;
|
|
228
|
-
num_tokens_to_sell: string;
|
|
229
|
-
numeraire: `0x${string}`;
|
|
230
|
-
token_factory: `0x${string}`;
|
|
231
|
-
token_factory_data: `0x${string}`;
|
|
232
|
-
} | undefined;
|
|
233
|
-
token_address?: `0x${string}` | undefined;
|
|
234
|
-
hook_address?: `0x${string}` | undefined;
|
|
235
|
-
};
|
|
236
|
-
}, {
|
|
237
|
-
result: {
|
|
238
|
-
encoded_payload: string;
|
|
239
|
-
params?: {
|
|
240
|
-
governance_factory: string;
|
|
241
|
-
governance_factory_data: string;
|
|
242
|
-
pool_initializer: string;
|
|
243
|
-
pool_initializer_data: string;
|
|
244
|
-
liquidity_migrator: string;
|
|
245
|
-
liquidity_migrator_data: string;
|
|
246
|
-
integrator: string;
|
|
247
|
-
salt: string;
|
|
248
|
-
initial_supply: string;
|
|
249
|
-
num_tokens_to_sell: string;
|
|
250
|
-
numeraire: string;
|
|
251
|
-
token_factory: string;
|
|
252
|
-
token_factory_data: string;
|
|
253
|
-
} | undefined;
|
|
254
|
-
token_address?: string | undefined;
|
|
255
|
-
hook_address?: string | undefined;
|
|
256
|
-
};
|
|
257
|
-
}>;
|
|
258
|
-
400: z.ZodObject<{
|
|
259
|
-
code: z.ZodString;
|
|
260
|
-
message: z.ZodString;
|
|
261
|
-
}, "strip", z.ZodTypeAny, {
|
|
262
|
-
code: string;
|
|
263
|
-
message: string;
|
|
264
|
-
}, {
|
|
265
|
-
code: string;
|
|
266
|
-
message: string;
|
|
267
|
-
}>;
|
|
268
|
-
500: z.ZodObject<{
|
|
269
|
-
code: z.ZodString;
|
|
270
|
-
message: z.ZodString;
|
|
124
|
+
}, "strip", z.ZodTypeAny, {
|
|
125
|
+
query: {
|
|
126
|
+
chainId: number;
|
|
127
|
+
};
|
|
128
|
+
body: {
|
|
129
|
+
token_name: string;
|
|
130
|
+
token_symbol: string;
|
|
131
|
+
debug: boolean;
|
|
132
|
+
token_uri: string;
|
|
133
|
+
agent_address: `0x${string}`;
|
|
134
|
+
category: "builder" | "product";
|
|
135
|
+
numeraire?: `0x${string}` | undefined;
|
|
136
|
+
};
|
|
137
|
+
}, {
|
|
138
|
+
query: {
|
|
139
|
+
chainId?: number | undefined;
|
|
140
|
+
};
|
|
141
|
+
body: {
|
|
142
|
+
token_name: string;
|
|
143
|
+
token_symbol: string;
|
|
144
|
+
agent_address: string;
|
|
145
|
+
numeraire?: string | undefined;
|
|
146
|
+
debug?: boolean | undefined;
|
|
147
|
+
token_uri?: string | undefined;
|
|
148
|
+
category?: "builder" | "product" | undefined;
|
|
149
|
+
};
|
|
150
|
+
}>, z.ZodObject<{
|
|
151
|
+
result: z.ZodObject<{
|
|
152
|
+
params: z.ZodOptional<z.ZodObject<{
|
|
153
|
+
governance_factory: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
154
|
+
governance_factory_data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
155
|
+
pool_initializer: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
156
|
+
pool_initializer_data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
157
|
+
liquidity_migrator: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
158
|
+
liquidity_migrator_data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
159
|
+
integrator: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
160
|
+
salt: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
161
|
+
initial_supply: z.ZodString;
|
|
162
|
+
num_tokens_to_sell: z.ZodString;
|
|
163
|
+
numeraire: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
164
|
+
token_factory: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
165
|
+
token_factory_data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
271
166
|
}, "strip", z.ZodTypeAny, {
|
|
272
|
-
|
|
273
|
-
|
|
167
|
+
governance_factory: `0x${string}`;
|
|
168
|
+
governance_factory_data: `0x${string}`;
|
|
169
|
+
pool_initializer: `0x${string}`;
|
|
170
|
+
pool_initializer_data: `0x${string}`;
|
|
171
|
+
liquidity_migrator: `0x${string}`;
|
|
172
|
+
liquidity_migrator_data: `0x${string}`;
|
|
173
|
+
integrator: `0x${string}`;
|
|
174
|
+
salt: `0x${string}`;
|
|
175
|
+
initial_supply: string;
|
|
176
|
+
num_tokens_to_sell: string;
|
|
177
|
+
numeraire: `0x${string}`;
|
|
178
|
+
token_factory: `0x${string}`;
|
|
179
|
+
token_factory_data: `0x${string}`;
|
|
274
180
|
}, {
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
181
|
+
governance_factory: string;
|
|
182
|
+
governance_factory_data: string;
|
|
183
|
+
pool_initializer: string;
|
|
184
|
+
pool_initializer_data: string;
|
|
185
|
+
liquidity_migrator: string;
|
|
186
|
+
liquidity_migrator_data: string;
|
|
187
|
+
integrator: string;
|
|
188
|
+
salt: string;
|
|
189
|
+
initial_supply: string;
|
|
190
|
+
num_tokens_to_sell: string;
|
|
191
|
+
numeraire: string;
|
|
192
|
+
token_factory: string;
|
|
193
|
+
token_factory_data: string;
|
|
194
|
+
}>>;
|
|
195
|
+
hook_address: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
196
|
+
token_address: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
284
197
|
encoded_payload: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
285
198
|
}, "strip", z.ZodTypeAny, {
|
|
286
199
|
encoded_payload: `0x${string}`;
|
|
200
|
+
params?: {
|
|
201
|
+
governance_factory: `0x${string}`;
|
|
202
|
+
governance_factory_data: `0x${string}`;
|
|
203
|
+
pool_initializer: `0x${string}`;
|
|
204
|
+
pool_initializer_data: `0x${string}`;
|
|
205
|
+
liquidity_migrator: `0x${string}`;
|
|
206
|
+
liquidity_migrator_data: `0x${string}`;
|
|
207
|
+
integrator: `0x${string}`;
|
|
208
|
+
salt: `0x${string}`;
|
|
209
|
+
initial_supply: string;
|
|
210
|
+
num_tokens_to_sell: string;
|
|
211
|
+
numeraire: `0x${string}`;
|
|
212
|
+
token_factory: `0x${string}`;
|
|
213
|
+
token_factory_data: `0x${string}`;
|
|
214
|
+
} | undefined;
|
|
215
|
+
token_address?: `0x${string}` | undefined;
|
|
216
|
+
hook_address?: `0x${string}` | undefined;
|
|
287
217
|
}, {
|
|
288
218
|
encoded_payload: string;
|
|
219
|
+
params?: {
|
|
220
|
+
governance_factory: string;
|
|
221
|
+
governance_factory_data: string;
|
|
222
|
+
pool_initializer: string;
|
|
223
|
+
pool_initializer_data: string;
|
|
224
|
+
liquidity_migrator: string;
|
|
225
|
+
liquidity_migrator_data: string;
|
|
226
|
+
integrator: string;
|
|
227
|
+
salt: string;
|
|
228
|
+
initial_supply: string;
|
|
229
|
+
num_tokens_to_sell: string;
|
|
230
|
+
numeraire: string;
|
|
231
|
+
token_factory: string;
|
|
232
|
+
token_factory_data: string;
|
|
233
|
+
} | undefined;
|
|
234
|
+
token_address?: string | undefined;
|
|
235
|
+
hook_address?: string | undefined;
|
|
289
236
|
}>;
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
message: z.ZodString;
|
|
311
|
-
}, "strip", z.ZodTypeAny, {
|
|
312
|
-
message: string;
|
|
313
|
-
}, {
|
|
314
|
-
message: string;
|
|
315
|
-
}>;
|
|
316
|
-
500: z.ZodObject<{
|
|
317
|
-
message: z.ZodString;
|
|
318
|
-
}, "strip", z.ZodTypeAny, {
|
|
319
|
-
message: string;
|
|
320
|
-
}, {
|
|
321
|
-
message: string;
|
|
322
|
-
}>;
|
|
237
|
+
}, "strip", z.ZodTypeAny, {
|
|
238
|
+
result: {
|
|
239
|
+
encoded_payload: `0x${string}`;
|
|
240
|
+
params?: {
|
|
241
|
+
governance_factory: `0x${string}`;
|
|
242
|
+
governance_factory_data: `0x${string}`;
|
|
243
|
+
pool_initializer: `0x${string}`;
|
|
244
|
+
pool_initializer_data: `0x${string}`;
|
|
245
|
+
liquidity_migrator: `0x${string}`;
|
|
246
|
+
liquidity_migrator_data: `0x${string}`;
|
|
247
|
+
integrator: `0x${string}`;
|
|
248
|
+
salt: `0x${string}`;
|
|
249
|
+
initial_supply: string;
|
|
250
|
+
num_tokens_to_sell: string;
|
|
251
|
+
numeraire: `0x${string}`;
|
|
252
|
+
token_factory: `0x${string}`;
|
|
253
|
+
token_factory_data: `0x${string}`;
|
|
254
|
+
} | undefined;
|
|
255
|
+
token_address?: `0x${string}` | undefined;
|
|
256
|
+
hook_address?: `0x${string}` | undefined;
|
|
323
257
|
};
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
258
|
+
}, {
|
|
259
|
+
result: {
|
|
260
|
+
encoded_payload: string;
|
|
261
|
+
params?: {
|
|
262
|
+
governance_factory: string;
|
|
263
|
+
governance_factory_data: string;
|
|
264
|
+
pool_initializer: string;
|
|
265
|
+
pool_initializer_data: string;
|
|
266
|
+
liquidity_migrator: string;
|
|
267
|
+
liquidity_migrator_data: string;
|
|
268
|
+
integrator: string;
|
|
269
|
+
salt: string;
|
|
270
|
+
initial_supply: string;
|
|
271
|
+
num_tokens_to_sell: string;
|
|
272
|
+
numeraire: string;
|
|
273
|
+
token_factory: string;
|
|
274
|
+
token_factory_data: string;
|
|
275
|
+
} | undefined;
|
|
276
|
+
token_address?: string | undefined;
|
|
277
|
+
hook_address?: string | undefined;
|
|
278
|
+
};
|
|
279
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
280
|
+
broadcastSponsored: import("@orpc/contract", { with: { "resolution-mode": "import" } }).ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
281
|
+
encoded_payload: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
282
|
+
}, "strip", z.ZodTypeAny, {
|
|
283
|
+
encoded_payload: `0x${string}`;
|
|
284
|
+
}, {
|
|
285
|
+
encoded_payload: string;
|
|
286
|
+
}>, z.ZodObject<{
|
|
287
|
+
result: z.ZodObject<{
|
|
288
|
+
transaction_hash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
331
289
|
}, "strip", z.ZodTypeAny, {
|
|
332
|
-
|
|
333
|
-
x_username: string;
|
|
290
|
+
transaction_hash: `0x${string}`;
|
|
334
291
|
}, {
|
|
335
|
-
|
|
336
|
-
x_username: string;
|
|
292
|
+
transaction_hash: string;
|
|
337
293
|
}>;
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
wallet_address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
342
|
-
}, "strip", z.ZodTypeAny, {
|
|
343
|
-
wallet_address: `0x${string}`;
|
|
344
|
-
}, {
|
|
345
|
-
wallet_address: string;
|
|
346
|
-
}>;
|
|
347
|
-
400: z.ZodObject<{
|
|
348
|
-
message: z.ZodString;
|
|
349
|
-
}, "strip", z.ZodTypeAny, {
|
|
350
|
-
message: string;
|
|
351
|
-
}, {
|
|
352
|
-
message: string;
|
|
353
|
-
}>;
|
|
354
|
-
500: z.ZodObject<{
|
|
355
|
-
message: z.ZodString;
|
|
356
|
-
}, "strip", z.ZodTypeAny, {
|
|
357
|
-
message: string;
|
|
358
|
-
}, {
|
|
359
|
-
message: string;
|
|
360
|
-
}>;
|
|
294
|
+
}, "strip", z.ZodTypeAny, {
|
|
295
|
+
result: {
|
|
296
|
+
transaction_hash: `0x${string}`;
|
|
361
297
|
};
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
method: "POST";
|
|
366
|
-
contentType: "multipart/form-data";
|
|
367
|
-
body: z.ZodAny;
|
|
368
|
-
path: "/sponsorship/upload-image";
|
|
369
|
-
responses: {
|
|
370
|
-
200: z.ZodObject<{
|
|
371
|
-
result: z.ZodString;
|
|
372
|
-
}, "strip", z.ZodTypeAny, {
|
|
373
|
-
result: string;
|
|
374
|
-
}, {
|
|
375
|
-
result: string;
|
|
376
|
-
}>;
|
|
377
|
-
400: z.ZodObject<{
|
|
378
|
-
code: z.ZodString;
|
|
379
|
-
message: z.ZodString;
|
|
380
|
-
}, "strip", z.ZodTypeAny, {
|
|
381
|
-
code: string;
|
|
382
|
-
message: string;
|
|
383
|
-
}, {
|
|
384
|
-
code: string;
|
|
385
|
-
message: string;
|
|
386
|
-
}>;
|
|
387
|
-
500: z.ZodObject<{
|
|
388
|
-
code: z.ZodString;
|
|
389
|
-
message: z.ZodString;
|
|
390
|
-
}, "strip", z.ZodTypeAny, {
|
|
391
|
-
code: string;
|
|
392
|
-
message: string;
|
|
393
|
-
}, {
|
|
394
|
-
code: string;
|
|
395
|
-
message: string;
|
|
396
|
-
}>;
|
|
298
|
+
}, {
|
|
299
|
+
result: {
|
|
300
|
+
transaction_hash: string;
|
|
397
301
|
};
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
302
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
303
|
+
getOrCreateXWallet: import("@orpc/contract", { with: { "resolution-mode": "import" } }).ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
304
|
+
x_user_id: z.ZodString;
|
|
305
|
+
x_username: z.ZodString;
|
|
306
|
+
}, "strip", z.ZodTypeAny, {
|
|
307
|
+
x_user_id: string;
|
|
308
|
+
x_username: string;
|
|
309
|
+
}, {
|
|
310
|
+
x_user_id: string;
|
|
311
|
+
x_username: string;
|
|
312
|
+
}>, z.ZodObject<{
|
|
313
|
+
wallet_address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
314
|
+
}, "strip", z.ZodTypeAny, {
|
|
315
|
+
wallet_address: `0x${string}`;
|
|
316
|
+
}, {
|
|
317
|
+
wallet_address: string;
|
|
318
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
319
|
+
sponsorshipUploadImage: import("@orpc/contract", { with: { "resolution-mode": "import" } }).ContractProcedureBuilderWithInputOutput<z.ZodAny, z.ZodObject<{
|
|
320
|
+
result: z.ZodString;
|
|
321
|
+
}, "strip", z.ZodTypeAny, {
|
|
322
|
+
result: string;
|
|
323
|
+
}, {
|
|
324
|
+
result: string;
|
|
325
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
326
|
+
sponsorshipUploadMetadata: import("@orpc/contract", { with: { "resolution-mode": "import" } }).ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
327
|
+
name: z.ZodString;
|
|
328
|
+
description: z.ZodString;
|
|
329
|
+
image_hash: z.ZodString;
|
|
330
|
+
social_links: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
331
|
+
label: z.ZodString;
|
|
332
|
+
url: z.ZodString;
|
|
418
333
|
}, "strip", z.ZodTypeAny, {
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
image_hash: string;
|
|
422
|
-
fee_receiver: string;
|
|
423
|
-
social_links: {
|
|
424
|
-
label: string;
|
|
425
|
-
url: string;
|
|
426
|
-
}[];
|
|
427
|
-
category?: "builder" | "product" | undefined;
|
|
334
|
+
label: string;
|
|
335
|
+
url: string;
|
|
428
336
|
}, {
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
}, "strip", z.ZodTypeAny, {
|
|
462
|
-
code: string;
|
|
463
|
-
message: string;
|
|
464
|
-
}, {
|
|
465
|
-
code: string;
|
|
466
|
-
message: string;
|
|
467
|
-
}>;
|
|
468
|
-
};
|
|
469
|
-
};
|
|
337
|
+
label: string;
|
|
338
|
+
url: string;
|
|
339
|
+
}>, "many">>>;
|
|
340
|
+
fee_receiver: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
341
|
+
category: z.ZodOptional<z.ZodEnum<["builder", "product"]>>;
|
|
342
|
+
}, "strip", z.ZodTypeAny, {
|
|
343
|
+
name: string;
|
|
344
|
+
description: string;
|
|
345
|
+
image_hash: string;
|
|
346
|
+
fee_receiver: string;
|
|
347
|
+
social_links: {
|
|
348
|
+
label: string;
|
|
349
|
+
url: string;
|
|
350
|
+
}[];
|
|
351
|
+
category?: "builder" | "product" | undefined;
|
|
352
|
+
}, {
|
|
353
|
+
name: string;
|
|
354
|
+
description: string;
|
|
355
|
+
image_hash: string;
|
|
356
|
+
fee_receiver?: string | undefined;
|
|
357
|
+
social_links?: {
|
|
358
|
+
label: string;
|
|
359
|
+
url: string;
|
|
360
|
+
}[] | undefined;
|
|
361
|
+
category?: "builder" | "product" | undefined;
|
|
362
|
+
}>, z.ZodObject<{
|
|
363
|
+
result: z.ZodString;
|
|
364
|
+
}, "strip", z.ZodTypeAny, {
|
|
365
|
+
result: string;
|
|
366
|
+
}, {
|
|
367
|
+
result: string;
|
|
368
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
470
369
|
};
|