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