@talismn/balances 0.0.0-pr2041-20250612085325 → 0.0.0-pr2043-20250612121753
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/declarations/src/modules/EvmErc20Module.d.ts +3 -10
- package/dist/declarations/src/modules/EvmNativeModule.d.ts +2 -11
- package/dist/declarations/src/modules/EvmUniswapV2Module.d.ts +4 -12
- package/dist/declarations/src/modules/SubstrateAssetsModule.d.ts +1 -4
- package/dist/declarations/src/modules/SubstrateForeignAssetsModule.d.ts +1 -4
- package/dist/declarations/src/modules/SubstrateNativeModule/index.d.ts +3 -2
- package/dist/declarations/src/modules/SubstrateNativeModule/subscribeCrowdloans.d.ts +2 -2
- package/dist/declarations/src/modules/SubstrateNativeModule/subscribeNompoolStaking.d.ts +2 -2
- package/dist/declarations/src/modules/SubstrateNativeModule/subscribeSubtensorStaking.d.ts +2 -2
- package/dist/declarations/src/modules/SubstrateNativeModule/types.d.ts +1 -9
- package/dist/declarations/src/modules/SubstrateNativeModule/util/QueryCache.d.ts +2 -2
- package/dist/declarations/src/modules/SubstrateNativeModule/util/buildQueries.d.ts +2 -2
- package/dist/declarations/src/modules/SubstratePsp22Module.d.ts +1 -4
- package/dist/declarations/src/modules/SubstrateTokensModule.d.ts +1 -4
- package/dist/declarations/src/modules/index.d.ts +195 -39
- package/dist/declarations/src/types/balances.d.ts +118 -63
- package/dist/talismn-balances.cjs.dev.js +80 -347
- package/dist/talismn-balances.cjs.prod.js +80 -347
- package/dist/talismn-balances.esm.js +83 -348
- package/package.json +8 -8
- package/dist/declarations/src/modules/SubstrateEquilibriumModule.d.ts +0 -39
@@ -1,18 +1,10 @@
|
|
1
|
-
import { BalancesConfigTokenParams,
|
1
|
+
import { BalancesConfigTokenParams, CustomEvmErc20Token, EvmErc20Token, EvmNetworkId } from "@talismn/chaindata-provider";
|
2
2
|
import { NewBalanceModule } from "../BalanceModule";
|
3
3
|
import { NewBalanceType } from "../types";
|
4
4
|
import { erc20Abi } from "./abis/erc20";
|
5
5
|
import { erc20BalancesAggregatorAbi } from "./abis/erc20BalancesAggregator";
|
6
6
|
export { erc20Abi, erc20BalancesAggregatorAbi };
|
7
7
|
type ModuleType = "evm-erc20";
|
8
|
-
export type EvmErc20Token = Extract<Token, {
|
9
|
-
type: ModuleType;
|
10
|
-
isCustom?: true;
|
11
|
-
}>;
|
12
|
-
export type CustomEvmErc20Token = Extract<Token, {
|
13
|
-
type: ModuleType;
|
14
|
-
isCustom: true;
|
15
|
-
}>;
|
16
8
|
export declare const evmErc20TokenId: (chainId: EvmNetworkId, tokenContractAddress: EvmErc20Token["contractAddress"]) => string;
|
17
9
|
export type EvmErc20ChainMeta = {
|
18
10
|
isTestnet: boolean;
|
@@ -21,7 +13,8 @@ export type EvmErc20ModuleConfig = {
|
|
21
13
|
tokens?: Array<{
|
22
14
|
symbol?: string;
|
23
15
|
decimals?: number;
|
24
|
-
|
16
|
+
name?: string;
|
17
|
+
contractAddress?: `0x${string}`;
|
25
18
|
} & BalancesConfigTokenParams>;
|
26
19
|
};
|
27
20
|
export type EvmErc20Balance = NewBalanceType<ModuleType, "simple", "ethereum">;
|
@@ -1,21 +1,12 @@
|
|
1
|
-
import { BalancesConfigTokenParams,
|
1
|
+
import { BalancesConfigTokenParams, CustomEvmNativeToken, EvmNativeToken, EvmNetworkId } from "@talismn/chaindata-provider";
|
2
2
|
import { NewBalanceModule } from "../BalanceModule";
|
3
3
|
import { NewBalanceType } from "../types";
|
4
4
|
type ModuleType = "evm-native";
|
5
|
-
export type EvmNativeToken = Extract<Token, {
|
6
|
-
type: ModuleType;
|
7
|
-
}>;
|
8
|
-
export type CustomEvmNativeToken = Extract<Token, {
|
9
|
-
type: ModuleType;
|
10
|
-
}>;
|
11
5
|
export declare const evmNativeTokenId: (chainId: EvmNetworkId) => string;
|
12
6
|
export type EvmNativeChainMeta = {
|
13
7
|
isTestnet: boolean;
|
14
8
|
};
|
15
|
-
export type EvmNativeModuleConfig =
|
16
|
-
symbol?: string;
|
17
|
-
decimals?: number;
|
18
|
-
} & BalancesConfigTokenParams;
|
9
|
+
export type EvmNativeModuleConfig = BalancesConfigTokenParams;
|
19
10
|
export type EvmNativeBalance = NewBalanceType<ModuleType, "simple", "ethereum">;
|
20
11
|
declare module "@talismn/balances/plugins" {
|
21
12
|
interface PluginBalanceTypes {
|
@@ -1,31 +1,23 @@
|
|
1
|
-
import { BalancesConfigTokenParams, EvmNetworkId,
|
1
|
+
import { BalancesConfigTokenParams, CustomEvmUniswapV2Token, EvmNetworkId, EvmUniswapV2Token } from "@talismn/chaindata-provider";
|
2
2
|
import { NewBalanceModule } from "../BalanceModule";
|
3
3
|
import { NewBalanceType } from "../types";
|
4
4
|
import { uniswapV2PairAbi } from "./abis/uniswapV2Pair";
|
5
5
|
export { uniswapV2PairAbi };
|
6
6
|
type ModuleType = "evm-uniswapv2";
|
7
|
-
export type EvmUniswapV2Token = Extract<Token, {
|
8
|
-
type: ModuleType;
|
9
|
-
isCustom?: true;
|
10
|
-
}>;
|
11
|
-
export type CustomEvmUniswapV2Token = Extract<Token, {
|
12
|
-
type: ModuleType;
|
13
|
-
isCustom: true;
|
14
|
-
}>;
|
15
7
|
export declare const evmUniswapV2TokenId: (chainId: EvmNetworkId, contractAddress: EvmUniswapV2Token["contractAddress"]) => string;
|
16
8
|
export type EvmUniswapV2ChainMeta = {
|
17
9
|
isTestnet: boolean;
|
18
10
|
};
|
19
11
|
export type EvmUniswapV2ModuleConfig = {
|
20
12
|
pools?: Array<{
|
21
|
-
contractAddress?: string
|
13
|
+
contractAddress?: `0x${string}`;
|
22
14
|
decimals?: number;
|
23
15
|
symbol0?: string;
|
24
16
|
symbol1?: string;
|
25
17
|
decimals0?: number;
|
26
18
|
decimals1?: number;
|
27
|
-
tokenAddress0?: string
|
28
|
-
tokenAddress1?: string
|
19
|
+
tokenAddress0?: `0x${string}`;
|
20
|
+
tokenAddress1?: `0x${string}`;
|
29
21
|
coingeckoId0?: string;
|
30
22
|
coingeckoId1?: string;
|
31
23
|
} & BalancesConfigTokenParams>;
|
@@ -1,12 +1,9 @@
|
|
1
1
|
import { TypeRegistry } from "@polkadot/types";
|
2
2
|
import { ExtDef } from "@polkadot/types/extrinsic/signedExtensions/types";
|
3
|
-
import { BalancesConfigTokenParams, ChainId,
|
3
|
+
import { BalancesConfigTokenParams, ChainId, SubAssetsToken } from "@talismn/chaindata-provider";
|
4
4
|
import { NewBalanceModule, NewTransferParamsType } from "../BalanceModule";
|
5
5
|
import { NewBalanceType } from "../types";
|
6
6
|
type ModuleType = "substrate-assets";
|
7
|
-
export type SubAssetsToken = Extract<Token, {
|
8
|
-
type: ModuleType;
|
9
|
-
}>;
|
10
7
|
export declare const subAssetTokenId: (chainId: ChainId, assetId: string, tokenSymbol: string) => string;
|
11
8
|
export type SubAssetsChainMeta = {
|
12
9
|
isTestnet: boolean;
|
@@ -1,12 +1,9 @@
|
|
1
1
|
import { TypeRegistry } from "@polkadot/types";
|
2
2
|
import { ExtDef } from "@polkadot/types/extrinsic/signedExtensions/types";
|
3
|
-
import { BalancesConfigTokenParams, ChainId,
|
3
|
+
import { BalancesConfigTokenParams, ChainId, SubForeignAssetsToken } from "@talismn/chaindata-provider";
|
4
4
|
import { NewBalanceModule, NewTransferParamsType } from "../BalanceModule";
|
5
5
|
import { NewBalanceType } from "../types";
|
6
6
|
type ModuleType = "substrate-foreignassets";
|
7
|
-
export type SubForeignAssetsToken = Extract<Token, {
|
8
|
-
type: ModuleType;
|
9
|
-
}>;
|
10
7
|
export declare const subForeignAssetTokenId: (chainId: ChainId, tokenSymbol: string) => string;
|
11
8
|
export type SubForeignAssetsChainMeta = {
|
12
9
|
isTestnet: boolean;
|
@@ -1,8 +1,9 @@
|
|
1
|
+
import { CustomSubNativeToken, SubNativeToken } from "@talismn/chaindata-provider";
|
1
2
|
import { NewBalanceModule } from "../../BalanceModule";
|
2
|
-
import {
|
3
|
+
import { ModuleType, SubNativeChainMeta, SubNativeModuleConfig, SubNativeTransferParams } from "./types";
|
3
4
|
export { filterBaseLocks, getLockTitle } from "./util/balanceLockTypes";
|
4
5
|
export type { BalanceLockType } from "./util/balanceLockTypes";
|
5
6
|
export { subNativeTokenId } from "./types";
|
6
|
-
export type {
|
7
|
+
export type { ModuleType, SubNativeBalance, SubNativeChainMeta, SubNativeModuleConfig, SubNativeTransferParams, } from "./types";
|
7
8
|
export * from "./util/subtensor";
|
8
9
|
export declare const SubNativeModule: NewBalanceModule<ModuleType, SubNativeToken | CustomSubNativeToken, SubNativeChainMeta, SubNativeModuleConfig, SubNativeTransferParams>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ChainConnector } from "@talismn/chain-connector";
|
2
|
-
import { ChaindataProvider } from "@talismn/chaindata-provider";
|
2
|
+
import { ChaindataProvider, CustomSubNativeToken, SubNativeToken } from "@talismn/chaindata-provider";
|
3
3
|
import { AddressesByToken, SubscriptionCallback } from "../../types";
|
4
|
-
import {
|
4
|
+
import { SubNativeBalance } from "./types";
|
5
5
|
export declare function subscribeCrowdloans(chaindataProvider: ChaindataProvider, chainConnector: ChainConnector, addressesByToken: AddressesByToken<SubNativeToken | CustomSubNativeToken>, callback: SubscriptionCallback<SubNativeBalance[]>): Promise<() => void>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ChainConnector } from "@talismn/chain-connector";
|
2
|
-
import { ChaindataProvider } from "@talismn/chaindata-provider";
|
2
|
+
import { ChaindataProvider, SubNativeToken } from "@talismn/chaindata-provider";
|
3
3
|
import { AddressesByToken, SubscriptionCallback } from "../../types";
|
4
|
-
import { SubNativeBalance
|
4
|
+
import { SubNativeBalance } from "./types";
|
5
5
|
export declare function subscribeNompoolStaking(chaindataProvider: ChaindataProvider, chainConnector: ChainConnector, addressesByToken: AddressesByToken<SubNativeToken>, callback: SubscriptionCallback<SubNativeBalance[]>): Promise<() => void>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ChainConnector } from "@talismn/chain-connector";
|
2
|
-
import { ChaindataProvider } from "@talismn/chaindata-provider";
|
2
|
+
import { ChaindataProvider, SubNativeToken } from "@talismn/chaindata-provider";
|
3
3
|
import { AddressesByToken, SubscriptionCallback } from "../../types";
|
4
|
-
import { SubNativeBalance
|
4
|
+
import { SubNativeBalance } from "./types";
|
5
5
|
export declare function subscribeSubtensorStaking(chaindataProvider: ChaindataProvider, chainConnector: ChainConnector, addressesByToken: AddressesByToken<SubNativeToken>, callback: SubscriptionCallback<SubNativeBalance[]>): Promise<() => void>;
|
@@ -1,20 +1,12 @@
|
|
1
1
|
import { TypeRegistry } from "@polkadot/types";
|
2
2
|
import { ExtDef } from "@polkadot/types/extrinsic/signedExtensions/types";
|
3
|
-
import { BalancesConfigTokenParams, ChainId
|
3
|
+
import { BalancesConfigTokenParams, ChainId } from "@talismn/chaindata-provider";
|
4
4
|
import { NewTransferParamsType } from "../../BalanceModule";
|
5
5
|
import { NewBalanceType } from "../../types";
|
6
6
|
export { filterBaseLocks, getLockTitle } from "./util/balanceLockTypes";
|
7
7
|
export type { BalanceLockType } from "./util/balanceLockTypes";
|
8
8
|
export type ModuleType = "substrate-native";
|
9
9
|
export declare const moduleType: ModuleType;
|
10
|
-
export type SubNativeToken = Extract<Token, {
|
11
|
-
type: ModuleType;
|
12
|
-
isCustom?: true;
|
13
|
-
}>;
|
14
|
-
export type CustomSubNativeToken = Extract<Token, {
|
15
|
-
type: ModuleType;
|
16
|
-
isCustom: true;
|
17
|
-
}>;
|
18
10
|
export declare const subNativeTokenId: (chainId: ChainId) => string;
|
19
11
|
export type SubNativeChainMeta = {
|
20
12
|
isTestnet: boolean;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { ChaindataProvider } from "@talismn/chaindata-provider";
|
1
|
+
import { ChaindataProvider, SubNativeToken } from "@talismn/chaindata-provider";
|
2
2
|
import { AddressesByToken } from "../../../types";
|
3
3
|
import { RpcStateQuery } from "../../util";
|
4
|
-
import { SubNativeBalance
|
4
|
+
import { SubNativeBalance } from "../types";
|
5
5
|
export declare class QueryCache {
|
6
6
|
private chaindataProvider;
|
7
7
|
private balanceQueryCache;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { Chain, Token } from "@talismn/chaindata-provider";
|
1
|
+
import { Chain, SubNativeToken, Token } from "@talismn/chaindata-provider";
|
2
2
|
import { AddressesByToken, MiniMetadata } from "../../../types";
|
3
3
|
import { RpcStateQuery, StorageCoders } from "../../util";
|
4
|
-
import { SubNativeBalance
|
4
|
+
import { SubNativeBalance } from "../types";
|
5
5
|
export type QueryKey = string;
|
6
6
|
export declare function buildQueries(chains: Record<string, Chain>, tokens: Record<string, Token>, chainStorageCoders: StorageCoders<{
|
7
7
|
base: ["System", "Account"];
|
@@ -1,12 +1,9 @@
|
|
1
1
|
import { TypeRegistry } from "@polkadot/types";
|
2
2
|
import { ExtDef } from "@polkadot/types/extrinsic/signedExtensions/types";
|
3
|
-
import { BalancesConfigTokenParams, ChainId,
|
3
|
+
import { BalancesConfigTokenParams, ChainId, SubPsp22Token } from "@talismn/chaindata-provider";
|
4
4
|
import { NewBalanceModule, NewTransferParamsType } from "../BalanceModule";
|
5
5
|
import { NewBalanceType } from "../types";
|
6
6
|
type ModuleType = "substrate-psp22";
|
7
|
-
export type SubPsp22Token = Extract<Token, {
|
8
|
-
type: ModuleType;
|
9
|
-
}>;
|
10
7
|
export declare const subPsp22TokenId: (chainId: ChainId, tokenSymbol: string) => string;
|
11
8
|
export type SubPsp22ChainMeta = {
|
12
9
|
isTestnet: boolean;
|
@@ -1,12 +1,9 @@
|
|
1
1
|
import { TypeRegistry } from "@polkadot/types";
|
2
2
|
import { ExtDef } from "@polkadot/types/extrinsic/signedExtensions/types";
|
3
|
-
import { BalancesConfigTokenParams, ChainId,
|
3
|
+
import { BalancesConfigTokenParams, ChainId, SubTokensToken } from "@talismn/chaindata-provider";
|
4
4
|
import { NewBalanceModule, NewTransferParamsType } from "../BalanceModule";
|
5
5
|
import { NewBalanceType } from "../types";
|
6
6
|
type ModuleType = "substrate-tokens";
|
7
|
-
export type SubTokensToken = Extract<Token, {
|
8
|
-
type: ModuleType;
|
9
|
-
}>;
|
10
7
|
export declare const subTokensTokenId: (chainId: ChainId, onChainId: string | number) => string;
|
11
8
|
export type SubTokensChainMeta = {
|
12
9
|
isTestnet: boolean;
|
@@ -1,58 +1,214 @@
|
|
1
|
-
export declare const defaultBalanceModules: (import("..").NewBalanceModule<"evm-erc20",
|
1
|
+
export declare const defaultBalanceModules: (import("..").NewBalanceModule<"evm-erc20", {
|
2
|
+
id: string;
|
3
|
+
decimals: number;
|
4
|
+
symbol: string;
|
5
|
+
name: string;
|
6
|
+
networkId: string;
|
7
|
+
type: "evm-erc20";
|
8
|
+
platform: "ethereum";
|
9
|
+
contractAddress: `0x${string}`;
|
10
|
+
isTestnet?: boolean | undefined;
|
11
|
+
isDefault?: boolean | undefined;
|
12
|
+
logo?: string | undefined;
|
13
|
+
coingeckoId?: string | undefined;
|
14
|
+
noDiscovery?: boolean | undefined;
|
15
|
+
mirrorOf?: string | undefined;
|
16
|
+
isCustom?: boolean | undefined;
|
17
|
+
} | {
|
18
|
+
id: string;
|
19
|
+
decimals: number;
|
20
|
+
symbol: string;
|
21
|
+
name: string;
|
22
|
+
networkId: string;
|
23
|
+
type: "evm-erc20";
|
24
|
+
platform: "ethereum";
|
25
|
+
contractAddress: `0x${string}`;
|
26
|
+
isCustom: true;
|
27
|
+
isTestnet?: boolean | undefined;
|
28
|
+
isDefault?: boolean | undefined;
|
29
|
+
logo?: string | undefined;
|
30
|
+
coingeckoId?: string | undefined;
|
31
|
+
noDiscovery?: boolean | undefined;
|
32
|
+
mirrorOf?: string | undefined;
|
33
|
+
}, import("./EvmErc20Module").EvmErc20ChainMeta, import("./EvmErc20Module").EvmErc20ModuleConfig> | import("..").NewBalanceModule<"evm-native", {
|
34
|
+
id: string;
|
35
|
+
decimals: number;
|
36
|
+
symbol: string;
|
37
|
+
name: string;
|
38
|
+
networkId: string;
|
2
39
|
type: "evm-native";
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
40
|
+
platform: "ethereum";
|
41
|
+
isTestnet?: boolean | undefined;
|
42
|
+
isDefault?: boolean | undefined;
|
43
|
+
logo?: string | undefined;
|
44
|
+
coingeckoId?: string | undefined;
|
45
|
+
noDiscovery?: boolean | undefined;
|
46
|
+
mirrorOf?: string | undefined;
|
47
|
+
} | {
|
48
|
+
id: string;
|
49
|
+
decimals: number;
|
50
|
+
symbol: string;
|
51
|
+
name: string;
|
52
|
+
networkId: string;
|
53
|
+
type: "evm-native";
|
54
|
+
platform: "ethereum";
|
55
|
+
isCustom: true;
|
56
|
+
isTestnet?: boolean | undefined;
|
57
|
+
isDefault?: boolean | undefined;
|
58
|
+
logo?: string | undefined;
|
59
|
+
coingeckoId?: string | undefined;
|
60
|
+
noDiscovery?: boolean | undefined;
|
61
|
+
mirrorOf?: string | undefined;
|
62
|
+
}, import("./EvmNativeModule").EvmNativeChainMeta, import("@talismn/chaindata-provider").BalancesConfigTokenParams> | import("..").NewBalanceModule<"evm-uniswapv2", {
|
63
|
+
id: string;
|
64
|
+
decimals: number;
|
65
|
+
symbol: string;
|
66
|
+
name: string;
|
67
|
+
networkId: string;
|
68
|
+
platform: "ethereum";
|
69
|
+
contractAddress: `0x${string}`;
|
70
|
+
type: "evm-uniswapv2";
|
71
|
+
symbol0: string;
|
72
|
+
symbol1: string;
|
73
|
+
decimals0: number;
|
74
|
+
decimals1: number;
|
75
|
+
tokenAddress0: `0x${string}`;
|
76
|
+
tokenAddress1: `0x${string}`;
|
77
|
+
isTestnet?: boolean | undefined;
|
78
|
+
isDefault?: boolean | undefined;
|
79
|
+
logo?: string | undefined;
|
80
|
+
coingeckoId?: string | undefined;
|
81
|
+
noDiscovery?: boolean | undefined;
|
82
|
+
mirrorOf?: string | undefined;
|
83
|
+
isCustom?: boolean | undefined;
|
84
|
+
coingeckoId0?: string | undefined;
|
85
|
+
coingeckoId1?: string | undefined;
|
86
|
+
} | {
|
87
|
+
id: string;
|
88
|
+
decimals: number;
|
89
|
+
symbol: string;
|
90
|
+
name: string;
|
91
|
+
networkId: string;
|
92
|
+
platform: "ethereum";
|
93
|
+
contractAddress: `0x${string}`;
|
94
|
+
type: "evm-uniswapv2";
|
95
|
+
symbol0: string;
|
96
|
+
symbol1: string;
|
97
|
+
decimals0: number;
|
98
|
+
decimals1: number;
|
99
|
+
tokenAddress0: `0x${string}`;
|
100
|
+
tokenAddress1: `0x${string}`;
|
101
|
+
isCustom: true;
|
102
|
+
isTestnet?: boolean | undefined;
|
103
|
+
isDefault?: boolean | undefined;
|
104
|
+
logo?: string | undefined;
|
105
|
+
coingeckoId?: string | undefined;
|
106
|
+
noDiscovery?: boolean | undefined;
|
107
|
+
mirrorOf?: string | undefined;
|
108
|
+
coingeckoId0?: string | undefined;
|
109
|
+
coingeckoId1?: string | undefined;
|
110
|
+
}, import("./EvmUniswapV2Module").EvmUniswapV2ChainMeta, import("./EvmUniswapV2Module").EvmUniswapV2ModuleConfig> | import("..").NewBalanceModule<"substrate-assets", {
|
111
|
+
id: string;
|
112
|
+
decimals: number;
|
113
|
+
symbol: string;
|
114
|
+
name: string;
|
115
|
+
networkId: string;
|
9
116
|
type: "substrate-assets";
|
10
|
-
|
11
|
-
existentialDeposit: string;
|
117
|
+
platform: "polkadot";
|
12
118
|
assetId: string;
|
13
|
-
isFrozen: boolean;
|
14
|
-
chain: {
|
15
|
-
id: import("@talismn/chaindata-provider").ChainId;
|
16
|
-
};
|
17
|
-
}, import("./SubstrateAssetsModule").SubAssetsChainMeta, import("./SubstrateAssetsModule").SubAssetsModuleConfig, import("./SubstrateAssetsModule").SubAssetsTransferParams> | import("..").NewBalanceModule<"substrate-equilibrium", import("@talismn/chaindata-provider/dist/declarations/src/types/Token/types").TokenBase & {
|
18
|
-
type: "substrate-equilibrium";
|
19
|
-
} & {
|
20
119
|
existentialDeposit: string;
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
120
|
+
isTestnet?: boolean | undefined;
|
121
|
+
isDefault?: boolean | undefined;
|
122
|
+
logo?: string | undefined;
|
123
|
+
coingeckoId?: string | undefined;
|
124
|
+
noDiscovery?: boolean | undefined;
|
125
|
+
mirrorOf?: string | undefined;
|
126
|
+
isFrozen?: boolean | undefined;
|
127
|
+
}, import("./SubstrateAssetsModule").SubAssetsChainMeta, import("./SubstrateAssetsModule").SubAssetsModuleConfig, import("./SubstrateAssetsModule").SubAssetsTransferParams> | import("..").NewBalanceModule<"substrate-foreignassets", {
|
128
|
+
id: string;
|
129
|
+
decimals: number;
|
130
|
+
symbol: string;
|
131
|
+
name: string;
|
132
|
+
networkId: string;
|
26
133
|
type: "substrate-foreignassets";
|
27
|
-
|
28
|
-
existentialDeposit: string;
|
134
|
+
platform: "polkadot";
|
29
135
|
onChainId: string;
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
136
|
+
existentialDeposit: string;
|
137
|
+
isTestnet?: boolean | undefined;
|
138
|
+
isDefault?: boolean | undefined;
|
139
|
+
logo?: string | undefined;
|
140
|
+
coingeckoId?: string | undefined;
|
141
|
+
noDiscovery?: boolean | undefined;
|
142
|
+
mirrorOf?: string | undefined;
|
143
|
+
isFrozen?: boolean | undefined;
|
144
|
+
}, import("./SubstrateForeignAssetsModule").SubForeignAssetsChainMeta, import("./SubstrateForeignAssetsModule").SubForeignAssetsModuleConfig, import("./SubstrateForeignAssetsModule").SubForeignAssetsTransferParams> | import("..").NewBalanceModule<"substrate-native", {
|
145
|
+
id: string;
|
146
|
+
decimals: number;
|
147
|
+
symbol: string;
|
148
|
+
name: string;
|
149
|
+
networkId: string;
|
150
|
+
type: "substrate-native";
|
151
|
+
platform: "polkadot";
|
152
|
+
existentialDeposit: string;
|
153
|
+
isTestnet?: boolean | undefined;
|
154
|
+
isDefault?: boolean | undefined;
|
155
|
+
logo?: string | undefined;
|
156
|
+
coingeckoId?: string | undefined;
|
157
|
+
noDiscovery?: boolean | undefined;
|
158
|
+
mirrorOf?: string | undefined;
|
159
|
+
} | {
|
160
|
+
id: string;
|
161
|
+
decimals: number;
|
162
|
+
symbol: string;
|
163
|
+
name: string;
|
164
|
+
networkId: string;
|
165
|
+
type: "substrate-native";
|
166
|
+
platform: "polkadot";
|
167
|
+
existentialDeposit: string;
|
168
|
+
isCustom: true;
|
169
|
+
isTestnet?: boolean | undefined;
|
170
|
+
isDefault?: boolean | undefined;
|
171
|
+
logo?: string | undefined;
|
172
|
+
coingeckoId?: string | undefined;
|
173
|
+
noDiscovery?: boolean | undefined;
|
174
|
+
mirrorOf?: string | undefined;
|
175
|
+
}, import("./SubstrateNativeModule").SubNativeChainMeta, import("./SubstrateNativeModule").SubNativeModuleConfig, import("./SubstrateNativeModule").SubNativeTransferParams> | import("..").NewBalanceModule<"substrate-psp22", {
|
176
|
+
id: string;
|
177
|
+
decimals: number;
|
178
|
+
symbol: string;
|
179
|
+
name: string;
|
180
|
+
networkId: string;
|
35
181
|
type: "substrate-psp22";
|
36
|
-
|
182
|
+
platform: "polkadot";
|
37
183
|
existentialDeposit: string;
|
38
184
|
contractAddress: string;
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
185
|
+
isTestnet?: boolean | undefined;
|
186
|
+
isDefault?: boolean | undefined;
|
187
|
+
logo?: string | undefined;
|
188
|
+
coingeckoId?: string | undefined;
|
189
|
+
noDiscovery?: boolean | undefined;
|
190
|
+
mirrorOf?: string | undefined;
|
191
|
+
}, import("./SubstratePsp22Module").SubPsp22ChainMeta, import("./SubstratePsp22Module").SubPsp22ModuleConfig, import("./SubstratePsp22Module").SubPsp22TransferParams> | import("..").NewBalanceModule<"substrate-tokens", {
|
192
|
+
id: string;
|
193
|
+
decimals: number;
|
194
|
+
symbol: string;
|
195
|
+
name: string;
|
196
|
+
networkId: string;
|
43
197
|
type: "substrate-tokens";
|
44
|
-
|
45
|
-
existentialDeposit: string;
|
198
|
+
platform: "polkadot";
|
46
199
|
onChainId: string | number;
|
47
|
-
|
48
|
-
|
49
|
-
|
200
|
+
existentialDeposit: string;
|
201
|
+
isTestnet?: boolean | undefined;
|
202
|
+
isDefault?: boolean | undefined;
|
203
|
+
logo?: string | undefined;
|
204
|
+
coingeckoId?: string | undefined;
|
205
|
+
noDiscovery?: boolean | undefined;
|
206
|
+
mirrorOf?: string | undefined;
|
50
207
|
}, import("./SubstrateTokensModule").SubTokensChainMeta, import("./SubstrateTokensModule").SubTokensModuleConfig, import("./SubstrateTokensModule").SubTokensTransferParams>)[];
|
51
208
|
export * from "./EvmErc20Module";
|
52
209
|
export * from "./EvmNativeModule";
|
53
210
|
export * from "./EvmUniswapV2Module";
|
54
211
|
export * from "./SubstrateAssetsModule";
|
55
|
-
export * from "./SubstrateEquilibriumModule";
|
56
212
|
export * from "./SubstrateForeignAssetsModule";
|
57
213
|
export * from "./SubstrateNativeModule";
|
58
214
|
export * from "./SubstratePsp22Module";
|