@bitgo-beta/statics 15.1.1-beta.93 → 15.1.1-beta.931
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 +2837 -0
- package/dist/src/account.d.ts +502 -31
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +834 -127
- package/dist/src/ada.d.ts.map +1 -1
- package/dist/src/ada.js +6 -3
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +7 -3
- package/dist/src/base.d.ts +1423 -40
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +1477 -50
- package/dist/src/coinFeatures.d.ts +85 -0
- package/dist/src/coinFeatures.d.ts.map +1 -0
- package/dist/src/coinFeatures.js +535 -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 +97 -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 +147 -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 +1406 -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 +13 -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 +538 -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 +1315 -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 +142 -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 +338 -0
- package/dist/src/coins.d.ts +10 -1
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +645 -1506
- 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/index.d.ts +3 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +19 -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 +4 -0
- package/dist/src/map.d.ts.map +1 -1
- package/dist/src/map.js +93 -19
- package/dist/src/networkFeatureMapForTokens.d.ts +3 -0
- package/dist/src/networkFeatureMapForTokens.d.ts.map +1 -0
- package/dist/src/networkFeatureMapForTokens.js +29 -0
- package/dist/src/networks.d.ts +684 -1
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +924 -44
- package/dist/src/ofc.d.ts +349 -0
- package/dist/src/ofc.d.ts.map +1 -1
- package/dist/src/ofc.js +724 -14
- package/dist/src/tokenConfig.d.ts +152 -14
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +614 -238
- package/dist/src/utxo.d.ts +3 -1
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +78 -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 tokem 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,23 @@ 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.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.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.ALPHANUMERIC_MEMO_ID | CoinFeature.WALLET_CONNECT_DEFI | CoinFeature.TSS_SUPPORT_GATED | CoinFeature.SHARED_EVM_SIGNING | CoinFeature.EVM_COIN | CoinFeature.MULTISIG)[];
|
|
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;
|
|
31
44
|
}
|
|
32
45
|
export interface Erc20ConstructorOptions extends AccountConstructorOptions {
|
|
33
46
|
contractAddress: string;
|
|
34
47
|
}
|
|
48
|
+
export interface NFTCollectionIdConstructorOptions extends AccountConstructorOptions {
|
|
49
|
+
nftCollectionId: string;
|
|
50
|
+
}
|
|
35
51
|
export interface StellarCoinConstructorOptions extends AccountConstructorOptions {
|
|
36
52
|
domain: string;
|
|
37
53
|
}
|
|
@@ -40,16 +56,17 @@ export interface HederaCoinConstructorOptions extends AccountConstructorOptions
|
|
|
40
56
|
}
|
|
41
57
|
export interface HederaTokenConstructorOptions extends AccountConstructorOptions {
|
|
42
58
|
nodeAccountId: string;
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
export interface AlgoCoinConstructorOptions extends AccountConstructorOptions {
|
|
46
|
-
tokenURL: string;
|
|
59
|
+
contractAddress: string;
|
|
47
60
|
}
|
|
48
61
|
export interface EosCoinConstructorOptions extends AccountConstructorOptions {
|
|
49
62
|
contractName: string;
|
|
63
|
+
contractAddress: string;
|
|
64
|
+
symbol?: string;
|
|
50
65
|
}
|
|
51
66
|
export interface SolCoinConstructorOptions extends AccountConstructorOptions {
|
|
52
67
|
tokenAddress: string;
|
|
68
|
+
contractAddress: string;
|
|
69
|
+
programId: string;
|
|
53
70
|
}
|
|
54
71
|
export interface AdaCoinConstructorOptions extends AccountConstructorOptions {
|
|
55
72
|
policyId: string;
|
|
@@ -59,17 +76,38 @@ export interface XrpCoinConstructorOptions extends AccountConstructorOptions {
|
|
|
59
76
|
issuerAddress: string;
|
|
60
77
|
currencyCode: string;
|
|
61
78
|
domain: string;
|
|
79
|
+
contractAddress: string;
|
|
80
|
+
}
|
|
81
|
+
export interface SuiCoinConstructorOptions extends AccountConstructorOptions {
|
|
82
|
+
packageId: string;
|
|
83
|
+
module: string;
|
|
84
|
+
symbol: string;
|
|
85
|
+
contractAddress: string;
|
|
62
86
|
}
|
|
63
|
-
|
|
87
|
+
export interface AptCoinConstructorOptions extends AccountConstructorOptions {
|
|
88
|
+
assetId: string;
|
|
89
|
+
}
|
|
90
|
+
type FiatCoinName = `fiat${string}` | `tfiat${string}`;
|
|
64
91
|
export interface FiatCoinConstructorOptions extends AccountConstructorOptions {
|
|
65
92
|
name: FiatCoinName;
|
|
66
93
|
}
|
|
94
|
+
export interface Sip10TokenConstructorOptions extends AccountConstructorOptions {
|
|
95
|
+
assetId: string;
|
|
96
|
+
}
|
|
97
|
+
export interface Nep141TokenConstructorOptions extends AccountConstructorOptions {
|
|
98
|
+
contractAddress: string;
|
|
99
|
+
}
|
|
67
100
|
export interface ContractAddress extends String {
|
|
68
101
|
__contractaddress_phantom__: never;
|
|
69
102
|
}
|
|
70
103
|
export declare class AccountCoinToken extends AccountCoin {
|
|
71
104
|
constructor(options: AccountConstructorOptions);
|
|
72
105
|
}
|
|
106
|
+
export declare class GasTankAccountCoin extends AccountCoin {
|
|
107
|
+
gasTankLowBalanceAlertFactor: number;
|
|
108
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
109
|
+
constructor(options: GasTankAccountConstructorOptions);
|
|
110
|
+
}
|
|
73
111
|
/**
|
|
74
112
|
* Some blockchains support tokens which are defined by an address at which they have a smart contract deployed.
|
|
75
113
|
* Examples are ERC20 tokens, and the equivalent on other chains.
|
|
@@ -78,6 +116,13 @@ export declare class ContractAddressDefinedToken extends AccountCoinToken {
|
|
|
78
116
|
contractAddress: ContractAddress;
|
|
79
117
|
constructor(options: Erc20ConstructorOptions);
|
|
80
118
|
}
|
|
119
|
+
/**
|
|
120
|
+
* Used for blockchains that support NFT collections.
|
|
121
|
+
*/
|
|
122
|
+
export declare class NFTCollectionIdDefinedToken extends AccountCoinToken {
|
|
123
|
+
nftCollectionId: string;
|
|
124
|
+
constructor(options: NFTCollectionIdConstructorOptions);
|
|
125
|
+
}
|
|
81
126
|
/**
|
|
82
127
|
* ERC20 token addresses are Base58 formatted on some blockchains.
|
|
83
128
|
*/
|
|
@@ -155,6 +200,7 @@ export declare class HederaCoin extends AccountCoinToken {
|
|
|
155
200
|
export declare class HederaToken extends AccountCoinToken {
|
|
156
201
|
nodeAccountId: string;
|
|
157
202
|
tokenId: string;
|
|
203
|
+
contractAddress: string;
|
|
158
204
|
constructor(options: HederaTokenConstructorOptions);
|
|
159
205
|
}
|
|
160
206
|
/**
|
|
@@ -164,8 +210,7 @@ export declare class HederaToken extends AccountCoinToken {
|
|
|
164
210
|
*
|
|
165
211
|
*/
|
|
166
212
|
export declare class AlgoCoin extends AccountCoinToken {
|
|
167
|
-
|
|
168
|
-
constructor(options: AlgoCoinConstructorOptions);
|
|
213
|
+
constructor(options: AccountConstructorOptions);
|
|
169
214
|
}
|
|
170
215
|
/**
|
|
171
216
|
* The Eos network supports tokens
|
|
@@ -175,6 +220,8 @@ export declare class AlgoCoin extends AccountCoinToken {
|
|
|
175
220
|
*/
|
|
176
221
|
export declare class EosCoin extends AccountCoinToken {
|
|
177
222
|
contractName: string;
|
|
223
|
+
contractAddress: string;
|
|
224
|
+
symbol: string;
|
|
178
225
|
constructor(options: EosCoinConstructorOptions);
|
|
179
226
|
}
|
|
180
227
|
/**
|
|
@@ -185,6 +232,8 @@ export declare class EosCoin extends AccountCoinToken {
|
|
|
185
232
|
*/
|
|
186
233
|
export declare class SolCoin extends AccountCoinToken {
|
|
187
234
|
tokenAddress: string;
|
|
235
|
+
contractAddress: string;
|
|
236
|
+
programId: string;
|
|
188
237
|
constructor(options: SolCoinConstructorOptions);
|
|
189
238
|
}
|
|
190
239
|
/**
|
|
@@ -211,6 +260,41 @@ export declare class AvaxERC20Token extends ContractAddressDefinedToken {
|
|
|
211
260
|
export declare class PolygonERC20Token extends ContractAddressDefinedToken {
|
|
212
261
|
constructor(options: Erc20ConstructorOptions);
|
|
213
262
|
}
|
|
263
|
+
/**
|
|
264
|
+
* The Arbitrum Chain network support tokens
|
|
265
|
+
* Arbitrum Chain Tokens are ERC20 tokens
|
|
266
|
+
*/
|
|
267
|
+
export declare class ArbethERC20Token extends ContractAddressDefinedToken {
|
|
268
|
+
constructor(options: Erc20ConstructorOptions);
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* The Optimism Chain network support tokens
|
|
272
|
+
* Optimism Chain Tokens are ERC20 tokens
|
|
273
|
+
*/
|
|
274
|
+
export declare class OpethERC20Token extends ContractAddressDefinedToken {
|
|
275
|
+
constructor(options: Erc20ConstructorOptions);
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* The zkSync network support tokens
|
|
279
|
+
* zkSync Tokens are ERC20 tokens
|
|
280
|
+
*/
|
|
281
|
+
export declare class ZkethERC20Token extends ContractAddressDefinedToken {
|
|
282
|
+
constructor(options: Erc20ConstructorOptions);
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* The Bera Chain network support tokens
|
|
286
|
+
* Bera Chain Tokens are ERC20 tokens
|
|
287
|
+
*/
|
|
288
|
+
export declare class BeraERC20Token extends ContractAddressDefinedToken {
|
|
289
|
+
constructor(options: Erc20ConstructorOptions);
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* The Coredao Chain network support tokens
|
|
293
|
+
* Coredao Chain Tokens are ERC20 tokens
|
|
294
|
+
*/
|
|
295
|
+
export declare class CoredaoERC20Token extends ContractAddressDefinedToken {
|
|
296
|
+
constructor(options: Erc20ConstructorOptions);
|
|
297
|
+
}
|
|
214
298
|
/**
|
|
215
299
|
* The Xrp network supports tokens
|
|
216
300
|
* Xrp tokens are identified by their issuer address
|
|
@@ -221,8 +305,32 @@ export declare class XrpCoin extends AccountCoinToken {
|
|
|
221
305
|
issuerAddress: string;
|
|
222
306
|
currencyCode: string;
|
|
223
307
|
domain: string;
|
|
308
|
+
contractAddress: string;
|
|
224
309
|
constructor(options: XrpCoinConstructorOptions);
|
|
225
310
|
}
|
|
311
|
+
export declare class SuiCoin extends AccountCoinToken {
|
|
312
|
+
packageId: string;
|
|
313
|
+
module: string;
|
|
314
|
+
symbol: string;
|
|
315
|
+
contractAddress: string;
|
|
316
|
+
constructor(options: SuiCoinConstructorOptions);
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* The Apt network supports tokens
|
|
320
|
+
* Apt tokens work similar to native Apt coin, but the token name is determined by
|
|
321
|
+
* the tokenAddress on the chain.
|
|
322
|
+
*
|
|
323
|
+
*/
|
|
324
|
+
export declare class AptCoin extends AccountCoinToken {
|
|
325
|
+
assetId: string;
|
|
326
|
+
constructor(options: AptCoinConstructorOptions);
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* The Apt network supports non-fungible tokens (Digital Asset Standard)
|
|
330
|
+
* Every NFT belongs to an NFT collection.
|
|
331
|
+
*/
|
|
332
|
+
export declare class AptNFTCollection extends NFTCollectionIdDefinedToken {
|
|
333
|
+
}
|
|
226
334
|
/**
|
|
227
335
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
228
336
|
*/
|
|
@@ -233,6 +341,23 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
233
341
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
234
342
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
235
343
|
}
|
|
344
|
+
/**
|
|
345
|
+
* The Stacks network supports tokens
|
|
346
|
+
* Stx tokens work similar to native Stx coin, but the token name is determined by
|
|
347
|
+
* the contractName on the chain.
|
|
348
|
+
*/
|
|
349
|
+
export declare class Sip10Token extends AccountCoinToken {
|
|
350
|
+
assetId: string;
|
|
351
|
+
constructor(options: Sip10TokenConstructorOptions);
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* The Near network supports tokens
|
|
355
|
+
* Near tokens work similar to native near coin
|
|
356
|
+
*/
|
|
357
|
+
export declare class Nep141Token extends AccountCoinToken {
|
|
358
|
+
contractAddress: string;
|
|
359
|
+
constructor(options: Nep141TokenConstructorOptions);
|
|
360
|
+
}
|
|
236
361
|
/**
|
|
237
362
|
* Factory function for account coin instances.
|
|
238
363
|
*
|
|
@@ -249,6 +374,25 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
249
374
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
250
375
|
*/
|
|
251
376
|
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>;
|
|
377
|
+
/**
|
|
378
|
+
* Factory function for gas tank account coin instances.
|
|
379
|
+
*
|
|
380
|
+
* @param id uuid v4
|
|
381
|
+
* @param name unique identifier of the coin
|
|
382
|
+
* @param fullName Complete human-readable name of the coin
|
|
383
|
+
* @param network Network object for this coin
|
|
384
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
385
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
386
|
+
* @param baseUnit
|
|
387
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
388
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
389
|
+
* @param gasTankLowBalanceAlertFactor Low gas tank balance alert threshold = (feeEstimate x gasTankLowBalanceAlertFactor)
|
|
390
|
+
* @param gasTankMinBalanceRecommendationFactor Min gas tank balance recommendation = (feeEstimate x gasTankMinBalanceRecommendationFactor)
|
|
391
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
392
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
393
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
394
|
+
*/
|
|
395
|
+
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): Readonly<GasTankAccountCoin>;
|
|
252
396
|
/**
|
|
253
397
|
* Factory function for erc20 token instances.
|
|
254
398
|
*
|
|
@@ -305,7 +449,7 @@ export declare function erc721(id: string, name: string, fullName: string, contr
|
|
|
305
449
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
306
450
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
307
451
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
308
|
-
* @param network? Optional token network. Defaults to
|
|
452
|
+
* @param network? Optional token network. Defaults to Holesky test network.
|
|
309
453
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
310
454
|
*/
|
|
311
455
|
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 +493,7 @@ export declare function erc1155(id: string, name: string, fullName: string, cont
|
|
|
349
493
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
350
494
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
351
495
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
352
|
-
* @param network? Optional token network. Defaults to
|
|
496
|
+
* @param network? Optional token network. Defaults to Holesky test network.
|
|
353
497
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
354
498
|
*/
|
|
355
499
|
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 +521,11 @@ export declare function erc20CompatibleAccountCoin(id: string, name: string, ful
|
|
|
377
521
|
* @param fullName Complete human-readable name of the token
|
|
378
522
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
379
523
|
* @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
|
|
524
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
525
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
526
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
527
|
+
* @param network ? Optional token network. Defaults to CELO main network.
|
|
528
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
385
529
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
386
530
|
*/
|
|
387
531
|
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 +538,10 @@ export declare function celoToken(id: string, name: string, fullName: string, de
|
|
|
394
538
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
395
539
|
* @param contractAddress Contract address of this token
|
|
396
540
|
* @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
|
|
541
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
542
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
543
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
544
|
+
* @param network ? Optional token network. Defaults to the testnet CELO network.
|
|
401
545
|
*/
|
|
402
546
|
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
547
|
/**
|
|
@@ -511,7 +655,7 @@ export declare function ttronToken(id: string, name: string, fullName: string, d
|
|
|
511
655
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
512
656
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
513
657
|
*/
|
|
514
|
-
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
658
|
+
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
659
|
/**
|
|
516
660
|
* Factory function for Hedera token instances
|
|
517
661
|
*
|
|
@@ -522,13 +666,14 @@ export declare function hederaCoin(id: string, name: string, fullName: string, n
|
|
|
522
666
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
523
667
|
* @param nodeAccountId node account Id from which the transaction will be sent
|
|
524
668
|
* @param tokenId The unique identifier of this token
|
|
669
|
+
* @param contractAddress Contract address of this token, same as tokenId
|
|
525
670
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
526
671
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
527
672
|
* @param network? Optional token network. Defaults to Hedera mainnet.
|
|
528
673
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
529
674
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
530
675
|
*/
|
|
531
|
-
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
676
|
+
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
677
|
/**
|
|
533
678
|
* Factory function for ALGO token instances.
|
|
534
679
|
*
|
|
@@ -539,7 +684,6 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
539
684
|
* @param fullName Complete human-readable name of the token
|
|
540
685
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
541
686
|
* @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
687
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
544
688
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
545
689
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -547,7 +691,7 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
547
691
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
548
692
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
549
693
|
*/
|
|
550
|
-
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
694
|
+
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
695
|
/**
|
|
552
696
|
* Factory function for testnet ALGO token instances.
|
|
553
697
|
*
|
|
@@ -557,14 +701,13 @@ export declare function algoToken(id: string, name: string, alias: string | unde
|
|
|
557
701
|
* @param fullName Complete human-readable name of the token
|
|
558
702
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
559
703
|
* @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
704
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
562
705
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
563
706
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
564
707
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
565
708
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
566
709
|
*/
|
|
567
|
-
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
710
|
+
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
711
|
/**
|
|
569
712
|
* Factory function for eos token instances.
|
|
570
713
|
*
|
|
@@ -573,6 +716,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
573
716
|
* @param fullName Complete human-readable name of the token
|
|
574
717
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
575
718
|
* @param contractName Contract address of this token
|
|
719
|
+
* @param contractAddress Contract address of this token
|
|
576
720
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
577
721
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
578
722
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -580,7 +724,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
580
724
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
581
725
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
582
726
|
*/
|
|
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>;
|
|
727
|
+
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
728
|
/**
|
|
585
729
|
* Factory function for testnet eos token instances.
|
|
586
730
|
*
|
|
@@ -588,14 +732,16 @@ export declare function eosToken(id: string, name: string, fullName: string, dec
|
|
|
588
732
|
* @param name unique identifier of the token
|
|
589
733
|
* @param fullName Complete human-readable name of the token
|
|
590
734
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
735
|
+
* @param contractName Contract address of this token
|
|
591
736
|
* @param contractAddress Contract address of this token
|
|
592
737
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
593
738
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
594
739
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
740
|
+
* @param symbol? token symbol as defined in token contract.
|
|
595
741
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
596
742
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
597
743
|
*/
|
|
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>;
|
|
744
|
+
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
745
|
/**
|
|
600
746
|
* Factory function for sol token instances.
|
|
601
747
|
*
|
|
@@ -604,6 +750,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
604
750
|
* @param fullName Complete human-readable name of the token
|
|
605
751
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
606
752
|
* @param tokenAddress Token address of this token
|
|
753
|
+
* @param contractAddress Contract address of this token
|
|
607
754
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
608
755
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
609
756
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -611,7 +758,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
611
758
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
612
759
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
613
760
|
*/
|
|
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>;
|
|
761
|
+
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
762
|
/**
|
|
616
763
|
* Factory function for testnet solana token instances.
|
|
617
764
|
*
|
|
@@ -626,7 +773,7 @@ export declare function solToken(id: string, name: string, fullName: string, dec
|
|
|
626
773
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
627
774
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
628
775
|
*/
|
|
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>;
|
|
776
|
+
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
777
|
/**
|
|
631
778
|
* Factory function for ada token instances.
|
|
632
779
|
*
|
|
@@ -707,7 +854,7 @@ export declare function tavaxErc20(id: string, name: string, fullName: string, d
|
|
|
707
854
|
*/
|
|
708
855
|
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
856
|
/**
|
|
710
|
-
* Factory function for
|
|
857
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
711
858
|
*
|
|
712
859
|
* @param id uuid v4
|
|
713
860
|
* @param name unique identifier of the token
|
|
@@ -722,6 +869,166 @@ export declare function polygonErc20(id: string, name: string, fullName: string,
|
|
|
722
869
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
723
870
|
*/
|
|
724
871
|
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>;
|
|
872
|
+
/**
|
|
873
|
+
* Factory function for arbethErc20 token instances.
|
|
874
|
+
*
|
|
875
|
+
* @param id uuid v4
|
|
876
|
+
* @param name unique identifier of the token
|
|
877
|
+
* @param fullName Complete human-readable name of the token
|
|
878
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
879
|
+
* @param contractAddress Contract address of this token
|
|
880
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
881
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
882
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
883
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
884
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
885
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
886
|
+
*/
|
|
887
|
+
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>;
|
|
888
|
+
/**
|
|
889
|
+
* Factory function for Arbitrum Sepolia testnet arbethErc20 token instances.
|
|
890
|
+
*
|
|
891
|
+
* @param id uuid v4
|
|
892
|
+
* @param name unique identifier of the token
|
|
893
|
+
* @param fullName Complete human-readable name of the token
|
|
894
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
895
|
+
* @param contractAddress Contract address of this token
|
|
896
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
897
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
898
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
899
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
900
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
901
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
902
|
+
*/
|
|
903
|
+
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>;
|
|
904
|
+
/**
|
|
905
|
+
* Factory function for opethErc20 token instances.
|
|
906
|
+
*
|
|
907
|
+
* @param id uuid v4
|
|
908
|
+
* @param name unique identifier of the token
|
|
909
|
+
* @param fullName Complete human-readable name of the token
|
|
910
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
911
|
+
* @param contractAddress Contract address of this token
|
|
912
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
913
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
914
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
915
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
916
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
917
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
918
|
+
*/
|
|
919
|
+
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>;
|
|
920
|
+
/**
|
|
921
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
922
|
+
*
|
|
923
|
+
* @param id uuid v4
|
|
924
|
+
* @param name unique identifier of the token
|
|
925
|
+
* @param fullName Complete human-readable name of the token
|
|
926
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
927
|
+
* @param contractAddress Contract address of this token
|
|
928
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
929
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
930
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
931
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
932
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
933
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
934
|
+
*/
|
|
935
|
+
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>;
|
|
936
|
+
/**
|
|
937
|
+
* Factory function for zkethErc20 token instances.
|
|
938
|
+
*
|
|
939
|
+
* @param id uuid v4
|
|
940
|
+
* @param name unique identifier of the token
|
|
941
|
+
* @param fullName Complete human-readable name of the token
|
|
942
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
943
|
+
* @param contractAddress Contract address of this token
|
|
944
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
945
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
946
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
947
|
+
* @param network? Optional token network. Defaults to zkSync mainnet network.
|
|
948
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
949
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
950
|
+
*/
|
|
951
|
+
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>;
|
|
952
|
+
/**
|
|
953
|
+
* Factory function for zkSync Sepolia testnet zkethErc20 token instances.
|
|
954
|
+
*
|
|
955
|
+
* @param id uuid v4
|
|
956
|
+
* @param name unique identifier of the token
|
|
957
|
+
* @param fullName Complete human-readable name of the token
|
|
958
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
959
|
+
* @param contractAddress Contract address of this token
|
|
960
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
961
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
962
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
963
|
+
* @param network? Optional token network. Defaults to the zkSync sepolia test network.
|
|
964
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
965
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
966
|
+
*/
|
|
967
|
+
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>;
|
|
968
|
+
/**
|
|
969
|
+
* Factory function for beraErc20 token instances.
|
|
970
|
+
*
|
|
971
|
+
* @param id uuid v4
|
|
972
|
+
* @param name unique identifier of the token
|
|
973
|
+
* @param fullName Complete human-readable name of the token
|
|
974
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
975
|
+
* @param contractAddress Contract address of this token
|
|
976
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
977
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
978
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
979
|
+
* @param network? Optional token network. Defaults to bera mainnet network.
|
|
980
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
981
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
982
|
+
*/
|
|
983
|
+
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>;
|
|
984
|
+
/**
|
|
985
|
+
* Factory function for zkSync Sepolia testnet beraErc20 token instances.
|
|
986
|
+
*
|
|
987
|
+
* @param id uuid v4
|
|
988
|
+
* @param name unique identifier of the token
|
|
989
|
+
* @param fullName Complete human-readable name of the token
|
|
990
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
991
|
+
* @param contractAddress Contract address of this token
|
|
992
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
993
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
994
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
995
|
+
* @param network? Optional token network. Defaults to the bera test network.
|
|
996
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
997
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
998
|
+
*/
|
|
999
|
+
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>;
|
|
1000
|
+
/**
|
|
1001
|
+
* Factory function for CoredaoErc20 token instances.
|
|
1002
|
+
*
|
|
1003
|
+
* @param id uuid v4
|
|
1004
|
+
* @param name unique identifier of the token
|
|
1005
|
+
* @param fullName Complete human-readable name of the token
|
|
1006
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1007
|
+
* @param contractAddress Contract address of this token
|
|
1008
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1009
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1010
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1011
|
+
* @param network? Optional token network. Defaults to coredao mainnet network.
|
|
1012
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1013
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1014
|
+
*/
|
|
1015
|
+
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>;
|
|
1016
|
+
/**
|
|
1017
|
+
* Factory function for coredao testnet coredaoErc20 token instances.
|
|
1018
|
+
*
|
|
1019
|
+
* @param id uuid v4
|
|
1020
|
+
* @param name unique identifier of the token
|
|
1021
|
+
* @param fullName Complete human-readable name of the token
|
|
1022
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1023
|
+
* @param contractAddress Contract address of this token
|
|
1024
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1025
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1026
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1027
|
+
* @param network? Optional token network. Defaults to the coredao test network.
|
|
1028
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1029
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1030
|
+
*/
|
|
1031
|
+
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>;
|
|
725
1032
|
/**
|
|
726
1033
|
* Factory function for xrp token instances.
|
|
727
1034
|
*
|
|
@@ -731,6 +1038,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
731
1038
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
732
1039
|
* @param issuerAddress: The address of the issuer of the token,
|
|
733
1040
|
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1041
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
734
1042
|
* @param domain? the domain of the issuer of the token,
|
|
735
1043
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
736
1044
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
@@ -739,7 +1047,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
739
1047
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
740
1048
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
741
1049
|
*/
|
|
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>;
|
|
1050
|
+
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
1051
|
/**
|
|
744
1052
|
* Factory function for testnet cardano token instances.
|
|
745
1053
|
*
|
|
@@ -749,6 +1057,7 @@ export declare function xrpToken(id: string, name: string, fullName: string, dec
|
|
|
749
1057
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
750
1058
|
* @param issuerAddress: The address of the issuer of the token,
|
|
751
1059
|
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1060
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
752
1061
|
* @param domain? the domain of the issuer of the token,
|
|
753
1062
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
754
1063
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
@@ -756,7 +1065,107 @@ export declare function xrpToken(id: string, name: string, fullName: string, dec
|
|
|
756
1065
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
757
1066
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
758
1067
|
*/
|
|
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>;
|
|
1068
|
+
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>;
|
|
1069
|
+
/**
|
|
1070
|
+
* Factory function for sui token instances.
|
|
1071
|
+
*
|
|
1072
|
+
* @param id uuid v4
|
|
1073
|
+
* @param name unique identifier of the token
|
|
1074
|
+
* @param fullName Complete human-readable name of the token
|
|
1075
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1076
|
+
* @param packageId PackageId of this token
|
|
1077
|
+
* @param module The module of the package with id `packageId`
|
|
1078
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1079
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1080
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1081
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1082
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1083
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1084
|
+
* @param network? Optional token network. Defaults to SUI main network.
|
|
1085
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1086
|
+
*/
|
|
1087
|
+
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>;
|
|
1088
|
+
/**
|
|
1089
|
+
* Factory function for testnet sui token instances.
|
|
1090
|
+
*
|
|
1091
|
+
* @param id uuid v4
|
|
1092
|
+
* @param name unique identifier of the token
|
|
1093
|
+
* @param fullName Complete human-readable name of the token
|
|
1094
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1095
|
+
* @param packageId PackageId of this token
|
|
1096
|
+
* @param module The module of the package with id `packageId`
|
|
1097
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1098
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1099
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1100
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1101
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1102
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1103
|
+
* @param network? Optional token network. Defaults to SUI test network.
|
|
1104
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1105
|
+
*/
|
|
1106
|
+
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>;
|
|
1107
|
+
/**
|
|
1108
|
+
* Factory function for apt 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 assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
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 APT main network.
|
|
1119
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1120
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1121
|
+
*/
|
|
1122
|
+
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>;
|
|
1123
|
+
/**
|
|
1124
|
+
* Factory function for Apt NFT collections.
|
|
1125
|
+
*
|
|
1126
|
+
* @param id uuid v4
|
|
1127
|
+
* @param name unique identifier of the NFT collection
|
|
1128
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1129
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1130
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1131
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1132
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1133
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1134
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1135
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1136
|
+
*/
|
|
1137
|
+
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>;
|
|
1138
|
+
/**
|
|
1139
|
+
* Factory function for testnet apt token instances.
|
|
1140
|
+
*
|
|
1141
|
+
* @param id uuid v4
|
|
1142
|
+
* @param name unique identifier of the token
|
|
1143
|
+
* @param fullName Complete human-readable name of the token
|
|
1144
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1145
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1146
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1147
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1148
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1149
|
+
* @param network Optional token network. Defaults to the testnet APT network.
|
|
1150
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1151
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1152
|
+
*/
|
|
1153
|
+
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>;
|
|
1154
|
+
/**
|
|
1155
|
+
* Factory function for testnet Apt NFT collections.
|
|
1156
|
+
*
|
|
1157
|
+
* @param id uuid v4
|
|
1158
|
+
* @param name unique identifier of the NFT collection
|
|
1159
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1160
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1161
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1162
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1163
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1164
|
+
* @param network Optional token network. Defaults to APT test network.
|
|
1165
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1166
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1167
|
+
*/
|
|
1168
|
+
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
1169
|
/**
|
|
761
1170
|
* Factory function for fiat coin instances.
|
|
762
1171
|
*
|
|
@@ -773,5 +1182,67 @@ export declare function txrpToken(id: string, name: string, fullName: string, de
|
|
|
773
1182
|
* @param isToken? Whether or not this coin is a token of another coin
|
|
774
1183
|
*/
|
|
775
1184
|
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>;
|
|
1185
|
+
/**
|
|
1186
|
+
* Factory function for sip10 token instances.
|
|
1187
|
+
*
|
|
1188
|
+
* @param id uuid v4
|
|
1189
|
+
* @param name unique identifier of the token
|
|
1190
|
+
* @param fullName Complete human-readable name of the token
|
|
1191
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1192
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1193
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1194
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1195
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1196
|
+
* @param network? Optional token network. Defaults to Stacks main network.
|
|
1197
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1198
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1199
|
+
*/
|
|
1200
|
+
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>;
|
|
1201
|
+
/**
|
|
1202
|
+
* Factory function for testnet sip10 token instances.
|
|
1203
|
+
*
|
|
1204
|
+
* @param id uuid v4
|
|
1205
|
+
* @param name unique identifier of the token
|
|
1206
|
+
* @param fullName Complete human-readable name of the token
|
|
1207
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1208
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1209
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1210
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1211
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1212
|
+
* @param network? Optional token network. Defaults to the testnet Stacks network.
|
|
1213
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1214
|
+
*/
|
|
1215
|
+
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>;
|
|
1216
|
+
/**
|
|
1217
|
+
* Factory function for nep141 token instances.
|
|
1218
|
+
*
|
|
1219
|
+
* @param id uuid v4
|
|
1220
|
+
* @param name unique identifier of the token
|
|
1221
|
+
* @param fullName Complete human-readable name of the token
|
|
1222
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1223
|
+
* @param contractAddress Contract address of this token
|
|
1224
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1225
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1226
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1227
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1228
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1229
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1230
|
+
*/
|
|
1231
|
+
export declare function nep141Token(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<Nep141Token>;
|
|
1232
|
+
/**
|
|
1233
|
+
* Factory function for testnet nep141 token instances.
|
|
1234
|
+
*
|
|
1235
|
+
* @param id uuid v4
|
|
1236
|
+
* @param name unique identifier of the token
|
|
1237
|
+
* @param fullName Complete human-readable name of the token
|
|
1238
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1239
|
+
* @param contractAddress Contract address of this token
|
|
1240
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1241
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1242
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1243
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1244
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1245
|
+
*/
|
|
1246
|
+
export declare function tnep141Token(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<Nep141Token>;
|
|
776
1247
|
export {};
|
|
777
1248
|
//# sourceMappingURL=account.d.ts.map
|