@0xtorch/core 0.0.20 → 0.0.22
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/.DS_Store +0 -0
- package/_cjs/actions/parsers/default.js +1 -0
- package/_cjs/actions/parsers/default.js.map +1 -1
- package/_cjs/assets/definitions/index.js +3 -1
- package/_cjs/assets/definitions/index.js.map +1 -1
- package/_cjs/assets/definitions/oasys.js +17 -0
- package/_cjs/assets/definitions/oasys.js.map +1 -0
- package/_cjs/assets/index.js +2 -1
- package/_cjs/assets/index.js.map +1 -1
- package/_cjs/assets/schemas/nft.js +14 -2
- package/_cjs/assets/schemas/nft.js.map +1 -1
- package/_cjs/index.js +2 -1
- package/_cjs/index.js.map +1 -1
- package/_esm/actions/parsers/default.js +1 -0
- package/_esm/actions/parsers/default.js.map +1 -1
- package/_esm/assets/definitions/index.js +1 -0
- package/_esm/assets/definitions/index.js.map +1 -1
- package/_esm/assets/definitions/oasys.js +14 -0
- package/_esm/assets/definitions/oasys.js.map +1 -0
- package/_esm/assets/index.js +1 -1
- package/_esm/assets/index.js.map +1 -1
- package/_esm/assets/schemas/nft.js +14 -2
- package/_esm/assets/schemas/nft.js.map +1 -1
- package/_esm/index.js +1 -1
- package/_esm/index.js.map +1 -1
- package/_types/actions/parsers/default.d.ts.map +1 -1
- package/_types/actions/schemas/action.d.ts +5541 -95
- package/_types/actions/schemas/action.d.ts.map +1 -1
- package/_types/actions/schemas/borrow/borrow.d.ts +118 -2
- package/_types/actions/schemas/borrow/borrow.d.ts.map +1 -1
- package/_types/actions/schemas/crossActionBundle.d.ts +402 -6
- package/_types/actions/schemas/crossActionBundle.d.ts.map +1 -1
- package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts +118 -2
- package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts.map +1 -1
- package/_types/actions/schemas/crossReplace/bridgeTo.d.ts +118 -2
- package/_types/actions/schemas/crossReplace/bridgeTo.d.ts.map +1 -1
- package/_types/actions/schemas/crossReplace/crossReplace.d.ts +236 -4
- package/_types/actions/schemas/crossReplace/crossReplace.d.ts.map +1 -1
- package/_types/actions/schemas/crossTrade/crossTrade.d.ts +236 -4
- package/_types/actions/schemas/crossTrade/crossTrade.d.ts.map +1 -1
- package/_types/actions/schemas/default/accountAction.d.ts +459 -9
- package/_types/actions/schemas/default/accountAction.d.ts.map +1 -1
- package/_types/actions/schemas/default/normalAction.d.ts +459 -9
- package/_types/actions/schemas/default/normalAction.d.ts.map +1 -1
- package/_types/actions/schemas/default/transfer.d.ts +422 -10
- package/_types/actions/schemas/default/transfer.d.ts.map +1 -1
- package/_types/actions/schemas/deposit/addLiquidity.d.ts +236 -4
- package/_types/actions/schemas/deposit/addLiquidity.d.ts.map +1 -1
- package/_types/actions/schemas/deposit/deposit.d.ts +118 -2
- package/_types/actions/schemas/deposit/deposit.d.ts.map +1 -1
- package/_types/actions/schemas/deposit/depositWithBond.d.ts +236 -4
- package/_types/actions/schemas/deposit/depositWithBond.d.ts.map +1 -1
- package/_types/actions/schemas/deposit/stake.d.ts +118 -2
- package/_types/actions/schemas/deposit/stake.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/ignore.d.ts +177 -3
- package/_types/actions/schemas/ignore/ignore.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/move.d.ts +177 -3
- package/_types/actions/schemas/ignore/move.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/receiveFromCex.d.ts +118 -2
- package/_types/actions/schemas/ignore/receiveFromCex.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/sendToCex.d.ts +118 -2
- package/_types/actions/schemas/ignore/sendToCex.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/spam.d.ts +236 -4
- package/_types/actions/schemas/ignore/spam.d.ts.map +1 -1
- package/_types/actions/schemas/income/freeMintNft.d.ts +118 -2
- package/_types/actions/schemas/income/freeMintNft.d.ts.map +1 -1
- package/_types/actions/schemas/income/income.d.ts +118 -2
- package/_types/actions/schemas/income/income.d.ts.map +1 -1
- package/_types/actions/schemas/income/swapIncome.d.ts +59 -1
- package/_types/actions/schemas/income/swapIncome.d.ts.map +1 -1
- package/_types/actions/schemas/reduce/reduce.d.ts +59 -1
- package/_types/actions/schemas/reduce/reduce.d.ts.map +1 -1
- package/_types/actions/schemas/repayment/repayment.d.ts +118 -2
- package/_types/actions/schemas/repayment/repayment.d.ts.map +1 -1
- package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts +236 -4
- package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts.map +1 -1
- package/_types/actions/schemas/replace/replace.d.ts +236 -4
- package/_types/actions/schemas/replace/replace.d.ts.map +1 -1
- package/_types/actions/schemas/replace/swapNft.d.ts +236 -4
- package/_types/actions/schemas/replace/swapNft.d.ts.map +1 -1
- package/_types/actions/schemas/trade/buyNft.d.ts +118 -2
- package/_types/actions/schemas/trade/buyNft.d.ts.map +1 -1
- package/_types/actions/schemas/trade/mintNft.d.ts +118 -2
- package/_types/actions/schemas/trade/mintNft.d.ts.map +1 -1
- package/_types/actions/schemas/trade/sellNft.d.ts +118 -2
- package/_types/actions/schemas/trade/sellNft.d.ts.map +1 -1
- package/_types/actions/schemas/trade/trade.d.ts +236 -4
- package/_types/actions/schemas/trade/trade.d.ts.map +1 -1
- package/_types/actions/schemas/transfer/swapTransfer.d.ts +59 -1
- package/_types/actions/schemas/transfer/swapTransfer.d.ts.map +1 -1
- package/_types/actions/schemas/transfer/transfer.d.ts +236 -4
- package/_types/actions/schemas/transfer/transfer.d.ts.map +1 -1
- package/_types/actions/schemas/valuedown/valuedown.d.ts +204 -4
- package/_types/actions/schemas/valuedown/valuedown.d.ts.map +1 -1
- package/_types/actions/schemas/valueup/valueup.d.ts +204 -4
- package/_types/actions/schemas/valueup/valueup.d.ts.map +1 -1
- package/_types/actions/schemas/withdraw/removeLiquidity.d.ts +236 -4
- package/_types/actions/schemas/withdraw/removeLiquidity.d.ts.map +1 -1
- package/_types/actions/schemas/withdraw/unstake.d.ts +118 -2
- package/_types/actions/schemas/withdraw/unstake.d.ts.map +1 -1
- package/_types/actions/schemas/withdraw/withdraw.d.ts +118 -2
- package/_types/actions/schemas/withdraw/withdraw.d.ts.map +1 -1
- package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts +236 -4
- package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts.map +1 -1
- package/_types/actions/utils.d.ts +12 -0
- package/_types/actions/utils.d.ts.map +1 -1
- package/_types/assets/definitions/index.d.ts +1 -0
- package/_types/assets/definitions/index.d.ts.map +1 -1
- package/_types/assets/definitions/oasys.d.ts +13 -0
- package/_types/assets/definitions/oasys.d.ts.map +1 -0
- package/_types/assets/index.d.ts +1 -1
- package/_types/assets/index.d.ts.map +1 -1
- package/_types/assets/schemas/asset.d.ts +27 -1
- package/_types/assets/schemas/asset.d.ts.map +1 -1
- package/_types/assets/schemas/nft.d.ts +27 -1
- package/_types/assets/schemas/nft.d.ts.map +1 -1
- package/_types/index.d.ts +1 -1
- package/_types/index.d.ts.map +1 -1
- package/_types/setAccountActionPrices.d.ts +204 -0
- package/_types/setAccountActionPrices.d.ts.map +1 -1
- package/actions/.DS_Store +0 -0
- package/actions/parsers/default.ts +1 -0
- package/assets/.DS_Store +0 -0
- package/assets/definitions/index.ts +1 -0
- package/assets/definitions/oasys.ts +14 -0
- package/assets/index.ts +1 -0
- package/assets/schemas/nft.ts +16 -4
- package/index.ts +1 -0
- package/package.json +1 -1
|
@@ -86,18 +86,48 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
86
86
|
decimals: number;
|
|
87
87
|
}>;
|
|
88
88
|
direction: z.ZodLiteral<"in">;
|
|
89
|
-
asset: z.ZodObject<{
|
|
89
|
+
asset: z.ZodEffects<z.ZodObject<{
|
|
90
90
|
type: z.ZodLiteral<"Nft">;
|
|
91
91
|
id: z.ZodString;
|
|
92
|
+
name: z.ZodOptional<z.ZodString>;
|
|
93
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
94
|
+
image: z.ZodOptional<z.ZodString>;
|
|
95
|
+
metadata: z.ZodOptional<z.ZodString>;
|
|
92
96
|
}, "strip", z.ZodTypeAny, {
|
|
93
97
|
type: "Nft";
|
|
94
98
|
id: string;
|
|
99
|
+
name?: string | undefined;
|
|
100
|
+
symbol?: string | undefined;
|
|
101
|
+
image?: string | undefined;
|
|
102
|
+
metadata?: string | undefined;
|
|
95
103
|
}, {
|
|
96
104
|
type: "Nft";
|
|
97
105
|
id: string;
|
|
106
|
+
name?: string | undefined;
|
|
107
|
+
symbol?: string | undefined;
|
|
108
|
+
image?: string | undefined;
|
|
109
|
+
metadata?: string | undefined;
|
|
110
|
+
}>, {
|
|
111
|
+
name: string | undefined;
|
|
112
|
+
symbol: string | undefined;
|
|
113
|
+
image: string | undefined;
|
|
114
|
+
metadata: string | undefined;
|
|
115
|
+
type: "Nft";
|
|
116
|
+
id: string;
|
|
117
|
+
}, {
|
|
118
|
+
type: "Nft";
|
|
119
|
+
id: string;
|
|
120
|
+
name?: string | undefined;
|
|
121
|
+
symbol?: string | undefined;
|
|
122
|
+
image?: string | undefined;
|
|
123
|
+
metadata?: string | undefined;
|
|
98
124
|
}>;
|
|
99
125
|
}, "strip", z.ZodTypeAny, {
|
|
100
126
|
asset: {
|
|
127
|
+
name: string | undefined;
|
|
128
|
+
symbol: string | undefined;
|
|
129
|
+
image: string | undefined;
|
|
130
|
+
metadata: string | undefined;
|
|
101
131
|
type: "Nft";
|
|
102
132
|
id: string;
|
|
103
133
|
};
|
|
@@ -121,6 +151,10 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
121
151
|
asset: {
|
|
122
152
|
type: "Nft";
|
|
123
153
|
id: string;
|
|
154
|
+
name?: string | undefined;
|
|
155
|
+
symbol?: string | undefined;
|
|
156
|
+
image?: string | undefined;
|
|
157
|
+
metadata?: string | undefined;
|
|
124
158
|
};
|
|
125
159
|
amount: {
|
|
126
160
|
value: bigint;
|
|
@@ -151,6 +185,10 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
151
185
|
timestamp: number;
|
|
152
186
|
} | undefined;
|
|
153
187
|
asset: {
|
|
188
|
+
name: string | undefined;
|
|
189
|
+
symbol: string | undefined;
|
|
190
|
+
image: string | undefined;
|
|
191
|
+
metadata: string | undefined;
|
|
154
192
|
type: "Nft";
|
|
155
193
|
id: string;
|
|
156
194
|
};
|
|
@@ -163,6 +201,10 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
163
201
|
asset: {
|
|
164
202
|
type: "Nft";
|
|
165
203
|
id: string;
|
|
204
|
+
name?: string | undefined;
|
|
205
|
+
symbol?: string | undefined;
|
|
206
|
+
image?: string | undefined;
|
|
207
|
+
metadata?: string | undefined;
|
|
166
208
|
};
|
|
167
209
|
amount: {
|
|
168
210
|
value: bigint;
|
|
@@ -225,18 +267,48 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
225
267
|
decimals: number;
|
|
226
268
|
}>;
|
|
227
269
|
direction: z.ZodLiteral<"out">;
|
|
228
|
-
asset: z.ZodObject<{
|
|
270
|
+
asset: z.ZodEffects<z.ZodObject<{
|
|
229
271
|
type: z.ZodLiteral<"Nft">;
|
|
230
272
|
id: z.ZodString;
|
|
273
|
+
name: z.ZodOptional<z.ZodString>;
|
|
274
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
275
|
+
image: z.ZodOptional<z.ZodString>;
|
|
276
|
+
metadata: z.ZodOptional<z.ZodString>;
|
|
231
277
|
}, "strip", z.ZodTypeAny, {
|
|
232
278
|
type: "Nft";
|
|
233
279
|
id: string;
|
|
280
|
+
name?: string | undefined;
|
|
281
|
+
symbol?: string | undefined;
|
|
282
|
+
image?: string | undefined;
|
|
283
|
+
metadata?: string | undefined;
|
|
284
|
+
}, {
|
|
285
|
+
type: "Nft";
|
|
286
|
+
id: string;
|
|
287
|
+
name?: string | undefined;
|
|
288
|
+
symbol?: string | undefined;
|
|
289
|
+
image?: string | undefined;
|
|
290
|
+
metadata?: string | undefined;
|
|
291
|
+
}>, {
|
|
292
|
+
name: string | undefined;
|
|
293
|
+
symbol: string | undefined;
|
|
294
|
+
image: string | undefined;
|
|
295
|
+
metadata: string | undefined;
|
|
296
|
+
type: "Nft";
|
|
297
|
+
id: string;
|
|
234
298
|
}, {
|
|
235
299
|
type: "Nft";
|
|
236
300
|
id: string;
|
|
301
|
+
name?: string | undefined;
|
|
302
|
+
symbol?: string | undefined;
|
|
303
|
+
image?: string | undefined;
|
|
304
|
+
metadata?: string | undefined;
|
|
237
305
|
}>;
|
|
238
306
|
}, "strip", z.ZodTypeAny, {
|
|
239
307
|
asset: {
|
|
308
|
+
name: string | undefined;
|
|
309
|
+
symbol: string | undefined;
|
|
310
|
+
image: string | undefined;
|
|
311
|
+
metadata: string | undefined;
|
|
240
312
|
type: "Nft";
|
|
241
313
|
id: string;
|
|
242
314
|
};
|
|
@@ -260,6 +332,10 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
260
332
|
asset: {
|
|
261
333
|
type: "Nft";
|
|
262
334
|
id: string;
|
|
335
|
+
name?: string | undefined;
|
|
336
|
+
symbol?: string | undefined;
|
|
337
|
+
image?: string | undefined;
|
|
338
|
+
metadata?: string | undefined;
|
|
263
339
|
};
|
|
264
340
|
amount: {
|
|
265
341
|
value: bigint;
|
|
@@ -290,6 +366,10 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
290
366
|
timestamp: number;
|
|
291
367
|
} | undefined;
|
|
292
368
|
asset: {
|
|
369
|
+
name: string | undefined;
|
|
370
|
+
symbol: string | undefined;
|
|
371
|
+
image: string | undefined;
|
|
372
|
+
metadata: string | undefined;
|
|
293
373
|
type: "Nft";
|
|
294
374
|
id: string;
|
|
295
375
|
};
|
|
@@ -302,6 +382,10 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
302
382
|
asset: {
|
|
303
383
|
type: "Nft";
|
|
304
384
|
id: string;
|
|
385
|
+
name?: string | undefined;
|
|
386
|
+
symbol?: string | undefined;
|
|
387
|
+
image?: string | undefined;
|
|
388
|
+
metadata?: string | undefined;
|
|
305
389
|
};
|
|
306
390
|
amount: {
|
|
307
391
|
value: bigint;
|
|
@@ -338,6 +422,10 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
338
422
|
timestamp: number;
|
|
339
423
|
} | undefined;
|
|
340
424
|
asset: {
|
|
425
|
+
name: string | undefined;
|
|
426
|
+
symbol: string | undefined;
|
|
427
|
+
image: string | undefined;
|
|
428
|
+
metadata: string | undefined;
|
|
341
429
|
type: "Nft";
|
|
342
430
|
id: string;
|
|
343
431
|
};
|
|
@@ -359,6 +447,10 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
359
447
|
timestamp: number;
|
|
360
448
|
} | undefined;
|
|
361
449
|
asset: {
|
|
450
|
+
name: string | undefined;
|
|
451
|
+
symbol: string | undefined;
|
|
452
|
+
image: string | undefined;
|
|
453
|
+
metadata: string | undefined;
|
|
362
454
|
type: "Nft";
|
|
363
455
|
id: string;
|
|
364
456
|
};
|
|
@@ -386,6 +478,10 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
386
478
|
asset: {
|
|
387
479
|
type: "Nft";
|
|
388
480
|
id: string;
|
|
481
|
+
name?: string | undefined;
|
|
482
|
+
symbol?: string | undefined;
|
|
483
|
+
image?: string | undefined;
|
|
484
|
+
metadata?: string | undefined;
|
|
389
485
|
};
|
|
390
486
|
amount: {
|
|
391
487
|
value: bigint;
|
|
@@ -407,6 +503,10 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
407
503
|
asset: {
|
|
408
504
|
type: "Nft";
|
|
409
505
|
id: string;
|
|
506
|
+
name?: string | undefined;
|
|
507
|
+
symbol?: string | undefined;
|
|
508
|
+
image?: string | undefined;
|
|
509
|
+
metadata?: string | undefined;
|
|
410
510
|
};
|
|
411
511
|
amount: {
|
|
412
512
|
value: bigint;
|
|
@@ -461,6 +561,10 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
461
561
|
timestamp: number;
|
|
462
562
|
} | undefined;
|
|
463
563
|
asset: {
|
|
564
|
+
name: string | undefined;
|
|
565
|
+
symbol: string | undefined;
|
|
566
|
+
image: string | undefined;
|
|
567
|
+
metadata: string | undefined;
|
|
464
568
|
type: "Nft";
|
|
465
569
|
id: string;
|
|
466
570
|
};
|
|
@@ -482,6 +586,10 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
482
586
|
timestamp: number;
|
|
483
587
|
} | undefined;
|
|
484
588
|
asset: {
|
|
589
|
+
name: string | undefined;
|
|
590
|
+
symbol: string | undefined;
|
|
591
|
+
image: string | undefined;
|
|
592
|
+
metadata: string | undefined;
|
|
485
593
|
type: "Nft";
|
|
486
594
|
id: string;
|
|
487
595
|
};
|
|
@@ -500,6 +608,10 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
500
608
|
asset: {
|
|
501
609
|
type: "Nft";
|
|
502
610
|
id: string;
|
|
611
|
+
name?: string | undefined;
|
|
612
|
+
symbol?: string | undefined;
|
|
613
|
+
image?: string | undefined;
|
|
614
|
+
metadata?: string | undefined;
|
|
503
615
|
};
|
|
504
616
|
amount: {
|
|
505
617
|
value: bigint;
|
|
@@ -521,6 +633,10 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
521
633
|
asset: {
|
|
522
634
|
type: "Nft";
|
|
523
635
|
id: string;
|
|
636
|
+
name?: string | undefined;
|
|
637
|
+
symbol?: string | undefined;
|
|
638
|
+
image?: string | undefined;
|
|
639
|
+
metadata?: string | undefined;
|
|
524
640
|
};
|
|
525
641
|
amount: {
|
|
526
642
|
value: bigint;
|
|
@@ -638,18 +754,48 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
638
754
|
decimals: number;
|
|
639
755
|
}>;
|
|
640
756
|
direction: z.ZodLiteral<"in">;
|
|
641
|
-
asset: z.ZodObject<{
|
|
757
|
+
asset: z.ZodEffects<z.ZodObject<{
|
|
642
758
|
type: z.ZodLiteral<"Nft">;
|
|
643
759
|
id: z.ZodString;
|
|
760
|
+
name: z.ZodOptional<z.ZodString>;
|
|
761
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
762
|
+
image: z.ZodOptional<z.ZodString>;
|
|
763
|
+
metadata: z.ZodOptional<z.ZodString>;
|
|
644
764
|
}, "strip", z.ZodTypeAny, {
|
|
645
765
|
type: "Nft";
|
|
646
766
|
id: string;
|
|
767
|
+
name?: string | undefined;
|
|
768
|
+
symbol?: string | undefined;
|
|
769
|
+
image?: string | undefined;
|
|
770
|
+
metadata?: string | undefined;
|
|
647
771
|
}, {
|
|
648
772
|
type: "Nft";
|
|
649
773
|
id: string;
|
|
774
|
+
name?: string | undefined;
|
|
775
|
+
symbol?: string | undefined;
|
|
776
|
+
image?: string | undefined;
|
|
777
|
+
metadata?: string | undefined;
|
|
778
|
+
}>, {
|
|
779
|
+
name: string | undefined;
|
|
780
|
+
symbol: string | undefined;
|
|
781
|
+
image: string | undefined;
|
|
782
|
+
metadata: string | undefined;
|
|
783
|
+
type: "Nft";
|
|
784
|
+
id: string;
|
|
785
|
+
}, {
|
|
786
|
+
type: "Nft";
|
|
787
|
+
id: string;
|
|
788
|
+
name?: string | undefined;
|
|
789
|
+
symbol?: string | undefined;
|
|
790
|
+
image?: string | undefined;
|
|
791
|
+
metadata?: string | undefined;
|
|
650
792
|
}>;
|
|
651
793
|
}, "strip", z.ZodTypeAny, {
|
|
652
794
|
asset: {
|
|
795
|
+
name: string | undefined;
|
|
796
|
+
symbol: string | undefined;
|
|
797
|
+
image: string | undefined;
|
|
798
|
+
metadata: string | undefined;
|
|
653
799
|
type: "Nft";
|
|
654
800
|
id: string;
|
|
655
801
|
};
|
|
@@ -673,6 +819,10 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
673
819
|
asset: {
|
|
674
820
|
type: "Nft";
|
|
675
821
|
id: string;
|
|
822
|
+
name?: string | undefined;
|
|
823
|
+
symbol?: string | undefined;
|
|
824
|
+
image?: string | undefined;
|
|
825
|
+
metadata?: string | undefined;
|
|
676
826
|
};
|
|
677
827
|
amount: {
|
|
678
828
|
value: bigint;
|
|
@@ -703,6 +853,10 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
703
853
|
timestamp: number;
|
|
704
854
|
} | undefined;
|
|
705
855
|
asset: {
|
|
856
|
+
name: string | undefined;
|
|
857
|
+
symbol: string | undefined;
|
|
858
|
+
image: string | undefined;
|
|
859
|
+
metadata: string | undefined;
|
|
706
860
|
type: "Nft";
|
|
707
861
|
id: string;
|
|
708
862
|
};
|
|
@@ -715,6 +869,10 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
715
869
|
asset: {
|
|
716
870
|
type: "Nft";
|
|
717
871
|
id: string;
|
|
872
|
+
name?: string | undefined;
|
|
873
|
+
symbol?: string | undefined;
|
|
874
|
+
image?: string | undefined;
|
|
875
|
+
metadata?: string | undefined;
|
|
718
876
|
};
|
|
719
877
|
amount: {
|
|
720
878
|
value: bigint;
|
|
@@ -777,18 +935,48 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
777
935
|
decimals: number;
|
|
778
936
|
}>;
|
|
779
937
|
direction: z.ZodLiteral<"out">;
|
|
780
|
-
asset: z.ZodObject<{
|
|
938
|
+
asset: z.ZodEffects<z.ZodObject<{
|
|
781
939
|
type: z.ZodLiteral<"Nft">;
|
|
782
940
|
id: z.ZodString;
|
|
941
|
+
name: z.ZodOptional<z.ZodString>;
|
|
942
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
943
|
+
image: z.ZodOptional<z.ZodString>;
|
|
944
|
+
metadata: z.ZodOptional<z.ZodString>;
|
|
783
945
|
}, "strip", z.ZodTypeAny, {
|
|
784
946
|
type: "Nft";
|
|
785
947
|
id: string;
|
|
948
|
+
name?: string | undefined;
|
|
949
|
+
symbol?: string | undefined;
|
|
950
|
+
image?: string | undefined;
|
|
951
|
+
metadata?: string | undefined;
|
|
952
|
+
}, {
|
|
953
|
+
type: "Nft";
|
|
954
|
+
id: string;
|
|
955
|
+
name?: string | undefined;
|
|
956
|
+
symbol?: string | undefined;
|
|
957
|
+
image?: string | undefined;
|
|
958
|
+
metadata?: string | undefined;
|
|
959
|
+
}>, {
|
|
960
|
+
name: string | undefined;
|
|
961
|
+
symbol: string | undefined;
|
|
962
|
+
image: string | undefined;
|
|
963
|
+
metadata: string | undefined;
|
|
964
|
+
type: "Nft";
|
|
965
|
+
id: string;
|
|
786
966
|
}, {
|
|
787
967
|
type: "Nft";
|
|
788
968
|
id: string;
|
|
969
|
+
name?: string | undefined;
|
|
970
|
+
symbol?: string | undefined;
|
|
971
|
+
image?: string | undefined;
|
|
972
|
+
metadata?: string | undefined;
|
|
789
973
|
}>;
|
|
790
974
|
}, "strip", z.ZodTypeAny, {
|
|
791
975
|
asset: {
|
|
976
|
+
name: string | undefined;
|
|
977
|
+
symbol: string | undefined;
|
|
978
|
+
image: string | undefined;
|
|
979
|
+
metadata: string | undefined;
|
|
792
980
|
type: "Nft";
|
|
793
981
|
id: string;
|
|
794
982
|
};
|
|
@@ -812,6 +1000,10 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
812
1000
|
asset: {
|
|
813
1001
|
type: "Nft";
|
|
814
1002
|
id: string;
|
|
1003
|
+
name?: string | undefined;
|
|
1004
|
+
symbol?: string | undefined;
|
|
1005
|
+
image?: string | undefined;
|
|
1006
|
+
metadata?: string | undefined;
|
|
815
1007
|
};
|
|
816
1008
|
amount: {
|
|
817
1009
|
value: bigint;
|
|
@@ -842,6 +1034,10 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
842
1034
|
timestamp: number;
|
|
843
1035
|
} | undefined;
|
|
844
1036
|
asset: {
|
|
1037
|
+
name: string | undefined;
|
|
1038
|
+
symbol: string | undefined;
|
|
1039
|
+
image: string | undefined;
|
|
1040
|
+
metadata: string | undefined;
|
|
845
1041
|
type: "Nft";
|
|
846
1042
|
id: string;
|
|
847
1043
|
};
|
|
@@ -854,6 +1050,10 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
854
1050
|
asset: {
|
|
855
1051
|
type: "Nft";
|
|
856
1052
|
id: string;
|
|
1053
|
+
name?: string | undefined;
|
|
1054
|
+
symbol?: string | undefined;
|
|
1055
|
+
image?: string | undefined;
|
|
1056
|
+
metadata?: string | undefined;
|
|
857
1057
|
};
|
|
858
1058
|
amount: {
|
|
859
1059
|
value: bigint;
|
|
@@ -892,6 +1092,10 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
892
1092
|
timestamp: number;
|
|
893
1093
|
} | undefined;
|
|
894
1094
|
asset: {
|
|
1095
|
+
name: string | undefined;
|
|
1096
|
+
symbol: string | undefined;
|
|
1097
|
+
image: string | undefined;
|
|
1098
|
+
metadata: string | undefined;
|
|
895
1099
|
type: "Nft";
|
|
896
1100
|
id: string;
|
|
897
1101
|
};
|
|
@@ -913,6 +1117,10 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
913
1117
|
timestamp: number;
|
|
914
1118
|
} | undefined;
|
|
915
1119
|
asset: {
|
|
1120
|
+
name: string | undefined;
|
|
1121
|
+
symbol: string | undefined;
|
|
1122
|
+
image: string | undefined;
|
|
1123
|
+
metadata: string | undefined;
|
|
916
1124
|
type: "Nft";
|
|
917
1125
|
id: string;
|
|
918
1126
|
};
|
|
@@ -942,6 +1150,10 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
942
1150
|
asset: {
|
|
943
1151
|
type: "Nft";
|
|
944
1152
|
id: string;
|
|
1153
|
+
name?: string | undefined;
|
|
1154
|
+
symbol?: string | undefined;
|
|
1155
|
+
image?: string | undefined;
|
|
1156
|
+
metadata?: string | undefined;
|
|
945
1157
|
};
|
|
946
1158
|
amount: {
|
|
947
1159
|
value: bigint;
|
|
@@ -963,6 +1175,10 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
963
1175
|
asset: {
|
|
964
1176
|
type: "Nft";
|
|
965
1177
|
id: string;
|
|
1178
|
+
name?: string | undefined;
|
|
1179
|
+
symbol?: string | undefined;
|
|
1180
|
+
image?: string | undefined;
|
|
1181
|
+
metadata?: string | undefined;
|
|
966
1182
|
};
|
|
967
1183
|
amount: {
|
|
968
1184
|
value: bigint;
|
|
@@ -1019,6 +1235,10 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1019
1235
|
timestamp: number;
|
|
1020
1236
|
} | undefined;
|
|
1021
1237
|
asset: {
|
|
1238
|
+
name: string | undefined;
|
|
1239
|
+
symbol: string | undefined;
|
|
1240
|
+
image: string | undefined;
|
|
1241
|
+
metadata: string | undefined;
|
|
1022
1242
|
type: "Nft";
|
|
1023
1243
|
id: string;
|
|
1024
1244
|
};
|
|
@@ -1040,6 +1260,10 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1040
1260
|
timestamp: number;
|
|
1041
1261
|
} | undefined;
|
|
1042
1262
|
asset: {
|
|
1263
|
+
name: string | undefined;
|
|
1264
|
+
symbol: string | undefined;
|
|
1265
|
+
image: string | undefined;
|
|
1266
|
+
metadata: string | undefined;
|
|
1043
1267
|
type: "Nft";
|
|
1044
1268
|
id: string;
|
|
1045
1269
|
};
|
|
@@ -1060,6 +1284,10 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1060
1284
|
asset: {
|
|
1061
1285
|
type: "Nft";
|
|
1062
1286
|
id: string;
|
|
1287
|
+
name?: string | undefined;
|
|
1288
|
+
symbol?: string | undefined;
|
|
1289
|
+
image?: string | undefined;
|
|
1290
|
+
metadata?: string | undefined;
|
|
1063
1291
|
};
|
|
1064
1292
|
amount: {
|
|
1065
1293
|
value: bigint;
|
|
@@ -1081,6 +1309,10 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1081
1309
|
asset: {
|
|
1082
1310
|
type: "Nft";
|
|
1083
1311
|
id: string;
|
|
1312
|
+
name?: string | undefined;
|
|
1313
|
+
symbol?: string | undefined;
|
|
1314
|
+
image?: string | undefined;
|
|
1315
|
+
metadata?: string | undefined;
|
|
1084
1316
|
};
|
|
1085
1317
|
amount: {
|
|
1086
1318
|
value: bigint;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swapNft.d.ts","sourceRoot":"","sources":["../../../../actions/schemas/replace/swapNft.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAQvB,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"swapNft.d.ts","sourceRoot":"","sources":["../../../../actions/schemas/replace/swapNft.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAQvB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASjC,CAAA;AAEL,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASlC,CAAA"}
|