@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 normalAccountActionDefaultSchema: z.ZodObject<{
|
|
3
|
-
timestamp: z.ZodNumber;
|
|
4
|
-
order: z.ZodNumber;
|
|
2
|
+
export declare const normalAccountActionDefaultSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
5
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 normalAccountActionDefaultSchema: 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 normalAccountActionDefaultSchema: 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 normalAccountActionDefaultSchema: 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 normalAccountActionDefaultSchema: 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 normalAccountActionDefaultSchema: 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 normalAccountActionDefaultSchema: 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 normalAccountActionDefaultSchema: 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 normalAccountActionDefaultSchema: 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 normalAccountActionDefaultSchema: 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 normalAccountActionDefaultSchema: 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 normalAccountActionDefaultSchema: 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 normalAccountActionDefaultSchema: 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 normalAccountActionDefaultSchema: 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 normalAccountActionDefaultSchema: 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 normalAccountActionDefaultSchema: 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 normalAccountActionDefaultSchema: 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 normalAccountActionDefaultSchema: 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 normalAccountActionDefaultSchema: 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 normalAccountActionDefaultSchema: 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,9 @@ export declare const normalAccountActionDefaultSchema: z.ZodObject<{
|
|
|
1270
1273
|
from?: string | undefined;
|
|
1271
1274
|
to?: string | undefined;
|
|
1272
1275
|
}>]>, "many">;
|
|
1276
|
+
}, {
|
|
1273
1277
|
type: z.ZodLiteral<"NormalAccountAction">;
|
|
1274
|
-
}
|
|
1278
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1275
1279
|
type: "NormalAccountAction";
|
|
1276
1280
|
timestamp: number;
|
|
1277
1281
|
order: number;
|
|
@@ -1462,8 +1466,8 @@ export declare const normalAccountActionDefaultSchema: z.ZodObject<{
|
|
|
1462
1466
|
type: "Nft";
|
|
1463
1467
|
id: string;
|
|
1464
1468
|
updatedAt: number;
|
|
1465
|
-
name?: string | undefined;
|
|
1466
1469
|
symbol?: string | undefined;
|
|
1470
|
+
name?: string | undefined;
|
|
1467
1471
|
image?: string | undefined;
|
|
1468
1472
|
metadata?: string | undefined;
|
|
1469
1473
|
};
|
|
@@ -1509,8 +1513,8 @@ export declare const normalAccountActionDefaultSchema: z.ZodObject<{
|
|
|
1509
1513
|
type: "Nft";
|
|
1510
1514
|
id: string;
|
|
1511
1515
|
updatedAt: number;
|
|
1512
|
-
name?: string | undefined;
|
|
1513
1516
|
symbol?: string | undefined;
|
|
1517
|
+
name?: string | undefined;
|
|
1514
1518
|
image?: string | undefined;
|
|
1515
1519
|
metadata?: string | undefined;
|
|
1516
1520
|
};
|
|
@@ -1556,8 +1560,8 @@ export declare const normalAccountActionDefaultSchema: z.ZodObject<{
|
|
|
1556
1560
|
type: "Nft";
|
|
1557
1561
|
id: string;
|
|
1558
1562
|
updatedAt: number;
|
|
1559
|
-
name?: string | undefined;
|
|
1560
1563
|
symbol?: string | undefined;
|
|
1564
|
+
name?: string | undefined;
|
|
1561
1565
|
image?: string | undefined;
|
|
1562
1566
|
metadata?: string | undefined;
|
|
1563
1567
|
};
|
|
@@ -1583,17 +1587,17 @@ export declare const normalAccountActionDefaultSchema: z.ZodObject<{
|
|
|
1583
1587
|
id: string;
|
|
1584
1588
|
name: string;
|
|
1585
1589
|
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1590
|
+
icon?: string | undefined;
|
|
1586
1591
|
description?: string | undefined;
|
|
1587
1592
|
website?: string | undefined;
|
|
1588
|
-
icon?: string | undefined;
|
|
1589
1593
|
} | undefined;
|
|
1590
1594
|
}>;
|
|
1591
|
-
export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
1592
|
-
timestamp: z.ZodNumber;
|
|
1593
|
-
order: z.ZodNumber;
|
|
1595
|
+
export declare const crossAccountActionDefaultSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
1594
1596
|
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">]>;
|
|
1595
1597
|
source: z.ZodString;
|
|
1596
1598
|
evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
|
|
1599
|
+
timestamp: z.ZodNumber;
|
|
1600
|
+
order: z.ZodNumber;
|
|
1597
1601
|
comment: z.ZodOptional<z.ZodString>;
|
|
1598
1602
|
app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1599
1603
|
id: z.ZodString;
|
|
@@ -1606,16 +1610,16 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
1606
1610
|
id: string;
|
|
1607
1611
|
name: string;
|
|
1608
1612
|
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1613
|
+
icon?: string | undefined;
|
|
1609
1614
|
description?: string | undefined;
|
|
1610
1615
|
website?: string | undefined;
|
|
1611
|
-
icon?: string | undefined;
|
|
1612
1616
|
}, {
|
|
1613
1617
|
id: string;
|
|
1614
1618
|
name: string;
|
|
1615
1619
|
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1620
|
+
icon?: string | undefined;
|
|
1616
1621
|
description?: string | undefined;
|
|
1617
1622
|
website?: string | undefined;
|
|
1618
|
-
icon?: string | undefined;
|
|
1619
1623
|
}>, {
|
|
1620
1624
|
description: string | undefined;
|
|
1621
1625
|
website: string | undefined;
|
|
@@ -1627,42 +1631,11 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
1627
1631
|
id: string;
|
|
1628
1632
|
name: string;
|
|
1629
1633
|
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1634
|
+
icon?: string | undefined;
|
|
1630
1635
|
description?: string | undefined;
|
|
1631
1636
|
website?: string | undefined;
|
|
1632
|
-
icon?: string | undefined;
|
|
1633
1637
|
}>>;
|
|
1634
|
-
transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
1635
|
-
price: z.ZodOptional<z.ZodObject<{
|
|
1636
|
-
cryptoCurrencyId: z.ZodString;
|
|
1637
|
-
fiatCurrencyId: z.ZodString;
|
|
1638
|
-
price: z.ZodObject<{
|
|
1639
|
-
value: z.ZodBigInt;
|
|
1640
|
-
decimals: z.ZodNumber;
|
|
1641
|
-
}, "strip", z.ZodTypeAny, {
|
|
1642
|
-
value: bigint;
|
|
1643
|
-
decimals: number;
|
|
1644
|
-
}, {
|
|
1645
|
-
value: bigint;
|
|
1646
|
-
decimals: number;
|
|
1647
|
-
}>;
|
|
1648
|
-
timestamp: z.ZodNumber;
|
|
1649
|
-
}, "strip", z.ZodTypeAny, {
|
|
1650
|
-
cryptoCurrencyId: string;
|
|
1651
|
-
fiatCurrencyId: string;
|
|
1652
|
-
price: {
|
|
1653
|
-
value: bigint;
|
|
1654
|
-
decimals: number;
|
|
1655
|
-
};
|
|
1656
|
-
timestamp: number;
|
|
1657
|
-
}, {
|
|
1658
|
-
cryptoCurrencyId: string;
|
|
1659
|
-
fiatCurrencyId: string;
|
|
1660
|
-
price: {
|
|
1661
|
-
value: bigint;
|
|
1662
|
-
decimals: number;
|
|
1663
|
-
};
|
|
1664
|
-
timestamp: number;
|
|
1665
|
-
}>>;
|
|
1638
|
+
transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
|
|
1666
1639
|
from: z.ZodOptional<z.ZodString>;
|
|
1667
1640
|
to: z.ZodOptional<z.ZodString>;
|
|
1668
1641
|
asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
@@ -1812,16 +1785,16 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
1812
1785
|
type: "Nft";
|
|
1813
1786
|
id: string;
|
|
1814
1787
|
updatedAt: number;
|
|
1815
|
-
name?: string | undefined;
|
|
1816
1788
|
symbol?: string | undefined;
|
|
1789
|
+
name?: string | undefined;
|
|
1817
1790
|
image?: string | undefined;
|
|
1818
1791
|
metadata?: string | undefined;
|
|
1819
1792
|
}, {
|
|
1820
1793
|
type: "Nft";
|
|
1821
1794
|
id: string;
|
|
1822
1795
|
updatedAt: number;
|
|
1823
|
-
name?: string | undefined;
|
|
1824
1796
|
symbol?: string | undefined;
|
|
1797
|
+
name?: string | undefined;
|
|
1825
1798
|
image?: string | undefined;
|
|
1826
1799
|
metadata?: string | undefined;
|
|
1827
1800
|
}>, {
|
|
@@ -1836,8 +1809,8 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
1836
1809
|
type: "Nft";
|
|
1837
1810
|
id: string;
|
|
1838
1811
|
updatedAt: number;
|
|
1839
|
-
name?: string | undefined;
|
|
1840
1812
|
symbol?: string | undefined;
|
|
1813
|
+
name?: string | undefined;
|
|
1841
1814
|
image?: string | undefined;
|
|
1842
1815
|
metadata?: string | undefined;
|
|
1843
1816
|
}>]>;
|
|
@@ -1851,8 +1824,40 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
1851
1824
|
value: bigint;
|
|
1852
1825
|
decimals: number;
|
|
1853
1826
|
}>;
|
|
1827
|
+
price: z.ZodOptional<z.ZodObject<{
|
|
1828
|
+
cryptoCurrencyId: z.ZodString;
|
|
1829
|
+
fiatCurrencyId: z.ZodString;
|
|
1830
|
+
price: z.ZodObject<{
|
|
1831
|
+
value: z.ZodBigInt;
|
|
1832
|
+
decimals: z.ZodNumber;
|
|
1833
|
+
}, "strip", z.ZodTypeAny, {
|
|
1834
|
+
value: bigint;
|
|
1835
|
+
decimals: number;
|
|
1836
|
+
}, {
|
|
1837
|
+
value: bigint;
|
|
1838
|
+
decimals: number;
|
|
1839
|
+
}>;
|
|
1840
|
+
timestamp: z.ZodNumber;
|
|
1841
|
+
}, "strip", z.ZodTypeAny, {
|
|
1842
|
+
cryptoCurrencyId: string;
|
|
1843
|
+
fiatCurrencyId: string;
|
|
1844
|
+
price: {
|
|
1845
|
+
value: bigint;
|
|
1846
|
+
decimals: number;
|
|
1847
|
+
};
|
|
1848
|
+
timestamp: number;
|
|
1849
|
+
}, {
|
|
1850
|
+
cryptoCurrencyId: string;
|
|
1851
|
+
fiatCurrencyId: string;
|
|
1852
|
+
price: {
|
|
1853
|
+
value: bigint;
|
|
1854
|
+
decimals: number;
|
|
1855
|
+
};
|
|
1856
|
+
timestamp: number;
|
|
1857
|
+
}>>;
|
|
1858
|
+
}, {
|
|
1854
1859
|
direction: z.ZodLiteral<"in">;
|
|
1855
|
-
}
|
|
1860
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1856
1861
|
asset: {
|
|
1857
1862
|
icon: string | undefined;
|
|
1858
1863
|
priceDatasourceId: string | undefined;
|
|
@@ -1925,8 +1930,8 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
1925
1930
|
type: "Nft";
|
|
1926
1931
|
id: string;
|
|
1927
1932
|
updatedAt: number;
|
|
1928
|
-
name?: string | undefined;
|
|
1929
1933
|
symbol?: string | undefined;
|
|
1934
|
+
name?: string | undefined;
|
|
1930
1935
|
image?: string | undefined;
|
|
1931
1936
|
metadata?: string | undefined;
|
|
1932
1937
|
};
|
|
@@ -2019,8 +2024,8 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
2019
2024
|
type: "Nft";
|
|
2020
2025
|
id: string;
|
|
2021
2026
|
updatedAt: number;
|
|
2022
|
-
name?: string | undefined;
|
|
2023
2027
|
symbol?: string | undefined;
|
|
2028
|
+
name?: string | undefined;
|
|
2024
2029
|
image?: string | undefined;
|
|
2025
2030
|
metadata?: string | undefined;
|
|
2026
2031
|
};
|
|
@@ -2040,38 +2045,7 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
2040
2045
|
} | undefined;
|
|
2041
2046
|
from?: string | undefined;
|
|
2042
2047
|
to?: string | undefined;
|
|
2043
|
-
}>, z.ZodEffects<z.ZodObject<{
|
|
2044
|
-
price: z.ZodOptional<z.ZodObject<{
|
|
2045
|
-
cryptoCurrencyId: z.ZodString;
|
|
2046
|
-
fiatCurrencyId: z.ZodString;
|
|
2047
|
-
price: z.ZodObject<{
|
|
2048
|
-
value: z.ZodBigInt;
|
|
2049
|
-
decimals: z.ZodNumber;
|
|
2050
|
-
}, "strip", z.ZodTypeAny, {
|
|
2051
|
-
value: bigint;
|
|
2052
|
-
decimals: number;
|
|
2053
|
-
}, {
|
|
2054
|
-
value: bigint;
|
|
2055
|
-
decimals: number;
|
|
2056
|
-
}>;
|
|
2057
|
-
timestamp: z.ZodNumber;
|
|
2058
|
-
}, "strip", z.ZodTypeAny, {
|
|
2059
|
-
cryptoCurrencyId: string;
|
|
2060
|
-
fiatCurrencyId: string;
|
|
2061
|
-
price: {
|
|
2062
|
-
value: bigint;
|
|
2063
|
-
decimals: number;
|
|
2064
|
-
};
|
|
2065
|
-
timestamp: number;
|
|
2066
|
-
}, {
|
|
2067
|
-
cryptoCurrencyId: string;
|
|
2068
|
-
fiatCurrencyId: string;
|
|
2069
|
-
price: {
|
|
2070
|
-
value: bigint;
|
|
2071
|
-
decimals: number;
|
|
2072
|
-
};
|
|
2073
|
-
timestamp: number;
|
|
2074
|
-
}>>;
|
|
2048
|
+
}>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
|
|
2075
2049
|
from: z.ZodOptional<z.ZodString>;
|
|
2076
2050
|
to: z.ZodOptional<z.ZodString>;
|
|
2077
2051
|
asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
@@ -2221,16 +2195,16 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
2221
2195
|
type: "Nft";
|
|
2222
2196
|
id: string;
|
|
2223
2197
|
updatedAt: number;
|
|
2224
|
-
name?: string | undefined;
|
|
2225
2198
|
symbol?: string | undefined;
|
|
2199
|
+
name?: string | undefined;
|
|
2226
2200
|
image?: string | undefined;
|
|
2227
2201
|
metadata?: string | undefined;
|
|
2228
2202
|
}, {
|
|
2229
2203
|
type: "Nft";
|
|
2230
2204
|
id: string;
|
|
2231
2205
|
updatedAt: number;
|
|
2232
|
-
name?: string | undefined;
|
|
2233
2206
|
symbol?: string | undefined;
|
|
2207
|
+
name?: string | undefined;
|
|
2234
2208
|
image?: string | undefined;
|
|
2235
2209
|
metadata?: string | undefined;
|
|
2236
2210
|
}>, {
|
|
@@ -2245,8 +2219,8 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
2245
2219
|
type: "Nft";
|
|
2246
2220
|
id: string;
|
|
2247
2221
|
updatedAt: number;
|
|
2248
|
-
name?: string | undefined;
|
|
2249
2222
|
symbol?: string | undefined;
|
|
2223
|
+
name?: string | undefined;
|
|
2250
2224
|
image?: string | undefined;
|
|
2251
2225
|
metadata?: string | undefined;
|
|
2252
2226
|
}>]>;
|
|
@@ -2260,8 +2234,40 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
2260
2234
|
value: bigint;
|
|
2261
2235
|
decimals: number;
|
|
2262
2236
|
}>;
|
|
2237
|
+
price: z.ZodOptional<z.ZodObject<{
|
|
2238
|
+
cryptoCurrencyId: z.ZodString;
|
|
2239
|
+
fiatCurrencyId: z.ZodString;
|
|
2240
|
+
price: z.ZodObject<{
|
|
2241
|
+
value: z.ZodBigInt;
|
|
2242
|
+
decimals: z.ZodNumber;
|
|
2243
|
+
}, "strip", z.ZodTypeAny, {
|
|
2244
|
+
value: bigint;
|
|
2245
|
+
decimals: number;
|
|
2246
|
+
}, {
|
|
2247
|
+
value: bigint;
|
|
2248
|
+
decimals: number;
|
|
2249
|
+
}>;
|
|
2250
|
+
timestamp: z.ZodNumber;
|
|
2251
|
+
}, "strip", z.ZodTypeAny, {
|
|
2252
|
+
cryptoCurrencyId: string;
|
|
2253
|
+
fiatCurrencyId: string;
|
|
2254
|
+
price: {
|
|
2255
|
+
value: bigint;
|
|
2256
|
+
decimals: number;
|
|
2257
|
+
};
|
|
2258
|
+
timestamp: number;
|
|
2259
|
+
}, {
|
|
2260
|
+
cryptoCurrencyId: string;
|
|
2261
|
+
fiatCurrencyId: string;
|
|
2262
|
+
price: {
|
|
2263
|
+
value: bigint;
|
|
2264
|
+
decimals: number;
|
|
2265
|
+
};
|
|
2266
|
+
timestamp: number;
|
|
2267
|
+
}>>;
|
|
2268
|
+
}, {
|
|
2263
2269
|
direction: z.ZodLiteral<"out">;
|
|
2264
|
-
}
|
|
2270
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2265
2271
|
asset: {
|
|
2266
2272
|
icon: string | undefined;
|
|
2267
2273
|
priceDatasourceId: string | undefined;
|
|
@@ -2334,8 +2340,8 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
2334
2340
|
type: "Nft";
|
|
2335
2341
|
id: string;
|
|
2336
2342
|
updatedAt: number;
|
|
2337
|
-
name?: string | undefined;
|
|
2338
2343
|
symbol?: string | undefined;
|
|
2344
|
+
name?: string | undefined;
|
|
2339
2345
|
image?: string | undefined;
|
|
2340
2346
|
metadata?: string | undefined;
|
|
2341
2347
|
};
|
|
@@ -2428,8 +2434,8 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
2428
2434
|
type: "Nft";
|
|
2429
2435
|
id: string;
|
|
2430
2436
|
updatedAt: number;
|
|
2431
|
-
name?: string | undefined;
|
|
2432
2437
|
symbol?: string | undefined;
|
|
2438
|
+
name?: string | undefined;
|
|
2433
2439
|
image?: string | undefined;
|
|
2434
2440
|
metadata?: string | undefined;
|
|
2435
2441
|
};
|
|
@@ -2449,38 +2455,7 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
2449
2455
|
} | undefined;
|
|
2450
2456
|
from?: string | undefined;
|
|
2451
2457
|
to?: string | undefined;
|
|
2452
|
-
}>, z.ZodEffects<z.ZodObject<{
|
|
2453
|
-
price: z.ZodOptional<z.ZodObject<{
|
|
2454
|
-
cryptoCurrencyId: z.ZodString;
|
|
2455
|
-
fiatCurrencyId: z.ZodString;
|
|
2456
|
-
price: z.ZodObject<{
|
|
2457
|
-
value: z.ZodBigInt;
|
|
2458
|
-
decimals: z.ZodNumber;
|
|
2459
|
-
}, "strip", z.ZodTypeAny, {
|
|
2460
|
-
value: bigint;
|
|
2461
|
-
decimals: number;
|
|
2462
|
-
}, {
|
|
2463
|
-
value: bigint;
|
|
2464
|
-
decimals: number;
|
|
2465
|
-
}>;
|
|
2466
|
-
timestamp: z.ZodNumber;
|
|
2467
|
-
}, "strip", z.ZodTypeAny, {
|
|
2468
|
-
cryptoCurrencyId: string;
|
|
2469
|
-
fiatCurrencyId: string;
|
|
2470
|
-
price: {
|
|
2471
|
-
value: bigint;
|
|
2472
|
-
decimals: number;
|
|
2473
|
-
};
|
|
2474
|
-
timestamp: number;
|
|
2475
|
-
}, {
|
|
2476
|
-
cryptoCurrencyId: string;
|
|
2477
|
-
fiatCurrencyId: string;
|
|
2478
|
-
price: {
|
|
2479
|
-
value: bigint;
|
|
2480
|
-
decimals: number;
|
|
2481
|
-
};
|
|
2482
|
-
timestamp: number;
|
|
2483
|
-
}>>;
|
|
2458
|
+
}>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
|
|
2484
2459
|
from: z.ZodOptional<z.ZodString>;
|
|
2485
2460
|
to: z.ZodOptional<z.ZodString>;
|
|
2486
2461
|
asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
@@ -2630,16 +2605,16 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
2630
2605
|
type: "Nft";
|
|
2631
2606
|
id: string;
|
|
2632
2607
|
updatedAt: number;
|
|
2633
|
-
name?: string | undefined;
|
|
2634
2608
|
symbol?: string | undefined;
|
|
2609
|
+
name?: string | undefined;
|
|
2635
2610
|
image?: string | undefined;
|
|
2636
2611
|
metadata?: string | undefined;
|
|
2637
2612
|
}, {
|
|
2638
2613
|
type: "Nft";
|
|
2639
2614
|
id: string;
|
|
2640
2615
|
updatedAt: number;
|
|
2641
|
-
name?: string | undefined;
|
|
2642
2616
|
symbol?: string | undefined;
|
|
2617
|
+
name?: string | undefined;
|
|
2643
2618
|
image?: string | undefined;
|
|
2644
2619
|
metadata?: string | undefined;
|
|
2645
2620
|
}>, {
|
|
@@ -2654,8 +2629,8 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
2654
2629
|
type: "Nft";
|
|
2655
2630
|
id: string;
|
|
2656
2631
|
updatedAt: number;
|
|
2657
|
-
name?: string | undefined;
|
|
2658
2632
|
symbol?: string | undefined;
|
|
2633
|
+
name?: string | undefined;
|
|
2659
2634
|
image?: string | undefined;
|
|
2660
2635
|
metadata?: string | undefined;
|
|
2661
2636
|
}>]>;
|
|
@@ -2669,8 +2644,40 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
2669
2644
|
value: bigint;
|
|
2670
2645
|
decimals: number;
|
|
2671
2646
|
}>;
|
|
2647
|
+
price: z.ZodOptional<z.ZodObject<{
|
|
2648
|
+
cryptoCurrencyId: z.ZodString;
|
|
2649
|
+
fiatCurrencyId: z.ZodString;
|
|
2650
|
+
price: z.ZodObject<{
|
|
2651
|
+
value: z.ZodBigInt;
|
|
2652
|
+
decimals: z.ZodNumber;
|
|
2653
|
+
}, "strip", z.ZodTypeAny, {
|
|
2654
|
+
value: bigint;
|
|
2655
|
+
decimals: number;
|
|
2656
|
+
}, {
|
|
2657
|
+
value: bigint;
|
|
2658
|
+
decimals: number;
|
|
2659
|
+
}>;
|
|
2660
|
+
timestamp: z.ZodNumber;
|
|
2661
|
+
}, "strip", z.ZodTypeAny, {
|
|
2662
|
+
cryptoCurrencyId: string;
|
|
2663
|
+
fiatCurrencyId: string;
|
|
2664
|
+
price: {
|
|
2665
|
+
value: bigint;
|
|
2666
|
+
decimals: number;
|
|
2667
|
+
};
|
|
2668
|
+
timestamp: number;
|
|
2669
|
+
}, {
|
|
2670
|
+
cryptoCurrencyId: string;
|
|
2671
|
+
fiatCurrencyId: string;
|
|
2672
|
+
price: {
|
|
2673
|
+
value: bigint;
|
|
2674
|
+
decimals: number;
|
|
2675
|
+
};
|
|
2676
|
+
timestamp: number;
|
|
2677
|
+
}>>;
|
|
2678
|
+
}, {
|
|
2672
2679
|
direction: z.ZodLiteral<"none">;
|
|
2673
|
-
}
|
|
2680
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2674
2681
|
asset: {
|
|
2675
2682
|
icon: string | undefined;
|
|
2676
2683
|
priceDatasourceId: string | undefined;
|
|
@@ -2743,8 +2750,8 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
2743
2750
|
type: "Nft";
|
|
2744
2751
|
id: string;
|
|
2745
2752
|
updatedAt: number;
|
|
2746
|
-
name?: string | undefined;
|
|
2747
2753
|
symbol?: string | undefined;
|
|
2754
|
+
name?: string | undefined;
|
|
2748
2755
|
image?: string | undefined;
|
|
2749
2756
|
metadata?: string | undefined;
|
|
2750
2757
|
};
|
|
@@ -2837,8 +2844,8 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
2837
2844
|
type: "Nft";
|
|
2838
2845
|
id: string;
|
|
2839
2846
|
updatedAt: number;
|
|
2840
|
-
name?: string | undefined;
|
|
2841
2847
|
symbol?: string | undefined;
|
|
2848
|
+
name?: string | undefined;
|
|
2842
2849
|
image?: string | undefined;
|
|
2843
2850
|
metadata?: string | undefined;
|
|
2844
2851
|
};
|
|
@@ -2859,10 +2866,11 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
2859
2866
|
from?: string | undefined;
|
|
2860
2867
|
to?: string | undefined;
|
|
2861
2868
|
}>]>, "many">;
|
|
2869
|
+
}, {
|
|
2862
2870
|
type: z.ZodLiteral<"CrossAccountAction">;
|
|
2863
2871
|
crossId: z.ZodString;
|
|
2864
2872
|
crossType: z.ZodUnion<[z.ZodLiteral<"start">, z.ZodLiteral<"middle">, z.ZodLiteral<"end">]>;
|
|
2865
|
-
}
|
|
2873
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2866
2874
|
type: "CrossAccountAction";
|
|
2867
2875
|
timestamp: number;
|
|
2868
2876
|
order: number;
|
|
@@ -3055,8 +3063,8 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
3055
3063
|
type: "Nft";
|
|
3056
3064
|
id: string;
|
|
3057
3065
|
updatedAt: number;
|
|
3058
|
-
name?: string | undefined;
|
|
3059
3066
|
symbol?: string | undefined;
|
|
3067
|
+
name?: string | undefined;
|
|
3060
3068
|
image?: string | undefined;
|
|
3061
3069
|
metadata?: string | undefined;
|
|
3062
3070
|
};
|
|
@@ -3102,8 +3110,8 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
3102
3110
|
type: "Nft";
|
|
3103
3111
|
id: string;
|
|
3104
3112
|
updatedAt: number;
|
|
3105
|
-
name?: string | undefined;
|
|
3106
3113
|
symbol?: string | undefined;
|
|
3114
|
+
name?: string | undefined;
|
|
3107
3115
|
image?: string | undefined;
|
|
3108
3116
|
metadata?: string | undefined;
|
|
3109
3117
|
};
|
|
@@ -3149,8 +3157,8 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
3149
3157
|
type: "Nft";
|
|
3150
3158
|
id: string;
|
|
3151
3159
|
updatedAt: number;
|
|
3152
|
-
name?: string | undefined;
|
|
3153
3160
|
symbol?: string | undefined;
|
|
3161
|
+
name?: string | undefined;
|
|
3154
3162
|
image?: string | undefined;
|
|
3155
3163
|
metadata?: string | undefined;
|
|
3156
3164
|
};
|
|
@@ -3178,17 +3186,17 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
|
|
|
3178
3186
|
id: string;
|
|
3179
3187
|
name: string;
|
|
3180
3188
|
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
3189
|
+
icon?: string | undefined;
|
|
3181
3190
|
description?: string | undefined;
|
|
3182
3191
|
website?: string | undefined;
|
|
3183
|
-
icon?: string | undefined;
|
|
3184
3192
|
} | undefined;
|
|
3185
3193
|
}>;
|
|
3186
|
-
export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
3187
|
-
timestamp: z.ZodNumber;
|
|
3188
|
-
order: z.ZodNumber;
|
|
3194
|
+
export declare const loanAccountActionDefaultSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
3189
3195
|
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">]>;
|
|
3190
3196
|
source: z.ZodString;
|
|
3191
3197
|
evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
|
|
3198
|
+
timestamp: z.ZodNumber;
|
|
3199
|
+
order: z.ZodNumber;
|
|
3192
3200
|
comment: z.ZodOptional<z.ZodString>;
|
|
3193
3201
|
app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
3194
3202
|
id: z.ZodString;
|
|
@@ -3201,16 +3209,16 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
3201
3209
|
id: string;
|
|
3202
3210
|
name: string;
|
|
3203
3211
|
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
3212
|
+
icon?: string | undefined;
|
|
3204
3213
|
description?: string | undefined;
|
|
3205
3214
|
website?: string | undefined;
|
|
3206
|
-
icon?: string | undefined;
|
|
3207
3215
|
}, {
|
|
3208
3216
|
id: string;
|
|
3209
3217
|
name: string;
|
|
3210
3218
|
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
3219
|
+
icon?: string | undefined;
|
|
3211
3220
|
description?: string | undefined;
|
|
3212
3221
|
website?: string | undefined;
|
|
3213
|
-
icon?: string | undefined;
|
|
3214
3222
|
}>, {
|
|
3215
3223
|
description: string | undefined;
|
|
3216
3224
|
website: string | undefined;
|
|
@@ -3222,42 +3230,11 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
3222
3230
|
id: string;
|
|
3223
3231
|
name: string;
|
|
3224
3232
|
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
3233
|
+
icon?: string | undefined;
|
|
3225
3234
|
description?: string | undefined;
|
|
3226
3235
|
website?: string | undefined;
|
|
3227
|
-
icon?: string | undefined;
|
|
3228
3236
|
}>>;
|
|
3229
|
-
transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
3230
|
-
price: z.ZodOptional<z.ZodObject<{
|
|
3231
|
-
cryptoCurrencyId: z.ZodString;
|
|
3232
|
-
fiatCurrencyId: z.ZodString;
|
|
3233
|
-
price: z.ZodObject<{
|
|
3234
|
-
value: z.ZodBigInt;
|
|
3235
|
-
decimals: z.ZodNumber;
|
|
3236
|
-
}, "strip", z.ZodTypeAny, {
|
|
3237
|
-
value: bigint;
|
|
3238
|
-
decimals: number;
|
|
3239
|
-
}, {
|
|
3240
|
-
value: bigint;
|
|
3241
|
-
decimals: number;
|
|
3242
|
-
}>;
|
|
3243
|
-
timestamp: z.ZodNumber;
|
|
3244
|
-
}, "strip", z.ZodTypeAny, {
|
|
3245
|
-
cryptoCurrencyId: string;
|
|
3246
|
-
fiatCurrencyId: string;
|
|
3247
|
-
price: {
|
|
3248
|
-
value: bigint;
|
|
3249
|
-
decimals: number;
|
|
3250
|
-
};
|
|
3251
|
-
timestamp: number;
|
|
3252
|
-
}, {
|
|
3253
|
-
cryptoCurrencyId: string;
|
|
3254
|
-
fiatCurrencyId: string;
|
|
3255
|
-
price: {
|
|
3256
|
-
value: bigint;
|
|
3257
|
-
decimals: number;
|
|
3258
|
-
};
|
|
3259
|
-
timestamp: number;
|
|
3260
|
-
}>>;
|
|
3237
|
+
transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
|
|
3261
3238
|
from: z.ZodOptional<z.ZodString>;
|
|
3262
3239
|
to: z.ZodOptional<z.ZodString>;
|
|
3263
3240
|
asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
@@ -3407,16 +3384,16 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
3407
3384
|
type: "Nft";
|
|
3408
3385
|
id: string;
|
|
3409
3386
|
updatedAt: number;
|
|
3410
|
-
name?: string | undefined;
|
|
3411
3387
|
symbol?: string | undefined;
|
|
3388
|
+
name?: string | undefined;
|
|
3412
3389
|
image?: string | undefined;
|
|
3413
3390
|
metadata?: string | undefined;
|
|
3414
3391
|
}, {
|
|
3415
3392
|
type: "Nft";
|
|
3416
3393
|
id: string;
|
|
3417
3394
|
updatedAt: number;
|
|
3418
|
-
name?: string | undefined;
|
|
3419
3395
|
symbol?: string | undefined;
|
|
3396
|
+
name?: string | undefined;
|
|
3420
3397
|
image?: string | undefined;
|
|
3421
3398
|
metadata?: string | undefined;
|
|
3422
3399
|
}>, {
|
|
@@ -3431,8 +3408,8 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
3431
3408
|
type: "Nft";
|
|
3432
3409
|
id: string;
|
|
3433
3410
|
updatedAt: number;
|
|
3434
|
-
name?: string | undefined;
|
|
3435
3411
|
symbol?: string | undefined;
|
|
3412
|
+
name?: string | undefined;
|
|
3436
3413
|
image?: string | undefined;
|
|
3437
3414
|
metadata?: string | undefined;
|
|
3438
3415
|
}>]>;
|
|
@@ -3446,8 +3423,40 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
3446
3423
|
value: bigint;
|
|
3447
3424
|
decimals: number;
|
|
3448
3425
|
}>;
|
|
3426
|
+
price: z.ZodOptional<z.ZodObject<{
|
|
3427
|
+
cryptoCurrencyId: z.ZodString;
|
|
3428
|
+
fiatCurrencyId: z.ZodString;
|
|
3429
|
+
price: z.ZodObject<{
|
|
3430
|
+
value: z.ZodBigInt;
|
|
3431
|
+
decimals: z.ZodNumber;
|
|
3432
|
+
}, "strip", z.ZodTypeAny, {
|
|
3433
|
+
value: bigint;
|
|
3434
|
+
decimals: number;
|
|
3435
|
+
}, {
|
|
3436
|
+
value: bigint;
|
|
3437
|
+
decimals: number;
|
|
3438
|
+
}>;
|
|
3439
|
+
timestamp: z.ZodNumber;
|
|
3440
|
+
}, "strip", z.ZodTypeAny, {
|
|
3441
|
+
cryptoCurrencyId: string;
|
|
3442
|
+
fiatCurrencyId: string;
|
|
3443
|
+
price: {
|
|
3444
|
+
value: bigint;
|
|
3445
|
+
decimals: number;
|
|
3446
|
+
};
|
|
3447
|
+
timestamp: number;
|
|
3448
|
+
}, {
|
|
3449
|
+
cryptoCurrencyId: string;
|
|
3450
|
+
fiatCurrencyId: string;
|
|
3451
|
+
price: {
|
|
3452
|
+
value: bigint;
|
|
3453
|
+
decimals: number;
|
|
3454
|
+
};
|
|
3455
|
+
timestamp: number;
|
|
3456
|
+
}>>;
|
|
3457
|
+
}, {
|
|
3449
3458
|
direction: z.ZodLiteral<"in">;
|
|
3450
|
-
}
|
|
3459
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3451
3460
|
asset: {
|
|
3452
3461
|
icon: string | undefined;
|
|
3453
3462
|
priceDatasourceId: string | undefined;
|
|
@@ -3520,8 +3529,8 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
3520
3529
|
type: "Nft";
|
|
3521
3530
|
id: string;
|
|
3522
3531
|
updatedAt: number;
|
|
3523
|
-
name?: string | undefined;
|
|
3524
3532
|
symbol?: string | undefined;
|
|
3533
|
+
name?: string | undefined;
|
|
3525
3534
|
image?: string | undefined;
|
|
3526
3535
|
metadata?: string | undefined;
|
|
3527
3536
|
};
|
|
@@ -3614,8 +3623,8 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
3614
3623
|
type: "Nft";
|
|
3615
3624
|
id: string;
|
|
3616
3625
|
updatedAt: number;
|
|
3617
|
-
name?: string | undefined;
|
|
3618
3626
|
symbol?: string | undefined;
|
|
3627
|
+
name?: string | undefined;
|
|
3619
3628
|
image?: string | undefined;
|
|
3620
3629
|
metadata?: string | undefined;
|
|
3621
3630
|
};
|
|
@@ -3635,38 +3644,7 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
3635
3644
|
} | undefined;
|
|
3636
3645
|
from?: string | undefined;
|
|
3637
3646
|
to?: string | undefined;
|
|
3638
|
-
}>, z.ZodEffects<z.ZodObject<{
|
|
3639
|
-
price: z.ZodOptional<z.ZodObject<{
|
|
3640
|
-
cryptoCurrencyId: z.ZodString;
|
|
3641
|
-
fiatCurrencyId: z.ZodString;
|
|
3642
|
-
price: z.ZodObject<{
|
|
3643
|
-
value: z.ZodBigInt;
|
|
3644
|
-
decimals: z.ZodNumber;
|
|
3645
|
-
}, "strip", z.ZodTypeAny, {
|
|
3646
|
-
value: bigint;
|
|
3647
|
-
decimals: number;
|
|
3648
|
-
}, {
|
|
3649
|
-
value: bigint;
|
|
3650
|
-
decimals: number;
|
|
3651
|
-
}>;
|
|
3652
|
-
timestamp: z.ZodNumber;
|
|
3653
|
-
}, "strip", z.ZodTypeAny, {
|
|
3654
|
-
cryptoCurrencyId: string;
|
|
3655
|
-
fiatCurrencyId: string;
|
|
3656
|
-
price: {
|
|
3657
|
-
value: bigint;
|
|
3658
|
-
decimals: number;
|
|
3659
|
-
};
|
|
3660
|
-
timestamp: number;
|
|
3661
|
-
}, {
|
|
3662
|
-
cryptoCurrencyId: string;
|
|
3663
|
-
fiatCurrencyId: string;
|
|
3664
|
-
price: {
|
|
3665
|
-
value: bigint;
|
|
3666
|
-
decimals: number;
|
|
3667
|
-
};
|
|
3668
|
-
timestamp: number;
|
|
3669
|
-
}>>;
|
|
3647
|
+
}>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
|
|
3670
3648
|
from: z.ZodOptional<z.ZodString>;
|
|
3671
3649
|
to: z.ZodOptional<z.ZodString>;
|
|
3672
3650
|
asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
@@ -3816,16 +3794,16 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
3816
3794
|
type: "Nft";
|
|
3817
3795
|
id: string;
|
|
3818
3796
|
updatedAt: number;
|
|
3819
|
-
name?: string | undefined;
|
|
3820
3797
|
symbol?: string | undefined;
|
|
3798
|
+
name?: string | undefined;
|
|
3821
3799
|
image?: string | undefined;
|
|
3822
3800
|
metadata?: string | undefined;
|
|
3823
3801
|
}, {
|
|
3824
3802
|
type: "Nft";
|
|
3825
3803
|
id: string;
|
|
3826
3804
|
updatedAt: number;
|
|
3827
|
-
name?: string | undefined;
|
|
3828
3805
|
symbol?: string | undefined;
|
|
3806
|
+
name?: string | undefined;
|
|
3829
3807
|
image?: string | undefined;
|
|
3830
3808
|
metadata?: string | undefined;
|
|
3831
3809
|
}>, {
|
|
@@ -3840,8 +3818,8 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
3840
3818
|
type: "Nft";
|
|
3841
3819
|
id: string;
|
|
3842
3820
|
updatedAt: number;
|
|
3843
|
-
name?: string | undefined;
|
|
3844
3821
|
symbol?: string | undefined;
|
|
3822
|
+
name?: string | undefined;
|
|
3845
3823
|
image?: string | undefined;
|
|
3846
3824
|
metadata?: string | undefined;
|
|
3847
3825
|
}>]>;
|
|
@@ -3855,8 +3833,40 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
3855
3833
|
value: bigint;
|
|
3856
3834
|
decimals: number;
|
|
3857
3835
|
}>;
|
|
3836
|
+
price: z.ZodOptional<z.ZodObject<{
|
|
3837
|
+
cryptoCurrencyId: z.ZodString;
|
|
3838
|
+
fiatCurrencyId: z.ZodString;
|
|
3839
|
+
price: z.ZodObject<{
|
|
3840
|
+
value: z.ZodBigInt;
|
|
3841
|
+
decimals: z.ZodNumber;
|
|
3842
|
+
}, "strip", z.ZodTypeAny, {
|
|
3843
|
+
value: bigint;
|
|
3844
|
+
decimals: number;
|
|
3845
|
+
}, {
|
|
3846
|
+
value: bigint;
|
|
3847
|
+
decimals: number;
|
|
3848
|
+
}>;
|
|
3849
|
+
timestamp: z.ZodNumber;
|
|
3850
|
+
}, "strip", z.ZodTypeAny, {
|
|
3851
|
+
cryptoCurrencyId: string;
|
|
3852
|
+
fiatCurrencyId: string;
|
|
3853
|
+
price: {
|
|
3854
|
+
value: bigint;
|
|
3855
|
+
decimals: number;
|
|
3856
|
+
};
|
|
3857
|
+
timestamp: number;
|
|
3858
|
+
}, {
|
|
3859
|
+
cryptoCurrencyId: string;
|
|
3860
|
+
fiatCurrencyId: string;
|
|
3861
|
+
price: {
|
|
3862
|
+
value: bigint;
|
|
3863
|
+
decimals: number;
|
|
3864
|
+
};
|
|
3865
|
+
timestamp: number;
|
|
3866
|
+
}>>;
|
|
3867
|
+
}, {
|
|
3858
3868
|
direction: z.ZodLiteral<"out">;
|
|
3859
|
-
}
|
|
3869
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3860
3870
|
asset: {
|
|
3861
3871
|
icon: string | undefined;
|
|
3862
3872
|
priceDatasourceId: string | undefined;
|
|
@@ -3929,8 +3939,8 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
3929
3939
|
type: "Nft";
|
|
3930
3940
|
id: string;
|
|
3931
3941
|
updatedAt: number;
|
|
3932
|
-
name?: string | undefined;
|
|
3933
3942
|
symbol?: string | undefined;
|
|
3943
|
+
name?: string | undefined;
|
|
3934
3944
|
image?: string | undefined;
|
|
3935
3945
|
metadata?: string | undefined;
|
|
3936
3946
|
};
|
|
@@ -4023,8 +4033,8 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
4023
4033
|
type: "Nft";
|
|
4024
4034
|
id: string;
|
|
4025
4035
|
updatedAt: number;
|
|
4026
|
-
name?: string | undefined;
|
|
4027
4036
|
symbol?: string | undefined;
|
|
4037
|
+
name?: string | undefined;
|
|
4028
4038
|
image?: string | undefined;
|
|
4029
4039
|
metadata?: string | undefined;
|
|
4030
4040
|
};
|
|
@@ -4044,38 +4054,7 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
4044
4054
|
} | undefined;
|
|
4045
4055
|
from?: string | undefined;
|
|
4046
4056
|
to?: string | undefined;
|
|
4047
|
-
}>, z.ZodEffects<z.ZodObject<{
|
|
4048
|
-
price: z.ZodOptional<z.ZodObject<{
|
|
4049
|
-
cryptoCurrencyId: z.ZodString;
|
|
4050
|
-
fiatCurrencyId: z.ZodString;
|
|
4051
|
-
price: z.ZodObject<{
|
|
4052
|
-
value: z.ZodBigInt;
|
|
4053
|
-
decimals: z.ZodNumber;
|
|
4054
|
-
}, "strip", z.ZodTypeAny, {
|
|
4055
|
-
value: bigint;
|
|
4056
|
-
decimals: number;
|
|
4057
|
-
}, {
|
|
4058
|
-
value: bigint;
|
|
4059
|
-
decimals: number;
|
|
4060
|
-
}>;
|
|
4061
|
-
timestamp: z.ZodNumber;
|
|
4062
|
-
}, "strip", z.ZodTypeAny, {
|
|
4063
|
-
cryptoCurrencyId: string;
|
|
4064
|
-
fiatCurrencyId: string;
|
|
4065
|
-
price: {
|
|
4066
|
-
value: bigint;
|
|
4067
|
-
decimals: number;
|
|
4068
|
-
};
|
|
4069
|
-
timestamp: number;
|
|
4070
|
-
}, {
|
|
4071
|
-
cryptoCurrencyId: string;
|
|
4072
|
-
fiatCurrencyId: string;
|
|
4073
|
-
price: {
|
|
4074
|
-
value: bigint;
|
|
4075
|
-
decimals: number;
|
|
4076
|
-
};
|
|
4077
|
-
timestamp: number;
|
|
4078
|
-
}>>;
|
|
4057
|
+
}>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
|
|
4079
4058
|
from: z.ZodOptional<z.ZodString>;
|
|
4080
4059
|
to: z.ZodOptional<z.ZodString>;
|
|
4081
4060
|
asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
@@ -4225,16 +4204,16 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
4225
4204
|
type: "Nft";
|
|
4226
4205
|
id: string;
|
|
4227
4206
|
updatedAt: number;
|
|
4228
|
-
name?: string | undefined;
|
|
4229
4207
|
symbol?: string | undefined;
|
|
4208
|
+
name?: string | undefined;
|
|
4230
4209
|
image?: string | undefined;
|
|
4231
4210
|
metadata?: string | undefined;
|
|
4232
4211
|
}, {
|
|
4233
4212
|
type: "Nft";
|
|
4234
4213
|
id: string;
|
|
4235
4214
|
updatedAt: number;
|
|
4236
|
-
name?: string | undefined;
|
|
4237
4215
|
symbol?: string | undefined;
|
|
4216
|
+
name?: string | undefined;
|
|
4238
4217
|
image?: string | undefined;
|
|
4239
4218
|
metadata?: string | undefined;
|
|
4240
4219
|
}>, {
|
|
@@ -4249,8 +4228,8 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
4249
4228
|
type: "Nft";
|
|
4250
4229
|
id: string;
|
|
4251
4230
|
updatedAt: number;
|
|
4252
|
-
name?: string | undefined;
|
|
4253
4231
|
symbol?: string | undefined;
|
|
4232
|
+
name?: string | undefined;
|
|
4254
4233
|
image?: string | undefined;
|
|
4255
4234
|
metadata?: string | undefined;
|
|
4256
4235
|
}>]>;
|
|
@@ -4264,8 +4243,40 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
4264
4243
|
value: bigint;
|
|
4265
4244
|
decimals: number;
|
|
4266
4245
|
}>;
|
|
4246
|
+
price: z.ZodOptional<z.ZodObject<{
|
|
4247
|
+
cryptoCurrencyId: z.ZodString;
|
|
4248
|
+
fiatCurrencyId: z.ZodString;
|
|
4249
|
+
price: z.ZodObject<{
|
|
4250
|
+
value: z.ZodBigInt;
|
|
4251
|
+
decimals: z.ZodNumber;
|
|
4252
|
+
}, "strip", z.ZodTypeAny, {
|
|
4253
|
+
value: bigint;
|
|
4254
|
+
decimals: number;
|
|
4255
|
+
}, {
|
|
4256
|
+
value: bigint;
|
|
4257
|
+
decimals: number;
|
|
4258
|
+
}>;
|
|
4259
|
+
timestamp: z.ZodNumber;
|
|
4260
|
+
}, "strip", z.ZodTypeAny, {
|
|
4261
|
+
cryptoCurrencyId: string;
|
|
4262
|
+
fiatCurrencyId: string;
|
|
4263
|
+
price: {
|
|
4264
|
+
value: bigint;
|
|
4265
|
+
decimals: number;
|
|
4266
|
+
};
|
|
4267
|
+
timestamp: number;
|
|
4268
|
+
}, {
|
|
4269
|
+
cryptoCurrencyId: string;
|
|
4270
|
+
fiatCurrencyId: string;
|
|
4271
|
+
price: {
|
|
4272
|
+
value: bigint;
|
|
4273
|
+
decimals: number;
|
|
4274
|
+
};
|
|
4275
|
+
timestamp: number;
|
|
4276
|
+
}>>;
|
|
4277
|
+
}, {
|
|
4267
4278
|
direction: z.ZodLiteral<"none">;
|
|
4268
|
-
}
|
|
4279
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4269
4280
|
asset: {
|
|
4270
4281
|
icon: string | undefined;
|
|
4271
4282
|
priceDatasourceId: string | undefined;
|
|
@@ -4338,8 +4349,8 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
4338
4349
|
type: "Nft";
|
|
4339
4350
|
id: string;
|
|
4340
4351
|
updatedAt: number;
|
|
4341
|
-
name?: string | undefined;
|
|
4342
4352
|
symbol?: string | undefined;
|
|
4353
|
+
name?: string | undefined;
|
|
4343
4354
|
image?: string | undefined;
|
|
4344
4355
|
metadata?: string | undefined;
|
|
4345
4356
|
};
|
|
@@ -4432,8 +4443,8 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
4432
4443
|
type: "Nft";
|
|
4433
4444
|
id: string;
|
|
4434
4445
|
updatedAt: number;
|
|
4435
|
-
name?: string | undefined;
|
|
4436
4446
|
symbol?: string | undefined;
|
|
4447
|
+
name?: string | undefined;
|
|
4437
4448
|
image?: string | undefined;
|
|
4438
4449
|
metadata?: string | undefined;
|
|
4439
4450
|
};
|
|
@@ -4454,9 +4465,10 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
4454
4465
|
from?: string | undefined;
|
|
4455
4466
|
to?: string | undefined;
|
|
4456
4467
|
}>]>, "many">;
|
|
4468
|
+
}, {
|
|
4457
4469
|
type: z.ZodLiteral<"LoanAccountAction">;
|
|
4458
4470
|
loanId: z.ZodString;
|
|
4459
|
-
}
|
|
4471
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4460
4472
|
type: "LoanAccountAction";
|
|
4461
4473
|
timestamp: number;
|
|
4462
4474
|
order: number;
|
|
@@ -4648,8 +4660,8 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
4648
4660
|
type: "Nft";
|
|
4649
4661
|
id: string;
|
|
4650
4662
|
updatedAt: number;
|
|
4651
|
-
name?: string | undefined;
|
|
4652
4663
|
symbol?: string | undefined;
|
|
4664
|
+
name?: string | undefined;
|
|
4653
4665
|
image?: string | undefined;
|
|
4654
4666
|
metadata?: string | undefined;
|
|
4655
4667
|
};
|
|
@@ -4695,8 +4707,8 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
4695
4707
|
type: "Nft";
|
|
4696
4708
|
id: string;
|
|
4697
4709
|
updatedAt: number;
|
|
4698
|
-
name?: string | undefined;
|
|
4699
4710
|
symbol?: string | undefined;
|
|
4711
|
+
name?: string | undefined;
|
|
4700
4712
|
image?: string | undefined;
|
|
4701
4713
|
metadata?: string | undefined;
|
|
4702
4714
|
};
|
|
@@ -4742,8 +4754,8 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
4742
4754
|
type: "Nft";
|
|
4743
4755
|
id: string;
|
|
4744
4756
|
updatedAt: number;
|
|
4745
|
-
name?: string | undefined;
|
|
4746
4757
|
symbol?: string | undefined;
|
|
4758
|
+
name?: string | undefined;
|
|
4747
4759
|
image?: string | undefined;
|
|
4748
4760
|
metadata?: string | undefined;
|
|
4749
4761
|
};
|
|
@@ -4770,9 +4782,9 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
|
|
|
4770
4782
|
id: string;
|
|
4771
4783
|
name: string;
|
|
4772
4784
|
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
4785
|
+
icon?: string | undefined;
|
|
4773
4786
|
description?: string | undefined;
|
|
4774
4787
|
website?: string | undefined;
|
|
4775
|
-
icon?: string | undefined;
|
|
4776
4788
|
} | undefined;
|
|
4777
4789
|
}>;
|
|
4778
4790
|
//# sourceMappingURL=accountAction.d.ts.map
|