@bitgo-beta/statics 10.0.1-alpha.21 → 10.0.1-alpha.211
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 +2369 -0
- package/dist/src/account.d.ts +325 -36
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +499 -53
- package/dist/src/ada.d.ts +3 -1
- package/dist/src/ada.d.ts.map +1 -1
- package/dist/src/ada.js +6 -2
- package/dist/src/avaxp.d.ts +3 -1
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +7 -2
- package/dist/src/base.d.ts +1090 -23
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +1145 -37
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +2712 -1295
- package/dist/src/constants.d.ts +2 -0
- package/dist/src/constants.d.ts.map +1 -0
- package/dist/src/constants.js +5 -0
- package/dist/src/errors.d.ts +6 -0
- package/dist/src/errors.d.ts.map +1 -1
- package/dist/src/errors.js +16 -2
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +11 -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 +2 -0
- package/dist/src/map.d.ts.map +1 -1
- package/dist/src/map.js +26 -3
- package/dist/src/networks.d.ts +367 -4
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +513 -46
- package/dist/src/ofc.d.ts +189 -8
- package/dist/src/ofc.d.ts.map +1 -1
- package/dist/src/ofc.js +378 -10
- package/dist/src/tokenConfig.d.ts +60 -12
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +125 -2
- package/dist/src/utxo.d.ts +6 -2
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +72 -3
- package/dist/tsconfig.tsbuildinfo +1 -2717
- package/package.json +2 -2
- package/dist/resources/dot/index.d.ts +0 -3
- package/dist/resources/dot/index.d.ts.map +0 -1
- package/dist/resources/dot/index.js +0 -15
- package/dist/resources/dot/mainnet.d.ts +0 -2
- package/dist/resources/dot/mainnet.d.ts.map +0 -1
- package/dist/resources/dot/mainnet.js +0 -5
- package/dist/resources/dot/westend.d.ts +0 -2
- package/dist/resources/dot/westend.d.ts.map +0 -1
- package/dist/resources/dot/westend.js +0 -5
- package/resources/dot/index.ts +0 -2
- package/resources/dot/mainnet.ts +0 -2
- package/resources/dot/westend.ts +0 -2
package/dist/src/account.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BaseCoin, BaseUnit, CoinFeature, KeyCurve, UnderlyingAsset } from './base';
|
|
2
2
|
import { AccountNetwork, BaseNetwork, EthereumNetwork, TronNetwork } from './networks';
|
|
3
3
|
export interface AccountConstructorOptions {
|
|
4
|
+
id: string;
|
|
4
5
|
fullName: string;
|
|
5
6
|
name: string;
|
|
6
7
|
alias?: string;
|
|
@@ -54,7 +55,17 @@ export interface AdaCoinConstructorOptions extends AccountConstructorOptions {
|
|
|
54
55
|
policyId: string;
|
|
55
56
|
assetName: string;
|
|
56
57
|
}
|
|
57
|
-
|
|
58
|
+
export interface XrpCoinConstructorOptions extends AccountConstructorOptions {
|
|
59
|
+
issuerAddress: string;
|
|
60
|
+
currencyCode: string;
|
|
61
|
+
domain: string;
|
|
62
|
+
}
|
|
63
|
+
export interface SuiCoinConstructorOptions extends AccountConstructorOptions {
|
|
64
|
+
packageId: string;
|
|
65
|
+
module: string;
|
|
66
|
+
symbol: string;
|
|
67
|
+
}
|
|
68
|
+
type FiatCoinName = `fiat${string}` | `tfiat${string}`;
|
|
58
69
|
export interface FiatCoinConstructorOptions extends AccountConstructorOptions {
|
|
59
70
|
name: FiatCoinName;
|
|
60
71
|
}
|
|
@@ -205,6 +216,52 @@ export declare class AvaxERC20Token extends ContractAddressDefinedToken {
|
|
|
205
216
|
export declare class PolygonERC20Token extends ContractAddressDefinedToken {
|
|
206
217
|
constructor(options: Erc20ConstructorOptions);
|
|
207
218
|
}
|
|
219
|
+
/**
|
|
220
|
+
* The Arbitrum Chain network support tokens
|
|
221
|
+
* Arbitrum Chain Tokens are ERC20 tokens
|
|
222
|
+
*/
|
|
223
|
+
export declare class ArbethERC20Token extends ContractAddressDefinedToken {
|
|
224
|
+
constructor(options: Erc20ConstructorOptions);
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* The Optimism Chain network support tokens
|
|
228
|
+
* Optimism Chain Tokens are ERC20 tokens
|
|
229
|
+
*/
|
|
230
|
+
export declare class OpethERC20Token extends ContractAddressDefinedToken {
|
|
231
|
+
constructor(options: Erc20ConstructorOptions);
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* The zkSync network support tokens
|
|
235
|
+
* zkSync Tokens are ERC20 tokens
|
|
236
|
+
*/
|
|
237
|
+
export declare class ZkethERC20Token extends ContractAddressDefinedToken {
|
|
238
|
+
constructor(options: Erc20ConstructorOptions);
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* The Bera Chain network support tokens
|
|
242
|
+
* Bera Chain Tokens are ERC20 tokens
|
|
243
|
+
*/
|
|
244
|
+
export declare class BeraERC20Token extends ContractAddressDefinedToken {
|
|
245
|
+
constructor(options: Erc20ConstructorOptions);
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* The Xrp network supports tokens
|
|
249
|
+
* Xrp tokens are identified by their issuer address
|
|
250
|
+
* Naming format is similar to XLM
|
|
251
|
+
* <network>:<token>-<issuer>
|
|
252
|
+
*/
|
|
253
|
+
export declare class XrpCoin extends AccountCoinToken {
|
|
254
|
+
issuerAddress: string;
|
|
255
|
+
currencyCode: string;
|
|
256
|
+
domain: string;
|
|
257
|
+
constructor(options: XrpCoinConstructorOptions);
|
|
258
|
+
}
|
|
259
|
+
export declare class SuiCoin extends AccountCoinToken {
|
|
260
|
+
packageId: string;
|
|
261
|
+
module: string;
|
|
262
|
+
symbol: string;
|
|
263
|
+
constructor(options: SuiCoinConstructorOptions);
|
|
264
|
+
}
|
|
208
265
|
/**
|
|
209
266
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
210
267
|
*/
|
|
@@ -218,6 +275,7 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
218
275
|
/**
|
|
219
276
|
* Factory function for account coin instances.
|
|
220
277
|
*
|
|
278
|
+
* @param id uuid v4
|
|
221
279
|
* @param name unique identifier of the coin
|
|
222
280
|
* @param fullName Complete human-readable name of the coin
|
|
223
281
|
* @param network Network object for this coin
|
|
@@ -229,10 +287,11 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
229
287
|
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
230
288
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
231
289
|
*/
|
|
232
|
-
export declare function account(name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset, baseUnit: BaseUnit, features?: CoinFeature[], primaryKeyCurve?: KeyCurve, prefix?: string, suffix?: string, isToken?: boolean): Readonly<AccountCoin>;
|
|
290
|
+
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>;
|
|
233
291
|
/**
|
|
234
292
|
* Factory function for erc20 token instances.
|
|
235
293
|
*
|
|
294
|
+
* @param id uuid v4
|
|
236
295
|
* @param name unique identifier of the token
|
|
237
296
|
* @param fullName Complete human-readable name of the token
|
|
238
297
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -244,10 +303,11 @@ export declare function account(name: string, fullName: string, network: Account
|
|
|
244
303
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
245
304
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
246
305
|
*/
|
|
247
|
-
export declare function erc20(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc20Coin>;
|
|
306
|
+
export declare function erc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc20Coin>;
|
|
248
307
|
/**
|
|
249
308
|
* Factory function for testnet erc20 token instances.
|
|
250
309
|
*
|
|
310
|
+
* @param id uuid v4
|
|
251
311
|
* @param name unique identifier of the token
|
|
252
312
|
* @param fullName Complete human-readable name of the token
|
|
253
313
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -258,10 +318,11 @@ export declare function erc20(name: string, fullName: string, decimalPlaces: num
|
|
|
258
318
|
* @param network? Optional token network. Defaults to the Kovan test network.
|
|
259
319
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
260
320
|
*/
|
|
261
|
-
export declare function terc20(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork): Readonly<Erc20Coin>;
|
|
321
|
+
export declare function terc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork): Readonly<Erc20Coin>;
|
|
262
322
|
/**
|
|
263
323
|
* Factory function for erc721 token instances.
|
|
264
324
|
*
|
|
325
|
+
* @param id uuid v4
|
|
265
326
|
* @param name unique identifier of the token
|
|
266
327
|
* @param fullName Complete human-readable name of the token
|
|
267
328
|
* @param contractAddress Contract address of this token
|
|
@@ -272,23 +333,25 @@ export declare function terc20(name: string, fullName: string, decimalPlaces: nu
|
|
|
272
333
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
273
334
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
274
335
|
*/
|
|
275
|
-
export declare function erc721(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
336
|
+
export declare function erc721(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
276
337
|
/**
|
|
277
338
|
* Factory function for testnet erc721 token instances.
|
|
278
339
|
*
|
|
340
|
+
* @param id uuid v4
|
|
279
341
|
* @param name unique identifier of the token
|
|
280
342
|
* @param fullName Complete human-readable name of the token
|
|
281
343
|
* @param contractAddress Contract address of this token
|
|
282
344
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
283
345
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
284
346
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
285
|
-
* @param network? Optional token network. Defaults to
|
|
347
|
+
* @param network? Optional token network. Defaults to Holesky test network.
|
|
286
348
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
287
349
|
*/
|
|
288
|
-
export declare function terc721(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
350
|
+
export declare function terc721(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
289
351
|
/**
|
|
290
352
|
* Factory function for nonstandard token instances.
|
|
291
353
|
*
|
|
354
|
+
* @param id uuid v4
|
|
292
355
|
* @param name unique identifier of the token
|
|
293
356
|
* @param fullName Complete human-readable name of the token
|
|
294
357
|
* @param contractAddress Contract address of this token
|
|
@@ -299,10 +362,11 @@ export declare function terc721(name: string, fullName: string, contractAddress:
|
|
|
299
362
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
300
363
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
301
364
|
*/
|
|
302
|
-
export declare function nonstandardToken(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<ContractAddressDefinedToken>;
|
|
365
|
+
export declare function nonstandardToken(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<ContractAddressDefinedToken>;
|
|
303
366
|
/**
|
|
304
367
|
* Factory function for erc1155 token instances.
|
|
305
368
|
*
|
|
369
|
+
* @param id uuid v4
|
|
306
370
|
* @param name unique identifier of the token
|
|
307
371
|
* @param fullName Complete human-readable name of the token
|
|
308
372
|
* @param contractAddress Contract address of this token
|
|
@@ -313,23 +377,25 @@ export declare function nonstandardToken(name: string, fullName: string, contrac
|
|
|
313
377
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
314
378
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
315
379
|
*/
|
|
316
|
-
export declare function erc1155(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
380
|
+
export declare function erc1155(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
317
381
|
/**
|
|
318
382
|
* Factory function for testnet erc1155 token instances.
|
|
319
383
|
*
|
|
384
|
+
* @param id uuid v4
|
|
320
385
|
* @param name unique identifier of the token
|
|
321
386
|
* @param fullName Complete human-readable name of the token
|
|
322
387
|
* @param contractAddress Contract address of this token
|
|
323
388
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
324
389
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
325
390
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
326
|
-
* @param network? Optional token network. Defaults to
|
|
391
|
+
* @param network? Optional token network. Defaults to Holesky test network.
|
|
327
392
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
328
393
|
*/
|
|
329
|
-
export declare function terc1155(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
394
|
+
export declare function terc1155(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
330
395
|
/**
|
|
331
396
|
* Factory function for ERC20-compatible account coin instances.
|
|
332
397
|
*
|
|
398
|
+
* @param id uuid v4
|
|
333
399
|
* @param name unique identifier of the token
|
|
334
400
|
* @param fullName Complete human-readable name of the token
|
|
335
401
|
* @param network Network object for this coin
|
|
@@ -341,10 +407,11 @@ export declare function terc1155(name: string, fullName: string, contractAddress
|
|
|
341
407
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
342
408
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
343
409
|
*/
|
|
344
|
-
export declare function erc20CompatibleAccountCoin(name: string, fullName: string, network: EthereumNetwork, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, baseUnit: BaseUnit, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<Erc20CompatibleAccountCoin>;
|
|
410
|
+
export declare function erc20CompatibleAccountCoin(id: string, name: string, fullName: string, network: EthereumNetwork, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, baseUnit: BaseUnit, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<Erc20CompatibleAccountCoin>;
|
|
345
411
|
/**
|
|
346
412
|
* Factory function for celo token instances.
|
|
347
413
|
*
|
|
414
|
+
* @param id uuid v4
|
|
348
415
|
* @param name unique identifier of the token
|
|
349
416
|
* @param fullName Complete human-readable name of the token
|
|
350
417
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -356,10 +423,11 @@ export declare function erc20CompatibleAccountCoin(name: string, fullName: strin
|
|
|
356
423
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
357
424
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
358
425
|
*/
|
|
359
|
-
export declare function celoToken(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<CeloCoin>;
|
|
426
|
+
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>;
|
|
360
427
|
/**
|
|
361
428
|
* Factory function for testnet celo token instances.
|
|
362
429
|
*
|
|
430
|
+
* @param id uuid v4
|
|
363
431
|
* @param name unique identifier of the token
|
|
364
432
|
* @param fullName Complete human-readable name of the token
|
|
365
433
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -370,10 +438,11 @@ export declare function celoToken(name: string, fullName: string, decimalPlaces:
|
|
|
370
438
|
* @param network? Optional token network. Defaults to the testnet CELO network.
|
|
371
439
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
372
440
|
*/
|
|
373
|
-
export declare function tceloToken(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork): Readonly<CeloCoin>;
|
|
441
|
+
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>;
|
|
374
442
|
/**
|
|
375
443
|
* Factory function for celo token instances.
|
|
376
444
|
*
|
|
445
|
+
* @param id uuid v4
|
|
377
446
|
* @param name unique identifier of the token
|
|
378
447
|
* @param fullName Complete human-readable name of the token
|
|
379
448
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -385,10 +454,11 @@ export declare function tceloToken(name: string, fullName: string, decimalPlaces
|
|
|
385
454
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
386
455
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
387
456
|
*/
|
|
388
|
-
export declare function bscToken(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<BscCoin>;
|
|
457
|
+
export declare function bscToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<BscCoin>;
|
|
389
458
|
/**
|
|
390
459
|
* Factory function for testnet bsc token instances.
|
|
391
460
|
*
|
|
461
|
+
* @param id uuid v4
|
|
392
462
|
* @param name unique identifier of the token
|
|
393
463
|
* @param fullName Complete human-readable name of the token
|
|
394
464
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -399,10 +469,11 @@ export declare function bscToken(name: string, fullName: string, decimalPlaces:
|
|
|
399
469
|
* @param network? Optional token network. Defaults to the testnet BSC network.
|
|
400
470
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
401
471
|
*/
|
|
402
|
-
export declare function tbscToken(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork): Readonly<BscCoin>;
|
|
472
|
+
export declare function tbscToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork): Readonly<BscCoin>;
|
|
403
473
|
/**
|
|
404
474
|
* Factory function for Stellar token instances.
|
|
405
475
|
*
|
|
476
|
+
* @param id uuid v4
|
|
406
477
|
* @param name unique identifier of the token
|
|
407
478
|
* @param fullName Complete human-readable name of the token
|
|
408
479
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -415,10 +486,11 @@ export declare function tbscToken(name: string, fullName: string, decimalPlaces:
|
|
|
415
486
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
416
487
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
417
488
|
*/
|
|
418
|
-
export declare function stellarToken(name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, domain?: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<StellarCoin>;
|
|
489
|
+
export declare function stellarToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, domain?: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<StellarCoin>;
|
|
419
490
|
/**
|
|
420
491
|
* Factory function for testnet Stellar token instances.
|
|
421
492
|
*
|
|
493
|
+
* @param id uuid v4
|
|
422
494
|
* @param name unique identifier of the token
|
|
423
495
|
* @param fullName Complete human-readable name of the token
|
|
424
496
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -430,10 +502,11 @@ export declare function stellarToken(name: string, fullName: string, decimalPlac
|
|
|
430
502
|
* @param network? Optional token network. Defaults to Stellar testnet.
|
|
431
503
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
432
504
|
*/
|
|
433
|
-
export declare function tstellarToken(name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, domain?: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<StellarCoin>;
|
|
505
|
+
export declare function tstellarToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, domain?: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<StellarCoin>;
|
|
434
506
|
/**
|
|
435
507
|
* Factory function for tron token instances.
|
|
436
508
|
*
|
|
509
|
+
* @param id uuid v4
|
|
437
510
|
* @param name unique identifier of the token
|
|
438
511
|
* @param fullName Complete human-readable name of the token
|
|
439
512
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -445,10 +518,11 @@ export declare function tstellarToken(name: string, fullName: string, decimalPla
|
|
|
445
518
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
446
519
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
447
520
|
*/
|
|
448
|
-
export declare function tronToken(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: TronNetwork, primaryKeyCurve?: KeyCurve): Readonly<TronErc20Coin>;
|
|
521
|
+
export declare function tronToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: TronNetwork, primaryKeyCurve?: KeyCurve): Readonly<TronErc20Coin>;
|
|
449
522
|
/**
|
|
450
523
|
* Factory function for testnet tron token instances.
|
|
451
524
|
*
|
|
525
|
+
* @param id uuid v4
|
|
452
526
|
* @param name unique identifier of the token
|
|
453
527
|
* @param fullName Complete human-readable name of the token
|
|
454
528
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -460,10 +534,11 @@ export declare function tronToken(name: string, fullName: string, decimalPlaces:
|
|
|
460
534
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
461
535
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
462
536
|
*/
|
|
463
|
-
export declare function ttronToken(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: TronNetwork, primaryKeyCurve?: KeyCurve): Readonly<TronErc20Coin>;
|
|
537
|
+
export declare function ttronToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: TronNetwork, primaryKeyCurve?: KeyCurve): Readonly<TronErc20Coin>;
|
|
464
538
|
/**
|
|
465
539
|
* Factory function for Hedera coin instances
|
|
466
540
|
*
|
|
541
|
+
* @param id uuid v4
|
|
467
542
|
* @param name unique identifier of the coin
|
|
468
543
|
* @param fullName Complete human-readable name of the token
|
|
469
544
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -475,10 +550,11 @@ export declare function ttronToken(name: string, fullName: string, decimalPlaces
|
|
|
475
550
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
476
551
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
477
552
|
*/
|
|
478
|
-
export declare function hederaCoin(name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset, nodeAccountId?: string, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<HederaCoin>;
|
|
553
|
+
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset, nodeAccountId?: string, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<HederaCoin>;
|
|
479
554
|
/**
|
|
480
555
|
* Factory function for Hedera token instances
|
|
481
556
|
*
|
|
557
|
+
* @param id uuid v4
|
|
482
558
|
* @param name unique identifier of the coin
|
|
483
559
|
* @param fullName Complete human-readable name of the token
|
|
484
560
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -491,11 +567,13 @@ export declare function hederaCoin(name: string, fullName: string, network: Acco
|
|
|
491
567
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
492
568
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
493
569
|
*/
|
|
494
|
-
export declare function hederaToken(name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset, nodeAccountId: string | undefined, tokenId: string, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<HederaToken>;
|
|
570
|
+
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset, nodeAccountId: string | undefined, tokenId: string, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<HederaToken>;
|
|
495
571
|
/**
|
|
496
572
|
* Factory function for ALGO token instances.
|
|
497
573
|
*
|
|
574
|
+
* @param id uuid v4
|
|
498
575
|
* @param name unique identifier of the token
|
|
576
|
+
|
|
499
577
|
* @param alias (optional) alternative identifier of the token
|
|
500
578
|
* @param fullName Complete human-readable name of the token
|
|
501
579
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -508,10 +586,11 @@ export declare function hederaToken(name: string, fullName: string, network: Acc
|
|
|
508
586
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
509
587
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
510
588
|
*/
|
|
511
|
-
export declare function algoToken(name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, tokenURL?: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AlgoCoin>;
|
|
589
|
+
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, tokenURL?: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AlgoCoin>;
|
|
512
590
|
/**
|
|
513
591
|
* Factory function for testnet ALGO token instances.
|
|
514
592
|
*
|
|
593
|
+
* @param id uuid v4
|
|
515
594
|
* @param name unique identifier of the token
|
|
516
595
|
* @param alias (optional) alternative identifier of the token
|
|
517
596
|
* @param fullName Complete human-readable name of the token
|
|
@@ -524,10 +603,11 @@ export declare function algoToken(name: string, alias: string | undefined, fullN
|
|
|
524
603
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
525
604
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
526
605
|
*/
|
|
527
|
-
export declare function talgoToken(name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, tokenURL?: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<AlgoCoin>;
|
|
606
|
+
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, tokenURL?: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<AlgoCoin>;
|
|
528
607
|
/**
|
|
529
608
|
* Factory function for eos token instances.
|
|
530
609
|
*
|
|
610
|
+
* @param id uuid v4
|
|
531
611
|
* @param name unique identifier of the token
|
|
532
612
|
* @param fullName Complete human-readable name of the token
|
|
533
613
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -539,10 +619,11 @@ export declare function talgoToken(name: string, alias: string | undefined, full
|
|
|
539
619
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
540
620
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
541
621
|
*/
|
|
542
|
-
export declare function eosToken(name: string, fullName: string, decimalPlaces: number, contractName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<EosCoin>;
|
|
622
|
+
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>;
|
|
543
623
|
/**
|
|
544
624
|
* Factory function for testnet eos token instances.
|
|
545
625
|
*
|
|
626
|
+
* @param id uuid v4
|
|
546
627
|
* @param name unique identifier of the token
|
|
547
628
|
* @param fullName Complete human-readable name of the token
|
|
548
629
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -553,10 +634,11 @@ export declare function eosToken(name: string, fullName: string, decimalPlaces:
|
|
|
553
634
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
554
635
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
555
636
|
*/
|
|
556
|
-
export declare function teosToken(name: string, fullName: string, decimalPlaces: number, contractName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<EosCoin>;
|
|
637
|
+
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>;
|
|
557
638
|
/**
|
|
558
639
|
* Factory function for sol token instances.
|
|
559
640
|
*
|
|
641
|
+
* @param id uuid v4
|
|
560
642
|
* @param name unique identifier of the token
|
|
561
643
|
* @param fullName Complete human-readable name of the token
|
|
562
644
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -568,10 +650,11 @@ export declare function teosToken(name: string, fullName: string, decimalPlaces:
|
|
|
568
650
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
569
651
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
570
652
|
*/
|
|
571
|
-
export declare function solToken(name: string, fullName: string, decimalPlaces: number, tokenAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<SolCoin>;
|
|
653
|
+
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>;
|
|
572
654
|
/**
|
|
573
655
|
* Factory function for testnet solana token instances.
|
|
574
656
|
*
|
|
657
|
+
* @param id uuid v4
|
|
575
658
|
* @param name unique identifier of the token
|
|
576
659
|
* @param fullName Complete human-readable name of the token
|
|
577
660
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -582,10 +665,11 @@ export declare function solToken(name: string, fullName: string, decimalPlaces:
|
|
|
582
665
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
583
666
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
584
667
|
*/
|
|
585
|
-
export declare function tsolToken(name: string, fullName: string, decimalPlaces: number, tokenAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<SolCoin>;
|
|
668
|
+
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>;
|
|
586
669
|
/**
|
|
587
670
|
* Factory function for ada token instances.
|
|
588
671
|
*
|
|
672
|
+
* @param id uuid v4
|
|
589
673
|
* @param name unique identifier of the token
|
|
590
674
|
* @param fullName Complete human-readable name of the token
|
|
591
675
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -597,10 +681,11 @@ export declare function tsolToken(name: string, fullName: string, decimalPlaces:
|
|
|
597
681
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
598
682
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
599
683
|
*/
|
|
600
|
-
export declare function adaToken(name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AdaCoin>;
|
|
684
|
+
export declare function adaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AdaCoin>;
|
|
601
685
|
/**
|
|
602
686
|
* Factory function for testnet cardano token instances.
|
|
603
687
|
*
|
|
688
|
+
* @param id uuid v4
|
|
604
689
|
* @param name unique identifier of the token
|
|
605
690
|
* @param fullName Complete human-readable name of the token
|
|
606
691
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -611,10 +696,11 @@ export declare function adaToken(name: string, fullName: string, decimalPlaces:
|
|
|
611
696
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
612
697
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
613
698
|
*/
|
|
614
|
-
export declare function tadaToken(name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<AdaCoin>;
|
|
699
|
+
export declare function tadaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<AdaCoin>;
|
|
615
700
|
/**
|
|
616
701
|
* Factory function for avaxErc20 token instances.
|
|
617
702
|
*
|
|
703
|
+
* @param id uuid v4
|
|
618
704
|
* @param name unique identifier of the token
|
|
619
705
|
* @param fullName Complete human-readable name of the token
|
|
620
706
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -626,10 +712,11 @@ export declare function tadaToken(name: string, fullName: string, decimalPlaces:
|
|
|
626
712
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
627
713
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
628
714
|
*/
|
|
629
|
-
export declare function avaxErc20(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AvaxERC20Token>;
|
|
715
|
+
export declare function avaxErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AvaxERC20Token>;
|
|
630
716
|
/**
|
|
631
717
|
* Factory function for testnet avaxErc20 token instances.
|
|
632
718
|
*
|
|
719
|
+
* @param id uuid v4
|
|
633
720
|
* @param name unique identifier of the token
|
|
634
721
|
* @param fullName Complete human-readable name of the token
|
|
635
722
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -641,10 +728,11 @@ export declare function avaxErc20(name: string, fullName: string, decimalPlaces:
|
|
|
641
728
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
642
729
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
643
730
|
*/
|
|
644
|
-
export declare function tavaxErc20(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AvaxERC20Token>;
|
|
731
|
+
export declare function tavaxErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AvaxERC20Token>;
|
|
645
732
|
/**
|
|
646
733
|
* Factory function for polygonErc20 token instances.
|
|
647
734
|
*
|
|
735
|
+
* @param id uuid v4
|
|
648
736
|
* @param name unique identifier of the token
|
|
649
737
|
* @param fullName Complete human-readable name of the token
|
|
650
738
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -656,10 +744,11 @@ export declare function tavaxErc20(name: string, fullName: string, decimalPlaces
|
|
|
656
744
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
657
745
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
658
746
|
*/
|
|
659
|
-
export declare function polygonErc20(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<PolygonERC20Token>;
|
|
747
|
+
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>;
|
|
660
748
|
/**
|
|
661
|
-
* Factory function for
|
|
749
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
662
750
|
*
|
|
751
|
+
* @param id uuid v4
|
|
663
752
|
* @param name unique identifier of the token
|
|
664
753
|
* @param fullName Complete human-readable name of the token
|
|
665
754
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -671,10 +760,210 @@ export declare function polygonErc20(name: string, fullName: string, decimalPlac
|
|
|
671
760
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
672
761
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
673
762
|
*/
|
|
674
|
-
export declare function tpolygonErc20(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<PolygonERC20Token>;
|
|
763
|
+
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>;
|
|
764
|
+
/**
|
|
765
|
+
* Factory function for arbethErc20 token instances.
|
|
766
|
+
*
|
|
767
|
+
* @param id uuid v4
|
|
768
|
+
* @param name unique identifier of the token
|
|
769
|
+
* @param fullName Complete human-readable name of the token
|
|
770
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
771
|
+
* @param contractAddress Contract address of this token
|
|
772
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
773
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
774
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
775
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
776
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
777
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
778
|
+
*/
|
|
779
|
+
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>;
|
|
780
|
+
/**
|
|
781
|
+
* Factory function for Arbitrum Sepolia testnet arbethErc20 token instances.
|
|
782
|
+
*
|
|
783
|
+
* @param id uuid v4
|
|
784
|
+
* @param name unique identifier of the token
|
|
785
|
+
* @param fullName Complete human-readable name of the token
|
|
786
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
787
|
+
* @param contractAddress Contract address of this token
|
|
788
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
789
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
790
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
791
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
792
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
793
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
794
|
+
*/
|
|
795
|
+
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>;
|
|
796
|
+
/**
|
|
797
|
+
* Factory function for opethErc20 token instances.
|
|
798
|
+
*
|
|
799
|
+
* @param id uuid v4
|
|
800
|
+
* @param name unique identifier of the token
|
|
801
|
+
* @param fullName Complete human-readable name of the token
|
|
802
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
803
|
+
* @param contractAddress Contract address of this token
|
|
804
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
805
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
806
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
807
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
808
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
809
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
810
|
+
*/
|
|
811
|
+
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>;
|
|
812
|
+
/**
|
|
813
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
814
|
+
*
|
|
815
|
+
* @param id uuid v4
|
|
816
|
+
* @param name unique identifier of the token
|
|
817
|
+
* @param fullName Complete human-readable name of the token
|
|
818
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
819
|
+
* @param contractAddress Contract address of this token
|
|
820
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
821
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
822
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
823
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
824
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
825
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
826
|
+
*/
|
|
827
|
+
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>;
|
|
828
|
+
/**
|
|
829
|
+
* Factory function for zkethErc20 token instances.
|
|
830
|
+
*
|
|
831
|
+
* @param id uuid v4
|
|
832
|
+
* @param name unique identifier of the token
|
|
833
|
+
* @param fullName Complete human-readable name of the token
|
|
834
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
835
|
+
* @param contractAddress Contract address of this token
|
|
836
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
837
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
838
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
839
|
+
* @param network? Optional token network. Defaults to zkSync mainnet network.
|
|
840
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
841
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
842
|
+
*/
|
|
843
|
+
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>;
|
|
844
|
+
/**
|
|
845
|
+
* Factory function for zkSync Sepolia testnet zkethErc20 token instances.
|
|
846
|
+
*
|
|
847
|
+
* @param id uuid v4
|
|
848
|
+
* @param name unique identifier of the token
|
|
849
|
+
* @param fullName Complete human-readable name of the token
|
|
850
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
851
|
+
* @param contractAddress Contract address of this token
|
|
852
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
853
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
854
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
855
|
+
* @param network? Optional token network. Defaults to the zkSync sepolia test network.
|
|
856
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
857
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
858
|
+
*/
|
|
859
|
+
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>;
|
|
860
|
+
/**
|
|
861
|
+
* Factory function for beraErc20 token instances.
|
|
862
|
+
*
|
|
863
|
+
* @param id uuid v4
|
|
864
|
+
* @param name unique identifier of the token
|
|
865
|
+
* @param fullName Complete human-readable name of the token
|
|
866
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
867
|
+
* @param contractAddress Contract address of this token
|
|
868
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
869
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
870
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
871
|
+
* @param network? Optional token network. Defaults to bera mainnet network.
|
|
872
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
873
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
874
|
+
*/
|
|
875
|
+
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>;
|
|
876
|
+
/**
|
|
877
|
+
* Factory function for zkSync Sepolia testnet beraErc20 token instances.
|
|
878
|
+
*
|
|
879
|
+
* @param id uuid v4
|
|
880
|
+
* @param name unique identifier of the token
|
|
881
|
+
* @param fullName Complete human-readable name of the token
|
|
882
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
883
|
+
* @param contractAddress Contract address of this token
|
|
884
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
885
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
886
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
887
|
+
* @param network? Optional token network. Defaults to the bera test network.
|
|
888
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
889
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
890
|
+
*/
|
|
891
|
+
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>;
|
|
892
|
+
/**
|
|
893
|
+
* Factory function for xrp token instances.
|
|
894
|
+
*
|
|
895
|
+
* @param id uuid v4
|
|
896
|
+
* @param name unique identifier of the token
|
|
897
|
+
* @param fullName Complete human-readable name of the token
|
|
898
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
899
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
900
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
901
|
+
* @param domain? the domain of the issuer of the token,
|
|
902
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
903
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
904
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
905
|
+
* @param network? Optional token network. Defaults to Cardano main network.
|
|
906
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
907
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
908
|
+
*/
|
|
909
|
+
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>;
|
|
910
|
+
/**
|
|
911
|
+
* Factory function for testnet cardano token instances.
|
|
912
|
+
*
|
|
913
|
+
* @param id uuid v4
|
|
914
|
+
* @param name unique identifier of the token
|
|
915
|
+
* @param fullName Complete human-readable name of the token
|
|
916
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
917
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
918
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
919
|
+
* @param domain? the domain of the issuer of the token,
|
|
920
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
921
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
922
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
923
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
924
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
925
|
+
*/
|
|
926
|
+
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>;
|
|
927
|
+
/**
|
|
928
|
+
* Factory function for sui token instances.
|
|
929
|
+
*
|
|
930
|
+
* @param id uuid v4
|
|
931
|
+
* @param name unique identifier of the token
|
|
932
|
+
* @param fullName Complete human-readable name of the token
|
|
933
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
934
|
+
* @param packageId PackageId of this token
|
|
935
|
+
* @param module The module of the package with id `packageId`
|
|
936
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
937
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
938
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
939
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
940
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
941
|
+
* @param network? Optional token network. Defaults to SUI main network.
|
|
942
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
943
|
+
*/
|
|
944
|
+
export declare function suiToken(id: string, name: string, fullName: string, decimalPlaces: number, packageId: string, module: string, symbol: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<SuiCoin>;
|
|
945
|
+
/**
|
|
946
|
+
* Factory function for testnet sui token instances.
|
|
947
|
+
*
|
|
948
|
+
* @param id uuid v4
|
|
949
|
+
* @param name unique identifier of the token
|
|
950
|
+
* @param fullName Complete human-readable name of the token
|
|
951
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
952
|
+
* @param packageId PackageId of this token
|
|
953
|
+
* @param module The module of the package with id `packageId`
|
|
954
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
955
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
956
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
957
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
958
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
959
|
+
* @param network? Optional token network. Defaults to SUI test network.
|
|
960
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
961
|
+
*/
|
|
962
|
+
export declare function tsuiToken(id: string, name: string, fullName: string, decimalPlaces: number, packageId: string, module: string, symbol: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<SuiCoin>;
|
|
675
963
|
/**
|
|
676
964
|
* Factory function for fiat coin instances.
|
|
677
965
|
*
|
|
966
|
+
* @param id uuid v4
|
|
678
967
|
* @param name unique identifier of the coin, should start with 'fiat' or 'tfiat' followed by the 3-char ISO-4217 alphabetical code
|
|
679
968
|
* @param fullName Complete human-readable name of the coin
|
|
680
969
|
* @param network Network object for this coin
|
|
@@ -686,6 +975,6 @@ export declare function tpolygonErc20(name: string, fullName: string, decimalPla
|
|
|
686
975
|
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
687
976
|
* @param isToken? Whether or not this coin is a token of another coin
|
|
688
977
|
*/
|
|
689
|
-
export declare function fiat(name: FiatCoinName, fullName: string, network: BaseNetwork, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], primaryKeyCurve?: KeyCurve, prefix?: string, suffix?: string, isToken?: boolean): Readonly<FiatCoin>;
|
|
978
|
+
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>;
|
|
690
979
|
export {};
|
|
691
980
|
//# sourceMappingURL=account.d.ts.map
|