@0xtorch/core 0.0.21 → 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/_cjs/actions/parsers/default.js +1 -0
- package/_cjs/actions/parsers/default.js.map +1 -1
- package/_cjs/assets/schemas/nft.js +14 -2
- package/_cjs/assets/schemas/nft.js.map +1 -1
- package/_esm/actions/parsers/default.js +1 -0
- package/_esm/actions/parsers/default.js.map +1 -1
- package/_esm/assets/schemas/nft.js +14 -2
- package/_esm/assets/schemas/nft.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/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/setAccountActionPrices.d.ts +204 -0
- package/_types/setAccountActionPrices.d.ts.map +1 -1
- package/actions/parsers/default.ts +1 -0
- package/assets/schemas/nft.ts +16 -4
- package/package.json +1 -1
|
@@ -66,6 +66,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
66
66
|
timestamp: number;
|
|
67
67
|
} | undefined;
|
|
68
68
|
asset: {
|
|
69
|
+
name: string | undefined;
|
|
70
|
+
symbol: string | undefined;
|
|
71
|
+
image: string | undefined;
|
|
72
|
+
metadata: string | undefined;
|
|
69
73
|
type: "Nft";
|
|
70
74
|
id: string;
|
|
71
75
|
};
|
|
@@ -137,6 +141,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
137
141
|
timestamp: number;
|
|
138
142
|
} | undefined;
|
|
139
143
|
asset: {
|
|
144
|
+
name: string | undefined;
|
|
145
|
+
symbol: string | undefined;
|
|
146
|
+
image: string | undefined;
|
|
147
|
+
metadata: string | undefined;
|
|
140
148
|
type: "Nft";
|
|
141
149
|
id: string;
|
|
142
150
|
};
|
|
@@ -209,6 +217,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
209
217
|
timestamp: number;
|
|
210
218
|
} | undefined;
|
|
211
219
|
asset: {
|
|
220
|
+
name: string | undefined;
|
|
221
|
+
symbol: string | undefined;
|
|
222
|
+
image: string | undefined;
|
|
223
|
+
metadata: string | undefined;
|
|
212
224
|
type: "Nft";
|
|
213
225
|
id: string;
|
|
214
226
|
};
|
|
@@ -269,6 +281,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
269
281
|
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
270
282
|
name: string;
|
|
271
283
|
} | {
|
|
284
|
+
name: string | undefined;
|
|
285
|
+
symbol: string | undefined;
|
|
286
|
+
image: string | undefined;
|
|
287
|
+
metadata: string | undefined;
|
|
272
288
|
type: "Nft";
|
|
273
289
|
id: string;
|
|
274
290
|
};
|
|
@@ -310,6 +326,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
310
326
|
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
311
327
|
name: string;
|
|
312
328
|
} | {
|
|
329
|
+
name: string | undefined;
|
|
330
|
+
symbol: string | undefined;
|
|
331
|
+
image: string | undefined;
|
|
332
|
+
metadata: string | undefined;
|
|
313
333
|
type: "Nft";
|
|
314
334
|
id: string;
|
|
315
335
|
};
|
|
@@ -370,6 +390,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
370
390
|
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
371
391
|
name: string;
|
|
372
392
|
} | {
|
|
393
|
+
name: string | undefined;
|
|
394
|
+
symbol: string | undefined;
|
|
395
|
+
image: string | undefined;
|
|
396
|
+
metadata: string | undefined;
|
|
373
397
|
type: "Nft";
|
|
374
398
|
id: string;
|
|
375
399
|
};
|
|
@@ -411,6 +435,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
411
435
|
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
412
436
|
name: string;
|
|
413
437
|
} | {
|
|
438
|
+
name: string | undefined;
|
|
439
|
+
symbol: string | undefined;
|
|
440
|
+
image: string | undefined;
|
|
441
|
+
metadata: string | undefined;
|
|
414
442
|
type: "Nft";
|
|
415
443
|
id: string;
|
|
416
444
|
};
|
|
@@ -483,6 +511,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
483
511
|
timestamp: number;
|
|
484
512
|
} | undefined;
|
|
485
513
|
asset: {
|
|
514
|
+
name: string | undefined;
|
|
515
|
+
symbol: string | undefined;
|
|
516
|
+
image: string | undefined;
|
|
517
|
+
metadata: string | undefined;
|
|
486
518
|
type: "Nft";
|
|
487
519
|
id: string;
|
|
488
520
|
};
|
|
@@ -536,6 +568,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
536
568
|
timestamp: number;
|
|
537
569
|
} | undefined;
|
|
538
570
|
asset: {
|
|
571
|
+
name: string | undefined;
|
|
572
|
+
symbol: string | undefined;
|
|
573
|
+
image: string | undefined;
|
|
574
|
+
metadata: string | undefined;
|
|
539
575
|
type: "Nft";
|
|
540
576
|
id: string;
|
|
541
577
|
};
|
|
@@ -607,6 +643,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
607
643
|
timestamp: number;
|
|
608
644
|
} | undefined;
|
|
609
645
|
asset: {
|
|
646
|
+
name: string | undefined;
|
|
647
|
+
symbol: string | undefined;
|
|
648
|
+
image: string | undefined;
|
|
649
|
+
metadata: string | undefined;
|
|
610
650
|
type: "Nft";
|
|
611
651
|
id: string;
|
|
612
652
|
};
|
|
@@ -678,6 +718,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
678
718
|
timestamp: number;
|
|
679
719
|
} | undefined;
|
|
680
720
|
asset: {
|
|
721
|
+
name: string | undefined;
|
|
722
|
+
symbol: string | undefined;
|
|
723
|
+
image: string | undefined;
|
|
724
|
+
metadata: string | undefined;
|
|
681
725
|
type: "Nft";
|
|
682
726
|
id: string;
|
|
683
727
|
};
|
|
@@ -731,6 +775,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
731
775
|
timestamp: number;
|
|
732
776
|
} | undefined;
|
|
733
777
|
asset: {
|
|
778
|
+
name: string | undefined;
|
|
779
|
+
symbol: string | undefined;
|
|
780
|
+
image: string | undefined;
|
|
781
|
+
metadata: string | undefined;
|
|
734
782
|
type: "Nft";
|
|
735
783
|
id: string;
|
|
736
784
|
};
|
|
@@ -802,6 +850,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
802
850
|
timestamp: number;
|
|
803
851
|
} | undefined;
|
|
804
852
|
asset: {
|
|
853
|
+
name: string | undefined;
|
|
854
|
+
symbol: string | undefined;
|
|
855
|
+
image: string | undefined;
|
|
856
|
+
metadata: string | undefined;
|
|
805
857
|
type: "Nft";
|
|
806
858
|
id: string;
|
|
807
859
|
};
|
|
@@ -1017,6 +1069,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
1017
1069
|
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
1018
1070
|
name: string;
|
|
1019
1071
|
} | {
|
|
1072
|
+
name: string | undefined;
|
|
1073
|
+
symbol: string | undefined;
|
|
1074
|
+
image: string | undefined;
|
|
1075
|
+
metadata: string | undefined;
|
|
1020
1076
|
type: "Nft";
|
|
1021
1077
|
id: string;
|
|
1022
1078
|
};
|
|
@@ -1058,6 +1114,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
1058
1114
|
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
1059
1115
|
name: string;
|
|
1060
1116
|
} | {
|
|
1117
|
+
name: string | undefined;
|
|
1118
|
+
symbol: string | undefined;
|
|
1119
|
+
image: string | undefined;
|
|
1120
|
+
metadata: string | undefined;
|
|
1061
1121
|
type: "Nft";
|
|
1062
1122
|
id: string;
|
|
1063
1123
|
};
|
|
@@ -1099,6 +1159,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
1099
1159
|
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
1100
1160
|
name: string;
|
|
1101
1161
|
} | {
|
|
1162
|
+
name: string | undefined;
|
|
1163
|
+
symbol: string | undefined;
|
|
1164
|
+
image: string | undefined;
|
|
1165
|
+
metadata: string | undefined;
|
|
1102
1166
|
type: "Nft";
|
|
1103
1167
|
id: string;
|
|
1104
1168
|
};
|
|
@@ -1157,6 +1221,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
1157
1221
|
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
1158
1222
|
name: string;
|
|
1159
1223
|
} | {
|
|
1224
|
+
name: string | undefined;
|
|
1225
|
+
symbol: string | undefined;
|
|
1226
|
+
image: string | undefined;
|
|
1227
|
+
metadata: string | undefined;
|
|
1160
1228
|
type: "Nft";
|
|
1161
1229
|
id: string;
|
|
1162
1230
|
};
|
|
@@ -1198,6 +1266,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
1198
1266
|
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
1199
1267
|
name: string;
|
|
1200
1268
|
} | {
|
|
1269
|
+
name: string | undefined;
|
|
1270
|
+
symbol: string | undefined;
|
|
1271
|
+
image: string | undefined;
|
|
1272
|
+
metadata: string | undefined;
|
|
1201
1273
|
type: "Nft";
|
|
1202
1274
|
id: string;
|
|
1203
1275
|
};
|
|
@@ -1239,6 +1311,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
1239
1311
|
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
1240
1312
|
name: string;
|
|
1241
1313
|
} | {
|
|
1314
|
+
name: string | undefined;
|
|
1315
|
+
symbol: string | undefined;
|
|
1316
|
+
image: string | undefined;
|
|
1317
|
+
metadata: string | undefined;
|
|
1242
1318
|
type: "Nft";
|
|
1243
1319
|
id: string;
|
|
1244
1320
|
};
|
|
@@ -1309,6 +1385,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
1309
1385
|
timestamp: number;
|
|
1310
1386
|
} | undefined;
|
|
1311
1387
|
asset: {
|
|
1388
|
+
name: string | undefined;
|
|
1389
|
+
symbol: string | undefined;
|
|
1390
|
+
image: string | undefined;
|
|
1391
|
+
metadata: string | undefined;
|
|
1312
1392
|
type: "Nft";
|
|
1313
1393
|
id: string;
|
|
1314
1394
|
};
|
|
@@ -1396,6 +1476,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
1396
1476
|
timestamp: number;
|
|
1397
1477
|
} | undefined;
|
|
1398
1478
|
asset: {
|
|
1479
|
+
name: string | undefined;
|
|
1480
|
+
symbol: string | undefined;
|
|
1481
|
+
image: string | undefined;
|
|
1482
|
+
metadata: string | undefined;
|
|
1399
1483
|
type: "Nft";
|
|
1400
1484
|
id: string;
|
|
1401
1485
|
};
|
|
@@ -1466,6 +1550,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
1466
1550
|
timestamp: number;
|
|
1467
1551
|
} | undefined;
|
|
1468
1552
|
asset: {
|
|
1553
|
+
name: string | undefined;
|
|
1554
|
+
symbol: string | undefined;
|
|
1555
|
+
image: string | undefined;
|
|
1556
|
+
metadata: string | undefined;
|
|
1469
1557
|
type: "Nft";
|
|
1470
1558
|
id: string;
|
|
1471
1559
|
};
|
|
@@ -1519,6 +1607,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
1519
1607
|
timestamp: number;
|
|
1520
1608
|
} | undefined;
|
|
1521
1609
|
asset: {
|
|
1610
|
+
name: string | undefined;
|
|
1611
|
+
symbol: string | undefined;
|
|
1612
|
+
image: string | undefined;
|
|
1613
|
+
metadata: string | undefined;
|
|
1522
1614
|
type: "Nft";
|
|
1523
1615
|
id: string;
|
|
1524
1616
|
};
|
|
@@ -1638,6 +1730,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
1638
1730
|
timestamp: number;
|
|
1639
1731
|
} | undefined;
|
|
1640
1732
|
asset: {
|
|
1733
|
+
name: string | undefined;
|
|
1734
|
+
symbol: string | undefined;
|
|
1735
|
+
image: string | undefined;
|
|
1736
|
+
metadata: string | undefined;
|
|
1641
1737
|
type: "Nft";
|
|
1642
1738
|
id: string;
|
|
1643
1739
|
};
|
|
@@ -1696,6 +1792,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
1696
1792
|
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
1697
1793
|
name: string;
|
|
1698
1794
|
} | {
|
|
1795
|
+
name: string | undefined;
|
|
1796
|
+
symbol: string | undefined;
|
|
1797
|
+
image: string | undefined;
|
|
1798
|
+
metadata: string | undefined;
|
|
1699
1799
|
type: "Nft";
|
|
1700
1800
|
id: string;
|
|
1701
1801
|
};
|
|
@@ -1839,6 +1939,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
1839
1939
|
timestamp: number;
|
|
1840
1940
|
} | undefined;
|
|
1841
1941
|
asset: {
|
|
1942
|
+
name: string | undefined;
|
|
1943
|
+
symbol: string | undefined;
|
|
1944
|
+
image: string | undefined;
|
|
1945
|
+
metadata: string | undefined;
|
|
1842
1946
|
type: "Nft";
|
|
1843
1947
|
id: string;
|
|
1844
1948
|
};
|
|
@@ -1909,6 +2013,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
1909
2013
|
timestamp: number;
|
|
1910
2014
|
} | undefined;
|
|
1911
2015
|
asset: {
|
|
2016
|
+
name: string | undefined;
|
|
2017
|
+
symbol: string | undefined;
|
|
2018
|
+
image: string | undefined;
|
|
2019
|
+
metadata: string | undefined;
|
|
1912
2020
|
type: "Nft";
|
|
1913
2021
|
id: string;
|
|
1914
2022
|
};
|
|
@@ -1979,6 +2087,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
1979
2087
|
timestamp: number;
|
|
1980
2088
|
} | undefined;
|
|
1981
2089
|
asset: {
|
|
2090
|
+
name: string | undefined;
|
|
2091
|
+
symbol: string | undefined;
|
|
2092
|
+
image: string | undefined;
|
|
2093
|
+
metadata: string | undefined;
|
|
1982
2094
|
type: "Nft";
|
|
1983
2095
|
id: string;
|
|
1984
2096
|
};
|
|
@@ -2050,6 +2162,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
2050
2162
|
timestamp: number;
|
|
2051
2163
|
} | undefined;
|
|
2052
2164
|
asset: {
|
|
2165
|
+
name: string | undefined;
|
|
2166
|
+
symbol: string | undefined;
|
|
2167
|
+
image: string | undefined;
|
|
2168
|
+
metadata: string | undefined;
|
|
2053
2169
|
type: "Nft";
|
|
2054
2170
|
id: string;
|
|
2055
2171
|
};
|
|
@@ -2103,6 +2219,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
2103
2219
|
timestamp: number;
|
|
2104
2220
|
} | undefined;
|
|
2105
2221
|
asset: {
|
|
2222
|
+
name: string | undefined;
|
|
2223
|
+
symbol: string | undefined;
|
|
2224
|
+
image: string | undefined;
|
|
2225
|
+
metadata: string | undefined;
|
|
2106
2226
|
type: "Nft";
|
|
2107
2227
|
id: string;
|
|
2108
2228
|
};
|
|
@@ -2174,6 +2294,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
2174
2294
|
timestamp: number;
|
|
2175
2295
|
} | undefined;
|
|
2176
2296
|
asset: {
|
|
2297
|
+
name: string | undefined;
|
|
2298
|
+
symbol: string | undefined;
|
|
2299
|
+
image: string | undefined;
|
|
2300
|
+
metadata: string | undefined;
|
|
2177
2301
|
type: "Nft";
|
|
2178
2302
|
id: string;
|
|
2179
2303
|
};
|
|
@@ -2227,6 +2351,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
2227
2351
|
timestamp: number;
|
|
2228
2352
|
} | undefined;
|
|
2229
2353
|
asset: {
|
|
2354
|
+
name: string | undefined;
|
|
2355
|
+
symbol: string | undefined;
|
|
2356
|
+
image: string | undefined;
|
|
2357
|
+
metadata: string | undefined;
|
|
2230
2358
|
type: "Nft";
|
|
2231
2359
|
id: string;
|
|
2232
2360
|
};
|
|
@@ -2265,6 +2393,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
2265
2393
|
timestamp: number;
|
|
2266
2394
|
} | undefined;
|
|
2267
2395
|
asset: {
|
|
2396
|
+
name: string | undefined;
|
|
2397
|
+
symbol: string | undefined;
|
|
2398
|
+
image: string | undefined;
|
|
2399
|
+
metadata: string | undefined;
|
|
2268
2400
|
type: "Nft";
|
|
2269
2401
|
id: string;
|
|
2270
2402
|
};
|
|
@@ -2286,6 +2418,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
2286
2418
|
timestamp: number;
|
|
2287
2419
|
} | undefined;
|
|
2288
2420
|
asset: {
|
|
2421
|
+
name: string | undefined;
|
|
2422
|
+
symbol: string | undefined;
|
|
2423
|
+
image: string | undefined;
|
|
2424
|
+
metadata: string | undefined;
|
|
2289
2425
|
type: "Nft";
|
|
2290
2426
|
id: string;
|
|
2291
2427
|
};
|
|
@@ -2559,6 +2695,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
2559
2695
|
timestamp: number;
|
|
2560
2696
|
} | undefined;
|
|
2561
2697
|
asset: {
|
|
2698
|
+
name: string | undefined;
|
|
2699
|
+
symbol: string | undefined;
|
|
2700
|
+
image: string | undefined;
|
|
2701
|
+
metadata: string | undefined;
|
|
2562
2702
|
type: "Nft";
|
|
2563
2703
|
id: string;
|
|
2564
2704
|
};
|
|
@@ -2653,6 +2793,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
2653
2793
|
timestamp: number;
|
|
2654
2794
|
} | undefined;
|
|
2655
2795
|
asset: {
|
|
2796
|
+
name: string | undefined;
|
|
2797
|
+
symbol: string | undefined;
|
|
2798
|
+
image: string | undefined;
|
|
2799
|
+
metadata: string | undefined;
|
|
2656
2800
|
type: "Nft";
|
|
2657
2801
|
id: string;
|
|
2658
2802
|
};
|
|
@@ -2876,6 +3020,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
2876
3020
|
timestamp: number;
|
|
2877
3021
|
} | undefined;
|
|
2878
3022
|
asset: {
|
|
3023
|
+
name: string | undefined;
|
|
3024
|
+
symbol: string | undefined;
|
|
3025
|
+
image: string | undefined;
|
|
3026
|
+
metadata: string | undefined;
|
|
2879
3027
|
type: "Nft";
|
|
2880
3028
|
id: string;
|
|
2881
3029
|
};
|
|
@@ -2934,6 +3082,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
2934
3082
|
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
2935
3083
|
name: string;
|
|
2936
3084
|
} | {
|
|
3085
|
+
name: string | undefined;
|
|
3086
|
+
symbol: string | undefined;
|
|
3087
|
+
image: string | undefined;
|
|
3088
|
+
metadata: string | undefined;
|
|
2937
3089
|
type: "Nft";
|
|
2938
3090
|
id: string;
|
|
2939
3091
|
};
|
|
@@ -2975,6 +3127,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
2975
3127
|
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
2976
3128
|
name: string;
|
|
2977
3129
|
} | {
|
|
3130
|
+
name: string | undefined;
|
|
3131
|
+
symbol: string | undefined;
|
|
3132
|
+
image: string | undefined;
|
|
3133
|
+
metadata: string | undefined;
|
|
2978
3134
|
type: "Nft";
|
|
2979
3135
|
id: string;
|
|
2980
3136
|
};
|
|
@@ -3045,6 +3201,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
3045
3201
|
timestamp: number;
|
|
3046
3202
|
} | undefined;
|
|
3047
3203
|
asset: {
|
|
3204
|
+
name: string | undefined;
|
|
3205
|
+
symbol: string | undefined;
|
|
3206
|
+
image: string | undefined;
|
|
3207
|
+
metadata: string | undefined;
|
|
3048
3208
|
type: "Nft";
|
|
3049
3209
|
id: string;
|
|
3050
3210
|
};
|
|
@@ -3103,6 +3263,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
3103
3263
|
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
3104
3264
|
name: string;
|
|
3105
3265
|
} | {
|
|
3266
|
+
name: string | undefined;
|
|
3267
|
+
symbol: string | undefined;
|
|
3268
|
+
image: string | undefined;
|
|
3269
|
+
metadata: string | undefined;
|
|
3106
3270
|
type: "Nft";
|
|
3107
3271
|
id: string;
|
|
3108
3272
|
};
|
|
@@ -3161,6 +3325,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
3161
3325
|
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
3162
3326
|
name: string;
|
|
3163
3327
|
} | {
|
|
3328
|
+
name: string | undefined;
|
|
3329
|
+
symbol: string | undefined;
|
|
3330
|
+
image: string | undefined;
|
|
3331
|
+
metadata: string | undefined;
|
|
3164
3332
|
type: "Nft";
|
|
3165
3333
|
id: string;
|
|
3166
3334
|
};
|
|
@@ -3171,6 +3339,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
3171
3339
|
direction: "in";
|
|
3172
3340
|
}[];
|
|
3173
3341
|
target: {
|
|
3342
|
+
name: string | undefined;
|
|
3343
|
+
symbol: string | undefined;
|
|
3344
|
+
image: string | undefined;
|
|
3345
|
+
metadata: string | undefined;
|
|
3174
3346
|
type: "Nft";
|
|
3175
3347
|
id: string;
|
|
3176
3348
|
};
|
|
@@ -3223,6 +3395,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
3223
3395
|
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
3224
3396
|
name: string;
|
|
3225
3397
|
} | {
|
|
3398
|
+
name: string | undefined;
|
|
3399
|
+
symbol: string | undefined;
|
|
3400
|
+
image: string | undefined;
|
|
3401
|
+
metadata: string | undefined;
|
|
3226
3402
|
type: "Nft";
|
|
3227
3403
|
id: string;
|
|
3228
3404
|
};
|
|
@@ -3233,6 +3409,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
3233
3409
|
direction: "out";
|
|
3234
3410
|
}[];
|
|
3235
3411
|
target: {
|
|
3412
|
+
name: string | undefined;
|
|
3413
|
+
symbol: string | undefined;
|
|
3414
|
+
image: string | undefined;
|
|
3415
|
+
metadata: string | undefined;
|
|
3236
3416
|
type: "Nft";
|
|
3237
3417
|
id: string;
|
|
3238
3418
|
};
|
|
@@ -3297,6 +3477,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
3297
3477
|
timestamp: number;
|
|
3298
3478
|
} | undefined;
|
|
3299
3479
|
asset: {
|
|
3480
|
+
name: string | undefined;
|
|
3481
|
+
symbol: string | undefined;
|
|
3482
|
+
image: string | undefined;
|
|
3483
|
+
metadata: string | undefined;
|
|
3300
3484
|
type: "Nft";
|
|
3301
3485
|
id: string;
|
|
3302
3486
|
};
|
|
@@ -3350,6 +3534,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
3350
3534
|
timestamp: number;
|
|
3351
3535
|
} | undefined;
|
|
3352
3536
|
asset: {
|
|
3537
|
+
name: string | undefined;
|
|
3538
|
+
symbol: string | undefined;
|
|
3539
|
+
image: string | undefined;
|
|
3540
|
+
metadata: string | undefined;
|
|
3353
3541
|
type: "Nft";
|
|
3354
3542
|
id: string;
|
|
3355
3543
|
};
|
|
@@ -3421,6 +3609,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
3421
3609
|
timestamp: number;
|
|
3422
3610
|
} | undefined;
|
|
3423
3611
|
asset: {
|
|
3612
|
+
name: string | undefined;
|
|
3613
|
+
symbol: string | undefined;
|
|
3614
|
+
image: string | undefined;
|
|
3615
|
+
metadata: string | undefined;
|
|
3424
3616
|
type: "Nft";
|
|
3425
3617
|
id: string;
|
|
3426
3618
|
};
|
|
@@ -3492,6 +3684,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
3492
3684
|
timestamp: number;
|
|
3493
3685
|
} | undefined;
|
|
3494
3686
|
asset: {
|
|
3687
|
+
name: string | undefined;
|
|
3688
|
+
symbol: string | undefined;
|
|
3689
|
+
image: string | undefined;
|
|
3690
|
+
metadata: string | undefined;
|
|
3495
3691
|
type: "Nft";
|
|
3496
3692
|
id: string;
|
|
3497
3693
|
};
|
|
@@ -3563,6 +3759,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
3563
3759
|
timestamp: number;
|
|
3564
3760
|
} | undefined;
|
|
3565
3761
|
asset: {
|
|
3762
|
+
name: string | undefined;
|
|
3763
|
+
symbol: string | undefined;
|
|
3764
|
+
image: string | undefined;
|
|
3765
|
+
metadata: string | undefined;
|
|
3566
3766
|
type: "Nft";
|
|
3567
3767
|
id: string;
|
|
3568
3768
|
};
|
|
@@ -3616,6 +3816,10 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
|
|
|
3616
3816
|
timestamp: number;
|
|
3617
3817
|
} | undefined;
|
|
3618
3818
|
asset: {
|
|
3819
|
+
name: string | undefined;
|
|
3820
|
+
symbol: string | undefined;
|
|
3821
|
+
image: string | undefined;
|
|
3822
|
+
metadata: string | undefined;
|
|
3619
3823
|
type: "Nft";
|
|
3620
3824
|
id: string;
|
|
3621
3825
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setAccountActionPrices.d.ts","sourceRoot":"","sources":["../setAccountActionPrices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,KAAK,EAEV,wBAAwB,EAExB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAqBlC,CAAA"}
|
package/assets/schemas/nft.ts
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
|
-
export const nftSchema = z
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
export const nftSchema = z
|
|
4
|
+
.object({
|
|
5
|
+
type: z.literal('Nft'),
|
|
6
|
+
id: z.string(),
|
|
7
|
+
name: z.string().optional(),
|
|
8
|
+
symbol: z.string().optional(),
|
|
9
|
+
image: z.string().optional(),
|
|
10
|
+
metadata: z.string().optional(),
|
|
11
|
+
})
|
|
12
|
+
.transform((v) => ({
|
|
13
|
+
...v,
|
|
14
|
+
name: v.name,
|
|
15
|
+
symbol: v.symbol,
|
|
16
|
+
image: v.image,
|
|
17
|
+
metadata: v.metadata,
|
|
18
|
+
}))
|