@bitgo-beta/statics 10.0.1-alpha.4 → 10.0.1-alpha.400
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/.mocharc.js +2 -2
- package/CHANGELOG.md +3470 -0
- package/dist/src/account.d.ts +1003 -80
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +1568 -150
- package/dist/src/ada.d.ts +3 -1
- package/dist/src/ada.d.ts.map +1 -1
- package/dist/src/ada.js +13 -4
- package/dist/src/allCoinsAndTokens.d.ts +2 -0
- package/dist/src/allCoinsAndTokens.d.ts.map +1 -0
- package/dist/src/allCoinsAndTokens.js +829 -0
- package/dist/src/avaxp.d.ts +3 -1
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +18 -5
- package/dist/src/base.d.ts +2163 -28
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +2291 -45
- package/dist/src/coinFeatures.d.ts +104 -0
- package/dist/src/coinFeatures.d.ts.map +1 -0
- package/dist/src/coinFeatures.js +622 -0
- package/dist/src/coins/adaTokens.d.ts +2 -0
- package/dist/src/coins/adaTokens.d.ts.map +1 -0
- package/dist/src/coins/adaTokens.js +12 -0
- package/dist/src/coins/avaxTokens.d.ts +2 -0
- package/dist/src/coins/avaxTokens.d.ts.map +1 -0
- package/dist/src/coins/avaxTokens.js +124 -0
- package/dist/src/coins/botOfcTokens.d.ts +2 -0
- package/dist/src/coins/botOfcTokens.d.ts.map +1 -0
- package/dist/src/coins/botOfcTokens.js +5 -0
- package/dist/src/coins/botTokens.d.ts +3 -0
- package/dist/src/coins/botTokens.d.ts.map +1 -0
- package/dist/src/coins/botTokens.js +43 -0
- package/dist/src/coins/bscTokens.d.ts +2 -0
- package/dist/src/coins/bscTokens.d.ts.map +1 -0
- package/dist/src/coins/bscTokens.js +176 -0
- package/dist/src/coins/cosmosTokens.d.ts +2 -0
- package/dist/src/coins/cosmosTokens.d.ts.map +1 -0
- package/dist/src/coins/cosmosTokens.js +12 -0
- package/dist/src/coins/erc20Coins.d.ts +2 -0
- package/dist/src/coins/erc20Coins.d.ts.map +1 -0
- package/dist/src/coins/erc20Coins.js +1743 -0
- package/dist/src/coins/jettonTokens.d.ts +2 -0
- package/dist/src/coins/jettonTokens.d.ts.map +1 -0
- package/dist/src/coins/jettonTokens.js +13 -0
- package/dist/src/coins/nep141Tokens.d.ts +2 -0
- package/dist/src/coins/nep141Tokens.d.ts.map +1 -0
- package/dist/src/coins/nep141Tokens.js +14 -0
- package/dist/src/coins/ofcCoins.d.ts +2 -0
- package/dist/src/coins/ofcCoins.d.ts.map +1 -0
- package/dist/src/coins/ofcCoins.js +706 -0
- package/dist/src/coins/ofcErc20Coins.d.ts +3 -0
- package/dist/src/coins/ofcErc20Coins.d.ts.map +1 -0
- package/dist/src/coins/ofcErc20Coins.js +1539 -0
- package/dist/src/coins/polygonTokens.d.ts +2 -0
- package/dist/src/coins/polygonTokens.d.ts.map +1 -0
- package/dist/src/coins/polygonTokens.js +155 -0
- package/dist/src/coins/sip10Tokens.d.ts +2 -0
- package/dist/src/coins/sip10Tokens.d.ts.map +1 -0
- package/dist/src/coins/sip10Tokens.js +25 -0
- package/dist/src/coins/solTokens.d.ts +3 -0
- package/dist/src/coins/solTokens.d.ts.map +1 -0
- package/dist/src/coins/solTokens.js +395 -0
- package/dist/src/coins/vetTokens.d.ts +2 -0
- package/dist/src/coins/vetTokens.d.ts.map +1 -0
- package/dist/src/coins/vetTokens.js +11 -0
- package/dist/src/coins.d.ts +11 -0
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +325 -1022
- package/dist/src/constants.d.ts +3 -0
- package/dist/src/constants.d.ts.map +1 -0
- package/dist/src/constants.js +6 -0
- package/dist/src/errors.d.ts +6 -0
- package/dist/src/errors.d.ts.map +1 -1
- package/dist/src/errors.js +16 -2
- package/dist/src/flrp.d.ts +40 -0
- package/dist/src/flrp.d.ts.map +1 -0
- package/dist/src/flrp.js +65 -0
- package/dist/src/index.d.ts +3 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +27 -3
- package/dist/src/lightning.d.ts +43 -0
- package/dist/src/lightning.d.ts.map +1 -0
- package/dist/src/lightning.js +60 -0
- package/dist/src/map.d.ts +11 -0
- package/dist/src/map.d.ts.map +1 -1
- package/dist/src/map.js +120 -14
- package/dist/src/networkFeatureMapForTokens.d.ts +3 -0
- package/dist/src/networkFeatureMapForTokens.d.ts.map +1 -0
- package/dist/src/networkFeatureMapForTokens.js +31 -0
- package/dist/src/networks.d.ts +1334 -54
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +1638 -51
- package/dist/src/ofc.d.ts +638 -5
- package/dist/src/ofc.d.ts.map +1 -1
- package/dist/src/ofc.js +1471 -19
- package/dist/src/tokenConfig.d.ts +266 -12
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +945 -215
- package/dist/src/utxo.d.ts +6 -2
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +89 -4
- package/dist/tsconfig.tsbuildinfo +1 -2717
- package/package.json +2 -2
- package/dist/resources/dot/index.d.ts +0 -3
- package/dist/resources/dot/index.d.ts.map +0 -1
- package/dist/resources/dot/index.js +0 -15
- package/dist/resources/dot/mainnet.d.ts +0 -2
- package/dist/resources/dot/mainnet.d.ts.map +0 -1
- package/dist/resources/dot/mainnet.js +0 -5
- package/dist/resources/dot/westend.d.ts +0 -2
- package/dist/resources/dot/westend.d.ts.map +0 -1
- package/dist/resources/dot/westend.js +0 -5
- package/resources/dot/index.ts +0 -2
- package/resources/dot/mainnet.ts +0 -2
- package/resources/dot/westend.ts +0 -2
package/dist/src/account.d.ts
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import { BaseCoin, BaseUnit, CoinFeature, KeyCurve, UnderlyingAsset } from './base';
|
|
2
2
|
import { AccountNetwork, BaseNetwork, EthereumNetwork, TronNetwork } from './networks';
|
|
3
|
+
/**
|
|
4
|
+
* This is the program id against sol token program.
|
|
5
|
+
*/
|
|
6
|
+
export declare enum ProgramID {
|
|
7
|
+
TokenProgramId = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
|
|
8
|
+
Token2022ProgramId = "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"
|
|
9
|
+
}
|
|
3
10
|
export interface AccountConstructorOptions {
|
|
11
|
+
id: string;
|
|
4
12
|
fullName: string;
|
|
5
13
|
name: string;
|
|
6
14
|
alias?: string;
|
|
@@ -23,14 +31,25 @@ export interface AccountConstructorOptions {
|
|
|
23
31
|
*/
|
|
24
32
|
export declare class AccountCoin extends BaseCoin {
|
|
25
33
|
static readonly DEFAULT_FEATURES: CoinFeature[];
|
|
34
|
+
static readonly DEFAULT_FEATURES_EXCLUDE_SINGAPORE: (CoinFeature.EVM_WALLET | CoinFeature.METAMASK_INSTITUTIONAL | CoinFeature.VALUELESS_TRANSFER | CoinFeature.TRANSACTION_DATA | CoinFeature.REQUIRES_BIG_NUMBER | CoinFeature.REQUIRES_KRS_BACKUP_KEY | CoinFeature.PAYGO | CoinFeature.UNSPENT_MODEL | CoinFeature.LIGHTNING_MODEL | CoinFeature.ACCOUNT_MODEL | CoinFeature.CHILD_PAYS_FOR_PARENT | CoinFeature.SUPPORTS_TOKENS | CoinFeature.ENTERPRISE_PAYS_FEES | CoinFeature.REQUIRES_RESERVE | CoinFeature.CUSTODY | CoinFeature.TSS | CoinFeature.STAKING | CoinFeature.LIQUID_STAKING | CoinFeature.DEPRECATED | CoinFeature.GENERIC_TOKEN | CoinFeature.CUSTODY_BITGO_TRUST | CoinFeature.CUSTODY_BITGO_NEW_YORK | CoinFeature.CUSTODY_BITGO_GERMANY | CoinFeature.CUSTODY_BITGO_SWITZERLAND | CoinFeature.CUSTODY_BITGO_FRANKFURT | CoinFeature.CUSTODY_BITGO_SISTER_TRUST_ONE | CoinFeature.CUSTODY_BITGO_KOREA | CoinFeature.CUSTODY_BITGO_EUROPE_APS | CoinFeature.CUSTODY_BITGO_MENA_FZE | CoinFeature.CUSTODY_BITGO_CUSTODY_MENA_FZE | CoinFeature.CUSTODY_BITGO_INDIA | CoinFeature.EXPIRING_TRANSACTIONS | CoinFeature.MULTISIG_COLD | CoinFeature.TSS_COLD | CoinFeature.SHA256_WITH_ECDSA_TSS | CoinFeature.COSMOS_LIKE_COINS | CoinFeature.REBUILD_ON_CUSTODY_SIGNING | CoinFeature.INCREASED_TX_REQUEST_REBUILD_LIMIT | CoinFeature.BULK_TRANSACTION | CoinFeature.ERC20_BULK_TRANSACTION | CoinFeature.CUSTODY_BULK_TRANSACTION | CoinFeature.DISTRIBUTED_CUSTODY | CoinFeature.BULK_STAKING_TRANSACTION | CoinFeature.USES_NON_PACKED_ENCODING_FOR_TXDATA | CoinFeature.MPCV2 | CoinFeature.STUCK_TRANSACTION_MANAGEMENT_TSS | CoinFeature.STUCK_TRANSACTION_MANAGEMENT_ONCHAIN | CoinFeature.ETH_ROLLUP_CHAIN | CoinFeature.EIP1559 | CoinFeature.TSS_ENTERPRISE_PAYS_FEES | CoinFeature.FEES_PAID_WITH_TOKEN | CoinFeature.ALPHANUMERIC_MEMO_ID | CoinFeature.WALLET_CONNECT_DEFI | CoinFeature.TSS_SUPPORT_GATED | CoinFeature.MULTISIG_SUPPORT_GATED | CoinFeature.SHARED_EVM_SIGNING | CoinFeature.SHARED_EVM_SDK | CoinFeature.SUPPORTS_ERC20 | CoinFeature.SHARED_COSMOS_SDK | CoinFeature.SHARED_COSMOS_WP | CoinFeature.EVM_COIN | CoinFeature.MULTISIG | CoinFeature.EVM_COMPATIBLE_IMS | CoinFeature.EVM_COMPATIBLE_UI | CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY | CoinFeature.EVM_NON_BITGO_RECOVERY | CoinFeature.REBASE_TOKEN | CoinFeature.EVM_COMPATIBLE_WP | CoinFeature.RESTRICTED | CoinFeature.SHARED_EVM_MESSAGE_SIGNING | CoinFeature.STABLECOIN)[];
|
|
26
35
|
readonly network: AccountNetwork;
|
|
27
36
|
constructor(options: AccountConstructorOptions);
|
|
28
37
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
29
38
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
39
|
+
static getFeaturesExcluding(excludedFeatures: CoinFeature[]): CoinFeature[];
|
|
40
|
+
static getFeaturesByTypeExcluding(excludedFeatures: CoinFeature[], baseFeatures?: CoinFeature[]): CoinFeature[];
|
|
41
|
+
}
|
|
42
|
+
export interface GasTankAccountConstructorOptions extends AccountConstructorOptions {
|
|
43
|
+
gasTankLowBalanceAlertFactor: number;
|
|
44
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
45
|
+
gasTankToken?: string;
|
|
30
46
|
}
|
|
31
47
|
export interface Erc20ConstructorOptions extends AccountConstructorOptions {
|
|
32
48
|
contractAddress: string;
|
|
33
49
|
}
|
|
50
|
+
export interface NFTCollectionIdConstructorOptions extends AccountConstructorOptions {
|
|
51
|
+
nftCollectionId: string;
|
|
52
|
+
}
|
|
34
53
|
export interface StellarCoinConstructorOptions extends AccountConstructorOptions {
|
|
35
54
|
domain: string;
|
|
36
55
|
}
|
|
@@ -39,31 +58,78 @@ export interface HederaCoinConstructorOptions extends AccountConstructorOptions
|
|
|
39
58
|
}
|
|
40
59
|
export interface HederaTokenConstructorOptions extends AccountConstructorOptions {
|
|
41
60
|
nodeAccountId: string;
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
export interface AlgoCoinConstructorOptions extends AccountConstructorOptions {
|
|
45
|
-
tokenURL: string;
|
|
61
|
+
contractAddress: string;
|
|
46
62
|
}
|
|
47
63
|
export interface EosCoinConstructorOptions extends AccountConstructorOptions {
|
|
48
64
|
contractName: string;
|
|
65
|
+
contractAddress: string;
|
|
66
|
+
symbol?: string;
|
|
49
67
|
}
|
|
50
68
|
export interface SolCoinConstructorOptions extends AccountConstructorOptions {
|
|
51
69
|
tokenAddress: string;
|
|
70
|
+
contractAddress: string;
|
|
71
|
+
programId: string;
|
|
52
72
|
}
|
|
53
|
-
export interface
|
|
54
|
-
|
|
55
|
-
|
|
73
|
+
export interface XrpCoinConstructorOptions extends AccountConstructorOptions {
|
|
74
|
+
issuerAddress: string;
|
|
75
|
+
currencyCode: string;
|
|
76
|
+
domain: string;
|
|
77
|
+
contractAddress: string;
|
|
78
|
+
}
|
|
79
|
+
export interface SuiCoinConstructorOptions extends AccountConstructorOptions {
|
|
80
|
+
packageId: string;
|
|
81
|
+
module: string;
|
|
82
|
+
symbol: string;
|
|
83
|
+
contractAddress: string;
|
|
56
84
|
}
|
|
57
|
-
|
|
85
|
+
export interface AptCoinConstructorOptions extends AccountConstructorOptions {
|
|
86
|
+
assetId: string;
|
|
87
|
+
}
|
|
88
|
+
export interface TaoCoinConstructorOptions extends AccountConstructorOptions {
|
|
89
|
+
subnetId: string;
|
|
90
|
+
}
|
|
91
|
+
export interface PolyxCoinConstructorOptions extends AccountConstructorOptions {
|
|
92
|
+
ticker: string;
|
|
93
|
+
assetId: string;
|
|
94
|
+
}
|
|
95
|
+
type FiatCoinName = `fiat${string}` | `tfiat${string}`;
|
|
58
96
|
export interface FiatCoinConstructorOptions extends AccountConstructorOptions {
|
|
59
97
|
name: FiatCoinName;
|
|
60
98
|
}
|
|
99
|
+
export interface Sip10TokenConstructorOptions extends AccountConstructorOptions {
|
|
100
|
+
assetId: string;
|
|
101
|
+
}
|
|
102
|
+
export interface Nep141TokenConstructorOptions extends AccountConstructorOptions {
|
|
103
|
+
contractAddress: string;
|
|
104
|
+
storageDepositAmount: string;
|
|
105
|
+
}
|
|
106
|
+
export interface VetTokenConstructorOptions extends AccountConstructorOptions {
|
|
107
|
+
contractAddress: string;
|
|
108
|
+
gasTankToken?: string;
|
|
109
|
+
}
|
|
110
|
+
export interface CosmosTokenConstructorOptions extends AccountConstructorOptions {
|
|
111
|
+
denom: string;
|
|
112
|
+
}
|
|
113
|
+
export interface JettonTokenConstructorOptions extends AccountConstructorOptions {
|
|
114
|
+
contractAddress: string;
|
|
115
|
+
}
|
|
116
|
+
export interface AdaTokenConstructorOptions extends AccountConstructorOptions {
|
|
117
|
+
policyId: string;
|
|
118
|
+
assetName: string;
|
|
119
|
+
contractAddress: string;
|
|
120
|
+
}
|
|
61
121
|
export interface ContractAddress extends String {
|
|
62
122
|
__contractaddress_phantom__: never;
|
|
63
123
|
}
|
|
64
124
|
export declare class AccountCoinToken extends AccountCoin {
|
|
65
125
|
constructor(options: AccountConstructorOptions);
|
|
66
126
|
}
|
|
127
|
+
export declare class GasTankAccountCoin extends AccountCoin {
|
|
128
|
+
gasTankLowBalanceAlertFactor: number;
|
|
129
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
130
|
+
gasTankToken?: string;
|
|
131
|
+
constructor(options: GasTankAccountConstructorOptions);
|
|
132
|
+
}
|
|
67
133
|
/**
|
|
68
134
|
* Some blockchains support tokens which are defined by an address at which they have a smart contract deployed.
|
|
69
135
|
* Examples are ERC20 tokens, and the equivalent on other chains.
|
|
@@ -72,6 +138,13 @@ export declare class ContractAddressDefinedToken extends AccountCoinToken {
|
|
|
72
138
|
contractAddress: ContractAddress;
|
|
73
139
|
constructor(options: Erc20ConstructorOptions);
|
|
74
140
|
}
|
|
141
|
+
/**
|
|
142
|
+
* Used for blockchains that support NFT collections.
|
|
143
|
+
*/
|
|
144
|
+
export declare class NFTCollectionIdDefinedToken extends AccountCoinToken {
|
|
145
|
+
nftCollectionId: string;
|
|
146
|
+
constructor(options: NFTCollectionIdConstructorOptions);
|
|
147
|
+
}
|
|
75
148
|
/**
|
|
76
149
|
* ERC20 token addresses are Base58 formatted on some blockchains.
|
|
77
150
|
*/
|
|
@@ -149,6 +222,7 @@ export declare class HederaCoin extends AccountCoinToken {
|
|
|
149
222
|
export declare class HederaToken extends AccountCoinToken {
|
|
150
223
|
nodeAccountId: string;
|
|
151
224
|
tokenId: string;
|
|
225
|
+
contractAddress: string;
|
|
152
226
|
constructor(options: HederaTokenConstructorOptions);
|
|
153
227
|
}
|
|
154
228
|
/**
|
|
@@ -158,8 +232,7 @@ export declare class HederaToken extends AccountCoinToken {
|
|
|
158
232
|
*
|
|
159
233
|
*/
|
|
160
234
|
export declare class AlgoCoin extends AccountCoinToken {
|
|
161
|
-
|
|
162
|
-
constructor(options: AlgoCoinConstructorOptions);
|
|
235
|
+
constructor(options: AccountConstructorOptions);
|
|
163
236
|
}
|
|
164
237
|
/**
|
|
165
238
|
* The Eos network supports tokens
|
|
@@ -169,6 +242,8 @@ export declare class AlgoCoin extends AccountCoinToken {
|
|
|
169
242
|
*/
|
|
170
243
|
export declare class EosCoin extends AccountCoinToken {
|
|
171
244
|
contractName: string;
|
|
245
|
+
contractAddress: string;
|
|
246
|
+
symbol: string;
|
|
172
247
|
constructor(options: EosCoinConstructorOptions);
|
|
173
248
|
}
|
|
174
249
|
/**
|
|
@@ -179,17 +254,12 @@ export declare class EosCoin extends AccountCoinToken {
|
|
|
179
254
|
*/
|
|
180
255
|
export declare class SolCoin extends AccountCoinToken {
|
|
181
256
|
tokenAddress: string;
|
|
257
|
+
contractAddress: string;
|
|
258
|
+
programId: string;
|
|
182
259
|
constructor(options: SolCoinConstructorOptions);
|
|
183
260
|
}
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
* Ada tokens are identified by their policy ID and asset name
|
|
187
|
-
*
|
|
188
|
-
*/
|
|
189
|
-
export declare class AdaCoin extends AccountCoinToken {
|
|
190
|
-
policyId: string;
|
|
191
|
-
assetName: string;
|
|
192
|
-
constructor(options: AdaCoinConstructorOptions);
|
|
261
|
+
export declare class EthLikeERC20Token extends ContractAddressDefinedToken {
|
|
262
|
+
constructor(options: Erc20ConstructorOptions);
|
|
193
263
|
}
|
|
194
264
|
/**
|
|
195
265
|
* The AVAX C Chain network support tokens
|
|
@@ -205,6 +275,101 @@ export declare class AvaxERC20Token extends ContractAddressDefinedToken {
|
|
|
205
275
|
export declare class PolygonERC20Token extends ContractAddressDefinedToken {
|
|
206
276
|
constructor(options: Erc20ConstructorOptions);
|
|
207
277
|
}
|
|
278
|
+
/**
|
|
279
|
+
* The Arbitrum Chain network support tokens
|
|
280
|
+
* Arbitrum Chain Tokens are ERC20 tokens
|
|
281
|
+
*/
|
|
282
|
+
export declare class ArbethERC20Token extends ContractAddressDefinedToken {
|
|
283
|
+
constructor(options: Erc20ConstructorOptions);
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* The Optimism Chain network support tokens
|
|
287
|
+
* Optimism Chain Tokens are ERC20 tokens
|
|
288
|
+
*/
|
|
289
|
+
export declare class OpethERC20Token extends ContractAddressDefinedToken {
|
|
290
|
+
constructor(options: Erc20ConstructorOptions);
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* The zkSync network support tokens
|
|
294
|
+
* zkSync Tokens are ERC20 tokens
|
|
295
|
+
*/
|
|
296
|
+
export declare class ZkethERC20Token extends ContractAddressDefinedToken {
|
|
297
|
+
constructor(options: Erc20ConstructorOptions);
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* The Bera Chain network support tokens
|
|
301
|
+
* Bera Chain Tokens are ERC20 tokens
|
|
302
|
+
*/
|
|
303
|
+
export declare class BeraERC20Token extends ContractAddressDefinedToken {
|
|
304
|
+
constructor(options: Erc20ConstructorOptions);
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* The Coredao Chain network support tokens
|
|
308
|
+
* Coredao Chain Tokens are ERC20 tokens
|
|
309
|
+
*/
|
|
310
|
+
export declare class CoredaoERC20Token extends ContractAddressDefinedToken {
|
|
311
|
+
constructor(options: Erc20ConstructorOptions);
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* The World Chain network supports tokens
|
|
315
|
+
* World Chain Tokens are ERC20 tokens
|
|
316
|
+
*/
|
|
317
|
+
export declare class WorldERC20Token extends ContractAddressDefinedToken {
|
|
318
|
+
constructor(options: Erc20ConstructorOptions);
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* The Flr Chain network supports tokens
|
|
322
|
+
* Flr Chain Tokens are ERC20 tokens
|
|
323
|
+
*/
|
|
324
|
+
export declare class FlrERC20Token extends ContractAddressDefinedToken {
|
|
325
|
+
constructor(options: Erc20ConstructorOptions);
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* The Xrp network supports tokens
|
|
329
|
+
* Xrp tokens are identified by their issuer address
|
|
330
|
+
* Naming format is similar to XLM
|
|
331
|
+
* <network>:<token>-<issuer>
|
|
332
|
+
*/
|
|
333
|
+
export declare class XrpCoin extends AccountCoinToken {
|
|
334
|
+
issuerAddress: string;
|
|
335
|
+
currencyCode: string;
|
|
336
|
+
domain: string;
|
|
337
|
+
contractAddress: string;
|
|
338
|
+
constructor(options: XrpCoinConstructorOptions);
|
|
339
|
+
}
|
|
340
|
+
export declare class SuiCoin extends AccountCoinToken {
|
|
341
|
+
packageId: string;
|
|
342
|
+
module: string;
|
|
343
|
+
symbol: string;
|
|
344
|
+
contractAddress: string;
|
|
345
|
+
constructor(options: SuiCoinConstructorOptions);
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* The Apt network supports tokens
|
|
349
|
+
* Apt tokens work similar to native Apt coin, but the token name is determined by
|
|
350
|
+
* the tokenAddress on the chain.
|
|
351
|
+
*
|
|
352
|
+
*/
|
|
353
|
+
export declare class AptCoin extends AccountCoinToken {
|
|
354
|
+
assetId: string;
|
|
355
|
+
constructor(options: AptCoinConstructorOptions);
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* The Apt network supports non-fungible tokens (Digital Asset Standard)
|
|
359
|
+
* Every NFT belongs to an NFT collection.
|
|
360
|
+
*/
|
|
361
|
+
export declare class AptNFTCollection extends NFTCollectionIdDefinedToken {
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* The Vechain network supports non-fungible tokens
|
|
365
|
+
* Every NFT belongs to an NFT collection(contract).
|
|
366
|
+
*/
|
|
367
|
+
export declare class VetNFTCollection extends NFTCollectionIdDefinedToken {
|
|
368
|
+
gasTankToken?: string;
|
|
369
|
+
constructor(options: NFTCollectionIdConstructorOptions & {
|
|
370
|
+
gasTankToken?: string;
|
|
371
|
+
});
|
|
372
|
+
}
|
|
208
373
|
/**
|
|
209
374
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
210
375
|
*/
|
|
@@ -215,9 +380,74 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
215
380
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
216
381
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
217
382
|
}
|
|
383
|
+
/**
|
|
384
|
+
* The Stacks network supports tokens
|
|
385
|
+
* Stx tokens work similar to native Stx coin, but the token name is determined by
|
|
386
|
+
* the contractName on the chain.
|
|
387
|
+
*/
|
|
388
|
+
export declare class Sip10Token extends AccountCoinToken {
|
|
389
|
+
assetId: string;
|
|
390
|
+
constructor(options: Sip10TokenConstructorOptions);
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* The Near network supports tokens
|
|
394
|
+
* Near tokens work similar to native near coin
|
|
395
|
+
*/
|
|
396
|
+
export declare class Nep141Token extends AccountCoinToken {
|
|
397
|
+
contractAddress: string;
|
|
398
|
+
storageDepositAmount: string;
|
|
399
|
+
constructor(options: Nep141TokenConstructorOptions);
|
|
400
|
+
}
|
|
401
|
+
export declare class VetToken extends AccountCoinToken {
|
|
402
|
+
contractAddress: string;
|
|
403
|
+
gasTankToken?: string;
|
|
404
|
+
constructor(options: VetTokenConstructorOptions);
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* Cosmos network supports tokens
|
|
408
|
+
* Cosmos tokens work similar to native coins, but the token is determined by
|
|
409
|
+
* the denom on chain.
|
|
410
|
+
*
|
|
411
|
+
*/
|
|
412
|
+
export declare class CosmosChainToken extends AccountCoinToken {
|
|
413
|
+
denom: string;
|
|
414
|
+
constructor(options: CosmosTokenConstructorOptions);
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* TON supports tokens and Jetton is a token standard on TON
|
|
418
|
+
* Jetton tokens work similar to native TON coin
|
|
419
|
+
*/
|
|
420
|
+
export declare class JettonToken extends AccountCoinToken {
|
|
421
|
+
contractAddress: string;
|
|
422
|
+
constructor(options: JettonTokenConstructorOptions);
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* The Bittensor network supports tokens
|
|
426
|
+
* The token name is determined by the subnetId on chain.
|
|
427
|
+
*/
|
|
428
|
+
export declare class TaoCoin extends AccountCoinToken {
|
|
429
|
+
subnetId: string;
|
|
430
|
+
constructor(options: TaoCoinConstructorOptions);
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* The Bittensor network supports tokens
|
|
434
|
+
* The token name is determined by the subnetId on chain.
|
|
435
|
+
*/
|
|
436
|
+
export declare class PolyxCoin extends AccountCoinToken {
|
|
437
|
+
ticker: string;
|
|
438
|
+
assetId: string;
|
|
439
|
+
constructor(options: PolyxCoinConstructorOptions);
|
|
440
|
+
}
|
|
441
|
+
export declare class AdaToken extends AccountCoinToken {
|
|
442
|
+
policyId: string;
|
|
443
|
+
assetName: string;
|
|
444
|
+
contractAddress: string;
|
|
445
|
+
constructor(options: AdaTokenConstructorOptions);
|
|
446
|
+
}
|
|
218
447
|
/**
|
|
219
448
|
* Factory function for account coin instances.
|
|
220
449
|
*
|
|
450
|
+
* @param id uuid v4
|
|
221
451
|
* @param name unique identifier of the coin
|
|
222
452
|
* @param fullName Complete human-readable name of the coin
|
|
223
453
|
* @param network Network object for this coin
|
|
@@ -229,10 +459,47 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
229
459
|
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
230
460
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
231
461
|
*/
|
|
232
|
-
export declare function account(name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset, baseUnit: BaseUnit, features?: CoinFeature[], primaryKeyCurve?: KeyCurve, prefix?: string, suffix?: string, isToken?: boolean): Readonly<AccountCoin>;
|
|
462
|
+
export declare function account(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset, baseUnit: BaseUnit, features?: CoinFeature[], primaryKeyCurve?: KeyCurve, prefix?: string, suffix?: string, isToken?: boolean): Readonly<AccountCoin>;
|
|
463
|
+
/**
|
|
464
|
+
* Factory function for gas tank account coin instances.
|
|
465
|
+
*
|
|
466
|
+
* @param id uuid v4
|
|
467
|
+
* @param name unique identifier of the coin
|
|
468
|
+
* @param fullName Complete human-readable name of the coin
|
|
469
|
+
* @param network Network object for this coin
|
|
470
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
471
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
472
|
+
* @param baseUnit
|
|
473
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
474
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
475
|
+
* @param gasTankLowBalanceAlertFactor Low gas tank balance alert threshold = (feeEstimate x gasTankLowBalanceAlertFactor)
|
|
476
|
+
* @param gasTankMinBalanceRecommendationFactor Min gas tank balance recommendation = (feeEstimate x gasTankMinBalanceRecommendationFactor)
|
|
477
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
478
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
479
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
480
|
+
*/
|
|
481
|
+
export declare function gasTankAccount(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset, baseUnit: BaseUnit, features?: CoinFeature[], primaryKeyCurve?: KeyCurve, gasTankLowBalanceAlertFactor?: number, gasTankMinBalanceRecommendationFactor?: number, prefix?: string, suffix?: string, isToken?: boolean, gasTankToken?: string): Readonly<GasTankAccountCoin>;
|
|
482
|
+
/**
|
|
483
|
+
* Factory function for ethLikeErc20 token instances.
|
|
484
|
+
*
|
|
485
|
+
* @param id uuid v4
|
|
486
|
+
* @param name unique identifier of the token
|
|
487
|
+
* @param fullName Complete human-readable name of the token
|
|
488
|
+
* @param decimalPlaces Number of decimal places this token supports
|
|
489
|
+
* @param contractAddress Contract address of this token
|
|
490
|
+
* @param asset Asset which this coin represents
|
|
491
|
+
* @param network Optional token network
|
|
492
|
+
* @param coinNames The parent coin names for mainnet and testnet
|
|
493
|
+
* @param features Features of this coin
|
|
494
|
+
* @param prefix Optional token prefix
|
|
495
|
+
* @param suffix Optional token suffix
|
|
496
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
497
|
+
*/
|
|
498
|
+
export declare function erc20Token(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, network: AccountNetwork, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<EthLikeERC20Token>;
|
|
233
499
|
/**
|
|
234
500
|
* Factory function for erc20 token instances.
|
|
235
501
|
*
|
|
502
|
+
* @param id uuid v4
|
|
236
503
|
* @param name unique identifier of the token
|
|
237
504
|
* @param fullName Complete human-readable name of the token
|
|
238
505
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -244,10 +511,11 @@ export declare function account(name: string, fullName: string, network: Account
|
|
|
244
511
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
245
512
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
246
513
|
*/
|
|
247
|
-
export declare function erc20(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc20Coin>;
|
|
514
|
+
export declare function erc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc20Coin>;
|
|
248
515
|
/**
|
|
249
516
|
* Factory function for testnet erc20 token instances.
|
|
250
517
|
*
|
|
518
|
+
* @param id uuid v4
|
|
251
519
|
* @param name unique identifier of the token
|
|
252
520
|
* @param fullName Complete human-readable name of the token
|
|
253
521
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -258,10 +526,11 @@ export declare function erc20(name: string, fullName: string, decimalPlaces: num
|
|
|
258
526
|
* @param network? Optional token network. Defaults to the Kovan test network.
|
|
259
527
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
260
528
|
*/
|
|
261
|
-
export declare function terc20(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork): Readonly<Erc20Coin>;
|
|
529
|
+
export declare function terc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork): Readonly<Erc20Coin>;
|
|
262
530
|
/**
|
|
263
531
|
* Factory function for erc721 token instances.
|
|
264
532
|
*
|
|
533
|
+
* @param id uuid v4
|
|
265
534
|
* @param name unique identifier of the token
|
|
266
535
|
* @param fullName Complete human-readable name of the token
|
|
267
536
|
* @param contractAddress Contract address of this token
|
|
@@ -272,23 +541,40 @@ export declare function terc20(name: string, fullName: string, decimalPlaces: nu
|
|
|
272
541
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
273
542
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
274
543
|
*/
|
|
275
|
-
export declare function erc721(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
544
|
+
export declare function erc721(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
276
545
|
/**
|
|
277
546
|
* Factory function for testnet erc721 token instances.
|
|
278
547
|
*
|
|
548
|
+
* @param id uuid v4
|
|
549
|
+
* @param name unique identifier of the token
|
|
550
|
+
* @param fullName Complete human-readable name of the token
|
|
551
|
+
* @param contractAddress Contract address of this token
|
|
552
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
553
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
554
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
555
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
556
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
557
|
+
*/
|
|
558
|
+
export declare function terc721(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
559
|
+
/**
|
|
560
|
+
* Factory function for nonstandard token instances.
|
|
561
|
+
*
|
|
562
|
+
* @param id uuid v4
|
|
279
563
|
* @param name unique identifier of the token
|
|
280
564
|
* @param fullName Complete human-readable name of the token
|
|
281
565
|
* @param contractAddress Contract address of this token
|
|
282
566
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
283
567
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
284
568
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
285
|
-
* @param network? Optional token network. Defaults to
|
|
569
|
+
* @param network? Optional token network. Defaults to Ethereum main network.
|
|
570
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
286
571
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
287
572
|
*/
|
|
288
|
-
export declare function
|
|
573
|
+
export declare function nonstandardToken(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<ContractAddressDefinedToken>;
|
|
289
574
|
/**
|
|
290
575
|
* Factory function for erc1155 token instances.
|
|
291
576
|
*
|
|
577
|
+
* @param id uuid v4
|
|
292
578
|
* @param name unique identifier of the token
|
|
293
579
|
* @param fullName Complete human-readable name of the token
|
|
294
580
|
* @param contractAddress Contract address of this token
|
|
@@ -299,23 +585,25 @@ export declare function terc721(name: string, fullName: string, contractAddress:
|
|
|
299
585
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
300
586
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
301
587
|
*/
|
|
302
|
-
export declare function erc1155(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
588
|
+
export declare function erc1155(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
303
589
|
/**
|
|
304
590
|
* Factory function for testnet erc1155 token instances.
|
|
305
591
|
*
|
|
592
|
+
* @param id uuid v4
|
|
306
593
|
* @param name unique identifier of the token
|
|
307
594
|
* @param fullName Complete human-readable name of the token
|
|
308
595
|
* @param contractAddress Contract address of this token
|
|
309
596
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
310
597
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
311
598
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
312
|
-
* @param network? Optional token network. Defaults to
|
|
599
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
313
600
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
314
601
|
*/
|
|
315
|
-
export declare function terc1155(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
602
|
+
export declare function terc1155(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
316
603
|
/**
|
|
317
604
|
* Factory function for ERC20-compatible account coin instances.
|
|
318
605
|
*
|
|
606
|
+
* @param id uuid v4
|
|
319
607
|
* @param name unique identifier of the token
|
|
320
608
|
* @param fullName Complete human-readable name of the token
|
|
321
609
|
* @param network Network object for this coin
|
|
@@ -327,39 +615,42 @@ export declare function terc1155(name: string, fullName: string, contractAddress
|
|
|
327
615
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
328
616
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
329
617
|
*/
|
|
330
|
-
export declare function erc20CompatibleAccountCoin(name: string, fullName: string, network: EthereumNetwork, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, baseUnit: BaseUnit, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<Erc20CompatibleAccountCoin>;
|
|
618
|
+
export declare function erc20CompatibleAccountCoin(id: string, name: string, fullName: string, network: EthereumNetwork, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, baseUnit: BaseUnit, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<Erc20CompatibleAccountCoin>;
|
|
331
619
|
/**
|
|
332
620
|
* Factory function for celo token instances.
|
|
333
621
|
*
|
|
622
|
+
* @param id uuid v4
|
|
334
623
|
* @param name unique identifier of the token
|
|
335
624
|
* @param fullName Complete human-readable name of the token
|
|
336
625
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
337
626
|
* @param contractAddress Contract address of this token
|
|
338
|
-
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
339
|
-
* @param prefix? Optional token prefix. Defaults to empty string
|
|
340
|
-
* @param suffix? Optional token suffix. Defaults to token name.
|
|
341
|
-
* @param network? Optional token network. Defaults to CELO main network.
|
|
342
|
-
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
627
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
628
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
629
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
630
|
+
* @param network ? Optional token network. Defaults to CELO main network.
|
|
631
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
343
632
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
344
633
|
*/
|
|
345
|
-
export declare function celoToken(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<CeloCoin>;
|
|
634
|
+
export declare function celoToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<CeloCoin>;
|
|
346
635
|
/**
|
|
347
636
|
* Factory function for testnet celo token instances.
|
|
348
637
|
*
|
|
638
|
+
* @param id uuid v4
|
|
349
639
|
* @param name unique identifier of the token
|
|
350
640
|
* @param fullName Complete human-readable name of the token
|
|
351
641
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
352
642
|
* @param contractAddress Contract address of this token
|
|
353
643
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
354
|
-
* @param
|
|
355
|
-
* @param
|
|
356
|
-
* @param
|
|
357
|
-
* @param
|
|
644
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
645
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
646
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
647
|
+
* @param network ? Optional token network. Defaults to the testnet CELO network.
|
|
358
648
|
*/
|
|
359
|
-
export declare function tceloToken(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork): Readonly<CeloCoin>;
|
|
649
|
+
export declare function tceloToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork): Readonly<CeloCoin>;
|
|
360
650
|
/**
|
|
361
651
|
* Factory function for celo token instances.
|
|
362
652
|
*
|
|
653
|
+
* @param id uuid v4
|
|
363
654
|
* @param name unique identifier of the token
|
|
364
655
|
* @param fullName Complete human-readable name of the token
|
|
365
656
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -371,10 +662,11 @@ export declare function tceloToken(name: string, fullName: string, decimalPlaces
|
|
|
371
662
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
372
663
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
373
664
|
*/
|
|
374
|
-
export declare function bscToken(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<BscCoin>;
|
|
665
|
+
export declare function bscToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<BscCoin>;
|
|
375
666
|
/**
|
|
376
667
|
* Factory function for testnet bsc token instances.
|
|
377
668
|
*
|
|
669
|
+
* @param id uuid v4
|
|
378
670
|
* @param name unique identifier of the token
|
|
379
671
|
* @param fullName Complete human-readable name of the token
|
|
380
672
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -385,10 +677,11 @@ export declare function bscToken(name: string, fullName: string, decimalPlaces:
|
|
|
385
677
|
* @param network? Optional token network. Defaults to the testnet BSC network.
|
|
386
678
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
387
679
|
*/
|
|
388
|
-
export declare function tbscToken(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork): Readonly<BscCoin>;
|
|
680
|
+
export declare function tbscToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork): Readonly<BscCoin>;
|
|
389
681
|
/**
|
|
390
682
|
* Factory function for Stellar token instances.
|
|
391
683
|
*
|
|
684
|
+
* @param id uuid v4
|
|
392
685
|
* @param name unique identifier of the token
|
|
393
686
|
* @param fullName Complete human-readable name of the token
|
|
394
687
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -401,10 +694,11 @@ export declare function tbscToken(name: string, fullName: string, decimalPlaces:
|
|
|
401
694
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
402
695
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
403
696
|
*/
|
|
404
|
-
export declare function stellarToken(name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, domain?: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<StellarCoin>;
|
|
697
|
+
export declare function stellarToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, domain?: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<StellarCoin>;
|
|
405
698
|
/**
|
|
406
699
|
* Factory function for testnet Stellar token instances.
|
|
407
700
|
*
|
|
701
|
+
* @param id uuid v4
|
|
408
702
|
* @param name unique identifier of the token
|
|
409
703
|
* @param fullName Complete human-readable name of the token
|
|
410
704
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -416,10 +710,11 @@ export declare function stellarToken(name: string, fullName: string, decimalPlac
|
|
|
416
710
|
* @param network? Optional token network. Defaults to Stellar testnet.
|
|
417
711
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
418
712
|
*/
|
|
419
|
-
export declare function tstellarToken(name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, domain?: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<StellarCoin>;
|
|
713
|
+
export declare function tstellarToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, domain?: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<StellarCoin>;
|
|
420
714
|
/**
|
|
421
715
|
* Factory function for tron token instances.
|
|
422
716
|
*
|
|
717
|
+
* @param id uuid v4
|
|
423
718
|
* @param name unique identifier of the token
|
|
424
719
|
* @param fullName Complete human-readable name of the token
|
|
425
720
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -431,10 +726,11 @@ export declare function tstellarToken(name: string, fullName: string, decimalPla
|
|
|
431
726
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
432
727
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
433
728
|
*/
|
|
434
|
-
export declare function tronToken(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: TronNetwork, primaryKeyCurve?: KeyCurve): Readonly<TronErc20Coin>;
|
|
729
|
+
export declare function tronToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: TronNetwork, primaryKeyCurve?: KeyCurve): Readonly<TronErc20Coin>;
|
|
435
730
|
/**
|
|
436
731
|
* Factory function for testnet tron token instances.
|
|
437
732
|
*
|
|
733
|
+
* @param id uuid v4
|
|
438
734
|
* @param name unique identifier of the token
|
|
439
735
|
* @param fullName Complete human-readable name of the token
|
|
440
736
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -446,10 +742,11 @@ export declare function tronToken(name: string, fullName: string, decimalPlaces:
|
|
|
446
742
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
447
743
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
448
744
|
*/
|
|
449
|
-
export declare function ttronToken(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: TronNetwork, primaryKeyCurve?: KeyCurve): Readonly<TronErc20Coin>;
|
|
745
|
+
export declare function ttronToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: TronNetwork, primaryKeyCurve?: KeyCurve): Readonly<TronErc20Coin>;
|
|
450
746
|
/**
|
|
451
747
|
* Factory function for Hedera coin instances
|
|
452
748
|
*
|
|
749
|
+
* @param id uuid v4
|
|
453
750
|
* @param name unique identifier of the coin
|
|
454
751
|
* @param fullName Complete human-readable name of the token
|
|
455
752
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -461,32 +758,35 @@ export declare function ttronToken(name: string, fullName: string, decimalPlaces
|
|
|
461
758
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
462
759
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
463
760
|
*/
|
|
464
|
-
export declare function hederaCoin(name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
761
|
+
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<HederaCoin>;
|
|
465
762
|
/**
|
|
466
763
|
* Factory function for Hedera token instances
|
|
467
764
|
*
|
|
765
|
+
* @param id uuid v4
|
|
468
766
|
* @param name unique identifier of the coin
|
|
469
767
|
* @param fullName Complete human-readable name of the token
|
|
470
768
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
471
769
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
472
770
|
* @param nodeAccountId node account Id from which the transaction will be sent
|
|
473
771
|
* @param tokenId The unique identifier of this token
|
|
772
|
+
* @param contractAddress Contract address of this token, same as tokenId
|
|
474
773
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
475
774
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
476
775
|
* @param network? Optional token network. Defaults to Hedera mainnet.
|
|
477
776
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
478
777
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
479
778
|
*/
|
|
480
|
-
export declare function hederaToken(name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
779
|
+
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<HederaToken>;
|
|
481
780
|
/**
|
|
482
781
|
* Factory function for ALGO token instances.
|
|
483
782
|
*
|
|
783
|
+
* @param id uuid v4
|
|
484
784
|
* @param name unique identifier of the token
|
|
785
|
+
|
|
485
786
|
* @param alias (optional) alternative identifier of the token
|
|
486
787
|
* @param fullName Complete human-readable name of the token
|
|
487
788
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
488
789
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
489
|
-
* @param tokenURL Optional asset Url for more informationa about the asset
|
|
490
790
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
491
791
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
492
792
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -494,30 +794,32 @@ export declare function hederaToken(name: string, fullName: string, network: Acc
|
|
|
494
794
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
495
795
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
496
796
|
*/
|
|
497
|
-
export declare function algoToken(name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
797
|
+
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AlgoCoin>;
|
|
498
798
|
/**
|
|
499
799
|
* Factory function for testnet ALGO token instances.
|
|
500
800
|
*
|
|
801
|
+
* @param id uuid v4
|
|
501
802
|
* @param name unique identifier of the token
|
|
502
803
|
* @param alias (optional) alternative identifier of the token
|
|
503
804
|
* @param fullName Complete human-readable name of the token
|
|
504
805
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
505
806
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
506
|
-
* @param tokenURL Optional asset Url for more informationa about the asset
|
|
507
807
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
508
808
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
509
809
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
510
810
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
511
811
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
512
812
|
*/
|
|
513
|
-
export declare function talgoToken(name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
813
|
+
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<AlgoCoin>;
|
|
514
814
|
/**
|
|
515
815
|
* Factory function for eos token instances.
|
|
516
816
|
*
|
|
817
|
+
* @param id uuid v4
|
|
517
818
|
* @param name unique identifier of the token
|
|
518
819
|
* @param fullName Complete human-readable name of the token
|
|
519
820
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
520
821
|
* @param contractName Contract address of this token
|
|
822
|
+
* @param contractAddress Contract address of this token
|
|
521
823
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
522
824
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
523
825
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -525,28 +827,33 @@ export declare function talgoToken(name: string, alias: string | undefined, full
|
|
|
525
827
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
526
828
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
527
829
|
*/
|
|
528
|
-
export declare function eosToken(name: string, fullName: string, decimalPlaces: number, contractName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<EosCoin>;
|
|
830
|
+
export declare function eosToken(id: string, name: string, fullName: string, decimalPlaces: number, contractName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, symbol?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<EosCoin>;
|
|
529
831
|
/**
|
|
530
832
|
* Factory function for testnet eos token instances.
|
|
531
833
|
*
|
|
834
|
+
* @param id uuid v4
|
|
532
835
|
* @param name unique identifier of the token
|
|
533
836
|
* @param fullName Complete human-readable name of the token
|
|
534
837
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
838
|
+
* @param contractName Contract address of this token
|
|
535
839
|
* @param contractAddress Contract address of this token
|
|
536
840
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
537
841
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
538
842
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
843
|
+
* @param symbol? token symbol as defined in token contract.
|
|
539
844
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
540
845
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
541
846
|
*/
|
|
542
|
-
export declare function teosToken(name: string, fullName: string, decimalPlaces: number, contractName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<EosCoin>;
|
|
847
|
+
export declare function teosToken(id: string, name: string, fullName: string, decimalPlaces: number, contractName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, symbol?: string, network?: AccountNetwork): Readonly<EosCoin>;
|
|
543
848
|
/**
|
|
544
849
|
* Factory function for sol token instances.
|
|
545
850
|
*
|
|
851
|
+
* @param id uuid v4
|
|
546
852
|
* @param name unique identifier of the token
|
|
547
853
|
* @param fullName Complete human-readable name of the token
|
|
548
854
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
549
855
|
* @param tokenAddress Token address of this token
|
|
856
|
+
* @param contractAddress Contract address of this token
|
|
550
857
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
551
858
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
552
859
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -554,10 +861,11 @@ export declare function teosToken(name: string, fullName: string, decimalPlaces:
|
|
|
554
861
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
555
862
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
556
863
|
*/
|
|
557
|
-
export declare function solToken(name: string, fullName: string, decimalPlaces: number, tokenAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<SolCoin>;
|
|
864
|
+
export declare function solToken(id: string, name: string, fullName: string, decimalPlaces: number, tokenAddress: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], programId?: ProgramID, prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<SolCoin>;
|
|
558
865
|
/**
|
|
559
866
|
* Factory function for testnet solana token instances.
|
|
560
867
|
*
|
|
868
|
+
* @param id uuid v4
|
|
561
869
|
* @param name unique identifier of the token
|
|
562
870
|
* @param fullName Complete human-readable name of the token
|
|
563
871
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -568,39 +876,46 @@ export declare function solToken(name: string, fullName: string, decimalPlaces:
|
|
|
568
876
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
569
877
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
570
878
|
*/
|
|
571
|
-
export declare function tsolToken(name: string, fullName: string, decimalPlaces: number, tokenAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<SolCoin>;
|
|
879
|
+
export declare function tsolToken(id: string, name: string, fullName: string, decimalPlaces: number, tokenAddress: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], programId?: ProgramID, prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<SolCoin>;
|
|
572
880
|
/**
|
|
573
|
-
* Factory function for
|
|
881
|
+
* Factory function for prod cardano token instances.
|
|
574
882
|
*
|
|
575
|
-
* @param
|
|
883
|
+
* @param id uuid v4
|
|
884
|
+
* @param name Name of the token
|
|
576
885
|
* @param fullName Complete human-readable name of the token
|
|
577
886
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
578
|
-
* @param
|
|
887
|
+
* @param policyId Policy Id
|
|
888
|
+
* @param assetName Asset name -> Policy ID + Asset name is the unique identifier
|
|
889
|
+
* @param contractAddress Fingerprint of this token
|
|
579
890
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
580
891
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
581
892
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
582
|
-
* @param network? Optional token network. Defaults to Cardano
|
|
893
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
583
894
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
584
895
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
585
896
|
*/
|
|
586
|
-
export declare function adaToken(name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<
|
|
897
|
+
export declare function adaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AdaToken>;
|
|
587
898
|
/**
|
|
588
899
|
* Factory function for testnet cardano token instances.
|
|
589
900
|
*
|
|
590
|
-
* @param
|
|
901
|
+
* @param id uuid v4
|
|
902
|
+
* @param name Name of the token
|
|
591
903
|
* @param fullName Complete human-readable name of the token
|
|
592
904
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
593
|
-
* @param
|
|
905
|
+
* @param policyId Policy Id
|
|
906
|
+
* @param assetName Asset name -> Policy ID + Asset name is the unique identifier
|
|
907
|
+
* @param contractAddress Fingerprint of this token
|
|
594
908
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
595
909
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
596
910
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
597
911
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
598
912
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
599
913
|
*/
|
|
600
|
-
export declare function tadaToken(name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, asset: UnderlyingAsset, features?: CoinFeature[],
|
|
914
|
+
export declare function tadaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], network?: AccountNetwork, prefix?: string, suffix?: string): Readonly<AdaToken>;
|
|
601
915
|
/**
|
|
602
916
|
* Factory function for avaxErc20 token instances.
|
|
603
917
|
*
|
|
918
|
+
* @param id uuid v4
|
|
604
919
|
* @param name unique identifier of the token
|
|
605
920
|
* @param fullName Complete human-readable name of the token
|
|
606
921
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -612,10 +927,11 @@ export declare function tadaToken(name: string, fullName: string, decimalPlaces:
|
|
|
612
927
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
613
928
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
614
929
|
*/
|
|
615
|
-
export declare function avaxErc20(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AvaxERC20Token>;
|
|
930
|
+
export declare function avaxErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AvaxERC20Token>;
|
|
616
931
|
/**
|
|
617
932
|
* Factory function for testnet avaxErc20 token instances.
|
|
618
933
|
*
|
|
934
|
+
* @param id uuid v4
|
|
619
935
|
* @param name unique identifier of the token
|
|
620
936
|
* @param fullName Complete human-readable name of the token
|
|
621
937
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -627,10 +943,11 @@ export declare function avaxErc20(name: string, fullName: string, decimalPlaces:
|
|
|
627
943
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
628
944
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
629
945
|
*/
|
|
630
|
-
export declare function tavaxErc20(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AvaxERC20Token>;
|
|
946
|
+
export declare function tavaxErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AvaxERC20Token>;
|
|
631
947
|
/**
|
|
632
948
|
* Factory function for polygonErc20 token instances.
|
|
633
949
|
*
|
|
950
|
+
* @param id uuid v4
|
|
634
951
|
* @param name unique identifier of the token
|
|
635
952
|
* @param fullName Complete human-readable name of the token
|
|
636
953
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -642,10 +959,11 @@ export declare function tavaxErc20(name: string, fullName: string, decimalPlaces
|
|
|
642
959
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
643
960
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
644
961
|
*/
|
|
645
|
-
export declare function polygonErc20(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<PolygonERC20Token>;
|
|
962
|
+
export declare function polygonErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<PolygonERC20Token>;
|
|
646
963
|
/**
|
|
647
|
-
* Factory function for
|
|
964
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
648
965
|
*
|
|
966
|
+
* @param id uuid v4
|
|
649
967
|
* @param name unique identifier of the token
|
|
650
968
|
* @param fullName Complete human-readable name of the token
|
|
651
969
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -657,21 +975,626 @@ export declare function polygonErc20(name: string, fullName: string, decimalPlac
|
|
|
657
975
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
658
976
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
659
977
|
*/
|
|
660
|
-
export declare function tpolygonErc20(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<PolygonERC20Token>;
|
|
978
|
+
export declare function tpolygonErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<PolygonERC20Token>;
|
|
661
979
|
/**
|
|
662
|
-
* Factory function for
|
|
980
|
+
* Factory function for arbethErc20 token instances.
|
|
663
981
|
*
|
|
664
|
-
* @param
|
|
665
|
-
* @param
|
|
666
|
-
* @param
|
|
667
|
-
* @param decimalPlaces Number of decimal places this
|
|
982
|
+
* @param id uuid v4
|
|
983
|
+
* @param name unique identifier of the token
|
|
984
|
+
* @param fullName Complete human-readable name of the token
|
|
985
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
986
|
+
* @param contractAddress Contract address of this token
|
|
668
987
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
669
|
-
* @param
|
|
670
|
-
* @param
|
|
671
|
-
* @param
|
|
672
|
-
* @param
|
|
673
|
-
* @param
|
|
988
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
989
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
990
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
991
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
992
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
993
|
+
*/
|
|
994
|
+
export declare function arbethErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<ArbethERC20Token>;
|
|
995
|
+
/**
|
|
996
|
+
* Factory function for Arbitrum Sepolia testnet arbethErc20 token instances.
|
|
997
|
+
*
|
|
998
|
+
* @param id uuid v4
|
|
999
|
+
* @param name unique identifier of the token
|
|
1000
|
+
* @param fullName Complete human-readable name of the token
|
|
1001
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1002
|
+
* @param contractAddress Contract address of this token
|
|
1003
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1004
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1005
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1006
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
1007
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1008
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1009
|
+
*/
|
|
1010
|
+
export declare function tarbethErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<ArbethERC20Token>;
|
|
1011
|
+
/**
|
|
1012
|
+
* Factory function for opethErc20 token instances.
|
|
1013
|
+
*
|
|
1014
|
+
* @param id uuid v4
|
|
1015
|
+
* @param name unique identifier of the token
|
|
1016
|
+
* @param fullName Complete human-readable name of the token
|
|
1017
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1018
|
+
* @param contractAddress Contract address of this token
|
|
1019
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1020
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1021
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1022
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
1023
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1024
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1025
|
+
*/
|
|
1026
|
+
export declare function opethErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<OpethERC20Token>;
|
|
1027
|
+
/**
|
|
1028
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
1029
|
+
*
|
|
1030
|
+
* @param id uuid v4
|
|
1031
|
+
* @param name unique identifier of the token
|
|
1032
|
+
* @param fullName Complete human-readable name of the token
|
|
1033
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1034
|
+
* @param contractAddress Contract address of this token
|
|
1035
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1036
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1037
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1038
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
1039
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1040
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1041
|
+
*/
|
|
1042
|
+
export declare function topethErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<OpethERC20Token>;
|
|
1043
|
+
/**
|
|
1044
|
+
* Factory function for zkethErc20 token instances.
|
|
1045
|
+
*
|
|
1046
|
+
* @param id uuid v4
|
|
1047
|
+
* @param name unique identifier of the token
|
|
1048
|
+
* @param fullName Complete human-readable name of the token
|
|
1049
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1050
|
+
* @param contractAddress Contract address of this token
|
|
1051
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1052
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1053
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1054
|
+
* @param network? Optional token network. Defaults to zkSync mainnet network.
|
|
1055
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1056
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1057
|
+
*/
|
|
1058
|
+
export declare function zkethErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<ZkethERC20Token>;
|
|
1059
|
+
/**
|
|
1060
|
+
* Factory function for zkSync Sepolia testnet zkethErc20 token instances.
|
|
1061
|
+
*
|
|
1062
|
+
* @param id uuid v4
|
|
1063
|
+
* @param name unique identifier of the token
|
|
1064
|
+
* @param fullName Complete human-readable name of the token
|
|
1065
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1066
|
+
* @param contractAddress Contract address of this token
|
|
1067
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1068
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1069
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1070
|
+
* @param network? Optional token network. Defaults to the zkSync sepolia test network.
|
|
1071
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1072
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1073
|
+
*/
|
|
1074
|
+
export declare function tzkethErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<ZkethERC20Token>;
|
|
1075
|
+
/**
|
|
1076
|
+
* Factory function for beraErc20 token instances.
|
|
1077
|
+
*
|
|
1078
|
+
* @param id uuid v4
|
|
1079
|
+
* @param name unique identifier of the token
|
|
1080
|
+
* @param fullName Complete human-readable name of the token
|
|
1081
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1082
|
+
* @param contractAddress Contract address of this token
|
|
1083
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1084
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1085
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1086
|
+
* @param network? Optional token network. Defaults to bera mainnet network.
|
|
1087
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1088
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1089
|
+
*/
|
|
1090
|
+
export declare function beraErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<BeraERC20Token>;
|
|
1091
|
+
/**
|
|
1092
|
+
* Factory function for zkSync Sepolia testnet beraErc20 token instances.
|
|
1093
|
+
*
|
|
1094
|
+
* @param id uuid v4
|
|
1095
|
+
* @param name unique identifier of the token
|
|
1096
|
+
* @param fullName Complete human-readable name of the token
|
|
1097
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1098
|
+
* @param contractAddress Contract address of this token
|
|
1099
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1100
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1101
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1102
|
+
* @param network? Optional token network. Defaults to the bera test network.
|
|
1103
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1104
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1105
|
+
*/
|
|
1106
|
+
export declare function tberaErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<BeraERC20Token>;
|
|
1107
|
+
/**
|
|
1108
|
+
* Factory function for CoredaoErc20 token instances.
|
|
1109
|
+
*
|
|
1110
|
+
* @param id uuid v4
|
|
1111
|
+
* @param name unique identifier of the token
|
|
1112
|
+
* @param fullName Complete human-readable name of the token
|
|
1113
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1114
|
+
* @param contractAddress Contract address of this token
|
|
1115
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1116
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1117
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1118
|
+
* @param network? Optional token network. Defaults to coredao mainnet network.
|
|
1119
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1120
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1121
|
+
*/
|
|
1122
|
+
export declare function coredaoErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<CoredaoERC20Token>;
|
|
1123
|
+
/**
|
|
1124
|
+
* Factory function for coredao testnet coredaoErc20 token instances.
|
|
1125
|
+
*
|
|
1126
|
+
* @param id uuid v4
|
|
1127
|
+
* @param name unique identifier of the token
|
|
1128
|
+
* @param fullName Complete human-readable name of the token
|
|
1129
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1130
|
+
* @param contractAddress Contract address of this token
|
|
1131
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1132
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1133
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1134
|
+
* @param network? Optional token network. Defaults to the coredao test network.
|
|
1135
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1136
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1137
|
+
*/
|
|
1138
|
+
export declare function tcoredaoErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<CoredaoERC20Token>;
|
|
1139
|
+
/**
|
|
1140
|
+
* Factory function for WorldErc20 token instances.
|
|
1141
|
+
*
|
|
1142
|
+
* @param id uuid v4
|
|
1143
|
+
* @param name unique identifier of the token
|
|
1144
|
+
* @param fullName Complete human-readable name of the token
|
|
1145
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1146
|
+
* @param contractAddress Contract address of this token
|
|
1147
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1148
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1149
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1150
|
+
* @param network? Optional token network. Defaults to World Chain mainnet network.
|
|
1151
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1152
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1153
|
+
*/
|
|
1154
|
+
export declare function worldErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<WorldERC20Token>;
|
|
1155
|
+
/**
|
|
1156
|
+
* Factory function for world testnet worldErc20 token instances.
|
|
1157
|
+
*
|
|
1158
|
+
* @param id uuid v4
|
|
1159
|
+
* @param name unique identifier of the token
|
|
1160
|
+
* @param fullName Complete human-readable name of the token
|
|
1161
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1162
|
+
* @param contractAddress Contract address of this token
|
|
1163
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1164
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1165
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1166
|
+
* @param network? Optional token network. Defaults to the World Chain test network.
|
|
1167
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1168
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1169
|
+
*/
|
|
1170
|
+
export declare function tworldErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<WorldERC20Token>;
|
|
1171
|
+
/**
|
|
1172
|
+
* Factory function for FlrErc20 token instances.
|
|
1173
|
+
*
|
|
1174
|
+
* @param id uuid v4
|
|
1175
|
+
* @param name unique identifier of the token
|
|
1176
|
+
* @param fullName Complete human-readable name of the token
|
|
1177
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1178
|
+
* @param contractAddress Contract address of this token
|
|
1179
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1180
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1181
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1182
|
+
* @param network? Optional token network. Defaults to Flr Chain mainnet network.
|
|
1183
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1184
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1185
|
+
*/
|
|
1186
|
+
export declare function flrErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<FlrERC20Token>;
|
|
1187
|
+
/**
|
|
1188
|
+
* Factory function for Flr testnet FlrErc20 token instances.
|
|
1189
|
+
*
|
|
1190
|
+
* @param id uuid v4
|
|
1191
|
+
* @param name unique identifier of the token
|
|
1192
|
+
* @param fullName Complete human-readable name of the token
|
|
1193
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1194
|
+
* @param contractAddress Contract address of this token
|
|
1195
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1196
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1197
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1198
|
+
* @param network? Optional token network. Defaults to the Flr Chain test network.
|
|
1199
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1200
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1201
|
+
*/
|
|
1202
|
+
export declare function tflrErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<FlrERC20Token>;
|
|
1203
|
+
/**
|
|
1204
|
+
* Factory function for xrp token instances.
|
|
1205
|
+
*
|
|
1206
|
+
* @param id uuid v4
|
|
1207
|
+
* @param name unique identifier of the token
|
|
1208
|
+
* @param fullName Complete human-readable name of the token
|
|
1209
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1210
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
1211
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1212
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
1213
|
+
* @param domain? the domain of the issuer of the token,
|
|
1214
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1215
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1216
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1217
|
+
* @param network? Optional token network. Defaults to Cardano main network.
|
|
1218
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1219
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1220
|
+
*/
|
|
1221
|
+
export declare function xrpToken(id: string, name: string, fullName: string, decimalPlaces: number, issuerAddress: string, currencyCode: string, contractAddress: string, domain: string | undefined, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<XrpCoin>;
|
|
1222
|
+
/**
|
|
1223
|
+
* Factory function for testnet cardano token instances.
|
|
1224
|
+
*
|
|
1225
|
+
* @param id uuid v4
|
|
1226
|
+
* @param name unique identifier of the token
|
|
1227
|
+
* @param fullName Complete human-readable name of the token
|
|
1228
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1229
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
1230
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1231
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
1232
|
+
* @param domain? the domain of the issuer of the token,
|
|
1233
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1234
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1235
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1236
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
1237
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1238
|
+
*/
|
|
1239
|
+
export declare function txrpToken(id: string, name: string, fullName: string, decimalPlaces: number, issuerAddress: string, currencyCode: string, contractAddress: string, domain: string | undefined, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<XrpCoin>;
|
|
1240
|
+
/**
|
|
1241
|
+
* Factory function for sui token instances.
|
|
1242
|
+
*
|
|
1243
|
+
* @param id uuid v4
|
|
1244
|
+
* @param name unique identifier of the token
|
|
1245
|
+
* @param fullName Complete human-readable name of the token
|
|
1246
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1247
|
+
* @param packageId PackageId of this token
|
|
1248
|
+
* @param module The module of the package with id `packageId`
|
|
1249
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1250
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1251
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1252
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1253
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1254
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1255
|
+
* @param network? Optional token network. Defaults to SUI main network.
|
|
1256
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1257
|
+
*/
|
|
1258
|
+
export declare function suiToken(id: string, name: string, fullName: string, decimalPlaces: number, packageId: string, module: string, symbol: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<SuiCoin>;
|
|
1259
|
+
/**
|
|
1260
|
+
* Factory function for testnet sui token instances.
|
|
1261
|
+
*
|
|
1262
|
+
* @param id uuid v4
|
|
1263
|
+
* @param name unique identifier of the token
|
|
1264
|
+
* @param fullName Complete human-readable name of the token
|
|
1265
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1266
|
+
* @param packageId PackageId of this token
|
|
1267
|
+
* @param module The module of the package with id `packageId`
|
|
1268
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1269
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1270
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1271
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1272
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1273
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1274
|
+
* @param network? Optional token network. Defaults to SUI test network.
|
|
1275
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1276
|
+
*/
|
|
1277
|
+
export declare function tsuiToken(id: string, name: string, fullName: string, decimalPlaces: number, packageId: string, module: string, symbol: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<SuiCoin>;
|
|
1278
|
+
/**
|
|
1279
|
+
* Factory function for apt token instances.
|
|
1280
|
+
*
|
|
1281
|
+
* @param id uuid v4
|
|
1282
|
+
* @param name unique identifier of the token
|
|
1283
|
+
* @param fullName Complete human-readable name of the token
|
|
1284
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1285
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1286
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1287
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1288
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1289
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1290
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1291
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1292
|
+
*/
|
|
1293
|
+
export declare function aptToken(id: string, name: string, fullName: string, decimalPlaces: number, assetId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AptCoin>;
|
|
1294
|
+
/**
|
|
1295
|
+
* Factory function for Apt NFT collections.
|
|
1296
|
+
*
|
|
1297
|
+
* @param id uuid v4
|
|
1298
|
+
* @param name unique identifier of the NFT collection
|
|
1299
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1300
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1301
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1302
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1303
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1304
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1305
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1306
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1307
|
+
*/
|
|
1308
|
+
export declare function aptNFTCollection(id: string, name: string, fullName: string, nftCollectionId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AptNFTCollection>;
|
|
1309
|
+
/**
|
|
1310
|
+
* Factory function for testnet apt token instances.
|
|
1311
|
+
*
|
|
1312
|
+
* @param id uuid v4
|
|
1313
|
+
* @param name unique identifier of the token
|
|
1314
|
+
* @param fullName Complete human-readable name of the token
|
|
1315
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1316
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1317
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1318
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1319
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1320
|
+
* @param network Optional token network. Defaults to the testnet APT network.
|
|
1321
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1322
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1323
|
+
*/
|
|
1324
|
+
export declare function taptToken(id: string, name: string, fullName: string, decimalPlaces: number, assetId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AptCoin>;
|
|
1325
|
+
/**
|
|
1326
|
+
* Factory function for testnet Apt NFT collections.
|
|
1327
|
+
*
|
|
1328
|
+
* @param id uuid v4
|
|
1329
|
+
* @param name unique identifier of the NFT collection
|
|
1330
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1331
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1332
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1333
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1334
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1335
|
+
* @param network Optional token network. Defaults to APT test network.
|
|
1336
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1337
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1338
|
+
*/
|
|
1339
|
+
export declare function taptNFTCollection(id: string, name: string, fullName: string, nftCollectionId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AptNFTCollection>;
|
|
1340
|
+
/**
|
|
1341
|
+
* Factory function for fiat coin instances.
|
|
1342
|
+
*
|
|
1343
|
+
* @param id uuid v4
|
|
1344
|
+
* @param name unique identifier of the coin, should start with 'fiat' or 'tfiat' followed by the 3-char ISO-4217 alphabetical code
|
|
1345
|
+
* @param fullName Complete human-readable name of the coin
|
|
1346
|
+
* @param network Network object for this coin
|
|
1347
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
1348
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1349
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `FiatCoin`
|
|
1350
|
+
* @param primaryKeyCurve? The elliptic curve for this chain/token
|
|
1351
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
1352
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
1353
|
+
* @param isToken? Whether or not this coin is a token of another coin
|
|
1354
|
+
*/
|
|
1355
|
+
export declare function fiat(id: string, name: FiatCoinName, fullName: string, network: BaseNetwork, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], primaryKeyCurve?: KeyCurve, prefix?: string, suffix?: string, isToken?: boolean): Readonly<FiatCoin>;
|
|
1356
|
+
/**
|
|
1357
|
+
* Factory function for sip10 token instances.
|
|
1358
|
+
*
|
|
1359
|
+
* @param id uuid v4
|
|
1360
|
+
* @param name unique identifier of the token
|
|
1361
|
+
* @param fullName Complete human-readable name of the token
|
|
1362
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1363
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1364
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1365
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1366
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1367
|
+
* @param network? Optional token network. Defaults to Stacks main network.
|
|
1368
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1369
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1370
|
+
*/
|
|
1371
|
+
export declare function sip10Token(id: string, name: string, fullName: string, decimalPlaces: number, assetId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<Sip10Token>;
|
|
1372
|
+
/**
|
|
1373
|
+
* Factory function for testnet sip10 token instances.
|
|
1374
|
+
*
|
|
1375
|
+
* @param id uuid v4
|
|
1376
|
+
* @param name unique identifier of the token
|
|
1377
|
+
* @param fullName Complete human-readable name of the token
|
|
1378
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1379
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1380
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1381
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1382
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1383
|
+
* @param network? Optional token network. Defaults to the testnet Stacks network.
|
|
1384
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1385
|
+
*/
|
|
1386
|
+
export declare function tsip10Token(id: string, name: string, fullName: string, decimalPlaces: number, assetId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<Sip10Token>;
|
|
1387
|
+
/**
|
|
1388
|
+
* Factory function for nep141 token instances.
|
|
1389
|
+
*
|
|
1390
|
+
* @param id uuid v4
|
|
1391
|
+
* @param name unique identifier of the token
|
|
1392
|
+
* @param fullName Complete human-readable name of the token
|
|
1393
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1394
|
+
* @param contractAddress Contract address of this token
|
|
1395
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1396
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1397
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1398
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1399
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1400
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1401
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1402
|
+
*/
|
|
1403
|
+
export declare function nep141Token(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, storageDepositAmount: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<Nep141Token>;
|
|
1404
|
+
/**
|
|
1405
|
+
* Factory function for testnet nep141 token instances.
|
|
1406
|
+
*
|
|
1407
|
+
* @param id uuid v4
|
|
1408
|
+
* @param name unique identifier of the token
|
|
1409
|
+
* @param fullName Complete human-readable name of the token
|
|
1410
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1411
|
+
* @param contractAddress Contract address of this token
|
|
1412
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1413
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1414
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1415
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1416
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1417
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1418
|
+
*/
|
|
1419
|
+
export declare function tnep141Token(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, storageDepositAmount: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<Nep141Token>;
|
|
1420
|
+
/**
|
|
1421
|
+
* Factory function for vet token instances.
|
|
1422
|
+
*
|
|
1423
|
+
* @param id uuid v4
|
|
1424
|
+
* @param name unique identifier of the token
|
|
1425
|
+
* @param fullName Complete human-readable name of the token
|
|
1426
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1427
|
+
* @param contractAddress Contract address of this token
|
|
1428
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1429
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1430
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1431
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1432
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1433
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1434
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1435
|
+
*/
|
|
1436
|
+
export declare function vetToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve, gasTankToken?: string): Readonly<VetToken>;
|
|
1437
|
+
/**
|
|
1438
|
+
* Factory function for testnet vet token instances.
|
|
1439
|
+
*
|
|
1440
|
+
* @param id uuid v4
|
|
1441
|
+
* @param name unique identifier of the token
|
|
1442
|
+
* @param fullName Complete human-readable name of the token
|
|
1443
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1444
|
+
* @param contractAddress Contract address of this token
|
|
1445
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1446
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1447
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1448
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1449
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1450
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1451
|
+
*/
|
|
1452
|
+
export declare function tvetToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, gasTankToken?: string): Readonly<VetToken>;
|
|
1453
|
+
/**
|
|
1454
|
+
* Factory function for Vet NFT collections.
|
|
1455
|
+
*
|
|
1456
|
+
* @param id uuid v4
|
|
1457
|
+
* @param name unique identifier of the NFT collection
|
|
1458
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1459
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1460
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1461
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1462
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1463
|
+
* @param network Optional token network. Defaults to VET main network.
|
|
1464
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1465
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1466
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1467
|
+
*/
|
|
1468
|
+
export declare function vetNFTCollection(id: string, name: string, fullName: string, nftCollectionId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve, gasTankToken?: string): Readonly<VetNFTCollection>;
|
|
1469
|
+
/**
|
|
1470
|
+
* Factory function for testnet Vet NFT collections.
|
|
1471
|
+
*
|
|
1472
|
+
* @param id uuid v4
|
|
1473
|
+
* @param name unique identifier of the NFT collection
|
|
1474
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1475
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1476
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1477
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1478
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1479
|
+
* @param network Optional token network. Defaults to VET test network.
|
|
1480
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1481
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1482
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1483
|
+
*/
|
|
1484
|
+
export declare function tvetNFTCollection(id: string, name: string, fullName: string, nftCollectionId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve, gasTankToken?: string): Readonly<VetNFTCollection>;
|
|
1485
|
+
/**
|
|
1486
|
+
* Factory function for Cosmos chain token instances.
|
|
1487
|
+
*
|
|
1488
|
+
* @param id uuid v4
|
|
1489
|
+
* @param name unique identifier of the token
|
|
1490
|
+
* @param fullName Complete human-readable name of the token
|
|
1491
|
+
* @param denom denomination of this token which will act as a unique identifier for the token on chain
|
|
1492
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1493
|
+
* @param network Network (mainnet or testnet) for this token
|
|
1494
|
+
* @param baseUnit Base unit of this token (native asset)
|
|
1495
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1496
|
+
* @param features Features of this coin. Defaults to the COSMOS_SIDECHAIN_FEATURES defined in `coinFeatures.ts`
|
|
1497
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1498
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1499
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1500
|
+
*/
|
|
1501
|
+
export declare function cosmosToken(id: string, name: string, fullName: string, denom: string, decimalPlaces: number, network: AccountNetwork, baseUnit: BaseUnit, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<CosmosChainToken>;
|
|
1502
|
+
/**
|
|
1503
|
+
* Factory function for tao token instances.
|
|
1504
|
+
*
|
|
1505
|
+
* @param id uuid v4
|
|
1506
|
+
* @param name unique identifier of the token
|
|
1507
|
+
* @param fullName Complete human-readable name of the token
|
|
1508
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1509
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1510
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1511
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1512
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1513
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1514
|
+
* @param network? Optional token network. Defaults to TAO main network.
|
|
1515
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1516
|
+
*/
|
|
1517
|
+
export declare function taoToken(id: string, name: string, fullName: string, decimalPlaces: number, subnetId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<TaoCoin>;
|
|
1518
|
+
/**
|
|
1519
|
+
* Factory function for testnet tao token instances.
|
|
1520
|
+
*
|
|
1521
|
+
* @param id uuid v4
|
|
1522
|
+
* @param name unique identifier of the token
|
|
1523
|
+
* @param fullName Complete human-readable name of the token
|
|
1524
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1525
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1526
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1527
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1528
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1529
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1530
|
+
* @param network? Optional token network. Defaults to TAO test network.
|
|
1531
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1532
|
+
*/
|
|
1533
|
+
export declare function ttaoToken(id: string, name: string, fullName: string, decimalPlaces: number, subnetId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<TaoCoin>;
|
|
1534
|
+
/**
|
|
1535
|
+
* Factory function for polyx token instances.
|
|
1536
|
+
*
|
|
1537
|
+
* @param id uuid v4
|
|
1538
|
+
* @param name unique identifier of the token
|
|
1539
|
+
* @param fullName Complete human-readable name of the token
|
|
1540
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1541
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1542
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1543
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1544
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1545
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1546
|
+
* @param network? Optional token network. Defaults to Polyx main network.
|
|
1547
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1548
|
+
*/
|
|
1549
|
+
export declare function polyxToken(id: string, name: string, fullName: string, decimalPlaces: number, ticker: string, assetId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<PolyxCoin>;
|
|
1550
|
+
/**
|
|
1551
|
+
* Factory function for testnet polyx token instances.
|
|
1552
|
+
*
|
|
1553
|
+
* @param id uuid v4
|
|
1554
|
+
* @param name unique identifier of the token
|
|
1555
|
+
* @param fullName Complete human-readable name of the token
|
|
1556
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1557
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1558
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1559
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1560
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1561
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1562
|
+
* @param network? Optional token network. Defaults to Polyx test network.
|
|
1563
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1564
|
+
*/
|
|
1565
|
+
export declare function tpolyxToken(id: string, name: string, fullName: string, decimalPlaces: number, ticker: string, assetId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<PolyxCoin>;
|
|
1566
|
+
/**
|
|
1567
|
+
* Factory function for Jetton token instances.
|
|
1568
|
+
* Jetton is the token standard on TON blockchain.
|
|
1569
|
+
*
|
|
1570
|
+
* @param id uuid v4
|
|
1571
|
+
* @param name unique identifier of the token
|
|
1572
|
+
* @param fullName Complete human-readable name of the token
|
|
1573
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1574
|
+
* @param contractAddress Contract address of this token
|
|
1575
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1576
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1577
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1578
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1579
|
+
* @param network Optional token network. Defaults to TON main network.
|
|
1580
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1581
|
+
*/
|
|
1582
|
+
export declare function jettonToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<JettonToken>;
|
|
1583
|
+
/**
|
|
1584
|
+
* Factory function for testnet jetton token instances.
|
|
1585
|
+
* Jetton is the token standard on TON blockchain.
|
|
1586
|
+
*
|
|
1587
|
+
* @param id uuid v4
|
|
1588
|
+
* @param name unique identifier of the token
|
|
1589
|
+
* @param fullName Complete human-readable name of the token
|
|
1590
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1591
|
+
* @param contractAddress Contract address of this token
|
|
1592
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1593
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1594
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1595
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1596
|
+
* @param network Optional token network. Defaults to the testnet TON network.
|
|
674
1597
|
*/
|
|
675
|
-
export declare function
|
|
1598
|
+
export declare function tjettonToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<JettonToken>;
|
|
676
1599
|
export {};
|
|
677
1600
|
//# sourceMappingURL=account.d.ts.map
|