@0xtorch/core 0.0.32 → 0.0.34
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/schemas/action.js.map +1 -1
- package/_cjs/actions/utils/createEvidenceNoneAccountActions.js +4 -2
- package/_cjs/actions/utils/createEvidenceNoneAccountActions.js.map +1 -1
- package/_esm/actions/schemas/action.js.map +1 -1
- package/_esm/actions/utils/createEvidenceNoneAccountActions.js +6 -4
- package/_esm/actions/utils/createEvidenceNoneAccountActions.js.map +1 -1
- package/_types/actions/schemas/action.d.ts +103 -80694
- package/_types/actions/schemas/action.d.ts.map +1 -1
- package/_types/actions/schemas/borrow/borrow.d.ts +3523 -342
- package/_types/actions/schemas/borrow/borrow.d.ts.map +1 -1
- package/_types/actions/schemas/crossActionBundle.d.ts +6773 -1121
- package/_types/actions/schemas/crossActionBundle.d.ts.map +1 -1
- package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts +3528 -347
- package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts.map +1 -1
- package/_types/actions/schemas/crossReplace/bridgeTo.d.ts +3525 -344
- package/_types/actions/schemas/crossReplace/bridgeTo.d.ts.map +1 -1
- package/_types/actions/schemas/crossReplace/crossReplace.d.ts +2862 -389
- package/_types/actions/schemas/crossReplace/crossReplace.d.ts.map +1 -1
- package/_types/actions/schemas/crossTrade/crossTrade.d.ts +2862 -389
- package/_types/actions/schemas/crossTrade/crossTrade.d.ts.map +1 -1
- package/_types/actions/schemas/default/accountAction.d.ts +387 -375
- package/_types/actions/schemas/default/accountAction.d.ts.map +1 -1
- package/_types/actions/schemas/default/normalAction.d.ts +382 -369
- package/_types/actions/schemas/default/normalAction.d.ts.map +1 -1
- package/_types/actions/schemas/default/transfer.d.ts +2932 -1323
- package/_types/actions/schemas/default/transfer.d.ts.map +1 -1
- package/_types/actions/schemas/deposit/addLiquidity.d.ts +4667 -774
- package/_types/actions/schemas/deposit/addLiquidity.d.ts.map +1 -1
- package/_types/actions/schemas/deposit/deposit.d.ts +3526 -345
- package/_types/actions/schemas/deposit/deposit.d.ts.map +1 -1
- package/_types/actions/schemas/deposit/depositWithBond.d.ts +4667 -774
- package/_types/actions/schemas/deposit/depositWithBond.d.ts.map +1 -1
- package/_types/actions/schemas/deposit/stake.d.ts +3526 -345
- package/_types/actions/schemas/deposit/stake.d.ts.map +1 -1
- package/_types/actions/schemas/fee/fee.d.ts +3510 -331
- package/_types/actions/schemas/fee/fee.d.ts.map +1 -1
- package/_types/actions/schemas/fee/transactionFee.d.ts +3038 -215
- package/_types/actions/schemas/fee/transactionFee.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/approve.d.ts +2485 -18
- package/_types/actions/schemas/ignore/approve.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/failTx.d.ts +2485 -18
- package/_types/actions/schemas/ignore/failTx.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/ignore.d.ts +136 -130
- package/_types/actions/schemas/ignore/ignore.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/move.d.ts +136 -130
- package/_types/actions/schemas/ignore/move.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/receiveFromCex.d.ts +3518 -339
- package/_types/actions/schemas/ignore/receiveFromCex.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/revoke.d.ts +2485 -18
- package/_types/actions/schemas/ignore/revoke.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/sendToCex.d.ts +3521 -342
- package/_types/actions/schemas/ignore/sendToCex.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/spam.d.ts +4663 -772
- package/_types/actions/schemas/ignore/spam.d.ts.map +1 -1
- package/_types/actions/schemas/income/atomicArbitrage.d.ts +3559 -380
- package/_types/actions/schemas/income/atomicArbitrage.d.ts.map +1 -1
- package/_types/actions/schemas/income/freeMintNft.d.ts +3014 -191
- package/_types/actions/schemas/income/freeMintNft.d.ts.map +1 -1
- package/_types/actions/schemas/income/income.d.ts +2682 -213
- package/_types/actions/schemas/income/income.d.ts.map +1 -1
- package/_types/actions/schemas/income/nftRoyalty.d.ts +1629 -39
- package/_types/actions/schemas/income/nftRoyalty.d.ts.map +1 -1
- package/_types/actions/schemas/income/swapIncome.d.ts +1636 -46
- package/_types/actions/schemas/income/swapIncome.d.ts.map +1 -1
- package/_types/actions/schemas/reduce/reduce.d.ts +1636 -46
- package/_types/actions/schemas/reduce/reduce.d.ts.map +1 -1
- package/_types/actions/schemas/repayment/repayment.d.ts +3526 -345
- package/_types/actions/schemas/repayment/repayment.d.ts.map +1 -1
- package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts +4667 -774
- package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts.map +1 -1
- package/_types/actions/schemas/replace/replace.d.ts +4663 -772
- package/_types/actions/schemas/replace/replace.d.ts.map +1 -1
- package/_types/actions/schemas/replace/swapNft.d.ts +3510 -331
- package/_types/actions/schemas/replace/swapNft.d.ts.map +1 -1
- package/_types/actions/schemas/replace/unwrap.d.ts +3559 -380
- package/_types/actions/schemas/replace/unwrap.d.ts.map +1 -1
- package/_types/actions/schemas/replace/wrap.d.ts +3559 -380
- package/_types/actions/schemas/replace/wrap.d.ts.map +1 -1
- package/_types/actions/schemas/trade/buyCrypto.d.ts +3506 -327
- package/_types/actions/schemas/trade/buyCrypto.d.ts.map +1 -1
- package/_types/actions/schemas/trade/buyNft.d.ts +4144 -609
- package/_types/actions/schemas/trade/buyNft.d.ts.map +1 -1
- package/_types/actions/schemas/trade/mintNft.d.ts +4144 -609
- package/_types/actions/schemas/trade/mintNft.d.ts.map +1 -1
- package/_types/actions/schemas/trade/sellCrypto.d.ts +3514 -335
- package/_types/actions/schemas/trade/sellCrypto.d.ts.map +1 -1
- package/_types/actions/schemas/trade/sellNft.d.ts +4144 -609
- package/_types/actions/schemas/trade/sellNft.d.ts.map +1 -1
- package/_types/actions/schemas/trade/trade.d.ts +2854 -383
- package/_types/actions/schemas/trade/trade.d.ts.map +1 -1
- package/_types/actions/schemas/transfer/swapTransfer.d.ts +1636 -46
- package/_types/actions/schemas/transfer/swapTransfer.d.ts.map +1 -1
- package/_types/actions/schemas/transfer/transfer.d.ts +1388 -148
- package/_types/actions/schemas/transfer/transfer.d.ts.map +1 -1
- package/_types/actions/schemas/valuedown/valuedown.d.ts +2756 -287
- package/_types/actions/schemas/valuedown/valuedown.d.ts.map +1 -1
- package/_types/actions/schemas/valueup/valueup.d.ts +2761 -292
- package/_types/actions/schemas/valueup/valueup.d.ts.map +1 -1
- package/_types/actions/schemas/withdraw/removeLiquidity.d.ts +4667 -774
- package/_types/actions/schemas/withdraw/removeLiquidity.d.ts.map +1 -1
- package/_types/actions/schemas/withdraw/unstake.d.ts +3523 -342
- package/_types/actions/schemas/withdraw/unstake.d.ts.map +1 -1
- package/_types/actions/schemas/withdraw/withdraw.d.ts +3523 -342
- package/_types/actions/schemas/withdraw/withdraw.d.ts.map +1 -1
- package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts +4667 -774
- package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts.map +1 -1
- package/_types/actions/utils/createEvidenceNoneAccountActions.d.ts.map +1 -1
- package/_types/apps/schemas.d.ts +3 -3
- package/_types/assets/schemas/asset.d.ts +3 -3
- package/_types/assets/schemas/nft.d.ts +3 -3
- package/actions/schemas/action.ts +92 -2
- package/actions/utils/createEvidenceNoneAccountActions.ts +12 -4
- package/package.json +2 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
3
|
-
|
|
4
|
-
timestamp: z.ZodNumber;
|
|
5
|
-
order: z.ZodNumber;
|
|
2
|
+
export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
3
|
+
action: z.ZodUnion<[z.ZodLiteral<"add-liquidity">, z.ZodLiteral<"approve">, z.ZodLiteral<"atomic-arbitrage">, z.ZodLiteral<"borrow">, z.ZodLiteral<"bridge-from">, z.ZodLiteral<"bridge-to">, z.ZodLiteral<"buy-nft">, z.ZodLiteral<"buy-crypto">, z.ZodLiteral<"cross-replace">, z.ZodLiteral<"cross-trade">, z.ZodLiteral<"deposit">, z.ZodLiteral<"deposit-with-bond">, z.ZodLiteral<"fail-tx">, z.ZodLiteral<"fee">, z.ZodLiteral<"free-mint-nft">, z.ZodLiteral<"ignore">, z.ZodLiteral<"income">, z.ZodLiteral<"mint-nft">, z.ZodLiteral<"move">, z.ZodLiteral<"nft-royalty">, z.ZodLiteral<"receive-from-cex">, z.ZodLiteral<"reduce">, z.ZodLiteral<"remove-liquidity">, z.ZodLiteral<"repayment">, z.ZodLiteral<"repayment-with-debt">, z.ZodLiteral<"revoke">, z.ZodLiteral<"sell-crypto">, z.ZodLiteral<"sell-nft">, z.ZodLiteral<"send-to-cex">, z.ZodLiteral<"spam">, z.ZodLiteral<"stake">, z.ZodLiteral<"swap-income">, z.ZodLiteral<"swap-nft">, z.ZodLiteral<"swap-transfer">, z.ZodLiteral<"trade">, z.ZodLiteral<"transaction-fee">, z.ZodLiteral<"transfer">, z.ZodLiteral<"unstake">, z.ZodLiteral<"unwrap">, z.ZodLiteral<"valuedown">, z.ZodLiteral<"valueup">, z.ZodLiteral<"withdraw">, z.ZodLiteral<"withdraw-with-bond">, z.ZodLiteral<"wrap">]>;
|
|
6
4
|
source: z.ZodString;
|
|
7
5
|
evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
|
|
6
|
+
timestamp: z.ZodNumber;
|
|
7
|
+
order: z.ZodNumber;
|
|
8
8
|
comment: z.ZodOptional<z.ZodString>;
|
|
9
9
|
app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
10
10
|
id: z.ZodString;
|
|
@@ -17,16 +17,16 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
17
17
|
id: string;
|
|
18
18
|
name: string;
|
|
19
19
|
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
20
|
+
icon?: string | undefined;
|
|
20
21
|
description?: string | undefined;
|
|
21
22
|
website?: string | undefined;
|
|
22
|
-
icon?: string | undefined;
|
|
23
23
|
}, {
|
|
24
24
|
id: string;
|
|
25
25
|
name: string;
|
|
26
26
|
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
27
|
+
icon?: string | undefined;
|
|
27
28
|
description?: string | undefined;
|
|
28
29
|
website?: string | undefined;
|
|
29
|
-
icon?: string | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
description: string | undefined;
|
|
32
32
|
website: string | undefined;
|
|
@@ -38,42 +38,11 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
38
38
|
id: string;
|
|
39
39
|
name: string;
|
|
40
40
|
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
41
|
+
icon?: string | undefined;
|
|
41
42
|
description?: string | undefined;
|
|
42
43
|
website?: string | undefined;
|
|
43
|
-
icon?: string | undefined;
|
|
44
44
|
}>>;
|
|
45
|
-
transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
46
|
-
price: z.ZodOptional<z.ZodObject<{
|
|
47
|
-
cryptoCurrencyId: z.ZodString;
|
|
48
|
-
fiatCurrencyId: z.ZodString;
|
|
49
|
-
price: z.ZodObject<{
|
|
50
|
-
value: z.ZodBigInt;
|
|
51
|
-
decimals: z.ZodNumber;
|
|
52
|
-
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
value: bigint;
|
|
54
|
-
decimals: number;
|
|
55
|
-
}, {
|
|
56
|
-
value: bigint;
|
|
57
|
-
decimals: number;
|
|
58
|
-
}>;
|
|
59
|
-
timestamp: z.ZodNumber;
|
|
60
|
-
}, "strip", z.ZodTypeAny, {
|
|
61
|
-
cryptoCurrencyId: string;
|
|
62
|
-
fiatCurrencyId: string;
|
|
63
|
-
price: {
|
|
64
|
-
value: bigint;
|
|
65
|
-
decimals: number;
|
|
66
|
-
};
|
|
67
|
-
timestamp: number;
|
|
68
|
-
}, {
|
|
69
|
-
cryptoCurrencyId: string;
|
|
70
|
-
fiatCurrencyId: string;
|
|
71
|
-
price: {
|
|
72
|
-
value: bigint;
|
|
73
|
-
decimals: number;
|
|
74
|
-
};
|
|
75
|
-
timestamp: number;
|
|
76
|
-
}>>;
|
|
45
|
+
transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
|
|
77
46
|
from: z.ZodOptional<z.ZodString>;
|
|
78
47
|
to: z.ZodOptional<z.ZodString>;
|
|
79
48
|
asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
@@ -223,16 +192,16 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
223
192
|
type: "Nft";
|
|
224
193
|
id: string;
|
|
225
194
|
updatedAt: number;
|
|
226
|
-
name?: string | undefined;
|
|
227
195
|
symbol?: string | undefined;
|
|
196
|
+
name?: string | undefined;
|
|
228
197
|
image?: string | undefined;
|
|
229
198
|
metadata?: string | undefined;
|
|
230
199
|
}, {
|
|
231
200
|
type: "Nft";
|
|
232
201
|
id: string;
|
|
233
202
|
updatedAt: number;
|
|
234
|
-
name?: string | undefined;
|
|
235
203
|
symbol?: string | undefined;
|
|
204
|
+
name?: string | undefined;
|
|
236
205
|
image?: string | undefined;
|
|
237
206
|
metadata?: string | undefined;
|
|
238
207
|
}>, {
|
|
@@ -247,8 +216,8 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
247
216
|
type: "Nft";
|
|
248
217
|
id: string;
|
|
249
218
|
updatedAt: number;
|
|
250
|
-
name?: string | undefined;
|
|
251
219
|
symbol?: string | undefined;
|
|
220
|
+
name?: string | undefined;
|
|
252
221
|
image?: string | undefined;
|
|
253
222
|
metadata?: string | undefined;
|
|
254
223
|
}>]>;
|
|
@@ -262,8 +231,40 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
262
231
|
value: bigint;
|
|
263
232
|
decimals: number;
|
|
264
233
|
}>;
|
|
234
|
+
price: z.ZodOptional<z.ZodObject<{
|
|
235
|
+
cryptoCurrencyId: z.ZodString;
|
|
236
|
+
fiatCurrencyId: z.ZodString;
|
|
237
|
+
price: z.ZodObject<{
|
|
238
|
+
value: z.ZodBigInt;
|
|
239
|
+
decimals: z.ZodNumber;
|
|
240
|
+
}, "strip", z.ZodTypeAny, {
|
|
241
|
+
value: bigint;
|
|
242
|
+
decimals: number;
|
|
243
|
+
}, {
|
|
244
|
+
value: bigint;
|
|
245
|
+
decimals: number;
|
|
246
|
+
}>;
|
|
247
|
+
timestamp: z.ZodNumber;
|
|
248
|
+
}, "strip", z.ZodTypeAny, {
|
|
249
|
+
cryptoCurrencyId: string;
|
|
250
|
+
fiatCurrencyId: string;
|
|
251
|
+
price: {
|
|
252
|
+
value: bigint;
|
|
253
|
+
decimals: number;
|
|
254
|
+
};
|
|
255
|
+
timestamp: number;
|
|
256
|
+
}, {
|
|
257
|
+
cryptoCurrencyId: string;
|
|
258
|
+
fiatCurrencyId: string;
|
|
259
|
+
price: {
|
|
260
|
+
value: bigint;
|
|
261
|
+
decimals: number;
|
|
262
|
+
};
|
|
263
|
+
timestamp: number;
|
|
264
|
+
}>>;
|
|
265
|
+
}, {
|
|
265
266
|
direction: z.ZodLiteral<"in">;
|
|
266
|
-
}
|
|
267
|
+
}>, "strip", z.ZodTypeAny, {
|
|
267
268
|
asset: {
|
|
268
269
|
icon: string | undefined;
|
|
269
270
|
priceDatasourceId: string | undefined;
|
|
@@ -336,8 +337,8 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
336
337
|
type: "Nft";
|
|
337
338
|
id: string;
|
|
338
339
|
updatedAt: number;
|
|
339
|
-
name?: string | undefined;
|
|
340
340
|
symbol?: string | undefined;
|
|
341
|
+
name?: string | undefined;
|
|
341
342
|
image?: string | undefined;
|
|
342
343
|
metadata?: string | undefined;
|
|
343
344
|
};
|
|
@@ -430,8 +431,8 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
430
431
|
type: "Nft";
|
|
431
432
|
id: string;
|
|
432
433
|
updatedAt: number;
|
|
433
|
-
name?: string | undefined;
|
|
434
434
|
symbol?: string | undefined;
|
|
435
|
+
name?: string | undefined;
|
|
435
436
|
image?: string | undefined;
|
|
436
437
|
metadata?: string | undefined;
|
|
437
438
|
};
|
|
@@ -451,38 +452,7 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
451
452
|
} | undefined;
|
|
452
453
|
from?: string | undefined;
|
|
453
454
|
to?: string | undefined;
|
|
454
|
-
}>, z.ZodEffects<z.ZodObject<{
|
|
455
|
-
price: z.ZodOptional<z.ZodObject<{
|
|
456
|
-
cryptoCurrencyId: z.ZodString;
|
|
457
|
-
fiatCurrencyId: z.ZodString;
|
|
458
|
-
price: z.ZodObject<{
|
|
459
|
-
value: z.ZodBigInt;
|
|
460
|
-
decimals: z.ZodNumber;
|
|
461
|
-
}, "strip", z.ZodTypeAny, {
|
|
462
|
-
value: bigint;
|
|
463
|
-
decimals: number;
|
|
464
|
-
}, {
|
|
465
|
-
value: bigint;
|
|
466
|
-
decimals: number;
|
|
467
|
-
}>;
|
|
468
|
-
timestamp: z.ZodNumber;
|
|
469
|
-
}, "strip", z.ZodTypeAny, {
|
|
470
|
-
cryptoCurrencyId: string;
|
|
471
|
-
fiatCurrencyId: string;
|
|
472
|
-
price: {
|
|
473
|
-
value: bigint;
|
|
474
|
-
decimals: number;
|
|
475
|
-
};
|
|
476
|
-
timestamp: number;
|
|
477
|
-
}, {
|
|
478
|
-
cryptoCurrencyId: string;
|
|
479
|
-
fiatCurrencyId: string;
|
|
480
|
-
price: {
|
|
481
|
-
value: bigint;
|
|
482
|
-
decimals: number;
|
|
483
|
-
};
|
|
484
|
-
timestamp: number;
|
|
485
|
-
}>>;
|
|
455
|
+
}>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
|
|
486
456
|
from: z.ZodOptional<z.ZodString>;
|
|
487
457
|
to: z.ZodOptional<z.ZodString>;
|
|
488
458
|
asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
@@ -632,16 +602,16 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
632
602
|
type: "Nft";
|
|
633
603
|
id: string;
|
|
634
604
|
updatedAt: number;
|
|
635
|
-
name?: string | undefined;
|
|
636
605
|
symbol?: string | undefined;
|
|
606
|
+
name?: string | undefined;
|
|
637
607
|
image?: string | undefined;
|
|
638
608
|
metadata?: string | undefined;
|
|
639
609
|
}, {
|
|
640
610
|
type: "Nft";
|
|
641
611
|
id: string;
|
|
642
612
|
updatedAt: number;
|
|
643
|
-
name?: string | undefined;
|
|
644
613
|
symbol?: string | undefined;
|
|
614
|
+
name?: string | undefined;
|
|
645
615
|
image?: string | undefined;
|
|
646
616
|
metadata?: string | undefined;
|
|
647
617
|
}>, {
|
|
@@ -656,8 +626,8 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
656
626
|
type: "Nft";
|
|
657
627
|
id: string;
|
|
658
628
|
updatedAt: number;
|
|
659
|
-
name?: string | undefined;
|
|
660
629
|
symbol?: string | undefined;
|
|
630
|
+
name?: string | undefined;
|
|
661
631
|
image?: string | undefined;
|
|
662
632
|
metadata?: string | undefined;
|
|
663
633
|
}>]>;
|
|
@@ -671,8 +641,40 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
671
641
|
value: bigint;
|
|
672
642
|
decimals: number;
|
|
673
643
|
}>;
|
|
644
|
+
price: z.ZodOptional<z.ZodObject<{
|
|
645
|
+
cryptoCurrencyId: z.ZodString;
|
|
646
|
+
fiatCurrencyId: z.ZodString;
|
|
647
|
+
price: z.ZodObject<{
|
|
648
|
+
value: z.ZodBigInt;
|
|
649
|
+
decimals: z.ZodNumber;
|
|
650
|
+
}, "strip", z.ZodTypeAny, {
|
|
651
|
+
value: bigint;
|
|
652
|
+
decimals: number;
|
|
653
|
+
}, {
|
|
654
|
+
value: bigint;
|
|
655
|
+
decimals: number;
|
|
656
|
+
}>;
|
|
657
|
+
timestamp: z.ZodNumber;
|
|
658
|
+
}, "strip", z.ZodTypeAny, {
|
|
659
|
+
cryptoCurrencyId: string;
|
|
660
|
+
fiatCurrencyId: string;
|
|
661
|
+
price: {
|
|
662
|
+
value: bigint;
|
|
663
|
+
decimals: number;
|
|
664
|
+
};
|
|
665
|
+
timestamp: number;
|
|
666
|
+
}, {
|
|
667
|
+
cryptoCurrencyId: string;
|
|
668
|
+
fiatCurrencyId: string;
|
|
669
|
+
price: {
|
|
670
|
+
value: bigint;
|
|
671
|
+
decimals: number;
|
|
672
|
+
};
|
|
673
|
+
timestamp: number;
|
|
674
|
+
}>>;
|
|
675
|
+
}, {
|
|
674
676
|
direction: z.ZodLiteral<"out">;
|
|
675
|
-
}
|
|
677
|
+
}>, "strip", z.ZodTypeAny, {
|
|
676
678
|
asset: {
|
|
677
679
|
icon: string | undefined;
|
|
678
680
|
priceDatasourceId: string | undefined;
|
|
@@ -745,8 +747,8 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
745
747
|
type: "Nft";
|
|
746
748
|
id: string;
|
|
747
749
|
updatedAt: number;
|
|
748
|
-
name?: string | undefined;
|
|
749
750
|
symbol?: string | undefined;
|
|
751
|
+
name?: string | undefined;
|
|
750
752
|
image?: string | undefined;
|
|
751
753
|
metadata?: string | undefined;
|
|
752
754
|
};
|
|
@@ -839,8 +841,8 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
839
841
|
type: "Nft";
|
|
840
842
|
id: string;
|
|
841
843
|
updatedAt: number;
|
|
842
|
-
name?: string | undefined;
|
|
843
844
|
symbol?: string | undefined;
|
|
845
|
+
name?: string | undefined;
|
|
844
846
|
image?: string | undefined;
|
|
845
847
|
metadata?: string | undefined;
|
|
846
848
|
};
|
|
@@ -860,38 +862,7 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
860
862
|
} | undefined;
|
|
861
863
|
from?: string | undefined;
|
|
862
864
|
to?: string | undefined;
|
|
863
|
-
}>, z.ZodEffects<z.ZodObject<{
|
|
864
|
-
price: z.ZodOptional<z.ZodObject<{
|
|
865
|
-
cryptoCurrencyId: z.ZodString;
|
|
866
|
-
fiatCurrencyId: z.ZodString;
|
|
867
|
-
price: z.ZodObject<{
|
|
868
|
-
value: z.ZodBigInt;
|
|
869
|
-
decimals: z.ZodNumber;
|
|
870
|
-
}, "strip", z.ZodTypeAny, {
|
|
871
|
-
value: bigint;
|
|
872
|
-
decimals: number;
|
|
873
|
-
}, {
|
|
874
|
-
value: bigint;
|
|
875
|
-
decimals: number;
|
|
876
|
-
}>;
|
|
877
|
-
timestamp: z.ZodNumber;
|
|
878
|
-
}, "strip", z.ZodTypeAny, {
|
|
879
|
-
cryptoCurrencyId: string;
|
|
880
|
-
fiatCurrencyId: string;
|
|
881
|
-
price: {
|
|
882
|
-
value: bigint;
|
|
883
|
-
decimals: number;
|
|
884
|
-
};
|
|
885
|
-
timestamp: number;
|
|
886
|
-
}, {
|
|
887
|
-
cryptoCurrencyId: string;
|
|
888
|
-
fiatCurrencyId: string;
|
|
889
|
-
price: {
|
|
890
|
-
value: bigint;
|
|
891
|
-
decimals: number;
|
|
892
|
-
};
|
|
893
|
-
timestamp: number;
|
|
894
|
-
}>>;
|
|
865
|
+
}>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
|
|
895
866
|
from: z.ZodOptional<z.ZodString>;
|
|
896
867
|
to: z.ZodOptional<z.ZodString>;
|
|
897
868
|
asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
@@ -1041,16 +1012,16 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1041
1012
|
type: "Nft";
|
|
1042
1013
|
id: string;
|
|
1043
1014
|
updatedAt: number;
|
|
1044
|
-
name?: string | undefined;
|
|
1045
1015
|
symbol?: string | undefined;
|
|
1016
|
+
name?: string | undefined;
|
|
1046
1017
|
image?: string | undefined;
|
|
1047
1018
|
metadata?: string | undefined;
|
|
1048
1019
|
}, {
|
|
1049
1020
|
type: "Nft";
|
|
1050
1021
|
id: string;
|
|
1051
1022
|
updatedAt: number;
|
|
1052
|
-
name?: string | undefined;
|
|
1053
1023
|
symbol?: string | undefined;
|
|
1024
|
+
name?: string | undefined;
|
|
1054
1025
|
image?: string | undefined;
|
|
1055
1026
|
metadata?: string | undefined;
|
|
1056
1027
|
}>, {
|
|
@@ -1065,8 +1036,8 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1065
1036
|
type: "Nft";
|
|
1066
1037
|
id: string;
|
|
1067
1038
|
updatedAt: number;
|
|
1068
|
-
name?: string | undefined;
|
|
1069
1039
|
symbol?: string | undefined;
|
|
1040
|
+
name?: string | undefined;
|
|
1070
1041
|
image?: string | undefined;
|
|
1071
1042
|
metadata?: string | undefined;
|
|
1072
1043
|
}>]>;
|
|
@@ -1080,8 +1051,40 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1080
1051
|
value: bigint;
|
|
1081
1052
|
decimals: number;
|
|
1082
1053
|
}>;
|
|
1054
|
+
price: z.ZodOptional<z.ZodObject<{
|
|
1055
|
+
cryptoCurrencyId: z.ZodString;
|
|
1056
|
+
fiatCurrencyId: z.ZodString;
|
|
1057
|
+
price: z.ZodObject<{
|
|
1058
|
+
value: z.ZodBigInt;
|
|
1059
|
+
decimals: z.ZodNumber;
|
|
1060
|
+
}, "strip", z.ZodTypeAny, {
|
|
1061
|
+
value: bigint;
|
|
1062
|
+
decimals: number;
|
|
1063
|
+
}, {
|
|
1064
|
+
value: bigint;
|
|
1065
|
+
decimals: number;
|
|
1066
|
+
}>;
|
|
1067
|
+
timestamp: z.ZodNumber;
|
|
1068
|
+
}, "strip", z.ZodTypeAny, {
|
|
1069
|
+
cryptoCurrencyId: string;
|
|
1070
|
+
fiatCurrencyId: string;
|
|
1071
|
+
price: {
|
|
1072
|
+
value: bigint;
|
|
1073
|
+
decimals: number;
|
|
1074
|
+
};
|
|
1075
|
+
timestamp: number;
|
|
1076
|
+
}, {
|
|
1077
|
+
cryptoCurrencyId: string;
|
|
1078
|
+
fiatCurrencyId: string;
|
|
1079
|
+
price: {
|
|
1080
|
+
value: bigint;
|
|
1081
|
+
decimals: number;
|
|
1082
|
+
};
|
|
1083
|
+
timestamp: number;
|
|
1084
|
+
}>>;
|
|
1085
|
+
}, {
|
|
1083
1086
|
direction: z.ZodLiteral<"none">;
|
|
1084
|
-
}
|
|
1087
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1085
1088
|
asset: {
|
|
1086
1089
|
icon: string | undefined;
|
|
1087
1090
|
priceDatasourceId: string | undefined;
|
|
@@ -1154,8 +1157,8 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1154
1157
|
type: "Nft";
|
|
1155
1158
|
id: string;
|
|
1156
1159
|
updatedAt: number;
|
|
1157
|
-
name?: string | undefined;
|
|
1158
1160
|
symbol?: string | undefined;
|
|
1161
|
+
name?: string | undefined;
|
|
1159
1162
|
image?: string | undefined;
|
|
1160
1163
|
metadata?: string | undefined;
|
|
1161
1164
|
};
|
|
@@ -1248,8 +1251,8 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1248
1251
|
type: "Nft";
|
|
1249
1252
|
id: string;
|
|
1250
1253
|
updatedAt: number;
|
|
1251
|
-
name?: string | undefined;
|
|
1252
1254
|
symbol?: string | undefined;
|
|
1255
|
+
name?: string | undefined;
|
|
1253
1256
|
image?: string | undefined;
|
|
1254
1257
|
metadata?: string | undefined;
|
|
1255
1258
|
};
|
|
@@ -1270,8 +1273,11 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1270
1273
|
from?: string | undefined;
|
|
1271
1274
|
to?: string | undefined;
|
|
1272
1275
|
}>]>, "many">;
|
|
1276
|
+
}, {
|
|
1277
|
+
type: z.ZodLiteral<"NormalAccountAction">;
|
|
1278
|
+
}>, {
|
|
1273
1279
|
action: z.ZodLiteral<"move">;
|
|
1274
|
-
}
|
|
1280
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1275
1281
|
type: "NormalAccountAction";
|
|
1276
1282
|
timestamp: number;
|
|
1277
1283
|
order: number;
|
|
@@ -1462,8 +1468,8 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1462
1468
|
type: "Nft";
|
|
1463
1469
|
id: string;
|
|
1464
1470
|
updatedAt: number;
|
|
1465
|
-
name?: string | undefined;
|
|
1466
1471
|
symbol?: string | undefined;
|
|
1472
|
+
name?: string | undefined;
|
|
1467
1473
|
image?: string | undefined;
|
|
1468
1474
|
metadata?: string | undefined;
|
|
1469
1475
|
};
|
|
@@ -1509,8 +1515,8 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1509
1515
|
type: "Nft";
|
|
1510
1516
|
id: string;
|
|
1511
1517
|
updatedAt: number;
|
|
1512
|
-
name?: string | undefined;
|
|
1513
1518
|
symbol?: string | undefined;
|
|
1519
|
+
name?: string | undefined;
|
|
1514
1520
|
image?: string | undefined;
|
|
1515
1521
|
metadata?: string | undefined;
|
|
1516
1522
|
};
|
|
@@ -1556,8 +1562,8 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1556
1562
|
type: "Nft";
|
|
1557
1563
|
id: string;
|
|
1558
1564
|
updatedAt: number;
|
|
1559
|
-
name?: string | undefined;
|
|
1560
1565
|
symbol?: string | undefined;
|
|
1566
|
+
name?: string | undefined;
|
|
1561
1567
|
image?: string | undefined;
|
|
1562
1568
|
metadata?: string | undefined;
|
|
1563
1569
|
};
|
|
@@ -1583,9 +1589,9 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1583
1589
|
id: string;
|
|
1584
1590
|
name: string;
|
|
1585
1591
|
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1592
|
+
icon?: string | undefined;
|
|
1586
1593
|
description?: string | undefined;
|
|
1587
1594
|
website?: string | undefined;
|
|
1588
|
-
icon?: string | undefined;
|
|
1589
1595
|
} | undefined;
|
|
1590
1596
|
}>, {
|
|
1591
1597
|
comment: string | undefined;
|
|
@@ -1778,8 +1784,8 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1778
1784
|
type: "Nft";
|
|
1779
1785
|
id: string;
|
|
1780
1786
|
updatedAt: number;
|
|
1781
|
-
name?: string | undefined;
|
|
1782
1787
|
symbol?: string | undefined;
|
|
1788
|
+
name?: string | undefined;
|
|
1783
1789
|
image?: string | undefined;
|
|
1784
1790
|
metadata?: string | undefined;
|
|
1785
1791
|
};
|
|
@@ -1825,8 +1831,8 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1825
1831
|
type: "Nft";
|
|
1826
1832
|
id: string;
|
|
1827
1833
|
updatedAt: number;
|
|
1828
|
-
name?: string | undefined;
|
|
1829
1834
|
symbol?: string | undefined;
|
|
1835
|
+
name?: string | undefined;
|
|
1830
1836
|
image?: string | undefined;
|
|
1831
1837
|
metadata?: string | undefined;
|
|
1832
1838
|
};
|
|
@@ -1872,8 +1878,8 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1872
1878
|
type: "Nft";
|
|
1873
1879
|
id: string;
|
|
1874
1880
|
updatedAt: number;
|
|
1875
|
-
name?: string | undefined;
|
|
1876
1881
|
symbol?: string | undefined;
|
|
1882
|
+
name?: string | undefined;
|
|
1877
1883
|
image?: string | undefined;
|
|
1878
1884
|
metadata?: string | undefined;
|
|
1879
1885
|
};
|
|
@@ -1899,9 +1905,9 @@ export declare const accountActionMoveSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1899
1905
|
id: string;
|
|
1900
1906
|
name: string;
|
|
1901
1907
|
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1908
|
+
icon?: string | undefined;
|
|
1902
1909
|
description?: string | undefined;
|
|
1903
1910
|
website?: string | undefined;
|
|
1904
|
-
icon?: string | undefined;
|
|
1905
1911
|
} | undefined;
|
|
1906
1912
|
}>;
|
|
1907
1913
|
//# sourceMappingURL=move.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"move.d.ts","sourceRoot":"","sources":["../../../../actions/schemas/ignore/move.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"move.d.ts","sourceRoot":"","sources":["../../../../actions/schemas/ignore/move.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ/B,CAAA"}
|