@0xtorch/core 0.0.28 → 0.0.29
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/assets/definitions/astar.js +1 -0
- package/_cjs/assets/definitions/astar.js.map +1 -1
- package/_cjs/assets/definitions/avalanche.js +1 -0
- package/_cjs/assets/definitions/avalanche.js.map +1 -1
- package/_cjs/assets/definitions/bnb.js +1 -0
- package/_cjs/assets/definitions/bnb.js.map +1 -1
- package/_cjs/assets/definitions/coingeckoCryptoCurrencyDataSource.js +14 -14
- package/_cjs/assets/definitions/coingeckoCryptoCurrencyDataSource.js.map +1 -1
- package/_cjs/assets/definitions/ethereum.js +1 -0
- package/_cjs/assets/definitions/ethereum.js.map +1 -1
- package/_cjs/assets/definitions/fantom.js +1 -0
- package/_cjs/assets/definitions/fantom.js.map +1 -1
- package/_cjs/assets/definitions/kava.js +1 -0
- package/_cjs/assets/definitions/kava.js.map +1 -1
- package/_cjs/assets/definitions/mantle.js +1 -0
- package/_cjs/assets/definitions/mantle.js.map +1 -1
- package/_cjs/assets/definitions/maticNetwork.js +1 -0
- package/_cjs/assets/definitions/maticNetwork.js.map +1 -1
- package/_cjs/assets/definitions/metis.js +1 -0
- package/_cjs/assets/definitions/metis.js.map +1 -1
- package/_cjs/assets/definitions/moonbeam.js +1 -0
- package/_cjs/assets/definitions/moonbeam.js.map +1 -1
- package/_cjs/assets/definitions/moonriver.js +1 -0
- package/_cjs/assets/definitions/moonriver.js.map +1 -1
- package/_cjs/assets/definitions/oasys.js +1 -0
- package/_cjs/assets/definitions/oasys.js.map +1 -1
- package/_cjs/assets/definitions/ronin.js +1 -0
- package/_cjs/assets/definitions/ronin.js.map +1 -1
- package/_cjs/assets/definitions/solana.js +1 -0
- package/_cjs/assets/definitions/solana.js.map +1 -1
- package/_cjs/assets/schemas/cryptoCurrency.js +2 -0
- package/_cjs/assets/schemas/cryptoCurrency.js.map +1 -1
- package/_cjs/setAccountActionPrices.js +5 -8
- package/_cjs/setAccountActionPrices.js.map +1 -1
- package/_cjs/tests/utils.js +3 -4
- package/_cjs/tests/utils.js.map +1 -1
- package/_esm/assets/definitions/astar.js +1 -0
- package/_esm/assets/definitions/astar.js.map +1 -1
- package/_esm/assets/definitions/avalanche.js +1 -0
- package/_esm/assets/definitions/avalanche.js.map +1 -1
- package/_esm/assets/definitions/bnb.js +1 -0
- package/_esm/assets/definitions/bnb.js.map +1 -1
- package/_esm/assets/definitions/coingeckoCryptoCurrencyDataSource.js +15 -15
- package/_esm/assets/definitions/coingeckoCryptoCurrencyDataSource.js.map +1 -1
- package/_esm/assets/definitions/ethereum.js +1 -0
- package/_esm/assets/definitions/ethereum.js.map +1 -1
- package/_esm/assets/definitions/fantom.js +1 -0
- package/_esm/assets/definitions/fantom.js.map +1 -1
- package/_esm/assets/definitions/kava.js +1 -0
- package/_esm/assets/definitions/kava.js.map +1 -1
- package/_esm/assets/definitions/mantle.js +1 -0
- package/_esm/assets/definitions/mantle.js.map +1 -1
- package/_esm/assets/definitions/maticNetwork.js +1 -0
- package/_esm/assets/definitions/maticNetwork.js.map +1 -1
- package/_esm/assets/definitions/metis.js +1 -0
- package/_esm/assets/definitions/metis.js.map +1 -1
- package/_esm/assets/definitions/moonbeam.js +1 -0
- package/_esm/assets/definitions/moonbeam.js.map +1 -1
- package/_esm/assets/definitions/moonriver.js +1 -0
- package/_esm/assets/definitions/moonriver.js.map +1 -1
- package/_esm/assets/definitions/oasys.js +1 -0
- package/_esm/assets/definitions/oasys.js.map +1 -1
- package/_esm/assets/definitions/ronin.js +1 -0
- package/_esm/assets/definitions/ronin.js.map +1 -1
- package/_esm/assets/definitions/solana.js +1 -0
- package/_esm/assets/definitions/solana.js.map +1 -1
- package/_esm/assets/schemas/cryptoCurrency.js +2 -0
- package/_esm/assets/schemas/cryptoCurrency.js.map +1 -1
- package/_esm/setAccountActionPrices.js +5 -8
- package/_esm/setAccountActionPrices.js.map +1 -1
- package/_esm/tests/utils.js +3 -4
- package/_esm/tests/utils.js.map +1 -1
- package/_types/actions/schemas/action.d.ts +1378 -0
- package/_types/actions/schemas/action.d.ts.map +1 -1
- package/_types/actions/schemas/borrow/borrow.d.ts +26 -0
- package/_types/actions/schemas/borrow/borrow.d.ts.map +1 -1
- package/_types/actions/schemas/crossActionBundle.d.ts +90 -0
- package/_types/actions/schemas/crossActionBundle.d.ts.map +1 -1
- package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts +26 -0
- package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts.map +1 -1
- package/_types/actions/schemas/crossReplace/bridgeTo.d.ts +26 -0
- package/_types/actions/schemas/crossReplace/bridgeTo.d.ts.map +1 -1
- package/_types/actions/schemas/crossReplace/crossReplace.d.ts +52 -0
- package/_types/actions/schemas/crossReplace/crossReplace.d.ts.map +1 -1
- package/_types/actions/schemas/crossTrade/crossTrade.d.ts +52 -0
- package/_types/actions/schemas/crossTrade/crossTrade.d.ts.map +1 -1
- package/_types/actions/schemas/default/accountAction.d.ts +99 -0
- package/_types/actions/schemas/default/accountAction.d.ts.map +1 -1
- package/_types/actions/schemas/default/normalAction.d.ts +99 -0
- package/_types/actions/schemas/default/normalAction.d.ts.map +1 -1
- package/_types/actions/schemas/default/transfer.d.ts +88 -0
- package/_types/actions/schemas/default/transfer.d.ts.map +1 -1
- package/_types/actions/schemas/deposit/addLiquidity.d.ts +52 -0
- package/_types/actions/schemas/deposit/addLiquidity.d.ts.map +1 -1
- package/_types/actions/schemas/deposit/deposit.d.ts +26 -0
- package/_types/actions/schemas/deposit/deposit.d.ts.map +1 -1
- package/_types/actions/schemas/deposit/depositWithBond.d.ts +52 -0
- package/_types/actions/schemas/deposit/depositWithBond.d.ts.map +1 -1
- package/_types/actions/schemas/deposit/stake.d.ts +26 -0
- package/_types/actions/schemas/deposit/stake.d.ts.map +1 -1
- package/_types/actions/schemas/fee/fee.d.ts +26 -0
- package/_types/actions/schemas/fee/fee.d.ts.map +1 -1
- package/_types/actions/schemas/fee/transactionFee.d.ts +26 -0
- package/_types/actions/schemas/fee/transactionFee.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/ignore.d.ts +39 -0
- package/_types/actions/schemas/ignore/ignore.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/move.d.ts +39 -0
- package/_types/actions/schemas/ignore/move.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/receiveFromCex.d.ts +26 -0
- package/_types/actions/schemas/ignore/receiveFromCex.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/sendToCex.d.ts +26 -0
- package/_types/actions/schemas/ignore/sendToCex.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/spam.d.ts +52 -0
- package/_types/actions/schemas/ignore/spam.d.ts.map +1 -1
- package/_types/actions/schemas/income/atomicArbitrage.d.ts +52 -0
- package/_types/actions/schemas/income/atomicArbitrage.d.ts.map +1 -1
- package/_types/actions/schemas/income/income.d.ts +26 -0
- package/_types/actions/schemas/income/income.d.ts.map +1 -1
- package/_types/actions/schemas/income/nftRoyalty.d.ts +13 -0
- package/_types/actions/schemas/income/nftRoyalty.d.ts.map +1 -1
- package/_types/actions/schemas/income/swapIncome.d.ts +13 -0
- package/_types/actions/schemas/income/swapIncome.d.ts.map +1 -1
- package/_types/actions/schemas/reduce/reduce.d.ts +13 -0
- package/_types/actions/schemas/reduce/reduce.d.ts.map +1 -1
- package/_types/actions/schemas/repayment/repayment.d.ts +26 -0
- package/_types/actions/schemas/repayment/repayment.d.ts.map +1 -1
- package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts +52 -0
- package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts.map +1 -1
- package/_types/actions/schemas/replace/replace.d.ts +52 -0
- package/_types/actions/schemas/replace/replace.d.ts.map +1 -1
- package/_types/actions/schemas/replace/unwrap.d.ts +52 -0
- package/_types/actions/schemas/replace/unwrap.d.ts.map +1 -1
- package/_types/actions/schemas/replace/wrap.d.ts +52 -0
- package/_types/actions/schemas/replace/wrap.d.ts.map +1 -1
- package/_types/actions/schemas/trade/buyCrypto.d.ts +26 -0
- package/_types/actions/schemas/trade/buyCrypto.d.ts.map +1 -1
- package/_types/actions/schemas/trade/buyNft.d.ts +26 -0
- package/_types/actions/schemas/trade/buyNft.d.ts.map +1 -1
- package/_types/actions/schemas/trade/mintNft.d.ts +26 -0
- package/_types/actions/schemas/trade/mintNft.d.ts.map +1 -1
- package/_types/actions/schemas/trade/sellCrypto.d.ts +26 -0
- package/_types/actions/schemas/trade/sellCrypto.d.ts.map +1 -1
- package/_types/actions/schemas/trade/sellNft.d.ts +26 -0
- package/_types/actions/schemas/trade/sellNft.d.ts.map +1 -1
- package/_types/actions/schemas/trade/trade.d.ts +52 -0
- package/_types/actions/schemas/trade/trade.d.ts.map +1 -1
- package/_types/actions/schemas/transfer/swapTransfer.d.ts +13 -0
- package/_types/actions/schemas/transfer/swapTransfer.d.ts.map +1 -1
- package/_types/actions/schemas/transfer/transfer.d.ts +52 -0
- package/_types/actions/schemas/transfer/transfer.d.ts.map +1 -1
- package/_types/actions/schemas/valuedown/valuedown.d.ts +26 -0
- package/_types/actions/schemas/valuedown/valuedown.d.ts.map +1 -1
- package/_types/actions/schemas/valueup/valueup.d.ts +26 -0
- package/_types/actions/schemas/valueup/valueup.d.ts.map +1 -1
- package/_types/actions/schemas/withdraw/removeLiquidity.d.ts +52 -0
- package/_types/actions/schemas/withdraw/removeLiquidity.d.ts.map +1 -1
- package/_types/actions/schemas/withdraw/unstake.d.ts +26 -0
- package/_types/actions/schemas/withdraw/unstake.d.ts.map +1 -1
- package/_types/actions/schemas/withdraw/withdraw.d.ts +26 -0
- package/_types/actions/schemas/withdraw/withdraw.d.ts.map +1 -1
- package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts +52 -0
- package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts.map +1 -1
- package/_types/actions/utils.d.ts +3 -0
- package/_types/actions/utils.d.ts.map +1 -1
- package/_types/assets/creates/createCryptoCurrency.d.ts +1 -0
- package/_types/assets/creates/createCryptoCurrency.d.ts.map +1 -1
- package/_types/assets/definitions/astar.d.ts +1 -0
- package/_types/assets/definitions/astar.d.ts.map +1 -1
- package/_types/assets/definitions/avalanche.d.ts +1 -0
- package/_types/assets/definitions/avalanche.d.ts.map +1 -1
- package/_types/assets/definitions/bnb.d.ts +1 -0
- package/_types/assets/definitions/bnb.d.ts.map +1 -1
- package/_types/assets/definitions/coingeckoCryptoCurrencyDataSource.d.ts +2 -1
- package/_types/assets/definitions/coingeckoCryptoCurrencyDataSource.d.ts.map +1 -1
- package/_types/assets/definitions/ethereum.d.ts +1 -0
- package/_types/assets/definitions/ethereum.d.ts.map +1 -1
- package/_types/assets/definitions/fantom.d.ts +1 -0
- package/_types/assets/definitions/fantom.d.ts.map +1 -1
- package/_types/assets/definitions/kava.d.ts +1 -0
- package/_types/assets/definitions/kava.d.ts.map +1 -1
- package/_types/assets/definitions/mantle.d.ts +1 -0
- package/_types/assets/definitions/mantle.d.ts.map +1 -1
- package/_types/assets/definitions/maticNetwork.d.ts +1 -0
- package/_types/assets/definitions/maticNetwork.d.ts.map +1 -1
- package/_types/assets/definitions/metis.d.ts +1 -0
- package/_types/assets/definitions/metis.d.ts.map +1 -1
- package/_types/assets/definitions/moonbeam.d.ts +1 -0
- package/_types/assets/definitions/moonbeam.d.ts.map +1 -1
- package/_types/assets/definitions/moonriver.d.ts +1 -0
- package/_types/assets/definitions/moonriver.d.ts.map +1 -1
- package/_types/assets/definitions/oasys.d.ts +1 -0
- package/_types/assets/definitions/oasys.d.ts.map +1 -1
- package/_types/assets/definitions/ronin.d.ts +1 -0
- package/_types/assets/definitions/ronin.d.ts.map +1 -1
- package/_types/assets/definitions/solana.d.ts +1 -0
- package/_types/assets/definitions/solana.d.ts.map +1 -1
- package/_types/assets/schemas/asset.d.ts +5 -0
- package/_types/assets/schemas/asset.d.ts.map +1 -1
- package/_types/assets/schemas/cryptoCurrency.d.ts +5 -0
- package/_types/assets/schemas/cryptoCurrency.d.ts.map +1 -1
- package/_types/assets/types/dataSource.d.ts +2 -3
- package/_types/assets/types/dataSource.d.ts.map +1 -1
- package/_types/setAccountActionPrices.d.ts +57 -0
- package/_types/setAccountActionPrices.d.ts.map +1 -1
- package/_types/tests/utils.d.ts.map +1 -1
- package/assets/definitions/astar.ts +1 -0
- package/assets/definitions/avalanche.ts +1 -0
- package/assets/definitions/bnb.ts +1 -0
- package/assets/definitions/coingeckoCryptoCurrencyDataSource.ts +21 -25
- package/assets/definitions/ethereum.ts +1 -0
- package/assets/definitions/fantom.ts +1 -0
- package/assets/definitions/kava.ts +1 -0
- package/assets/definitions/mantle.ts +1 -0
- package/assets/definitions/maticNetwork.ts +1 -0
- package/assets/definitions/metis.ts +1 -0
- package/assets/definitions/moonbeam.ts +1 -0
- package/assets/definitions/moonriver.ts +1 -0
- package/assets/definitions/oasys.ts +1 -0
- package/assets/definitions/ronin.ts +1 -0
- package/assets/definitions/solana.ts +1 -0
- package/assets/schemas/cryptoCurrency.ts +2 -0
- package/assets/types/dataSource.ts +2 -3
- package/package.json +1 -1
- package/setAccountActionPrices.ts +6 -10
- package/tests/utils.ts +3 -4
|
@@ -301,6 +301,7 @@ export declare const normalActionSellNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
301
301
|
decimals: number;
|
|
302
302
|
} | undefined;
|
|
303
303
|
}>;
|
|
304
|
+
priceDatasourceId: z.ZodOptional<z.ZodString>;
|
|
304
305
|
updatedAt: z.ZodNumber;
|
|
305
306
|
}, "strip", z.ZodTypeAny, {
|
|
306
307
|
symbol: string;
|
|
@@ -316,6 +317,7 @@ export declare const normalActionSellNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
316
317
|
};
|
|
317
318
|
updatedAt: number;
|
|
318
319
|
icon?: string | undefined;
|
|
320
|
+
priceDatasourceId?: string | undefined;
|
|
319
321
|
}, {
|
|
320
322
|
symbol: string;
|
|
321
323
|
type: "CryptoCurrency";
|
|
@@ -330,8 +332,10 @@ export declare const normalActionSellNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
330
332
|
};
|
|
331
333
|
updatedAt: number;
|
|
332
334
|
icon?: string | undefined;
|
|
335
|
+
priceDatasourceId?: string | undefined;
|
|
333
336
|
}>, {
|
|
334
337
|
icon: string | undefined;
|
|
338
|
+
priceDatasourceId: string | undefined;
|
|
335
339
|
symbol: string;
|
|
336
340
|
type: "CryptoCurrency";
|
|
337
341
|
id: string;
|
|
@@ -358,10 +362,12 @@ export declare const normalActionSellNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
358
362
|
};
|
|
359
363
|
updatedAt: number;
|
|
360
364
|
icon?: string | undefined;
|
|
365
|
+
priceDatasourceId?: string | undefined;
|
|
361
366
|
}>;
|
|
362
367
|
}, "strip", z.ZodTypeAny, {
|
|
363
368
|
asset: {
|
|
364
369
|
icon: string | undefined;
|
|
370
|
+
priceDatasourceId: string | undefined;
|
|
365
371
|
symbol: string;
|
|
366
372
|
type: "CryptoCurrency";
|
|
367
373
|
id: string;
|
|
@@ -406,6 +412,7 @@ export declare const normalActionSellNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
406
412
|
};
|
|
407
413
|
updatedAt: number;
|
|
408
414
|
icon?: string | undefined;
|
|
415
|
+
priceDatasourceId?: string | undefined;
|
|
409
416
|
};
|
|
410
417
|
amount: {
|
|
411
418
|
value: bigint;
|
|
@@ -437,6 +444,7 @@ export declare const normalActionSellNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
437
444
|
} | undefined;
|
|
438
445
|
asset: {
|
|
439
446
|
icon: string | undefined;
|
|
447
|
+
priceDatasourceId: string | undefined;
|
|
440
448
|
symbol: string;
|
|
441
449
|
type: "CryptoCurrency";
|
|
442
450
|
id: string;
|
|
@@ -470,6 +478,7 @@ export declare const normalActionSellNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
470
478
|
};
|
|
471
479
|
updatedAt: number;
|
|
472
480
|
icon?: string | undefined;
|
|
481
|
+
priceDatasourceId?: string | undefined;
|
|
473
482
|
};
|
|
474
483
|
amount: {
|
|
475
484
|
value: bigint;
|
|
@@ -697,6 +706,7 @@ export declare const normalActionSellNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
697
706
|
} | undefined;
|
|
698
707
|
asset: {
|
|
699
708
|
icon: string | undefined;
|
|
709
|
+
priceDatasourceId: string | undefined;
|
|
700
710
|
symbol: string;
|
|
701
711
|
type: "CryptoCurrency";
|
|
702
712
|
id: string;
|
|
@@ -795,6 +805,7 @@ export declare const normalActionSellNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
795
805
|
};
|
|
796
806
|
updatedAt: number;
|
|
797
807
|
icon?: string | undefined;
|
|
808
|
+
priceDatasourceId?: string | undefined;
|
|
798
809
|
};
|
|
799
810
|
amount: {
|
|
800
811
|
value: bigint;
|
|
@@ -900,6 +911,7 @@ export declare const normalActionSellNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
900
911
|
} | undefined;
|
|
901
912
|
asset: {
|
|
902
913
|
icon: string | undefined;
|
|
914
|
+
priceDatasourceId: string | undefined;
|
|
903
915
|
symbol: string;
|
|
904
916
|
type: "CryptoCurrency";
|
|
905
917
|
id: string;
|
|
@@ -989,6 +1001,7 @@ export declare const normalActionSellNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
989
1001
|
};
|
|
990
1002
|
updatedAt: number;
|
|
991
1003
|
icon?: string | undefined;
|
|
1004
|
+
priceDatasourceId?: string | undefined;
|
|
992
1005
|
};
|
|
993
1006
|
amount: {
|
|
994
1007
|
value: bigint;
|
|
@@ -1371,6 +1384,7 @@ export declare const accountActionSellNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1371
1384
|
decimals: number;
|
|
1372
1385
|
} | undefined;
|
|
1373
1386
|
}>;
|
|
1387
|
+
priceDatasourceId: z.ZodOptional<z.ZodString>;
|
|
1374
1388
|
updatedAt: z.ZodNumber;
|
|
1375
1389
|
}, "strip", z.ZodTypeAny, {
|
|
1376
1390
|
symbol: string;
|
|
@@ -1386,6 +1400,7 @@ export declare const accountActionSellNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1386
1400
|
};
|
|
1387
1401
|
updatedAt: number;
|
|
1388
1402
|
icon?: string | undefined;
|
|
1403
|
+
priceDatasourceId?: string | undefined;
|
|
1389
1404
|
}, {
|
|
1390
1405
|
symbol: string;
|
|
1391
1406
|
type: "CryptoCurrency";
|
|
@@ -1400,8 +1415,10 @@ export declare const accountActionSellNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1400
1415
|
};
|
|
1401
1416
|
updatedAt: number;
|
|
1402
1417
|
icon?: string | undefined;
|
|
1418
|
+
priceDatasourceId?: string | undefined;
|
|
1403
1419
|
}>, {
|
|
1404
1420
|
icon: string | undefined;
|
|
1421
|
+
priceDatasourceId: string | undefined;
|
|
1405
1422
|
symbol: string;
|
|
1406
1423
|
type: "CryptoCurrency";
|
|
1407
1424
|
id: string;
|
|
@@ -1428,10 +1445,12 @@ export declare const accountActionSellNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1428
1445
|
};
|
|
1429
1446
|
updatedAt: number;
|
|
1430
1447
|
icon?: string | undefined;
|
|
1448
|
+
priceDatasourceId?: string | undefined;
|
|
1431
1449
|
}>;
|
|
1432
1450
|
}, "strip", z.ZodTypeAny, {
|
|
1433
1451
|
asset: {
|
|
1434
1452
|
icon: string | undefined;
|
|
1453
|
+
priceDatasourceId: string | undefined;
|
|
1435
1454
|
symbol: string;
|
|
1436
1455
|
type: "CryptoCurrency";
|
|
1437
1456
|
id: string;
|
|
@@ -1476,6 +1495,7 @@ export declare const accountActionSellNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1476
1495
|
};
|
|
1477
1496
|
updatedAt: number;
|
|
1478
1497
|
icon?: string | undefined;
|
|
1498
|
+
priceDatasourceId?: string | undefined;
|
|
1479
1499
|
};
|
|
1480
1500
|
amount: {
|
|
1481
1501
|
value: bigint;
|
|
@@ -1507,6 +1527,7 @@ export declare const accountActionSellNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1507
1527
|
} | undefined;
|
|
1508
1528
|
asset: {
|
|
1509
1529
|
icon: string | undefined;
|
|
1530
|
+
priceDatasourceId: string | undefined;
|
|
1510
1531
|
symbol: string;
|
|
1511
1532
|
type: "CryptoCurrency";
|
|
1512
1533
|
id: string;
|
|
@@ -1540,6 +1561,7 @@ export declare const accountActionSellNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1540
1561
|
};
|
|
1541
1562
|
updatedAt: number;
|
|
1542
1563
|
icon?: string | undefined;
|
|
1564
|
+
priceDatasourceId?: string | undefined;
|
|
1543
1565
|
};
|
|
1544
1566
|
amount: {
|
|
1545
1567
|
value: bigint;
|
|
@@ -1769,6 +1791,7 @@ export declare const accountActionSellNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1769
1791
|
} | undefined;
|
|
1770
1792
|
asset: {
|
|
1771
1793
|
icon: string | undefined;
|
|
1794
|
+
priceDatasourceId: string | undefined;
|
|
1772
1795
|
symbol: string;
|
|
1773
1796
|
type: "CryptoCurrency";
|
|
1774
1797
|
id: string;
|
|
@@ -1869,6 +1892,7 @@ export declare const accountActionSellNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1869
1892
|
};
|
|
1870
1893
|
updatedAt: number;
|
|
1871
1894
|
icon?: string | undefined;
|
|
1895
|
+
priceDatasourceId?: string | undefined;
|
|
1872
1896
|
};
|
|
1873
1897
|
amount: {
|
|
1874
1898
|
value: bigint;
|
|
@@ -1976,6 +2000,7 @@ export declare const accountActionSellNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1976
2000
|
} | undefined;
|
|
1977
2001
|
asset: {
|
|
1978
2002
|
icon: string | undefined;
|
|
2003
|
+
priceDatasourceId: string | undefined;
|
|
1979
2004
|
symbol: string;
|
|
1980
2005
|
type: "CryptoCurrency";
|
|
1981
2006
|
id: string;
|
|
@@ -2067,6 +2092,7 @@ export declare const accountActionSellNftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2067
2092
|
};
|
|
2068
2093
|
updatedAt: number;
|
|
2069
2094
|
icon?: string | undefined;
|
|
2095
|
+
priceDatasourceId?: string | undefined;
|
|
2070
2096
|
};
|
|
2071
2097
|
amount: {
|
|
2072
2098
|
value: bigint;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sellNft.d.ts","sourceRoot":"","sources":["../../../../actions/schemas/trade/sellNft.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AASvB,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"sellNft.d.ts","sourceRoot":"","sources":["../../../../actions/schemas/trade/sellNft.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AASvB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAelC,CAAA"}
|
|
@@ -118,6 +118,7 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
118
118
|
decimals: number;
|
|
119
119
|
} | undefined;
|
|
120
120
|
}>;
|
|
121
|
+
priceDatasourceId: z.ZodOptional<z.ZodString>;
|
|
121
122
|
updatedAt: z.ZodNumber;
|
|
122
123
|
}, "strip", z.ZodTypeAny, {
|
|
123
124
|
symbol: string;
|
|
@@ -133,6 +134,7 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
133
134
|
};
|
|
134
135
|
updatedAt: number;
|
|
135
136
|
icon?: string | undefined;
|
|
137
|
+
priceDatasourceId?: string | undefined;
|
|
136
138
|
}, {
|
|
137
139
|
symbol: string;
|
|
138
140
|
type: "CryptoCurrency";
|
|
@@ -147,8 +149,10 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
147
149
|
};
|
|
148
150
|
updatedAt: number;
|
|
149
151
|
icon?: string | undefined;
|
|
152
|
+
priceDatasourceId?: string | undefined;
|
|
150
153
|
}>, {
|
|
151
154
|
icon: string | undefined;
|
|
155
|
+
priceDatasourceId: string | undefined;
|
|
152
156
|
symbol: string;
|
|
153
157
|
type: "CryptoCurrency";
|
|
154
158
|
id: string;
|
|
@@ -175,6 +179,7 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
175
179
|
};
|
|
176
180
|
updatedAt: number;
|
|
177
181
|
icon?: string | undefined;
|
|
182
|
+
priceDatasourceId?: string | undefined;
|
|
178
183
|
}>, z.ZodEffects<z.ZodObject<{
|
|
179
184
|
type: z.ZodLiteral<"FiatCurrency">;
|
|
180
185
|
id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
|
|
@@ -260,6 +265,7 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
260
265
|
}, "strip", z.ZodTypeAny, {
|
|
261
266
|
asset: {
|
|
262
267
|
icon: string | undefined;
|
|
268
|
+
priceDatasourceId: string | undefined;
|
|
263
269
|
symbol: string;
|
|
264
270
|
type: "CryptoCurrency";
|
|
265
271
|
id: string;
|
|
@@ -318,6 +324,7 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
318
324
|
};
|
|
319
325
|
updatedAt: number;
|
|
320
326
|
icon?: string | undefined;
|
|
327
|
+
priceDatasourceId?: string | undefined;
|
|
321
328
|
} | {
|
|
322
329
|
symbol: string;
|
|
323
330
|
type: "FiatCurrency";
|
|
@@ -363,6 +370,7 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
363
370
|
} | undefined;
|
|
364
371
|
asset: {
|
|
365
372
|
icon: string | undefined;
|
|
373
|
+
priceDatasourceId: string | undefined;
|
|
366
374
|
symbol: string;
|
|
367
375
|
type: "CryptoCurrency";
|
|
368
376
|
id: string;
|
|
@@ -410,6 +418,7 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
410
418
|
};
|
|
411
419
|
updatedAt: number;
|
|
412
420
|
icon?: string | undefined;
|
|
421
|
+
priceDatasourceId?: string | undefined;
|
|
413
422
|
} | {
|
|
414
423
|
symbol: string;
|
|
415
424
|
type: "FiatCurrency";
|
|
@@ -518,6 +527,7 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
518
527
|
decimals: number;
|
|
519
528
|
} | undefined;
|
|
520
529
|
}>;
|
|
530
|
+
priceDatasourceId: z.ZodOptional<z.ZodString>;
|
|
521
531
|
updatedAt: z.ZodNumber;
|
|
522
532
|
}, "strip", z.ZodTypeAny, {
|
|
523
533
|
symbol: string;
|
|
@@ -533,6 +543,7 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
533
543
|
};
|
|
534
544
|
updatedAt: number;
|
|
535
545
|
icon?: string | undefined;
|
|
546
|
+
priceDatasourceId?: string | undefined;
|
|
536
547
|
}, {
|
|
537
548
|
symbol: string;
|
|
538
549
|
type: "CryptoCurrency";
|
|
@@ -547,8 +558,10 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
547
558
|
};
|
|
548
559
|
updatedAt: number;
|
|
549
560
|
icon?: string | undefined;
|
|
561
|
+
priceDatasourceId?: string | undefined;
|
|
550
562
|
}>, {
|
|
551
563
|
icon: string | undefined;
|
|
564
|
+
priceDatasourceId: string | undefined;
|
|
552
565
|
symbol: string;
|
|
553
566
|
type: "CryptoCurrency";
|
|
554
567
|
id: string;
|
|
@@ -575,6 +588,7 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
575
588
|
};
|
|
576
589
|
updatedAt: number;
|
|
577
590
|
icon?: string | undefined;
|
|
591
|
+
priceDatasourceId?: string | undefined;
|
|
578
592
|
}>, z.ZodEffects<z.ZodObject<{
|
|
579
593
|
type: z.ZodLiteral<"FiatCurrency">;
|
|
580
594
|
id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
|
|
@@ -660,6 +674,7 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
660
674
|
}, "strip", z.ZodTypeAny, {
|
|
661
675
|
asset: {
|
|
662
676
|
icon: string | undefined;
|
|
677
|
+
priceDatasourceId: string | undefined;
|
|
663
678
|
symbol: string;
|
|
664
679
|
type: "CryptoCurrency";
|
|
665
680
|
id: string;
|
|
@@ -718,6 +733,7 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
718
733
|
};
|
|
719
734
|
updatedAt: number;
|
|
720
735
|
icon?: string | undefined;
|
|
736
|
+
priceDatasourceId?: string | undefined;
|
|
721
737
|
} | {
|
|
722
738
|
symbol: string;
|
|
723
739
|
type: "FiatCurrency";
|
|
@@ -763,6 +779,7 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
763
779
|
} | undefined;
|
|
764
780
|
asset: {
|
|
765
781
|
icon: string | undefined;
|
|
782
|
+
priceDatasourceId: string | undefined;
|
|
766
783
|
symbol: string;
|
|
767
784
|
type: "CryptoCurrency";
|
|
768
785
|
id: string;
|
|
@@ -810,6 +827,7 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
810
827
|
};
|
|
811
828
|
updatedAt: number;
|
|
812
829
|
icon?: string | undefined;
|
|
830
|
+
priceDatasourceId?: string | undefined;
|
|
813
831
|
} | {
|
|
814
832
|
symbol: string;
|
|
815
833
|
type: "FiatCurrency";
|
|
@@ -861,6 +879,7 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
861
879
|
} | undefined;
|
|
862
880
|
asset: {
|
|
863
881
|
icon: string | undefined;
|
|
882
|
+
priceDatasourceId: string | undefined;
|
|
864
883
|
symbol: string;
|
|
865
884
|
type: "CryptoCurrency";
|
|
866
885
|
id: string;
|
|
@@ -907,6 +926,7 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
907
926
|
} | undefined;
|
|
908
927
|
asset: {
|
|
909
928
|
icon: string | undefined;
|
|
929
|
+
priceDatasourceId: string | undefined;
|
|
910
930
|
symbol: string;
|
|
911
931
|
type: "CryptoCurrency";
|
|
912
932
|
id: string;
|
|
@@ -969,6 +989,7 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
969
989
|
};
|
|
970
990
|
updatedAt: number;
|
|
971
991
|
icon?: string | undefined;
|
|
992
|
+
priceDatasourceId?: string | undefined;
|
|
972
993
|
} | {
|
|
973
994
|
symbol: string;
|
|
974
995
|
type: "FiatCurrency";
|
|
@@ -1015,6 +1036,7 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1015
1036
|
};
|
|
1016
1037
|
updatedAt: number;
|
|
1017
1038
|
icon?: string | undefined;
|
|
1039
|
+
priceDatasourceId?: string | undefined;
|
|
1018
1040
|
} | {
|
|
1019
1041
|
symbol: string;
|
|
1020
1042
|
type: "FiatCurrency";
|
|
@@ -1084,6 +1106,7 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1084
1106
|
} | undefined;
|
|
1085
1107
|
asset: {
|
|
1086
1108
|
icon: string | undefined;
|
|
1109
|
+
priceDatasourceId: string | undefined;
|
|
1087
1110
|
symbol: string;
|
|
1088
1111
|
type: "CryptoCurrency";
|
|
1089
1112
|
id: string;
|
|
@@ -1130,6 +1153,7 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1130
1153
|
} | undefined;
|
|
1131
1154
|
asset: {
|
|
1132
1155
|
icon: string | undefined;
|
|
1156
|
+
priceDatasourceId: string | undefined;
|
|
1133
1157
|
symbol: string;
|
|
1134
1158
|
type: "CryptoCurrency";
|
|
1135
1159
|
id: string;
|
|
@@ -1183,6 +1207,7 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1183
1207
|
};
|
|
1184
1208
|
updatedAt: number;
|
|
1185
1209
|
icon?: string | undefined;
|
|
1210
|
+
priceDatasourceId?: string | undefined;
|
|
1186
1211
|
} | {
|
|
1187
1212
|
symbol: string;
|
|
1188
1213
|
type: "FiatCurrency";
|
|
@@ -1229,6 +1254,7 @@ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1229
1254
|
};
|
|
1230
1255
|
updatedAt: number;
|
|
1231
1256
|
icon?: string | undefined;
|
|
1257
|
+
priceDatasourceId?: string | undefined;
|
|
1232
1258
|
} | {
|
|
1233
1259
|
symbol: string;
|
|
1234
1260
|
type: "FiatCurrency";
|
|
@@ -1392,6 +1418,7 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1392
1418
|
decimals: number;
|
|
1393
1419
|
} | undefined;
|
|
1394
1420
|
}>;
|
|
1421
|
+
priceDatasourceId: z.ZodOptional<z.ZodString>;
|
|
1395
1422
|
updatedAt: z.ZodNumber;
|
|
1396
1423
|
}, "strip", z.ZodTypeAny, {
|
|
1397
1424
|
symbol: string;
|
|
@@ -1407,6 +1434,7 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1407
1434
|
};
|
|
1408
1435
|
updatedAt: number;
|
|
1409
1436
|
icon?: string | undefined;
|
|
1437
|
+
priceDatasourceId?: string | undefined;
|
|
1410
1438
|
}, {
|
|
1411
1439
|
symbol: string;
|
|
1412
1440
|
type: "CryptoCurrency";
|
|
@@ -1421,8 +1449,10 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1421
1449
|
};
|
|
1422
1450
|
updatedAt: number;
|
|
1423
1451
|
icon?: string | undefined;
|
|
1452
|
+
priceDatasourceId?: string | undefined;
|
|
1424
1453
|
}>, {
|
|
1425
1454
|
icon: string | undefined;
|
|
1455
|
+
priceDatasourceId: string | undefined;
|
|
1426
1456
|
symbol: string;
|
|
1427
1457
|
type: "CryptoCurrency";
|
|
1428
1458
|
id: string;
|
|
@@ -1449,6 +1479,7 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1449
1479
|
};
|
|
1450
1480
|
updatedAt: number;
|
|
1451
1481
|
icon?: string | undefined;
|
|
1482
|
+
priceDatasourceId?: string | undefined;
|
|
1452
1483
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1453
1484
|
type: z.ZodLiteral<"FiatCurrency">;
|
|
1454
1485
|
id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
|
|
@@ -1534,6 +1565,7 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1534
1565
|
}, "strip", z.ZodTypeAny, {
|
|
1535
1566
|
asset: {
|
|
1536
1567
|
icon: string | undefined;
|
|
1568
|
+
priceDatasourceId: string | undefined;
|
|
1537
1569
|
symbol: string;
|
|
1538
1570
|
type: "CryptoCurrency";
|
|
1539
1571
|
id: string;
|
|
@@ -1592,6 +1624,7 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1592
1624
|
};
|
|
1593
1625
|
updatedAt: number;
|
|
1594
1626
|
icon?: string | undefined;
|
|
1627
|
+
priceDatasourceId?: string | undefined;
|
|
1595
1628
|
} | {
|
|
1596
1629
|
symbol: string;
|
|
1597
1630
|
type: "FiatCurrency";
|
|
@@ -1637,6 +1670,7 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1637
1670
|
} | undefined;
|
|
1638
1671
|
asset: {
|
|
1639
1672
|
icon: string | undefined;
|
|
1673
|
+
priceDatasourceId: string | undefined;
|
|
1640
1674
|
symbol: string;
|
|
1641
1675
|
type: "CryptoCurrency";
|
|
1642
1676
|
id: string;
|
|
@@ -1684,6 +1718,7 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1684
1718
|
};
|
|
1685
1719
|
updatedAt: number;
|
|
1686
1720
|
icon?: string | undefined;
|
|
1721
|
+
priceDatasourceId?: string | undefined;
|
|
1687
1722
|
} | {
|
|
1688
1723
|
symbol: string;
|
|
1689
1724
|
type: "FiatCurrency";
|
|
@@ -1792,6 +1827,7 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1792
1827
|
decimals: number;
|
|
1793
1828
|
} | undefined;
|
|
1794
1829
|
}>;
|
|
1830
|
+
priceDatasourceId: z.ZodOptional<z.ZodString>;
|
|
1795
1831
|
updatedAt: z.ZodNumber;
|
|
1796
1832
|
}, "strip", z.ZodTypeAny, {
|
|
1797
1833
|
symbol: string;
|
|
@@ -1807,6 +1843,7 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1807
1843
|
};
|
|
1808
1844
|
updatedAt: number;
|
|
1809
1845
|
icon?: string | undefined;
|
|
1846
|
+
priceDatasourceId?: string | undefined;
|
|
1810
1847
|
}, {
|
|
1811
1848
|
symbol: string;
|
|
1812
1849
|
type: "CryptoCurrency";
|
|
@@ -1821,8 +1858,10 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1821
1858
|
};
|
|
1822
1859
|
updatedAt: number;
|
|
1823
1860
|
icon?: string | undefined;
|
|
1861
|
+
priceDatasourceId?: string | undefined;
|
|
1824
1862
|
}>, {
|
|
1825
1863
|
icon: string | undefined;
|
|
1864
|
+
priceDatasourceId: string | undefined;
|
|
1826
1865
|
symbol: string;
|
|
1827
1866
|
type: "CryptoCurrency";
|
|
1828
1867
|
id: string;
|
|
@@ -1849,6 +1888,7 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1849
1888
|
};
|
|
1850
1889
|
updatedAt: number;
|
|
1851
1890
|
icon?: string | undefined;
|
|
1891
|
+
priceDatasourceId?: string | undefined;
|
|
1852
1892
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1853
1893
|
type: z.ZodLiteral<"FiatCurrency">;
|
|
1854
1894
|
id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
|
|
@@ -1934,6 +1974,7 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1934
1974
|
}, "strip", z.ZodTypeAny, {
|
|
1935
1975
|
asset: {
|
|
1936
1976
|
icon: string | undefined;
|
|
1977
|
+
priceDatasourceId: string | undefined;
|
|
1937
1978
|
symbol: string;
|
|
1938
1979
|
type: "CryptoCurrency";
|
|
1939
1980
|
id: string;
|
|
@@ -1992,6 +2033,7 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1992
2033
|
};
|
|
1993
2034
|
updatedAt: number;
|
|
1994
2035
|
icon?: string | undefined;
|
|
2036
|
+
priceDatasourceId?: string | undefined;
|
|
1995
2037
|
} | {
|
|
1996
2038
|
symbol: string;
|
|
1997
2039
|
type: "FiatCurrency";
|
|
@@ -2037,6 +2079,7 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2037
2079
|
} | undefined;
|
|
2038
2080
|
asset: {
|
|
2039
2081
|
icon: string | undefined;
|
|
2082
|
+
priceDatasourceId: string | undefined;
|
|
2040
2083
|
symbol: string;
|
|
2041
2084
|
type: "CryptoCurrency";
|
|
2042
2085
|
id: string;
|
|
@@ -2084,6 +2127,7 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2084
2127
|
};
|
|
2085
2128
|
updatedAt: number;
|
|
2086
2129
|
icon?: string | undefined;
|
|
2130
|
+
priceDatasourceId?: string | undefined;
|
|
2087
2131
|
} | {
|
|
2088
2132
|
symbol: string;
|
|
2089
2133
|
type: "FiatCurrency";
|
|
@@ -2137,6 +2181,7 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2137
2181
|
} | undefined;
|
|
2138
2182
|
asset: {
|
|
2139
2183
|
icon: string | undefined;
|
|
2184
|
+
priceDatasourceId: string | undefined;
|
|
2140
2185
|
symbol: string;
|
|
2141
2186
|
type: "CryptoCurrency";
|
|
2142
2187
|
id: string;
|
|
@@ -2183,6 +2228,7 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2183
2228
|
} | undefined;
|
|
2184
2229
|
asset: {
|
|
2185
2230
|
icon: string | undefined;
|
|
2231
|
+
priceDatasourceId: string | undefined;
|
|
2186
2232
|
symbol: string;
|
|
2187
2233
|
type: "CryptoCurrency";
|
|
2188
2234
|
id: string;
|
|
@@ -2247,6 +2293,7 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2247
2293
|
};
|
|
2248
2294
|
updatedAt: number;
|
|
2249
2295
|
icon?: string | undefined;
|
|
2296
|
+
priceDatasourceId?: string | undefined;
|
|
2250
2297
|
} | {
|
|
2251
2298
|
symbol: string;
|
|
2252
2299
|
type: "FiatCurrency";
|
|
@@ -2293,6 +2340,7 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2293
2340
|
};
|
|
2294
2341
|
updatedAt: number;
|
|
2295
2342
|
icon?: string | undefined;
|
|
2343
|
+
priceDatasourceId?: string | undefined;
|
|
2296
2344
|
} | {
|
|
2297
2345
|
symbol: string;
|
|
2298
2346
|
type: "FiatCurrency";
|
|
@@ -2364,6 +2412,7 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2364
2412
|
} | undefined;
|
|
2365
2413
|
asset: {
|
|
2366
2414
|
icon: string | undefined;
|
|
2415
|
+
priceDatasourceId: string | undefined;
|
|
2367
2416
|
symbol: string;
|
|
2368
2417
|
type: "CryptoCurrency";
|
|
2369
2418
|
id: string;
|
|
@@ -2410,6 +2459,7 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2410
2459
|
} | undefined;
|
|
2411
2460
|
asset: {
|
|
2412
2461
|
icon: string | undefined;
|
|
2462
|
+
priceDatasourceId: string | undefined;
|
|
2413
2463
|
symbol: string;
|
|
2414
2464
|
type: "CryptoCurrency";
|
|
2415
2465
|
id: string;
|
|
@@ -2465,6 +2515,7 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2465
2515
|
};
|
|
2466
2516
|
updatedAt: number;
|
|
2467
2517
|
icon?: string | undefined;
|
|
2518
|
+
priceDatasourceId?: string | undefined;
|
|
2468
2519
|
} | {
|
|
2469
2520
|
symbol: string;
|
|
2470
2521
|
type: "FiatCurrency";
|
|
@@ -2511,6 +2562,7 @@ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2511
2562
|
};
|
|
2512
2563
|
updatedAt: number;
|
|
2513
2564
|
icon?: string | undefined;
|
|
2565
|
+
priceDatasourceId?: string | undefined;
|
|
2514
2566
|
} | {
|
|
2515
2567
|
symbol: string;
|
|
2516
2568
|
type: "FiatCurrency";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trade.d.ts","sourceRoot":"","sources":["../../../../actions/schemas/trade/trade.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAQvB,eAAO,MAAM,uBAAuB
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAShC,CAAA"}
|
|
@@ -131,6 +131,7 @@ export declare const accountActionSwapTransferSchema: z.ZodEffects<z.ZodObject<{
|
|
|
131
131
|
decimals: number;
|
|
132
132
|
} | undefined;
|
|
133
133
|
}>;
|
|
134
|
+
priceDatasourceId: z.ZodOptional<z.ZodString>;
|
|
134
135
|
updatedAt: z.ZodNumber;
|
|
135
136
|
}, "strip", z.ZodTypeAny, {
|
|
136
137
|
symbol: string;
|
|
@@ -146,6 +147,7 @@ export declare const accountActionSwapTransferSchema: z.ZodEffects<z.ZodObject<{
|
|
|
146
147
|
};
|
|
147
148
|
updatedAt: number;
|
|
148
149
|
icon?: string | undefined;
|
|
150
|
+
priceDatasourceId?: string | undefined;
|
|
149
151
|
}, {
|
|
150
152
|
symbol: string;
|
|
151
153
|
type: "CryptoCurrency";
|
|
@@ -160,8 +162,10 @@ export declare const accountActionSwapTransferSchema: z.ZodEffects<z.ZodObject<{
|
|
|
160
162
|
};
|
|
161
163
|
updatedAt: number;
|
|
162
164
|
icon?: string | undefined;
|
|
165
|
+
priceDatasourceId?: string | undefined;
|
|
163
166
|
}>, {
|
|
164
167
|
icon: string | undefined;
|
|
168
|
+
priceDatasourceId: string | undefined;
|
|
165
169
|
symbol: string;
|
|
166
170
|
type: "CryptoCurrency";
|
|
167
171
|
id: string;
|
|
@@ -188,10 +192,12 @@ export declare const accountActionSwapTransferSchema: z.ZodEffects<z.ZodObject<{
|
|
|
188
192
|
};
|
|
189
193
|
updatedAt: number;
|
|
190
194
|
icon?: string | undefined;
|
|
195
|
+
priceDatasourceId?: string | undefined;
|
|
191
196
|
}>;
|
|
192
197
|
}, "strip", z.ZodTypeAny, {
|
|
193
198
|
asset: {
|
|
194
199
|
icon: string | undefined;
|
|
200
|
+
priceDatasourceId: string | undefined;
|
|
195
201
|
symbol: string;
|
|
196
202
|
type: "CryptoCurrency";
|
|
197
203
|
id: string;
|
|
@@ -236,6 +242,7 @@ export declare const accountActionSwapTransferSchema: z.ZodEffects<z.ZodObject<{
|
|
|
236
242
|
};
|
|
237
243
|
updatedAt: number;
|
|
238
244
|
icon?: string | undefined;
|
|
245
|
+
priceDatasourceId?: string | undefined;
|
|
239
246
|
};
|
|
240
247
|
amount: {
|
|
241
248
|
value: bigint;
|
|
@@ -267,6 +274,7 @@ export declare const accountActionSwapTransferSchema: z.ZodEffects<z.ZodObject<{
|
|
|
267
274
|
} | undefined;
|
|
268
275
|
asset: {
|
|
269
276
|
icon: string | undefined;
|
|
277
|
+
priceDatasourceId: string | undefined;
|
|
270
278
|
symbol: string;
|
|
271
279
|
type: "CryptoCurrency";
|
|
272
280
|
id: string;
|
|
@@ -300,6 +308,7 @@ export declare const accountActionSwapTransferSchema: z.ZodEffects<z.ZodObject<{
|
|
|
300
308
|
};
|
|
301
309
|
updatedAt: number;
|
|
302
310
|
icon?: string | undefined;
|
|
311
|
+
priceDatasourceId?: string | undefined;
|
|
303
312
|
};
|
|
304
313
|
amount: {
|
|
305
314
|
value: bigint;
|
|
@@ -529,6 +538,7 @@ export declare const accountActionSwapTransferSchema: z.ZodEffects<z.ZodObject<{
|
|
|
529
538
|
} | undefined;
|
|
530
539
|
asset: {
|
|
531
540
|
icon: string | undefined;
|
|
541
|
+
priceDatasourceId: string | undefined;
|
|
532
542
|
symbol: string;
|
|
533
543
|
type: "CryptoCurrency";
|
|
534
544
|
id: string;
|
|
@@ -605,6 +615,7 @@ export declare const accountActionSwapTransferSchema: z.ZodEffects<z.ZodObject<{
|
|
|
605
615
|
};
|
|
606
616
|
updatedAt: number;
|
|
607
617
|
icon?: string | undefined;
|
|
618
|
+
priceDatasourceId?: string | undefined;
|
|
608
619
|
};
|
|
609
620
|
amount: {
|
|
610
621
|
value: bigint;
|
|
@@ -688,6 +699,7 @@ export declare const accountActionSwapTransferSchema: z.ZodEffects<z.ZodObject<{
|
|
|
688
699
|
} | undefined;
|
|
689
700
|
asset: {
|
|
690
701
|
icon: string | undefined;
|
|
702
|
+
priceDatasourceId: string | undefined;
|
|
691
703
|
symbol: string;
|
|
692
704
|
type: "CryptoCurrency";
|
|
693
705
|
id: string;
|
|
@@ -755,6 +767,7 @@ export declare const accountActionSwapTransferSchema: z.ZodEffects<z.ZodObject<{
|
|
|
755
767
|
};
|
|
756
768
|
updatedAt: number;
|
|
757
769
|
icon?: string | undefined;
|
|
770
|
+
priceDatasourceId?: string | undefined;
|
|
758
771
|
};
|
|
759
772
|
amount: {
|
|
760
773
|
value: bigint;
|