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