@talismn/balances 1.3.7 → 1.4.0
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 +56 -11
- package/dist/index.d.ts +56 -11
- package/dist/index.js +1109 -589
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +940 -406
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -9
package/dist/index.d.mts
CHANGED
|
@@ -320,6 +320,7 @@ declare class Balance {
|
|
|
320
320
|
balancesConfig?: {
|
|
321
321
|
"sol-native"?: Record<string, never> | undefined;
|
|
322
322
|
"sol-spl"?: Record<string, never> | undefined;
|
|
323
|
+
"sol-token2022"?: Record<string, never> | undefined;
|
|
323
324
|
} | undefined;
|
|
324
325
|
} | null;
|
|
325
326
|
get tokenId(): string;
|
|
@@ -511,6 +512,21 @@ declare class Balance {
|
|
|
511
512
|
coingeckoId?: string | undefined;
|
|
512
513
|
noDiscovery?: boolean | undefined;
|
|
513
514
|
mirrorOf?: string | undefined;
|
|
515
|
+
} | {
|
|
516
|
+
id: string;
|
|
517
|
+
networkId: string;
|
|
518
|
+
decimals: number;
|
|
519
|
+
symbol: string;
|
|
520
|
+
type: "sol-token2022";
|
|
521
|
+
platform: "solana";
|
|
522
|
+
mintAddress: string;
|
|
523
|
+
isDefault?: boolean | undefined;
|
|
524
|
+
name?: string | undefined;
|
|
525
|
+
logo?: string | undefined;
|
|
526
|
+
coingeckoId?: string | undefined;
|
|
527
|
+
noDiscovery?: boolean | undefined;
|
|
528
|
+
mirrorOf?: string | undefined;
|
|
529
|
+
isTransferable?: boolean | undefined;
|
|
514
530
|
} | null;
|
|
515
531
|
get decimals(): number | null;
|
|
516
532
|
get rates(): TokenRates | null;
|
|
@@ -1686,9 +1702,9 @@ declare const EvmErc20TokenConfigSchema: z.ZodObject<{
|
|
|
1686
1702
|
}, z.core.$strict>;
|
|
1687
1703
|
type EvmErc20TokenConfig = z.infer<typeof EvmErc20TokenConfigSchema>;
|
|
1688
1704
|
|
|
1689
|
-
declare const MODULE_TYPE$
|
|
1705
|
+
declare const MODULE_TYPE$c: "evm-erc20";
|
|
1690
1706
|
|
|
1691
|
-
declare const EvmErc20BalanceModule: IBalanceModule<typeof MODULE_TYPE$
|
|
1707
|
+
declare const EvmErc20BalanceModule: IBalanceModule<typeof MODULE_TYPE$c, EvmErc20TokenConfig>;
|
|
1692
1708
|
|
|
1693
1709
|
declare const EvmNativeTokenConfigSchema: z.ZodObject<{
|
|
1694
1710
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -1703,9 +1719,9 @@ declare const EvmNativeTokenConfigSchema: z.ZodObject<{
|
|
|
1703
1719
|
}, z.core.$strict>;
|
|
1704
1720
|
type EvmNativeTokenConfig = z.infer<typeof EvmNativeTokenConfigSchema>;
|
|
1705
1721
|
|
|
1706
|
-
declare const MODULE_TYPE$
|
|
1722
|
+
declare const MODULE_TYPE$b: "evm-native";
|
|
1707
1723
|
|
|
1708
|
-
declare const EvmNativeBalanceModule: IBalanceModule<typeof MODULE_TYPE$
|
|
1724
|
+
declare const EvmNativeBalanceModule: IBalanceModule<typeof MODULE_TYPE$b, EvmNativeTokenConfig>;
|
|
1709
1725
|
|
|
1710
1726
|
declare const EvmUniswapV2TokenConfigSchema: z.ZodObject<{
|
|
1711
1727
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -1721,9 +1737,9 @@ declare const EvmUniswapV2TokenConfigSchema: z.ZodObject<{
|
|
|
1721
1737
|
}, z.core.$strict>;
|
|
1722
1738
|
type EvmUniswapV2TokenConfig = z.infer<typeof EvmUniswapV2TokenConfigSchema>;
|
|
1723
1739
|
|
|
1724
|
-
declare const MODULE_TYPE$
|
|
1740
|
+
declare const MODULE_TYPE$a: "evm-uniswapv2";
|
|
1725
1741
|
|
|
1726
|
-
declare const EvmUniswapV2BalanceModule: IBalanceModule<typeof MODULE_TYPE$
|
|
1742
|
+
declare const EvmUniswapV2BalanceModule: IBalanceModule<typeof MODULE_TYPE$a, EvmUniswapV2TokenConfig>;
|
|
1727
1743
|
|
|
1728
1744
|
declare const SolNativeTokenConfigSchema: z.ZodObject<{
|
|
1729
1745
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -1738,9 +1754,9 @@ declare const SolNativeTokenConfigSchema: z.ZodObject<{
|
|
|
1738
1754
|
}, z.core.$strict>;
|
|
1739
1755
|
type SolNativeTokenConfig = z.infer<typeof SolNativeTokenConfigSchema>;
|
|
1740
1756
|
|
|
1741
|
-
declare const MODULE_TYPE$
|
|
1757
|
+
declare const MODULE_TYPE$9: "sol-native";
|
|
1742
1758
|
|
|
1743
|
-
declare const SolNativeBalanceModule: IBalanceModule<typeof MODULE_TYPE$
|
|
1759
|
+
declare const SolNativeBalanceModule: IBalanceModule<typeof MODULE_TYPE$9, SolNativeTokenConfig>;
|
|
1744
1760
|
|
|
1745
1761
|
declare const SolSplTokenConfigSchema: z.ZodObject<{
|
|
1746
1762
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -1756,9 +1772,27 @@ declare const SolSplTokenConfigSchema: z.ZodObject<{
|
|
|
1756
1772
|
}, z.core.$strict>;
|
|
1757
1773
|
type SolSplTokenConfig = z.infer<typeof SolSplTokenConfigSchema>;
|
|
1758
1774
|
|
|
1759
|
-
declare const MODULE_TYPE$
|
|
1775
|
+
declare const MODULE_TYPE$8: "sol-spl";
|
|
1760
1776
|
|
|
1761
|
-
declare const SolSplBalanceModule: IBalanceModule<typeof MODULE_TYPE$
|
|
1777
|
+
declare const SolSplBalanceModule: IBalanceModule<typeof MODULE_TYPE$8, SolSplTokenConfig>;
|
|
1778
|
+
|
|
1779
|
+
declare const SolToken2022TokenConfigSchema: z.ZodObject<{
|
|
1780
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1781
|
+
networkId: z.ZodOptional<z.ZodString>;
|
|
1782
|
+
isDefault: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1783
|
+
decimals: z.ZodOptional<z.ZodInt>;
|
|
1784
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1785
|
+
logo: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1786
|
+
coingeckoId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1787
|
+
noDiscovery: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1788
|
+
mirrorOf: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1789
|
+
mintAddress: z.ZodString;
|
|
1790
|
+
}, z.core.$strict>;
|
|
1791
|
+
type SolToken2022TokenConfig = z.infer<typeof SolToken2022TokenConfigSchema>;
|
|
1792
|
+
|
|
1793
|
+
declare const MODULE_TYPE$7: "sol-token2022";
|
|
1794
|
+
|
|
1795
|
+
declare const SolToken2022BalanceModule: IBalanceModule<typeof MODULE_TYPE$7, SolToken2022TokenConfig>;
|
|
1762
1796
|
|
|
1763
1797
|
declare const SubAssetsTokenConfigSchema: z.ZodObject<{
|
|
1764
1798
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -2017,6 +2051,17 @@ declare const BALANCE_MODULES: (IBalanceModule<"substrate-dtao", {
|
|
|
2017
2051
|
coingeckoId?: string | undefined;
|
|
2018
2052
|
noDiscovery?: boolean | undefined;
|
|
2019
2053
|
mirrorOf?: string | undefined;
|
|
2054
|
+
}, unknown, unknown> | IBalanceModule<"sol-token2022", {
|
|
2055
|
+
mintAddress: string;
|
|
2056
|
+
symbol?: string | undefined;
|
|
2057
|
+
networkId?: string | undefined;
|
|
2058
|
+
isDefault?: boolean | undefined;
|
|
2059
|
+
decimals?: number | undefined;
|
|
2060
|
+
name?: string | undefined;
|
|
2061
|
+
logo?: string | undefined;
|
|
2062
|
+
coingeckoId?: string | undefined;
|
|
2063
|
+
noDiscovery?: boolean | undefined;
|
|
2064
|
+
mirrorOf?: string | undefined;
|
|
2020
2065
|
}, unknown, unknown> | IBalanceModule<"substrate-assets", {
|
|
2021
2066
|
assetId: string;
|
|
2022
2067
|
symbol?: string | undefined;
|
|
@@ -2097,4 +2142,4 @@ declare const BALANCE_MODULES: (IBalanceModule<"substrate-dtao", {
|
|
|
2097
2142
|
}>)[];
|
|
2098
2143
|
type AnyBalanceModule = (typeof BALANCE_MODULES)[number];
|
|
2099
2144
|
|
|
2100
|
-
export { ALPHA_PRICE_SCALE, type Address, type Amount, type AmountWithLabel, type AnyBalanceModule, BALANCE_MODULES, Balance, BalanceFormatter, type BalanceJson, type BalanceJsonList, type BalanceLockType, type BalanceSearchQuery, type BalanceSource, type BalanceStatus, type BalanceStatusTypes, type BalanceTransferType, BalanceValueGetter, Balances, BalancesProvider, type BalancesResult, type BalancesStorage, type ChainConnectors, Change24hCurrencyFormatter, EvmErc20BalanceModule, type EvmErc20TokenConfig, EvmErc20TokenConfigSchema, EvmNativeBalanceModule, type EvmNativeTokenConfig, EvmNativeTokenConfigSchema, EvmUniswapV2BalanceModule, type EvmUniswapV2TokenConfig, EvmUniswapV2TokenConfigSchema, type ExtraAmount, type FetchBalanceErrors, type FetchBalanceResults, FiatSumBalancesFormatter, type GetDynamicInfosResult, type GetStakeInfosResult, type HydrateDb, type IBalance, type IBalanceModule, type LockedAmount, type MiniMetadata, type NarrowBalanceType, PlanckSumBalancesFormatter, type PlatformConnector, SolNativeBalanceModule, type SolNativeTokenConfig, SolNativeTokenConfigSchema, SolSplBalanceModule, type SolSplTokenConfig, SolSplTokenConfigSchema, SubAssetsBalanceModule, type SubAssetsTokenConfig, SubAssetsTokenConfigSchema, type SubDTaoBalance, type SubDTaoBalanceMeta, SubDTaoBalanceModule, type SubDTaoTokenConfig, SubDTaoTokenConfigSchema, SubForeignAssetsBalanceModule, type SubForeignAssetsTokenConfig, SubForeignAssetsTokenConfigSchema, SubHydrationBalanceModule, type SubHydrationTokenConfig, SubHydrationTokenConfigSchema, SubNativeBalanceModule, type SubNativeMiniMetadataExtra, SubNativeMiniMetadataExtraSchema, type SubNativeModuleConfig, SubNativeModuleConfigSchema, type SubNativeTokenConfig, SubNativeTokenConfigSchema, SubPsp22BalanceModule, type SubPsp22TokenConfig, SubPsp22TokenConfigSchema, SubTokensBalanceModule, type SubTokensMiniMetadataExtra, SubTokensMiniMetadataExtraSchema, type SubTokensModuleConfig, SubTokensModuleConfigSchema, type SubTokensTokenConfig, SubTokensTokenConfigSchema, type SubscriptionCallback, SumBalancesFormatter, TAO_DECIMALS, type TokenPlatform, type TokensWithAddresses, type UnsubscribeFn, abiMulticall, alphaToTao, deriveMiniMetadataId, erc20BalancesAggregatorAbi, excludeFromFeePayableLocks, excludeFromTransferableAmount, filterBaseLocks, filterMirrorTokens, getBalanceId, getDTaoTokenRates, getLockTitle, getLockedType, getScaledAlphaPrice, getValueId, includeInTotalExtraAmount, taoToAlpha, uniswapV2PairAbi };
|
|
2145
|
+
export { ALPHA_PRICE_SCALE, type Address, type Amount, type AmountWithLabel, type AnyBalanceModule, BALANCE_MODULES, Balance, BalanceFormatter, type BalanceJson, type BalanceJsonList, type BalanceLockType, type BalanceSearchQuery, type BalanceSource, type BalanceStatus, type BalanceStatusTypes, type BalanceTransferType, BalanceValueGetter, Balances, BalancesProvider, type BalancesResult, type BalancesStorage, type ChainConnectors, Change24hCurrencyFormatter, EvmErc20BalanceModule, type EvmErc20TokenConfig, EvmErc20TokenConfigSchema, EvmNativeBalanceModule, type EvmNativeTokenConfig, EvmNativeTokenConfigSchema, EvmUniswapV2BalanceModule, type EvmUniswapV2TokenConfig, EvmUniswapV2TokenConfigSchema, type ExtraAmount, type FetchBalanceErrors, type FetchBalanceResults, FiatSumBalancesFormatter, type GetDynamicInfosResult, type GetStakeInfosResult, type HydrateDb, type IBalance, type IBalanceModule, type LockedAmount, type MiniMetadata, type NarrowBalanceType, PlanckSumBalancesFormatter, type PlatformConnector, SolNativeBalanceModule, type SolNativeTokenConfig, SolNativeTokenConfigSchema, SolSplBalanceModule, type SolSplTokenConfig, SolSplTokenConfigSchema, SolToken2022BalanceModule, type SolToken2022TokenConfig, SolToken2022TokenConfigSchema, SubAssetsBalanceModule, type SubAssetsTokenConfig, SubAssetsTokenConfigSchema, type SubDTaoBalance, type SubDTaoBalanceMeta, SubDTaoBalanceModule, type SubDTaoTokenConfig, SubDTaoTokenConfigSchema, SubForeignAssetsBalanceModule, type SubForeignAssetsTokenConfig, SubForeignAssetsTokenConfigSchema, SubHydrationBalanceModule, type SubHydrationTokenConfig, SubHydrationTokenConfigSchema, SubNativeBalanceModule, type SubNativeMiniMetadataExtra, SubNativeMiniMetadataExtraSchema, type SubNativeModuleConfig, SubNativeModuleConfigSchema, type SubNativeTokenConfig, SubNativeTokenConfigSchema, SubPsp22BalanceModule, type SubPsp22TokenConfig, SubPsp22TokenConfigSchema, SubTokensBalanceModule, type SubTokensMiniMetadataExtra, SubTokensMiniMetadataExtraSchema, type SubTokensModuleConfig, SubTokensModuleConfigSchema, type SubTokensTokenConfig, SubTokensTokenConfigSchema, type SubscriptionCallback, SumBalancesFormatter, TAO_DECIMALS, type TokenPlatform, type TokensWithAddresses, type UnsubscribeFn, abiMulticall, alphaToTao, deriveMiniMetadataId, erc20BalancesAggregatorAbi, excludeFromFeePayableLocks, excludeFromTransferableAmount, filterBaseLocks, filterMirrorTokens, getBalanceId, getDTaoTokenRates, getLockTitle, getLockedType, getScaledAlphaPrice, getValueId, includeInTotalExtraAmount, taoToAlpha, uniswapV2PairAbi };
|
package/dist/index.d.ts
CHANGED
|
@@ -320,6 +320,7 @@ declare class Balance {
|
|
|
320
320
|
balancesConfig?: {
|
|
321
321
|
"sol-native"?: Record<string, never> | undefined;
|
|
322
322
|
"sol-spl"?: Record<string, never> | undefined;
|
|
323
|
+
"sol-token2022"?: Record<string, never> | undefined;
|
|
323
324
|
} | undefined;
|
|
324
325
|
} | null;
|
|
325
326
|
get tokenId(): string;
|
|
@@ -511,6 +512,21 @@ declare class Balance {
|
|
|
511
512
|
coingeckoId?: string | undefined;
|
|
512
513
|
noDiscovery?: boolean | undefined;
|
|
513
514
|
mirrorOf?: string | undefined;
|
|
515
|
+
} | {
|
|
516
|
+
id: string;
|
|
517
|
+
networkId: string;
|
|
518
|
+
decimals: number;
|
|
519
|
+
symbol: string;
|
|
520
|
+
type: "sol-token2022";
|
|
521
|
+
platform: "solana";
|
|
522
|
+
mintAddress: string;
|
|
523
|
+
isDefault?: boolean | undefined;
|
|
524
|
+
name?: string | undefined;
|
|
525
|
+
logo?: string | undefined;
|
|
526
|
+
coingeckoId?: string | undefined;
|
|
527
|
+
noDiscovery?: boolean | undefined;
|
|
528
|
+
mirrorOf?: string | undefined;
|
|
529
|
+
isTransferable?: boolean | undefined;
|
|
514
530
|
} | null;
|
|
515
531
|
get decimals(): number | null;
|
|
516
532
|
get rates(): TokenRates | null;
|
|
@@ -1686,9 +1702,9 @@ declare const EvmErc20TokenConfigSchema: z.ZodObject<{
|
|
|
1686
1702
|
}, z.core.$strict>;
|
|
1687
1703
|
type EvmErc20TokenConfig = z.infer<typeof EvmErc20TokenConfigSchema>;
|
|
1688
1704
|
|
|
1689
|
-
declare const MODULE_TYPE$
|
|
1705
|
+
declare const MODULE_TYPE$c: "evm-erc20";
|
|
1690
1706
|
|
|
1691
|
-
declare const EvmErc20BalanceModule: IBalanceModule<typeof MODULE_TYPE$
|
|
1707
|
+
declare const EvmErc20BalanceModule: IBalanceModule<typeof MODULE_TYPE$c, EvmErc20TokenConfig>;
|
|
1692
1708
|
|
|
1693
1709
|
declare const EvmNativeTokenConfigSchema: z.ZodObject<{
|
|
1694
1710
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -1703,9 +1719,9 @@ declare const EvmNativeTokenConfigSchema: z.ZodObject<{
|
|
|
1703
1719
|
}, z.core.$strict>;
|
|
1704
1720
|
type EvmNativeTokenConfig = z.infer<typeof EvmNativeTokenConfigSchema>;
|
|
1705
1721
|
|
|
1706
|
-
declare const MODULE_TYPE$
|
|
1722
|
+
declare const MODULE_TYPE$b: "evm-native";
|
|
1707
1723
|
|
|
1708
|
-
declare const EvmNativeBalanceModule: IBalanceModule<typeof MODULE_TYPE$
|
|
1724
|
+
declare const EvmNativeBalanceModule: IBalanceModule<typeof MODULE_TYPE$b, EvmNativeTokenConfig>;
|
|
1709
1725
|
|
|
1710
1726
|
declare const EvmUniswapV2TokenConfigSchema: z.ZodObject<{
|
|
1711
1727
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -1721,9 +1737,9 @@ declare const EvmUniswapV2TokenConfigSchema: z.ZodObject<{
|
|
|
1721
1737
|
}, z.core.$strict>;
|
|
1722
1738
|
type EvmUniswapV2TokenConfig = z.infer<typeof EvmUniswapV2TokenConfigSchema>;
|
|
1723
1739
|
|
|
1724
|
-
declare const MODULE_TYPE$
|
|
1740
|
+
declare const MODULE_TYPE$a: "evm-uniswapv2";
|
|
1725
1741
|
|
|
1726
|
-
declare const EvmUniswapV2BalanceModule: IBalanceModule<typeof MODULE_TYPE$
|
|
1742
|
+
declare const EvmUniswapV2BalanceModule: IBalanceModule<typeof MODULE_TYPE$a, EvmUniswapV2TokenConfig>;
|
|
1727
1743
|
|
|
1728
1744
|
declare const SolNativeTokenConfigSchema: z.ZodObject<{
|
|
1729
1745
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -1738,9 +1754,9 @@ declare const SolNativeTokenConfigSchema: z.ZodObject<{
|
|
|
1738
1754
|
}, z.core.$strict>;
|
|
1739
1755
|
type SolNativeTokenConfig = z.infer<typeof SolNativeTokenConfigSchema>;
|
|
1740
1756
|
|
|
1741
|
-
declare const MODULE_TYPE$
|
|
1757
|
+
declare const MODULE_TYPE$9: "sol-native";
|
|
1742
1758
|
|
|
1743
|
-
declare const SolNativeBalanceModule: IBalanceModule<typeof MODULE_TYPE$
|
|
1759
|
+
declare const SolNativeBalanceModule: IBalanceModule<typeof MODULE_TYPE$9, SolNativeTokenConfig>;
|
|
1744
1760
|
|
|
1745
1761
|
declare const SolSplTokenConfigSchema: z.ZodObject<{
|
|
1746
1762
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -1756,9 +1772,27 @@ declare const SolSplTokenConfigSchema: z.ZodObject<{
|
|
|
1756
1772
|
}, z.core.$strict>;
|
|
1757
1773
|
type SolSplTokenConfig = z.infer<typeof SolSplTokenConfigSchema>;
|
|
1758
1774
|
|
|
1759
|
-
declare const MODULE_TYPE$
|
|
1775
|
+
declare const MODULE_TYPE$8: "sol-spl";
|
|
1760
1776
|
|
|
1761
|
-
declare const SolSplBalanceModule: IBalanceModule<typeof MODULE_TYPE$
|
|
1777
|
+
declare const SolSplBalanceModule: IBalanceModule<typeof MODULE_TYPE$8, SolSplTokenConfig>;
|
|
1778
|
+
|
|
1779
|
+
declare const SolToken2022TokenConfigSchema: z.ZodObject<{
|
|
1780
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1781
|
+
networkId: z.ZodOptional<z.ZodString>;
|
|
1782
|
+
isDefault: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1783
|
+
decimals: z.ZodOptional<z.ZodInt>;
|
|
1784
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1785
|
+
logo: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1786
|
+
coingeckoId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1787
|
+
noDiscovery: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1788
|
+
mirrorOf: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1789
|
+
mintAddress: z.ZodString;
|
|
1790
|
+
}, z.core.$strict>;
|
|
1791
|
+
type SolToken2022TokenConfig = z.infer<typeof SolToken2022TokenConfigSchema>;
|
|
1792
|
+
|
|
1793
|
+
declare const MODULE_TYPE$7: "sol-token2022";
|
|
1794
|
+
|
|
1795
|
+
declare const SolToken2022BalanceModule: IBalanceModule<typeof MODULE_TYPE$7, SolToken2022TokenConfig>;
|
|
1762
1796
|
|
|
1763
1797
|
declare const SubAssetsTokenConfigSchema: z.ZodObject<{
|
|
1764
1798
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -2017,6 +2051,17 @@ declare const BALANCE_MODULES: (IBalanceModule<"substrate-dtao", {
|
|
|
2017
2051
|
coingeckoId?: string | undefined;
|
|
2018
2052
|
noDiscovery?: boolean | undefined;
|
|
2019
2053
|
mirrorOf?: string | undefined;
|
|
2054
|
+
}, unknown, unknown> | IBalanceModule<"sol-token2022", {
|
|
2055
|
+
mintAddress: string;
|
|
2056
|
+
symbol?: string | undefined;
|
|
2057
|
+
networkId?: string | undefined;
|
|
2058
|
+
isDefault?: boolean | undefined;
|
|
2059
|
+
decimals?: number | undefined;
|
|
2060
|
+
name?: string | undefined;
|
|
2061
|
+
logo?: string | undefined;
|
|
2062
|
+
coingeckoId?: string | undefined;
|
|
2063
|
+
noDiscovery?: boolean | undefined;
|
|
2064
|
+
mirrorOf?: string | undefined;
|
|
2020
2065
|
}, unknown, unknown> | IBalanceModule<"substrate-assets", {
|
|
2021
2066
|
assetId: string;
|
|
2022
2067
|
symbol?: string | undefined;
|
|
@@ -2097,4 +2142,4 @@ declare const BALANCE_MODULES: (IBalanceModule<"substrate-dtao", {
|
|
|
2097
2142
|
}>)[];
|
|
2098
2143
|
type AnyBalanceModule = (typeof BALANCE_MODULES)[number];
|
|
2099
2144
|
|
|
2100
|
-
export { ALPHA_PRICE_SCALE, type Address, type Amount, type AmountWithLabel, type AnyBalanceModule, BALANCE_MODULES, Balance, BalanceFormatter, type BalanceJson, type BalanceJsonList, type BalanceLockType, type BalanceSearchQuery, type BalanceSource, type BalanceStatus, type BalanceStatusTypes, type BalanceTransferType, BalanceValueGetter, Balances, BalancesProvider, type BalancesResult, type BalancesStorage, type ChainConnectors, Change24hCurrencyFormatter, EvmErc20BalanceModule, type EvmErc20TokenConfig, EvmErc20TokenConfigSchema, EvmNativeBalanceModule, type EvmNativeTokenConfig, EvmNativeTokenConfigSchema, EvmUniswapV2BalanceModule, type EvmUniswapV2TokenConfig, EvmUniswapV2TokenConfigSchema, type ExtraAmount, type FetchBalanceErrors, type FetchBalanceResults, FiatSumBalancesFormatter, type GetDynamicInfosResult, type GetStakeInfosResult, type HydrateDb, type IBalance, type IBalanceModule, type LockedAmount, type MiniMetadata, type NarrowBalanceType, PlanckSumBalancesFormatter, type PlatformConnector, SolNativeBalanceModule, type SolNativeTokenConfig, SolNativeTokenConfigSchema, SolSplBalanceModule, type SolSplTokenConfig, SolSplTokenConfigSchema, SubAssetsBalanceModule, type SubAssetsTokenConfig, SubAssetsTokenConfigSchema, type SubDTaoBalance, type SubDTaoBalanceMeta, SubDTaoBalanceModule, type SubDTaoTokenConfig, SubDTaoTokenConfigSchema, SubForeignAssetsBalanceModule, type SubForeignAssetsTokenConfig, SubForeignAssetsTokenConfigSchema, SubHydrationBalanceModule, type SubHydrationTokenConfig, SubHydrationTokenConfigSchema, SubNativeBalanceModule, type SubNativeMiniMetadataExtra, SubNativeMiniMetadataExtraSchema, type SubNativeModuleConfig, SubNativeModuleConfigSchema, type SubNativeTokenConfig, SubNativeTokenConfigSchema, SubPsp22BalanceModule, type SubPsp22TokenConfig, SubPsp22TokenConfigSchema, SubTokensBalanceModule, type SubTokensMiniMetadataExtra, SubTokensMiniMetadataExtraSchema, type SubTokensModuleConfig, SubTokensModuleConfigSchema, type SubTokensTokenConfig, SubTokensTokenConfigSchema, type SubscriptionCallback, SumBalancesFormatter, TAO_DECIMALS, type TokenPlatform, type TokensWithAddresses, type UnsubscribeFn, abiMulticall, alphaToTao, deriveMiniMetadataId, erc20BalancesAggregatorAbi, excludeFromFeePayableLocks, excludeFromTransferableAmount, filterBaseLocks, filterMirrorTokens, getBalanceId, getDTaoTokenRates, getLockTitle, getLockedType, getScaledAlphaPrice, getValueId, includeInTotalExtraAmount, taoToAlpha, uniswapV2PairAbi };
|
|
2145
|
+
export { ALPHA_PRICE_SCALE, type Address, type Amount, type AmountWithLabel, type AnyBalanceModule, BALANCE_MODULES, Balance, BalanceFormatter, type BalanceJson, type BalanceJsonList, type BalanceLockType, type BalanceSearchQuery, type BalanceSource, type BalanceStatus, type BalanceStatusTypes, type BalanceTransferType, BalanceValueGetter, Balances, BalancesProvider, type BalancesResult, type BalancesStorage, type ChainConnectors, Change24hCurrencyFormatter, EvmErc20BalanceModule, type EvmErc20TokenConfig, EvmErc20TokenConfigSchema, EvmNativeBalanceModule, type EvmNativeTokenConfig, EvmNativeTokenConfigSchema, EvmUniswapV2BalanceModule, type EvmUniswapV2TokenConfig, EvmUniswapV2TokenConfigSchema, type ExtraAmount, type FetchBalanceErrors, type FetchBalanceResults, FiatSumBalancesFormatter, type GetDynamicInfosResult, type GetStakeInfosResult, type HydrateDb, type IBalance, type IBalanceModule, type LockedAmount, type MiniMetadata, type NarrowBalanceType, PlanckSumBalancesFormatter, type PlatformConnector, SolNativeBalanceModule, type SolNativeTokenConfig, SolNativeTokenConfigSchema, SolSplBalanceModule, type SolSplTokenConfig, SolSplTokenConfigSchema, SolToken2022BalanceModule, type SolToken2022TokenConfig, SolToken2022TokenConfigSchema, SubAssetsBalanceModule, type SubAssetsTokenConfig, SubAssetsTokenConfigSchema, type SubDTaoBalance, type SubDTaoBalanceMeta, SubDTaoBalanceModule, type SubDTaoTokenConfig, SubDTaoTokenConfigSchema, SubForeignAssetsBalanceModule, type SubForeignAssetsTokenConfig, SubForeignAssetsTokenConfigSchema, SubHydrationBalanceModule, type SubHydrationTokenConfig, SubHydrationTokenConfigSchema, SubNativeBalanceModule, type SubNativeMiniMetadataExtra, SubNativeMiniMetadataExtraSchema, type SubNativeModuleConfig, SubNativeModuleConfigSchema, type SubNativeTokenConfig, SubNativeTokenConfigSchema, SubPsp22BalanceModule, type SubPsp22TokenConfig, SubPsp22TokenConfigSchema, SubTokensBalanceModule, type SubTokensMiniMetadataExtra, SubTokensMiniMetadataExtraSchema, type SubTokensModuleConfig, SubTokensModuleConfigSchema, type SubTokensTokenConfig, SubTokensTokenConfigSchema, type SubscriptionCallback, SumBalancesFormatter, TAO_DECIMALS, type TokenPlatform, type TokensWithAddresses, type UnsubscribeFn, abiMulticall, alphaToTao, deriveMiniMetadataId, erc20BalancesAggregatorAbi, excludeFromFeePayableLocks, excludeFromTransferableAmount, filterBaseLocks, filterMirrorTokens, getBalanceId, getDTaoTokenRates, getLockTitle, getLockedType, getScaledAlphaPrice, getValueId, includeInTotalExtraAmount, taoToAlpha, uniswapV2PairAbi };
|