@bitgo-beta/statics 15.1.1-beta.113 → 15.1.1-beta.1130
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 +1 -1
- package/CHANGELOG.md +3075 -0
- package/dist/src/account.d.ts +769 -31
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +1252 -127
- package/dist/src/ada.d.ts.map +1 -1
- package/dist/src/ada.js +7 -3
- package/dist/src/allCoinsAndTokens.d.ts +2 -0
- package/dist/src/allCoinsAndTokens.d.ts.map +1 -0
- package/dist/src/allCoinsAndTokens.js +715 -0
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +8 -3
- package/dist/src/base.d.ts +1672 -40
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +1737 -50
- package/dist/src/coinFeatures.d.ts +99 -0
- package/dist/src/coinFeatures.d.ts.map +1 -0
- package/dist/src/coinFeatures.js +605 -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 +100 -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 +2 -0
- package/dist/src/coins/botTokens.d.ts.map +1 -0
- package/dist/src/coins/botTokens.js +5 -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 +160 -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 +1516 -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 +632 -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 +1416 -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 +148 -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 +2 -0
- package/dist/src/coins/solTokens.d.ts.map +1 -0
- package/dist/src/coins/solTokens.js +366 -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 +10 -1
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +286 -1570
- package/dist/src/constants.d.ts +1 -0
- package/dist/src/constants.d.ts.map +1 -1
- package/dist/src/constants.js +3 -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 +24 -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 +10 -0
- package/dist/src/map.d.ts.map +1 -1
- package/dist/src/map.js +117 -17
- package/dist/src/networkFeatureMapForTokens.d.ts +3 -0
- package/dist/src/networkFeatureMapForTokens.d.ts.map +1 -0
- package/dist/src/networkFeatureMapForTokens.js +30 -0
- package/dist/src/networks.d.ts +1091 -1
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +1367 -43
- package/dist/src/ofc.d.ts +495 -3
- package/dist/src/ofc.d.ts.map +1 -1
- package/dist/src/ofc.js +1201 -28
- package/dist/src/tokenConfig.d.ts +206 -14
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +789 -243
- package/dist/src/utxo.d.ts +3 -1
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +83 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/src/account.d.ts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
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 {
|
|
4
11
|
id: string;
|
|
5
12
|
fullName: string;
|
|
@@ -24,14 +31,24 @@ export interface AccountConstructorOptions {
|
|
|
24
31
|
*/
|
|
25
32
|
export declare class AccountCoin extends BaseCoin {
|
|
26
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)[];
|
|
27
35
|
readonly network: AccountNetwork;
|
|
28
36
|
constructor(options: AccountConstructorOptions);
|
|
29
37
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
30
38
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
39
|
+
static getFeaturesExcluding(excludedFeatures: CoinFeature[]): CoinFeature[];
|
|
40
|
+
}
|
|
41
|
+
export interface GasTankAccountConstructorOptions extends AccountConstructorOptions {
|
|
42
|
+
gasTankLowBalanceAlertFactor: number;
|
|
43
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
44
|
+
gasTankToken?: string;
|
|
31
45
|
}
|
|
32
46
|
export interface Erc20ConstructorOptions extends AccountConstructorOptions {
|
|
33
47
|
contractAddress: string;
|
|
34
48
|
}
|
|
49
|
+
export interface NFTCollectionIdConstructorOptions extends AccountConstructorOptions {
|
|
50
|
+
nftCollectionId: string;
|
|
51
|
+
}
|
|
35
52
|
export interface StellarCoinConstructorOptions extends AccountConstructorOptions {
|
|
36
53
|
domain: string;
|
|
37
54
|
}
|
|
@@ -40,16 +57,17 @@ export interface HederaCoinConstructorOptions extends AccountConstructorOptions
|
|
|
40
57
|
}
|
|
41
58
|
export interface HederaTokenConstructorOptions extends AccountConstructorOptions {
|
|
42
59
|
nodeAccountId: string;
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
export interface AlgoCoinConstructorOptions extends AccountConstructorOptions {
|
|
46
|
-
tokenURL: string;
|
|
60
|
+
contractAddress: string;
|
|
47
61
|
}
|
|
48
62
|
export interface EosCoinConstructorOptions extends AccountConstructorOptions {
|
|
49
63
|
contractName: string;
|
|
64
|
+
contractAddress: string;
|
|
65
|
+
symbol?: string;
|
|
50
66
|
}
|
|
51
67
|
export interface SolCoinConstructorOptions extends AccountConstructorOptions {
|
|
52
68
|
tokenAddress: string;
|
|
69
|
+
contractAddress: string;
|
|
70
|
+
programId: string;
|
|
53
71
|
}
|
|
54
72
|
export interface AdaCoinConstructorOptions extends AccountConstructorOptions {
|
|
55
73
|
policyId: string;
|
|
@@ -59,17 +77,54 @@ export interface XrpCoinConstructorOptions extends AccountConstructorOptions {
|
|
|
59
77
|
issuerAddress: string;
|
|
60
78
|
currencyCode: string;
|
|
61
79
|
domain: string;
|
|
80
|
+
contractAddress: string;
|
|
81
|
+
}
|
|
82
|
+
export interface SuiCoinConstructorOptions extends AccountConstructorOptions {
|
|
83
|
+
packageId: string;
|
|
84
|
+
module: string;
|
|
85
|
+
symbol: string;
|
|
86
|
+
contractAddress: string;
|
|
87
|
+
}
|
|
88
|
+
export interface AptCoinConstructorOptions extends AccountConstructorOptions {
|
|
89
|
+
assetId: string;
|
|
90
|
+
}
|
|
91
|
+
export interface TaoCoinConstructorOptions extends AccountConstructorOptions {
|
|
92
|
+
subnetId: string;
|
|
62
93
|
}
|
|
63
|
-
|
|
94
|
+
export interface PolyxCoinConstructorOptions extends AccountConstructorOptions {
|
|
95
|
+
ticker: string;
|
|
96
|
+
assetId: string;
|
|
97
|
+
}
|
|
98
|
+
type FiatCoinName = `fiat${string}` | `tfiat${string}`;
|
|
64
99
|
export interface FiatCoinConstructorOptions extends AccountConstructorOptions {
|
|
65
100
|
name: FiatCoinName;
|
|
66
101
|
}
|
|
102
|
+
export interface Sip10TokenConstructorOptions extends AccountConstructorOptions {
|
|
103
|
+
assetId: string;
|
|
104
|
+
}
|
|
105
|
+
export interface Nep141TokenConstructorOptions extends AccountConstructorOptions {
|
|
106
|
+
contractAddress: string;
|
|
107
|
+
storageDepositAmount: string;
|
|
108
|
+
}
|
|
109
|
+
export interface VetTokenConstructorOptions extends AccountConstructorOptions {
|
|
110
|
+
contractAddress: string;
|
|
111
|
+
gasTankToken?: string;
|
|
112
|
+
}
|
|
113
|
+
export interface CosmosTokenConstructorOptions extends AccountConstructorOptions {
|
|
114
|
+
denom: string;
|
|
115
|
+
}
|
|
67
116
|
export interface ContractAddress extends String {
|
|
68
117
|
__contractaddress_phantom__: never;
|
|
69
118
|
}
|
|
70
119
|
export declare class AccountCoinToken extends AccountCoin {
|
|
71
120
|
constructor(options: AccountConstructorOptions);
|
|
72
121
|
}
|
|
122
|
+
export declare class GasTankAccountCoin extends AccountCoin {
|
|
123
|
+
gasTankLowBalanceAlertFactor: number;
|
|
124
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
125
|
+
gasTankToken?: string;
|
|
126
|
+
constructor(options: GasTankAccountConstructorOptions);
|
|
127
|
+
}
|
|
73
128
|
/**
|
|
74
129
|
* Some blockchains support tokens which are defined by an address at which they have a smart contract deployed.
|
|
75
130
|
* Examples are ERC20 tokens, and the equivalent on other chains.
|
|
@@ -78,6 +133,13 @@ export declare class ContractAddressDefinedToken extends AccountCoinToken {
|
|
|
78
133
|
contractAddress: ContractAddress;
|
|
79
134
|
constructor(options: Erc20ConstructorOptions);
|
|
80
135
|
}
|
|
136
|
+
/**
|
|
137
|
+
* Used for blockchains that support NFT collections.
|
|
138
|
+
*/
|
|
139
|
+
export declare class NFTCollectionIdDefinedToken extends AccountCoinToken {
|
|
140
|
+
nftCollectionId: string;
|
|
141
|
+
constructor(options: NFTCollectionIdConstructorOptions);
|
|
142
|
+
}
|
|
81
143
|
/**
|
|
82
144
|
* ERC20 token addresses are Base58 formatted on some blockchains.
|
|
83
145
|
*/
|
|
@@ -155,6 +217,7 @@ export declare class HederaCoin extends AccountCoinToken {
|
|
|
155
217
|
export declare class HederaToken extends AccountCoinToken {
|
|
156
218
|
nodeAccountId: string;
|
|
157
219
|
tokenId: string;
|
|
220
|
+
contractAddress: string;
|
|
158
221
|
constructor(options: HederaTokenConstructorOptions);
|
|
159
222
|
}
|
|
160
223
|
/**
|
|
@@ -164,8 +227,7 @@ export declare class HederaToken extends AccountCoinToken {
|
|
|
164
227
|
*
|
|
165
228
|
*/
|
|
166
229
|
export declare class AlgoCoin extends AccountCoinToken {
|
|
167
|
-
|
|
168
|
-
constructor(options: AlgoCoinConstructorOptions);
|
|
230
|
+
constructor(options: AccountConstructorOptions);
|
|
169
231
|
}
|
|
170
232
|
/**
|
|
171
233
|
* The Eos network supports tokens
|
|
@@ -175,6 +237,8 @@ export declare class AlgoCoin extends AccountCoinToken {
|
|
|
175
237
|
*/
|
|
176
238
|
export declare class EosCoin extends AccountCoinToken {
|
|
177
239
|
contractName: string;
|
|
240
|
+
contractAddress: string;
|
|
241
|
+
symbol: string;
|
|
178
242
|
constructor(options: EosCoinConstructorOptions);
|
|
179
243
|
}
|
|
180
244
|
/**
|
|
@@ -185,6 +249,8 @@ export declare class EosCoin extends AccountCoinToken {
|
|
|
185
249
|
*/
|
|
186
250
|
export declare class SolCoin extends AccountCoinToken {
|
|
187
251
|
tokenAddress: string;
|
|
252
|
+
contractAddress: string;
|
|
253
|
+
programId: string;
|
|
188
254
|
constructor(options: SolCoinConstructorOptions);
|
|
189
255
|
}
|
|
190
256
|
/**
|
|
@@ -197,6 +263,9 @@ export declare class AdaCoin extends AccountCoinToken {
|
|
|
197
263
|
assetName: string;
|
|
198
264
|
constructor(options: AdaCoinConstructorOptions);
|
|
199
265
|
}
|
|
266
|
+
export declare class EthLikeERC20Token extends ContractAddressDefinedToken {
|
|
267
|
+
constructor(options: Erc20ConstructorOptions);
|
|
268
|
+
}
|
|
200
269
|
/**
|
|
201
270
|
* The AVAX C Chain network support tokens
|
|
202
271
|
* AVAX C Chain Tokens are ERC20 coins
|
|
@@ -211,6 +280,48 @@ export declare class AvaxERC20Token extends ContractAddressDefinedToken {
|
|
|
211
280
|
export declare class PolygonERC20Token extends ContractAddressDefinedToken {
|
|
212
281
|
constructor(options: Erc20ConstructorOptions);
|
|
213
282
|
}
|
|
283
|
+
/**
|
|
284
|
+
* The Arbitrum Chain network support tokens
|
|
285
|
+
* Arbitrum Chain Tokens are ERC20 tokens
|
|
286
|
+
*/
|
|
287
|
+
export declare class ArbethERC20Token extends ContractAddressDefinedToken {
|
|
288
|
+
constructor(options: Erc20ConstructorOptions);
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* The Optimism Chain network support tokens
|
|
292
|
+
* Optimism Chain Tokens are ERC20 tokens
|
|
293
|
+
*/
|
|
294
|
+
export declare class OpethERC20Token extends ContractAddressDefinedToken {
|
|
295
|
+
constructor(options: Erc20ConstructorOptions);
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* The zkSync network support tokens
|
|
299
|
+
* zkSync Tokens are ERC20 tokens
|
|
300
|
+
*/
|
|
301
|
+
export declare class ZkethERC20Token extends ContractAddressDefinedToken {
|
|
302
|
+
constructor(options: Erc20ConstructorOptions);
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* The Bera Chain network support tokens
|
|
306
|
+
* Bera Chain Tokens are ERC20 tokens
|
|
307
|
+
*/
|
|
308
|
+
export declare class BeraERC20Token extends ContractAddressDefinedToken {
|
|
309
|
+
constructor(options: Erc20ConstructorOptions);
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* The Coredao Chain network support tokens
|
|
313
|
+
* Coredao Chain Tokens are ERC20 tokens
|
|
314
|
+
*/
|
|
315
|
+
export declare class CoredaoERC20Token extends ContractAddressDefinedToken {
|
|
316
|
+
constructor(options: Erc20ConstructorOptions);
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* The World Chain network supports tokens
|
|
320
|
+
* World Chain Tokens are ERC20 tokens
|
|
321
|
+
*/
|
|
322
|
+
export declare class WorldERC20Token extends ContractAddressDefinedToken {
|
|
323
|
+
constructor(options: Erc20ConstructorOptions);
|
|
324
|
+
}
|
|
214
325
|
/**
|
|
215
326
|
* The Xrp network supports tokens
|
|
216
327
|
* Xrp tokens are identified by their issuer address
|
|
@@ -221,8 +332,42 @@ export declare class XrpCoin extends AccountCoinToken {
|
|
|
221
332
|
issuerAddress: string;
|
|
222
333
|
currencyCode: string;
|
|
223
334
|
domain: string;
|
|
335
|
+
contractAddress: string;
|
|
224
336
|
constructor(options: XrpCoinConstructorOptions);
|
|
225
337
|
}
|
|
338
|
+
export declare class SuiCoin extends AccountCoinToken {
|
|
339
|
+
packageId: string;
|
|
340
|
+
module: string;
|
|
341
|
+
symbol: string;
|
|
342
|
+
contractAddress: string;
|
|
343
|
+
constructor(options: SuiCoinConstructorOptions);
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* The Apt network supports tokens
|
|
347
|
+
* Apt tokens work similar to native Apt coin, but the token name is determined by
|
|
348
|
+
* the tokenAddress on the chain.
|
|
349
|
+
*
|
|
350
|
+
*/
|
|
351
|
+
export declare class AptCoin extends AccountCoinToken {
|
|
352
|
+
assetId: string;
|
|
353
|
+
constructor(options: AptCoinConstructorOptions);
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* The Apt network supports non-fungible tokens (Digital Asset Standard)
|
|
357
|
+
* Every NFT belongs to an NFT collection.
|
|
358
|
+
*/
|
|
359
|
+
export declare class AptNFTCollection extends NFTCollectionIdDefinedToken {
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* The Vechain network supports non-fungible tokens
|
|
363
|
+
* Every NFT belongs to an NFT collection(contract).
|
|
364
|
+
*/
|
|
365
|
+
export declare class VetNFTCollection extends NFTCollectionIdDefinedToken {
|
|
366
|
+
gasTankToken?: string;
|
|
367
|
+
constructor(options: NFTCollectionIdConstructorOptions & {
|
|
368
|
+
gasTankToken?: string;
|
|
369
|
+
});
|
|
370
|
+
}
|
|
226
371
|
/**
|
|
227
372
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
228
373
|
*/
|
|
@@ -233,6 +378,56 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
233
378
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
234
379
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
235
380
|
}
|
|
381
|
+
/**
|
|
382
|
+
* The Stacks network supports tokens
|
|
383
|
+
* Stx tokens work similar to native Stx coin, but the token name is determined by
|
|
384
|
+
* the contractName on the chain.
|
|
385
|
+
*/
|
|
386
|
+
export declare class Sip10Token extends AccountCoinToken {
|
|
387
|
+
assetId: string;
|
|
388
|
+
constructor(options: Sip10TokenConstructorOptions);
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* The Near network supports tokens
|
|
392
|
+
* Near tokens work similar to native near coin
|
|
393
|
+
*/
|
|
394
|
+
export declare class Nep141Token extends AccountCoinToken {
|
|
395
|
+
contractAddress: string;
|
|
396
|
+
storageDepositAmount: string;
|
|
397
|
+
constructor(options: Nep141TokenConstructorOptions);
|
|
398
|
+
}
|
|
399
|
+
export declare class VetToken extends AccountCoinToken {
|
|
400
|
+
contractAddress: string;
|
|
401
|
+
gasTankToken?: string;
|
|
402
|
+
constructor(options: VetTokenConstructorOptions);
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* Cosmos network supports tokens
|
|
406
|
+
* Cosmos tokens work similar to native coins, but the token is determined by
|
|
407
|
+
* the denom on chain.
|
|
408
|
+
*
|
|
409
|
+
*/
|
|
410
|
+
export declare class CosmosChainToken extends AccountCoinToken {
|
|
411
|
+
denom: string;
|
|
412
|
+
constructor(options: CosmosTokenConstructorOptions);
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
* The Bittensor network supports tokens
|
|
416
|
+
* The token name is determined by the subnetId on chain.
|
|
417
|
+
*/
|
|
418
|
+
export declare class TaoCoin extends AccountCoinToken {
|
|
419
|
+
subnetId: string;
|
|
420
|
+
constructor(options: TaoCoinConstructorOptions);
|
|
421
|
+
}
|
|
422
|
+
/**
|
|
423
|
+
* The Bittensor network supports tokens
|
|
424
|
+
* The token name is determined by the subnetId on chain.
|
|
425
|
+
*/
|
|
426
|
+
export declare class PolyxCoin extends AccountCoinToken {
|
|
427
|
+
ticker: string;
|
|
428
|
+
assetId: string;
|
|
429
|
+
constructor(options: PolyxCoinConstructorOptions);
|
|
430
|
+
}
|
|
236
431
|
/**
|
|
237
432
|
* Factory function for account coin instances.
|
|
238
433
|
*
|
|
@@ -249,6 +444,42 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
249
444
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
250
445
|
*/
|
|
251
446
|
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>;
|
|
447
|
+
/**
|
|
448
|
+
* Factory function for gas tank account coin instances.
|
|
449
|
+
*
|
|
450
|
+
* @param id uuid v4
|
|
451
|
+
* @param name unique identifier of the coin
|
|
452
|
+
* @param fullName Complete human-readable name of the coin
|
|
453
|
+
* @param network Network object for this coin
|
|
454
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
455
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
456
|
+
* @param baseUnit
|
|
457
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
458
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
459
|
+
* @param gasTankLowBalanceAlertFactor Low gas tank balance alert threshold = (feeEstimate x gasTankLowBalanceAlertFactor)
|
|
460
|
+
* @param gasTankMinBalanceRecommendationFactor Min gas tank balance recommendation = (feeEstimate x gasTankMinBalanceRecommendationFactor)
|
|
461
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
462
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
463
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
464
|
+
*/
|
|
465
|
+
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>;
|
|
466
|
+
/**
|
|
467
|
+
* Factory function for ethLikeErc20 token instances.
|
|
468
|
+
*
|
|
469
|
+
* @param id uuid v4
|
|
470
|
+
* @param name unique identifier of the token
|
|
471
|
+
* @param fullName Complete human-readable name of the token
|
|
472
|
+
* @param decimalPlaces Number of decimal places this token supports
|
|
473
|
+
* @param contractAddress Contract address of this token
|
|
474
|
+
* @param asset Asset which this coin represents
|
|
475
|
+
* @param network Optional token network
|
|
476
|
+
* @param coinNames The parent coin names for mainnet and testnet
|
|
477
|
+
* @param features Features of this coin
|
|
478
|
+
* @param prefix Optional token prefix
|
|
479
|
+
* @param suffix Optional token suffix
|
|
480
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
481
|
+
*/
|
|
482
|
+
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>;
|
|
252
483
|
/**
|
|
253
484
|
* Factory function for erc20 token instances.
|
|
254
485
|
*
|
|
@@ -305,7 +536,7 @@ export declare function erc721(id: string, name: string, fullName: string, contr
|
|
|
305
536
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
306
537
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
307
538
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
308
|
-
* @param network? Optional token network. Defaults to
|
|
539
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
309
540
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
310
541
|
*/
|
|
311
542
|
export declare function terc721(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
@@ -349,7 +580,7 @@ export declare function erc1155(id: string, name: string, fullName: string, cont
|
|
|
349
580
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
350
581
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
351
582
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
352
|
-
* @param network? Optional token network. Defaults to
|
|
583
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
353
584
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
354
585
|
*/
|
|
355
586
|
export declare function terc1155(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
@@ -377,11 +608,11 @@ export declare function erc20CompatibleAccountCoin(id: string, name: string, ful
|
|
|
377
608
|
* @param fullName Complete human-readable name of the token
|
|
378
609
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
379
610
|
* @param contractAddress Contract address of this token
|
|
380
|
-
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
381
|
-
* @param prefix? Optional token prefix. Defaults to empty string
|
|
382
|
-
* @param suffix? Optional token suffix. Defaults to token name.
|
|
383
|
-
* @param network? Optional token network. Defaults to CELO main network.
|
|
384
|
-
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
611
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
612
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
613
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
614
|
+
* @param network ? Optional token network. Defaults to CELO main network.
|
|
615
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
385
616
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
386
617
|
*/
|
|
387
618
|
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>;
|
|
@@ -394,10 +625,10 @@ export declare function celoToken(id: string, name: string, fullName: string, de
|
|
|
394
625
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
395
626
|
* @param contractAddress Contract address of this token
|
|
396
627
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
397
|
-
* @param
|
|
398
|
-
* @param
|
|
399
|
-
* @param
|
|
400
|
-
* @param
|
|
628
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
629
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
630
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
631
|
+
* @param network ? Optional token network. Defaults to the testnet CELO network.
|
|
401
632
|
*/
|
|
402
633
|
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>;
|
|
403
634
|
/**
|
|
@@ -511,7 +742,7 @@ export declare function ttronToken(id: string, name: string, fullName: string, d
|
|
|
511
742
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
512
743
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
513
744
|
*/
|
|
514
|
-
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
745
|
+
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>;
|
|
515
746
|
/**
|
|
516
747
|
* Factory function for Hedera token instances
|
|
517
748
|
*
|
|
@@ -522,13 +753,14 @@ export declare function hederaCoin(id: string, name: string, fullName: string, n
|
|
|
522
753
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
523
754
|
* @param nodeAccountId node account Id from which the transaction will be sent
|
|
524
755
|
* @param tokenId The unique identifier of this token
|
|
756
|
+
* @param contractAddress Contract address of this token, same as tokenId
|
|
525
757
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
526
758
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
527
759
|
* @param network? Optional token network. Defaults to Hedera mainnet.
|
|
528
760
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
529
761
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
530
762
|
*/
|
|
531
|
-
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
763
|
+
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>;
|
|
532
764
|
/**
|
|
533
765
|
* Factory function for ALGO token instances.
|
|
534
766
|
*
|
|
@@ -539,7 +771,6 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
539
771
|
* @param fullName Complete human-readable name of the token
|
|
540
772
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
541
773
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
542
|
-
* @param tokenURL Optional asset Url for more informationa about the asset
|
|
543
774
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
544
775
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
545
776
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -547,7 +778,7 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
547
778
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
548
779
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
549
780
|
*/
|
|
550
|
-
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
781
|
+
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>;
|
|
551
782
|
/**
|
|
552
783
|
* Factory function for testnet ALGO token instances.
|
|
553
784
|
*
|
|
@@ -557,14 +788,13 @@ export declare function algoToken(id: string, name: string, alias: string | unde
|
|
|
557
788
|
* @param fullName Complete human-readable name of the token
|
|
558
789
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
559
790
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
560
|
-
* @param tokenURL Optional asset Url for more informationa about the asset
|
|
561
791
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
562
792
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
563
793
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
564
794
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
565
795
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
566
796
|
*/
|
|
567
|
-
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
797
|
+
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>;
|
|
568
798
|
/**
|
|
569
799
|
* Factory function for eos token instances.
|
|
570
800
|
*
|
|
@@ -573,6 +803,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
573
803
|
* @param fullName Complete human-readable name of the token
|
|
574
804
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
575
805
|
* @param contractName Contract address of this token
|
|
806
|
+
* @param contractAddress Contract address of this token
|
|
576
807
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
577
808
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
578
809
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -580,7 +811,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
580
811
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
581
812
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
582
813
|
*/
|
|
583
|
-
export declare function eosToken(id: string, name: string, fullName: string, decimalPlaces: number, contractName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<EosCoin>;
|
|
814
|
+
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>;
|
|
584
815
|
/**
|
|
585
816
|
* Factory function for testnet eos token instances.
|
|
586
817
|
*
|
|
@@ -588,14 +819,16 @@ export declare function eosToken(id: string, name: string, fullName: string, dec
|
|
|
588
819
|
* @param name unique identifier of the token
|
|
589
820
|
* @param fullName Complete human-readable name of the token
|
|
590
821
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
822
|
+
* @param contractName Contract address of this token
|
|
591
823
|
* @param contractAddress Contract address of this token
|
|
592
824
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
593
825
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
594
826
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
827
|
+
* @param symbol? token symbol as defined in token contract.
|
|
595
828
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
596
829
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
597
830
|
*/
|
|
598
|
-
export declare function teosToken(id: string, name: string, fullName: string, decimalPlaces: number, contractName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<EosCoin>;
|
|
831
|
+
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>;
|
|
599
832
|
/**
|
|
600
833
|
* Factory function for sol token instances.
|
|
601
834
|
*
|
|
@@ -604,6 +837,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
604
837
|
* @param fullName Complete human-readable name of the token
|
|
605
838
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
606
839
|
* @param tokenAddress Token address of this token
|
|
840
|
+
* @param contractAddress Contract address of this token
|
|
607
841
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
608
842
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
609
843
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -611,7 +845,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
611
845
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
612
846
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
613
847
|
*/
|
|
614
|
-
export declare function solToken(id: string, name: string, fullName: string, decimalPlaces: number, tokenAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<SolCoin>;
|
|
848
|
+
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>;
|
|
615
849
|
/**
|
|
616
850
|
* Factory function for testnet solana token instances.
|
|
617
851
|
*
|
|
@@ -626,7 +860,7 @@ export declare function solToken(id: string, name: string, fullName: string, dec
|
|
|
626
860
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
627
861
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
628
862
|
*/
|
|
629
|
-
export declare function tsolToken(id: string, name: string, fullName: string, decimalPlaces: number, tokenAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<SolCoin>;
|
|
863
|
+
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>;
|
|
630
864
|
/**
|
|
631
865
|
* Factory function for ada token instances.
|
|
632
866
|
*
|
|
@@ -707,7 +941,7 @@ export declare function tavaxErc20(id: string, name: string, fullName: string, d
|
|
|
707
941
|
*/
|
|
708
942
|
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>;
|
|
709
943
|
/**
|
|
710
|
-
* Factory function for
|
|
944
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
711
945
|
*
|
|
712
946
|
* @param id uuid v4
|
|
713
947
|
* @param name unique identifier of the token
|
|
@@ -722,6 +956,198 @@ export declare function polygonErc20(id: string, name: string, fullName: string,
|
|
|
722
956
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
723
957
|
*/
|
|
724
958
|
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>;
|
|
959
|
+
/**
|
|
960
|
+
* Factory function for arbethErc20 token instances.
|
|
961
|
+
*
|
|
962
|
+
* @param id uuid v4
|
|
963
|
+
* @param name unique identifier of the token
|
|
964
|
+
* @param fullName Complete human-readable name of the token
|
|
965
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
966
|
+
* @param contractAddress Contract address of this token
|
|
967
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
968
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
969
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
970
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
971
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
972
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
973
|
+
*/
|
|
974
|
+
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>;
|
|
975
|
+
/**
|
|
976
|
+
* Factory function for Arbitrum Sepolia testnet arbethErc20 token instances.
|
|
977
|
+
*
|
|
978
|
+
* @param id uuid v4
|
|
979
|
+
* @param name unique identifier of the token
|
|
980
|
+
* @param fullName Complete human-readable name of the token
|
|
981
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
982
|
+
* @param contractAddress Contract address of this token
|
|
983
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
984
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
985
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
986
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
987
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
988
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
989
|
+
*/
|
|
990
|
+
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>;
|
|
991
|
+
/**
|
|
992
|
+
* Factory function for opethErc20 token instances.
|
|
993
|
+
*
|
|
994
|
+
* @param id uuid v4
|
|
995
|
+
* @param name unique identifier of the token
|
|
996
|
+
* @param fullName Complete human-readable name of the token
|
|
997
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
998
|
+
* @param contractAddress Contract address of this token
|
|
999
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1000
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1001
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1002
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
1003
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1004
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1005
|
+
*/
|
|
1006
|
+
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>;
|
|
1007
|
+
/**
|
|
1008
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
1009
|
+
*
|
|
1010
|
+
* @param id uuid v4
|
|
1011
|
+
* @param name unique identifier of the token
|
|
1012
|
+
* @param fullName Complete human-readable name of the token
|
|
1013
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1014
|
+
* @param contractAddress Contract address of this token
|
|
1015
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1016
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1017
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1018
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
1019
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1020
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1021
|
+
*/
|
|
1022
|
+
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>;
|
|
1023
|
+
/**
|
|
1024
|
+
* Factory function for zkethErc20 token instances.
|
|
1025
|
+
*
|
|
1026
|
+
* @param id uuid v4
|
|
1027
|
+
* @param name unique identifier of the token
|
|
1028
|
+
* @param fullName Complete human-readable name of the token
|
|
1029
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1030
|
+
* @param contractAddress Contract address of this token
|
|
1031
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1032
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1033
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1034
|
+
* @param network? Optional token network. Defaults to zkSync mainnet network.
|
|
1035
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1036
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1037
|
+
*/
|
|
1038
|
+
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>;
|
|
1039
|
+
/**
|
|
1040
|
+
* Factory function for zkSync Sepolia testnet zkethErc20 token instances.
|
|
1041
|
+
*
|
|
1042
|
+
* @param id uuid v4
|
|
1043
|
+
* @param name unique identifier of the token
|
|
1044
|
+
* @param fullName Complete human-readable name of the token
|
|
1045
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1046
|
+
* @param contractAddress Contract address of this token
|
|
1047
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1048
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1049
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1050
|
+
* @param network? Optional token network. Defaults to the zkSync sepolia test network.
|
|
1051
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1052
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1053
|
+
*/
|
|
1054
|
+
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>;
|
|
1055
|
+
/**
|
|
1056
|
+
* Factory function for beraErc20 token instances.
|
|
1057
|
+
*
|
|
1058
|
+
* @param id uuid v4
|
|
1059
|
+
* @param name unique identifier of the token
|
|
1060
|
+
* @param fullName Complete human-readable name of the token
|
|
1061
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1062
|
+
* @param contractAddress Contract address of this token
|
|
1063
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1064
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1065
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1066
|
+
* @param network? Optional token network. Defaults to bera mainnet network.
|
|
1067
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1068
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1069
|
+
*/
|
|
1070
|
+
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>;
|
|
1071
|
+
/**
|
|
1072
|
+
* Factory function for zkSync Sepolia testnet beraErc20 token instances.
|
|
1073
|
+
*
|
|
1074
|
+
* @param id uuid v4
|
|
1075
|
+
* @param name unique identifier of the token
|
|
1076
|
+
* @param fullName Complete human-readable name of the token
|
|
1077
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1078
|
+
* @param contractAddress Contract address of this token
|
|
1079
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1080
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1081
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1082
|
+
* @param network? Optional token network. Defaults to the bera test network.
|
|
1083
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1084
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1085
|
+
*/
|
|
1086
|
+
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>;
|
|
1087
|
+
/**
|
|
1088
|
+
* Factory function for CoredaoErc20 token instances.
|
|
1089
|
+
*
|
|
1090
|
+
* @param id uuid v4
|
|
1091
|
+
* @param name unique identifier of the token
|
|
1092
|
+
* @param fullName Complete human-readable name of the token
|
|
1093
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1094
|
+
* @param contractAddress Contract address of this token
|
|
1095
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1096
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1097
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1098
|
+
* @param network? Optional token network. Defaults to coredao mainnet network.
|
|
1099
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1100
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1101
|
+
*/
|
|
1102
|
+
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>;
|
|
1103
|
+
/**
|
|
1104
|
+
* Factory function for coredao testnet coredaoErc20 token instances.
|
|
1105
|
+
*
|
|
1106
|
+
* @param id uuid v4
|
|
1107
|
+
* @param name unique identifier of the token
|
|
1108
|
+
* @param fullName Complete human-readable name of the token
|
|
1109
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1110
|
+
* @param contractAddress Contract address of this token
|
|
1111
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1112
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1113
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1114
|
+
* @param network? Optional token network. Defaults to the coredao test network.
|
|
1115
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1116
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1117
|
+
*/
|
|
1118
|
+
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>;
|
|
1119
|
+
/**
|
|
1120
|
+
* Factory function for WorldErc20 token instances.
|
|
1121
|
+
*
|
|
1122
|
+
* @param id uuid v4
|
|
1123
|
+
* @param name unique identifier of the token
|
|
1124
|
+
* @param fullName Complete human-readable name of the token
|
|
1125
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1126
|
+
* @param contractAddress Contract address of this token
|
|
1127
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1128
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1129
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1130
|
+
* @param network? Optional token network. Defaults to World Chain mainnet network.
|
|
1131
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1132
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1133
|
+
*/
|
|
1134
|
+
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>;
|
|
1135
|
+
/**
|
|
1136
|
+
* Factory function for world testnet worldErc20 token instances.
|
|
1137
|
+
*
|
|
1138
|
+
* @param id uuid v4
|
|
1139
|
+
* @param name unique identifier of the token
|
|
1140
|
+
* @param fullName Complete human-readable name of the token
|
|
1141
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1142
|
+
* @param contractAddress Contract address of this token
|
|
1143
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1144
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1145
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1146
|
+
* @param network? Optional token network. Defaults to the World Chain test network.
|
|
1147
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1148
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1149
|
+
*/
|
|
1150
|
+
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>;
|
|
725
1151
|
/**
|
|
726
1152
|
* Factory function for xrp token instances.
|
|
727
1153
|
*
|
|
@@ -731,6 +1157,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
731
1157
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
732
1158
|
* @param issuerAddress: The address of the issuer of the token,
|
|
733
1159
|
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1160
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
734
1161
|
* @param domain? the domain of the issuer of the token,
|
|
735
1162
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
736
1163
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
@@ -739,7 +1166,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
739
1166
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
740
1167
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
741
1168
|
*/
|
|
742
|
-
export declare function xrpToken(id: string, name: string, fullName: string, decimalPlaces: number, issuerAddress: string, currencyCode: string, domain: string | undefined, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<XrpCoin>;
|
|
1169
|
+
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>;
|
|
743
1170
|
/**
|
|
744
1171
|
* Factory function for testnet cardano token instances.
|
|
745
1172
|
*
|
|
@@ -749,6 +1176,7 @@ export declare function xrpToken(id: string, name: string, fullName: string, dec
|
|
|
749
1176
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
750
1177
|
* @param issuerAddress: The address of the issuer of the token,
|
|
751
1178
|
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1179
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
752
1180
|
* @param domain? the domain of the issuer of the token,
|
|
753
1181
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
754
1182
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
@@ -756,7 +1184,107 @@ export declare function xrpToken(id: string, name: string, fullName: string, dec
|
|
|
756
1184
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
757
1185
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
758
1186
|
*/
|
|
759
|
-
export declare function txrpToken(id: string, name: string, fullName: string, decimalPlaces: number, issuerAddress: string, currencyCode: string, domain: string | undefined, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<XrpCoin>;
|
|
1187
|
+
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>;
|
|
1188
|
+
/**
|
|
1189
|
+
* Factory function for sui token instances.
|
|
1190
|
+
*
|
|
1191
|
+
* @param id uuid v4
|
|
1192
|
+
* @param name unique identifier of the token
|
|
1193
|
+
* @param fullName Complete human-readable name of the token
|
|
1194
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1195
|
+
* @param packageId PackageId of this token
|
|
1196
|
+
* @param module The module of the package with id `packageId`
|
|
1197
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1198
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1199
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1200
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1201
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1202
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1203
|
+
* @param network? Optional token network. Defaults to SUI main network.
|
|
1204
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1205
|
+
*/
|
|
1206
|
+
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>;
|
|
1207
|
+
/**
|
|
1208
|
+
* Factory function for testnet sui token instances.
|
|
1209
|
+
*
|
|
1210
|
+
* @param id uuid v4
|
|
1211
|
+
* @param name unique identifier of the token
|
|
1212
|
+
* @param fullName Complete human-readable name of the token
|
|
1213
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1214
|
+
* @param packageId PackageId of this token
|
|
1215
|
+
* @param module The module of the package with id `packageId`
|
|
1216
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1217
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1218
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1219
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1220
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1221
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1222
|
+
* @param network? Optional token network. Defaults to SUI test network.
|
|
1223
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1224
|
+
*/
|
|
1225
|
+
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>;
|
|
1226
|
+
/**
|
|
1227
|
+
* Factory function for apt token instances.
|
|
1228
|
+
*
|
|
1229
|
+
* @param id uuid v4
|
|
1230
|
+
* @param name unique identifier of the token
|
|
1231
|
+
* @param fullName Complete human-readable name of the token
|
|
1232
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1233
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1234
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1235
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1236
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1237
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1238
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1239
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1240
|
+
*/
|
|
1241
|
+
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>;
|
|
1242
|
+
/**
|
|
1243
|
+
* Factory function for Apt NFT collections.
|
|
1244
|
+
*
|
|
1245
|
+
* @param id uuid v4
|
|
1246
|
+
* @param name unique identifier of the NFT collection
|
|
1247
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1248
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1249
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1250
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1251
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1252
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1253
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1254
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1255
|
+
*/
|
|
1256
|
+
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>;
|
|
1257
|
+
/**
|
|
1258
|
+
* Factory function for testnet apt token instances.
|
|
1259
|
+
*
|
|
1260
|
+
* @param id uuid v4
|
|
1261
|
+
* @param name unique identifier of the token
|
|
1262
|
+
* @param fullName Complete human-readable name of the token
|
|
1263
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1264
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1265
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1266
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1267
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1268
|
+
* @param network Optional token network. Defaults to the testnet APT network.
|
|
1269
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1270
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1271
|
+
*/
|
|
1272
|
+
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>;
|
|
1273
|
+
/**
|
|
1274
|
+
* Factory function for testnet Apt NFT collections.
|
|
1275
|
+
*
|
|
1276
|
+
* @param id uuid v4
|
|
1277
|
+
* @param name unique identifier of the NFT collection
|
|
1278
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1279
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1280
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1281
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1282
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1283
|
+
* @param network Optional token network. Defaults to APT test network.
|
|
1284
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1285
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1286
|
+
*/
|
|
1287
|
+
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>;
|
|
760
1288
|
/**
|
|
761
1289
|
* Factory function for fiat coin instances.
|
|
762
1290
|
*
|
|
@@ -773,5 +1301,215 @@ export declare function txrpToken(id: string, name: string, fullName: string, de
|
|
|
773
1301
|
* @param isToken? Whether or not this coin is a token of another coin
|
|
774
1302
|
*/
|
|
775
1303
|
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>;
|
|
1304
|
+
/**
|
|
1305
|
+
* Factory function for sip10 token instances.
|
|
1306
|
+
*
|
|
1307
|
+
* @param id uuid v4
|
|
1308
|
+
* @param name unique identifier of the token
|
|
1309
|
+
* @param fullName Complete human-readable name of the token
|
|
1310
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1311
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1312
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1313
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1314
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1315
|
+
* @param network? Optional token network. Defaults to Stacks main network.
|
|
1316
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1317
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1318
|
+
*/
|
|
1319
|
+
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>;
|
|
1320
|
+
/**
|
|
1321
|
+
* Factory function for testnet sip10 token instances.
|
|
1322
|
+
*
|
|
1323
|
+
* @param id uuid v4
|
|
1324
|
+
* @param name unique identifier of the token
|
|
1325
|
+
* @param fullName Complete human-readable name of the token
|
|
1326
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1327
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1328
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1329
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1330
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1331
|
+
* @param network? Optional token network. Defaults to the testnet Stacks network.
|
|
1332
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1333
|
+
*/
|
|
1334
|
+
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>;
|
|
1335
|
+
/**
|
|
1336
|
+
* Factory function for nep141 token instances.
|
|
1337
|
+
*
|
|
1338
|
+
* @param id uuid v4
|
|
1339
|
+
* @param name unique identifier of the token
|
|
1340
|
+
* @param fullName Complete human-readable name of the token
|
|
1341
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1342
|
+
* @param contractAddress Contract address of this token
|
|
1343
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1344
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1345
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1346
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1347
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1348
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1349
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1350
|
+
*/
|
|
1351
|
+
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>;
|
|
1352
|
+
/**
|
|
1353
|
+
* Factory function for testnet nep141 token instances.
|
|
1354
|
+
*
|
|
1355
|
+
* @param id uuid v4
|
|
1356
|
+
* @param name unique identifier of the token
|
|
1357
|
+
* @param fullName Complete human-readable name of the token
|
|
1358
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1359
|
+
* @param contractAddress Contract address of this token
|
|
1360
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1361
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1362
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1363
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1364
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1365
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1366
|
+
*/
|
|
1367
|
+
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>;
|
|
1368
|
+
/**
|
|
1369
|
+
* Factory function for vet token instances.
|
|
1370
|
+
*
|
|
1371
|
+
* @param id uuid v4
|
|
1372
|
+
* @param name unique identifier of the token
|
|
1373
|
+
* @param fullName Complete human-readable name of the token
|
|
1374
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1375
|
+
* @param contractAddress Contract address of this token
|
|
1376
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1377
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1378
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1379
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1380
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1381
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1382
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1383
|
+
*/
|
|
1384
|
+
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>;
|
|
1385
|
+
/**
|
|
1386
|
+
* Factory function for testnet vet token instances.
|
|
1387
|
+
*
|
|
1388
|
+
* @param id uuid v4
|
|
1389
|
+
* @param name unique identifier of the token
|
|
1390
|
+
* @param fullName Complete human-readable name of the token
|
|
1391
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1392
|
+
* @param contractAddress Contract address of this token
|
|
1393
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1394
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1395
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1396
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1397
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1398
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1399
|
+
*/
|
|
1400
|
+
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>;
|
|
1401
|
+
/**
|
|
1402
|
+
* Factory function for Vet NFT collections.
|
|
1403
|
+
*
|
|
1404
|
+
* @param id uuid v4
|
|
1405
|
+
* @param name unique identifier of the NFT collection
|
|
1406
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1407
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1408
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1409
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1410
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1411
|
+
* @param network Optional token network. Defaults to VET main network.
|
|
1412
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1413
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1414
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1415
|
+
*/
|
|
1416
|
+
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>;
|
|
1417
|
+
/**
|
|
1418
|
+
* Factory function for testnet Vet NFT collections.
|
|
1419
|
+
*
|
|
1420
|
+
* @param id uuid v4
|
|
1421
|
+
* @param name unique identifier of the NFT collection
|
|
1422
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1423
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1424
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1425
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1426
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1427
|
+
* @param network Optional token network. Defaults to VET test network.
|
|
1428
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1429
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1430
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1431
|
+
*/
|
|
1432
|
+
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>;
|
|
1433
|
+
/**
|
|
1434
|
+
* Factory function for Cosmos chain token instances.
|
|
1435
|
+
*
|
|
1436
|
+
* @param id uuid v4
|
|
1437
|
+
* @param name unique identifier of the token
|
|
1438
|
+
* @param fullName Complete human-readable name of the token
|
|
1439
|
+
* @param denom denomination of this token which will act as a unique identifier for the token on chain
|
|
1440
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1441
|
+
* @param network Network (mainnet or testnet) for this token
|
|
1442
|
+
* @param baseUnit Base unit of this token (native asset)
|
|
1443
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1444
|
+
* @param features Features of this coin. Defaults to the COSMOS_SIDECHAIN_FEATURES defined in `coinFeatures.ts`
|
|
1445
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1446
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1447
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1448
|
+
*/
|
|
1449
|
+
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>;
|
|
1450
|
+
/**
|
|
1451
|
+
* Factory function for tao token instances.
|
|
1452
|
+
*
|
|
1453
|
+
* @param id uuid v4
|
|
1454
|
+
* @param name unique identifier of the token
|
|
1455
|
+
* @param fullName Complete human-readable name of the token
|
|
1456
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1457
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1458
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1459
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1460
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1461
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1462
|
+
* @param network? Optional token network. Defaults to TAO main network.
|
|
1463
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1464
|
+
*/
|
|
1465
|
+
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>;
|
|
1466
|
+
/**
|
|
1467
|
+
* Factory function for testnet tao token instances.
|
|
1468
|
+
*
|
|
1469
|
+
* @param id uuid v4
|
|
1470
|
+
* @param name unique identifier of the token
|
|
1471
|
+
* @param fullName Complete human-readable name of the token
|
|
1472
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1473
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1474
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1475
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1476
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1477
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1478
|
+
* @param network? Optional token network. Defaults to TAO test network.
|
|
1479
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1480
|
+
*/
|
|
1481
|
+
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>;
|
|
1482
|
+
/**
|
|
1483
|
+
* Factory function for polyx token instances.
|
|
1484
|
+
*
|
|
1485
|
+
* @param id uuid v4
|
|
1486
|
+
* @param name unique identifier of the token
|
|
1487
|
+
* @param fullName Complete human-readable name of the token
|
|
1488
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1489
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1490
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1491
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1492
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1493
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1494
|
+
* @param network? Optional token network. Defaults to Polyx main network.
|
|
1495
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1496
|
+
*/
|
|
1497
|
+
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>;
|
|
1498
|
+
/**
|
|
1499
|
+
* Factory function for testnet polyx token instances.
|
|
1500
|
+
*
|
|
1501
|
+
* @param id uuid v4
|
|
1502
|
+
* @param name unique identifier of the token
|
|
1503
|
+
* @param fullName Complete human-readable name of the token
|
|
1504
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1505
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1506
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1507
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1508
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1509
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1510
|
+
* @param network? Optional token network. Defaults to Polyx test network.
|
|
1511
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1512
|
+
*/
|
|
1513
|
+
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>;
|
|
776
1514
|
export {};
|
|
777
1515
|
//# sourceMappingURL=account.d.ts.map
|