@talismn/balances 3.1.1 → 3.1.2
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/dist/index.d.mts +41 -41
- package/dist/index.d.mts.map +1 -1
- package/dist/index.d.ts +36 -36
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -426,8 +426,9 @@ export declare class Balance {
|
|
|
426
426
|
coingeckoId?: string | undefined;
|
|
427
427
|
noDiscovery?: boolean | undefined;
|
|
428
428
|
mirrorOf?: string | undefined;
|
|
429
|
-
type: "evm-
|
|
429
|
+
type: "evm-erc20";
|
|
430
430
|
platform: "ethereum";
|
|
431
|
+
contractAddress: `0x${string}`;
|
|
431
432
|
} | {
|
|
432
433
|
id: string;
|
|
433
434
|
networkId: string;
|
|
@@ -439,12 +440,8 @@ export declare class Balance {
|
|
|
439
440
|
coingeckoId?: string | undefined;
|
|
440
441
|
noDiscovery?: boolean | undefined;
|
|
441
442
|
mirrorOf?: string | undefined;
|
|
442
|
-
type: "
|
|
443
|
-
platform: "
|
|
444
|
-
onChainId: number;
|
|
445
|
-
assetType: "Erc20" | "External" | "Token";
|
|
446
|
-
isSufficient: boolean;
|
|
447
|
-
existentialDeposit: string;
|
|
443
|
+
type: "evm-native";
|
|
444
|
+
platform: "ethereum";
|
|
448
445
|
} | {
|
|
449
446
|
id: string;
|
|
450
447
|
networkId: string;
|
|
@@ -456,10 +453,18 @@ export declare class Balance {
|
|
|
456
453
|
coingeckoId?: string | undefined;
|
|
457
454
|
noDiscovery?: boolean | undefined;
|
|
458
455
|
mirrorOf?: string | undefined;
|
|
459
|
-
type: "
|
|
460
|
-
platform: "
|
|
461
|
-
|
|
462
|
-
|
|
456
|
+
type: "evm-uniswapv2";
|
|
457
|
+
platform: "ethereum";
|
|
458
|
+
contractAddress: `0x${string}`;
|
|
459
|
+
isCustom?: boolean | undefined;
|
|
460
|
+
symbol0: string;
|
|
461
|
+
symbol1: string;
|
|
462
|
+
decimals0: number;
|
|
463
|
+
decimals1: number;
|
|
464
|
+
tokenAddress0: `0x${string}`;
|
|
465
|
+
tokenAddress1: `0x${string}`;
|
|
466
|
+
coingeckoId0?: string | undefined;
|
|
467
|
+
coingeckoId1?: string | undefined;
|
|
463
468
|
} | {
|
|
464
469
|
id: string;
|
|
465
470
|
networkId: string;
|
|
@@ -505,8 +510,12 @@ export declare class Balance {
|
|
|
505
510
|
coingeckoId?: string | undefined;
|
|
506
511
|
noDiscovery?: boolean | undefined;
|
|
507
512
|
mirrorOf?: string | undefined;
|
|
508
|
-
type: "
|
|
509
|
-
platform: "
|
|
513
|
+
type: "substrate-foreignassets";
|
|
514
|
+
platform: "polkadot";
|
|
515
|
+
onChainId: string;
|
|
516
|
+
isFrozen?: boolean | undefined;
|
|
517
|
+
isSufficient: boolean;
|
|
518
|
+
existentialDeposit: string;
|
|
510
519
|
} | {
|
|
511
520
|
id: string;
|
|
512
521
|
networkId: string;
|
|
@@ -518,9 +527,9 @@ export declare class Balance {
|
|
|
518
527
|
coingeckoId?: string | undefined;
|
|
519
528
|
noDiscovery?: boolean | undefined;
|
|
520
529
|
mirrorOf?: string | undefined;
|
|
521
|
-
type: "
|
|
522
|
-
platform: "
|
|
523
|
-
|
|
530
|
+
type: "substrate-native";
|
|
531
|
+
platform: "polkadot";
|
|
532
|
+
existentialDeposit: string;
|
|
524
533
|
} | {
|
|
525
534
|
id: string;
|
|
526
535
|
networkId: string;
|
|
@@ -532,18 +541,9 @@ export declare class Balance {
|
|
|
532
541
|
coingeckoId?: string | undefined;
|
|
533
542
|
noDiscovery?: boolean | undefined;
|
|
534
543
|
mirrorOf?: string | undefined;
|
|
535
|
-
type: "
|
|
536
|
-
platform: "
|
|
537
|
-
contractAddress:
|
|
538
|
-
isCustom?: boolean | undefined;
|
|
539
|
-
symbol0: string;
|
|
540
|
-
symbol1: string;
|
|
541
|
-
decimals0: number;
|
|
542
|
-
decimals1: number;
|
|
543
|
-
tokenAddress0: `0x${string}`;
|
|
544
|
-
tokenAddress1: `0x${string}`;
|
|
545
|
-
coingeckoId0?: string | undefined;
|
|
546
|
-
coingeckoId1?: string | undefined;
|
|
544
|
+
type: "substrate-psp22";
|
|
545
|
+
platform: "polkadot";
|
|
546
|
+
contractAddress: string;
|
|
547
547
|
} | {
|
|
548
548
|
id: string;
|
|
549
549
|
networkId: string;
|
|
@@ -555,11 +555,9 @@ export declare class Balance {
|
|
|
555
555
|
coingeckoId?: string | undefined;
|
|
556
556
|
noDiscovery?: boolean | undefined;
|
|
557
557
|
mirrorOf?: string | undefined;
|
|
558
|
-
type: "substrate-
|
|
558
|
+
type: "substrate-tokens";
|
|
559
559
|
platform: "polkadot";
|
|
560
|
-
onChainId: string;
|
|
561
|
-
isFrozen?: boolean | undefined;
|
|
562
|
-
isSufficient: boolean;
|
|
560
|
+
onChainId: string | number;
|
|
563
561
|
existentialDeposit: string;
|
|
564
562
|
} | {
|
|
565
563
|
id: string;
|
|
@@ -572,8 +570,11 @@ export declare class Balance {
|
|
|
572
570
|
coingeckoId?: string | undefined;
|
|
573
571
|
noDiscovery?: boolean | undefined;
|
|
574
572
|
mirrorOf?: string | undefined;
|
|
575
|
-
type: "substrate-
|
|
573
|
+
type: "substrate-hydration";
|
|
576
574
|
platform: "polkadot";
|
|
575
|
+
onChainId: number;
|
|
576
|
+
assetType: "Erc20" | "External" | "Token";
|
|
577
|
+
isSufficient: boolean;
|
|
577
578
|
existentialDeposit: string;
|
|
578
579
|
} | {
|
|
579
580
|
id: string;
|
|
@@ -586,9 +587,8 @@ export declare class Balance {
|
|
|
586
587
|
coingeckoId?: string | undefined;
|
|
587
588
|
noDiscovery?: boolean | undefined;
|
|
588
589
|
mirrorOf?: string | undefined;
|
|
589
|
-
type: "
|
|
590
|
-
platform: "
|
|
591
|
-
contractAddress: string;
|
|
590
|
+
type: "sol-native";
|
|
591
|
+
platform: "solana";
|
|
592
592
|
} | {
|
|
593
593
|
id: string;
|
|
594
594
|
networkId: string;
|
|
@@ -600,10 +600,9 @@ export declare class Balance {
|
|
|
600
600
|
coingeckoId?: string | undefined;
|
|
601
601
|
noDiscovery?: boolean | undefined;
|
|
602
602
|
mirrorOf?: string | undefined;
|
|
603
|
-
type: "
|
|
604
|
-
platform: "
|
|
605
|
-
|
|
606
|
-
existentialDeposit: string;
|
|
603
|
+
type: "sol-spl";
|
|
604
|
+
platform: "solana";
|
|
605
|
+
mintAddress: string;
|
|
607
606
|
} | {
|
|
608
607
|
id: string;
|
|
609
608
|
networkId: string;
|
|
@@ -615,9 +614,10 @@ export declare class Balance {
|
|
|
615
614
|
coingeckoId?: string | undefined;
|
|
616
615
|
noDiscovery?: boolean | undefined;
|
|
617
616
|
mirrorOf?: string | undefined;
|
|
618
|
-
type: "sol-
|
|
617
|
+
type: "sol-token2022";
|
|
619
618
|
platform: "solana";
|
|
620
619
|
mintAddress: string;
|
|
620
|
+
isTransferable?: boolean | undefined;
|
|
621
621
|
} | null;
|
|
622
622
|
get decimals(): number | null;
|
|
623
623
|
get rates(): TokenRates | null;
|