@bitgo-beta/statics 10.0.1-alpha.2 → 10.0.1-alpha.200
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 +2391 -0
- package/dist/src/account.d.ts +300 -36
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +470 -54
- package/dist/src/ada.d.ts +3 -1
- package/dist/src/ada.d.ts.map +1 -1
- package/dist/src/ada.js +7 -2
- package/dist/src/avaxp.d.ts +3 -1
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +12 -3
- package/dist/src/base.d.ts +1208 -19
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +1291 -35
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +2646 -1004
- 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 +360 -4
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +513 -45
- package/dist/src/ofc.d.ts +249 -4
- package/dist/src/ofc.d.ts.map +1 -1
- package/dist/src/ofc.js +507 -6
- package/dist/src/tokenConfig.d.ts +60 -11
- 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 +70 -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,45 @@ 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 Xrp network supports tokens
|
|
242
|
+
* Xrp tokens are identified by their issuer address
|
|
243
|
+
* Naming format is similar to XLM
|
|
244
|
+
* <network>:<token>-<issuer>
|
|
245
|
+
*/
|
|
246
|
+
export declare class XrpCoin extends AccountCoinToken {
|
|
247
|
+
issuerAddress: string;
|
|
248
|
+
currencyCode: string;
|
|
249
|
+
domain: string;
|
|
250
|
+
constructor(options: XrpCoinConstructorOptions);
|
|
251
|
+
}
|
|
252
|
+
export declare class SuiCoin extends AccountCoinToken {
|
|
253
|
+
packageId: string;
|
|
254
|
+
module: string;
|
|
255
|
+
symbol: string;
|
|
256
|
+
constructor(options: SuiCoinConstructorOptions);
|
|
257
|
+
}
|
|
208
258
|
/**
|
|
209
259
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
210
260
|
*/
|
|
@@ -218,6 +268,7 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
218
268
|
/**
|
|
219
269
|
* Factory function for account coin instances.
|
|
220
270
|
*
|
|
271
|
+
* @param id uuid v4
|
|
221
272
|
* @param name unique identifier of the coin
|
|
222
273
|
* @param fullName Complete human-readable name of the coin
|
|
223
274
|
* @param network Network object for this coin
|
|
@@ -229,10 +280,11 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
229
280
|
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
230
281
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
231
282
|
*/
|
|
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>;
|
|
283
|
+
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
284
|
/**
|
|
234
285
|
* Factory function for erc20 token instances.
|
|
235
286
|
*
|
|
287
|
+
* @param id uuid v4
|
|
236
288
|
* @param name unique identifier of the token
|
|
237
289
|
* @param fullName Complete human-readable name of the token
|
|
238
290
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -244,10 +296,11 @@ export declare function account(name: string, fullName: string, network: Account
|
|
|
244
296
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
245
297
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
246
298
|
*/
|
|
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>;
|
|
299
|
+
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
300
|
/**
|
|
249
301
|
* Factory function for testnet erc20 token instances.
|
|
250
302
|
*
|
|
303
|
+
* @param id uuid v4
|
|
251
304
|
* @param name unique identifier of the token
|
|
252
305
|
* @param fullName Complete human-readable name of the token
|
|
253
306
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -258,10 +311,11 @@ export declare function erc20(name: string, fullName: string, decimalPlaces: num
|
|
|
258
311
|
* @param network? Optional token network. Defaults to the Kovan test network.
|
|
259
312
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
260
313
|
*/
|
|
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>;
|
|
314
|
+
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
315
|
/**
|
|
263
316
|
* Factory function for erc721 token instances.
|
|
264
317
|
*
|
|
318
|
+
* @param id uuid v4
|
|
265
319
|
* @param name unique identifier of the token
|
|
266
320
|
* @param fullName Complete human-readable name of the token
|
|
267
321
|
* @param contractAddress Contract address of this token
|
|
@@ -272,23 +326,40 @@ export declare function terc20(name: string, fullName: string, decimalPlaces: nu
|
|
|
272
326
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
273
327
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
274
328
|
*/
|
|
275
|
-
export declare function erc721(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
329
|
+
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
330
|
/**
|
|
277
331
|
* Factory function for testnet erc721 token instances.
|
|
278
332
|
*
|
|
333
|
+
* @param id uuid v4
|
|
334
|
+
* @param name unique identifier of the token
|
|
335
|
+
* @param fullName Complete human-readable name of the token
|
|
336
|
+
* @param contractAddress Contract address of this token
|
|
337
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
338
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
339
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
340
|
+
* @param network? Optional token network. Defaults to Holesky test network.
|
|
341
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
342
|
+
*/
|
|
343
|
+
export declare function terc721(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
344
|
+
/**
|
|
345
|
+
* Factory function for nonstandard token instances.
|
|
346
|
+
*
|
|
347
|
+
* @param id uuid v4
|
|
279
348
|
* @param name unique identifier of the token
|
|
280
349
|
* @param fullName Complete human-readable name of the token
|
|
281
350
|
* @param contractAddress Contract address of this token
|
|
282
351
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
283
352
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
284
353
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
285
|
-
* @param network? Optional token network. Defaults to
|
|
354
|
+
* @param network? Optional token network. Defaults to Ethereum main network.
|
|
355
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
286
356
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
287
357
|
*/
|
|
288
|
-
export declare function
|
|
358
|
+
export declare function nonstandardToken(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<ContractAddressDefinedToken>;
|
|
289
359
|
/**
|
|
290
360
|
* Factory function for erc1155 token instances.
|
|
291
361
|
*
|
|
362
|
+
* @param id uuid v4
|
|
292
363
|
* @param name unique identifier of the token
|
|
293
364
|
* @param fullName Complete human-readable name of the token
|
|
294
365
|
* @param contractAddress Contract address of this token
|
|
@@ -299,23 +370,25 @@ export declare function terc721(name: string, fullName: string, contractAddress:
|
|
|
299
370
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
300
371
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
301
372
|
*/
|
|
302
|
-
export declare function erc1155(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
373
|
+
export declare function erc1155(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
303
374
|
/**
|
|
304
375
|
* Factory function for testnet erc1155 token instances.
|
|
305
376
|
*
|
|
377
|
+
* @param id uuid v4
|
|
306
378
|
* @param name unique identifier of the token
|
|
307
379
|
* @param fullName Complete human-readable name of the token
|
|
308
380
|
* @param contractAddress Contract address of this token
|
|
309
381
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
310
382
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
311
383
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
312
|
-
* @param network? Optional token network. Defaults to
|
|
384
|
+
* @param network? Optional token network. Defaults to Holesky test network.
|
|
313
385
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
314
386
|
*/
|
|
315
|
-
export declare function terc1155(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
387
|
+
export declare function terc1155(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
316
388
|
/**
|
|
317
389
|
* Factory function for ERC20-compatible account coin instances.
|
|
318
390
|
*
|
|
391
|
+
* @param id uuid v4
|
|
319
392
|
* @param name unique identifier of the token
|
|
320
393
|
* @param fullName Complete human-readable name of the token
|
|
321
394
|
* @param network Network object for this coin
|
|
@@ -327,10 +400,11 @@ export declare function terc1155(name: string, fullName: string, contractAddress
|
|
|
327
400
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
328
401
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
329
402
|
*/
|
|
330
|
-
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>;
|
|
403
|
+
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>;
|
|
331
404
|
/**
|
|
332
405
|
* Factory function for celo token instances.
|
|
333
406
|
*
|
|
407
|
+
* @param id uuid v4
|
|
334
408
|
* @param name unique identifier of the token
|
|
335
409
|
* @param fullName Complete human-readable name of the token
|
|
336
410
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -342,10 +416,11 @@ export declare function erc20CompatibleAccountCoin(name: string, fullName: strin
|
|
|
342
416
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
343
417
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
344
418
|
*/
|
|
345
|
-
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>;
|
|
419
|
+
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>;
|
|
346
420
|
/**
|
|
347
421
|
* Factory function for testnet celo token instances.
|
|
348
422
|
*
|
|
423
|
+
* @param id uuid v4
|
|
349
424
|
* @param name unique identifier of the token
|
|
350
425
|
* @param fullName Complete human-readable name of the token
|
|
351
426
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -356,10 +431,11 @@ export declare function celoToken(name: string, fullName: string, decimalPlaces:
|
|
|
356
431
|
* @param network? Optional token network. Defaults to the testnet CELO network.
|
|
357
432
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
358
433
|
*/
|
|
359
|
-
export declare function tceloToken(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork): Readonly<CeloCoin>;
|
|
434
|
+
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>;
|
|
360
435
|
/**
|
|
361
436
|
* Factory function for celo token instances.
|
|
362
437
|
*
|
|
438
|
+
* @param id uuid v4
|
|
363
439
|
* @param name unique identifier of the token
|
|
364
440
|
* @param fullName Complete human-readable name of the token
|
|
365
441
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -371,10 +447,11 @@ export declare function tceloToken(name: string, fullName: string, decimalPlaces
|
|
|
371
447
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
372
448
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
373
449
|
*/
|
|
374
|
-
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>;
|
|
450
|
+
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>;
|
|
375
451
|
/**
|
|
376
452
|
* Factory function for testnet bsc token instances.
|
|
377
453
|
*
|
|
454
|
+
* @param id uuid v4
|
|
378
455
|
* @param name unique identifier of the token
|
|
379
456
|
* @param fullName Complete human-readable name of the token
|
|
380
457
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -385,10 +462,11 @@ export declare function bscToken(name: string, fullName: string, decimalPlaces:
|
|
|
385
462
|
* @param network? Optional token network. Defaults to the testnet BSC network.
|
|
386
463
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
387
464
|
*/
|
|
388
|
-
export declare function tbscToken(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork): Readonly<BscCoin>;
|
|
465
|
+
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>;
|
|
389
466
|
/**
|
|
390
467
|
* Factory function for Stellar token instances.
|
|
391
468
|
*
|
|
469
|
+
* @param id uuid v4
|
|
392
470
|
* @param name unique identifier of the token
|
|
393
471
|
* @param fullName Complete human-readable name of the token
|
|
394
472
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -401,10 +479,11 @@ export declare function tbscToken(name: string, fullName: string, decimalPlaces:
|
|
|
401
479
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
402
480
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
403
481
|
*/
|
|
404
|
-
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>;
|
|
482
|
+
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>;
|
|
405
483
|
/**
|
|
406
484
|
* Factory function for testnet Stellar token instances.
|
|
407
485
|
*
|
|
486
|
+
* @param id uuid v4
|
|
408
487
|
* @param name unique identifier of the token
|
|
409
488
|
* @param fullName Complete human-readable name of the token
|
|
410
489
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -416,10 +495,11 @@ export declare function stellarToken(name: string, fullName: string, decimalPlac
|
|
|
416
495
|
* @param network? Optional token network. Defaults to Stellar testnet.
|
|
417
496
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
418
497
|
*/
|
|
419
|
-
export declare function tstellarToken(name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, domain?: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<StellarCoin>;
|
|
498
|
+
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>;
|
|
420
499
|
/**
|
|
421
500
|
* Factory function for tron token instances.
|
|
422
501
|
*
|
|
502
|
+
* @param id uuid v4
|
|
423
503
|
* @param name unique identifier of the token
|
|
424
504
|
* @param fullName Complete human-readable name of the token
|
|
425
505
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -431,10 +511,11 @@ export declare function tstellarToken(name: string, fullName: string, decimalPla
|
|
|
431
511
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
432
512
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
433
513
|
*/
|
|
434
|
-
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>;
|
|
514
|
+
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>;
|
|
435
515
|
/**
|
|
436
516
|
* Factory function for testnet tron token instances.
|
|
437
517
|
*
|
|
518
|
+
* @param id uuid v4
|
|
438
519
|
* @param name unique identifier of the token
|
|
439
520
|
* @param fullName Complete human-readable name of the token
|
|
440
521
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -446,10 +527,11 @@ export declare function tronToken(name: string, fullName: string, decimalPlaces:
|
|
|
446
527
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
447
528
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
448
529
|
*/
|
|
449
|
-
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>;
|
|
530
|
+
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>;
|
|
450
531
|
/**
|
|
451
532
|
* Factory function for Hedera coin instances
|
|
452
533
|
*
|
|
534
|
+
* @param id uuid v4
|
|
453
535
|
* @param name unique identifier of the coin
|
|
454
536
|
* @param fullName Complete human-readable name of the token
|
|
455
537
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -461,10 +543,11 @@ export declare function ttronToken(name: string, fullName: string, decimalPlaces
|
|
|
461
543
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
462
544
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
463
545
|
*/
|
|
464
|
-
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>;
|
|
546
|
+
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>;
|
|
465
547
|
/**
|
|
466
548
|
* Factory function for Hedera token instances
|
|
467
549
|
*
|
|
550
|
+
* @param id uuid v4
|
|
468
551
|
* @param name unique identifier of the coin
|
|
469
552
|
* @param fullName Complete human-readable name of the token
|
|
470
553
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -477,11 +560,13 @@ export declare function hederaCoin(name: string, fullName: string, network: Acco
|
|
|
477
560
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
478
561
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
479
562
|
*/
|
|
480
|
-
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>;
|
|
563
|
+
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>;
|
|
481
564
|
/**
|
|
482
565
|
* Factory function for ALGO token instances.
|
|
483
566
|
*
|
|
567
|
+
* @param id uuid v4
|
|
484
568
|
* @param name unique identifier of the token
|
|
569
|
+
|
|
485
570
|
* @param alias (optional) alternative identifier of the token
|
|
486
571
|
* @param fullName Complete human-readable name of the token
|
|
487
572
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -494,10 +579,11 @@ export declare function hederaToken(name: string, fullName: string, network: Acc
|
|
|
494
579
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
495
580
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
496
581
|
*/
|
|
497
|
-
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>;
|
|
582
|
+
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>;
|
|
498
583
|
/**
|
|
499
584
|
* Factory function for testnet ALGO token instances.
|
|
500
585
|
*
|
|
586
|
+
* @param id uuid v4
|
|
501
587
|
* @param name unique identifier of the token
|
|
502
588
|
* @param alias (optional) alternative identifier of the token
|
|
503
589
|
* @param fullName Complete human-readable name of the token
|
|
@@ -510,10 +596,11 @@ export declare function algoToken(name: string, alias: string | undefined, fullN
|
|
|
510
596
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
511
597
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
512
598
|
*/
|
|
513
|
-
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>;
|
|
599
|
+
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>;
|
|
514
600
|
/**
|
|
515
601
|
* Factory function for eos token instances.
|
|
516
602
|
*
|
|
603
|
+
* @param id uuid v4
|
|
517
604
|
* @param name unique identifier of the token
|
|
518
605
|
* @param fullName Complete human-readable name of the token
|
|
519
606
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -525,10 +612,11 @@ export declare function talgoToken(name: string, alias: string | undefined, full
|
|
|
525
612
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
526
613
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
527
614
|
*/
|
|
528
|
-
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>;
|
|
615
|
+
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>;
|
|
529
616
|
/**
|
|
530
617
|
* Factory function for testnet eos token instances.
|
|
531
618
|
*
|
|
619
|
+
* @param id uuid v4
|
|
532
620
|
* @param name unique identifier of the token
|
|
533
621
|
* @param fullName Complete human-readable name of the token
|
|
534
622
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -539,10 +627,11 @@ export declare function eosToken(name: string, fullName: string, decimalPlaces:
|
|
|
539
627
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
540
628
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
541
629
|
*/
|
|
542
|
-
export declare function teosToken(name: string, fullName: string, decimalPlaces: number, contractName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<EosCoin>;
|
|
630
|
+
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>;
|
|
543
631
|
/**
|
|
544
632
|
* Factory function for sol token instances.
|
|
545
633
|
*
|
|
634
|
+
* @param id uuid v4
|
|
546
635
|
* @param name unique identifier of the token
|
|
547
636
|
* @param fullName Complete human-readable name of the token
|
|
548
637
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -554,10 +643,11 @@ export declare function teosToken(name: string, fullName: string, decimalPlaces:
|
|
|
554
643
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
555
644
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
556
645
|
*/
|
|
557
|
-
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>;
|
|
646
|
+
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>;
|
|
558
647
|
/**
|
|
559
648
|
* Factory function for testnet solana token instances.
|
|
560
649
|
*
|
|
650
|
+
* @param id uuid v4
|
|
561
651
|
* @param name unique identifier of the token
|
|
562
652
|
* @param fullName Complete human-readable name of the token
|
|
563
653
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -568,10 +658,11 @@ export declare function solToken(name: string, fullName: string, decimalPlaces:
|
|
|
568
658
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
569
659
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
570
660
|
*/
|
|
571
|
-
export declare function tsolToken(name: string, fullName: string, decimalPlaces: number, tokenAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<SolCoin>;
|
|
661
|
+
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>;
|
|
572
662
|
/**
|
|
573
663
|
* Factory function for ada token instances.
|
|
574
664
|
*
|
|
665
|
+
* @param id uuid v4
|
|
575
666
|
* @param name unique identifier of the token
|
|
576
667
|
* @param fullName Complete human-readable name of the token
|
|
577
668
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -583,10 +674,11 @@ export declare function tsolToken(name: string, fullName: string, decimalPlaces:
|
|
|
583
674
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
584
675
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
585
676
|
*/
|
|
586
|
-
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>;
|
|
677
|
+
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>;
|
|
587
678
|
/**
|
|
588
679
|
* Factory function for testnet cardano token instances.
|
|
589
680
|
*
|
|
681
|
+
* @param id uuid v4
|
|
590
682
|
* @param name unique identifier of the token
|
|
591
683
|
* @param fullName Complete human-readable name of the token
|
|
592
684
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -597,10 +689,11 @@ export declare function adaToken(name: string, fullName: string, decimalPlaces:
|
|
|
597
689
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
598
690
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
599
691
|
*/
|
|
600
|
-
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>;
|
|
692
|
+
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>;
|
|
601
693
|
/**
|
|
602
694
|
* Factory function for avaxErc20 token instances.
|
|
603
695
|
*
|
|
696
|
+
* @param id uuid v4
|
|
604
697
|
* @param name unique identifier of the token
|
|
605
698
|
* @param fullName Complete human-readable name of the token
|
|
606
699
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -612,10 +705,11 @@ export declare function tadaToken(name: string, fullName: string, decimalPlaces:
|
|
|
612
705
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
613
706
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
614
707
|
*/
|
|
615
|
-
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>;
|
|
708
|
+
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>;
|
|
616
709
|
/**
|
|
617
710
|
* Factory function for testnet avaxErc20 token instances.
|
|
618
711
|
*
|
|
712
|
+
* @param id uuid v4
|
|
619
713
|
* @param name unique identifier of the token
|
|
620
714
|
* @param fullName Complete human-readable name of the token
|
|
621
715
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -627,10 +721,11 @@ export declare function avaxErc20(name: string, fullName: string, decimalPlaces:
|
|
|
627
721
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
628
722
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
629
723
|
*/
|
|
630
|
-
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>;
|
|
724
|
+
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>;
|
|
631
725
|
/**
|
|
632
726
|
* Factory function for polygonErc20 token instances.
|
|
633
727
|
*
|
|
728
|
+
* @param id uuid v4
|
|
634
729
|
* @param name unique identifier of the token
|
|
635
730
|
* @param fullName Complete human-readable name of the token
|
|
636
731
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -642,10 +737,11 @@ export declare function tavaxErc20(name: string, fullName: string, decimalPlaces
|
|
|
642
737
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
643
738
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
644
739
|
*/
|
|
645
|
-
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>;
|
|
740
|
+
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>;
|
|
646
741
|
/**
|
|
647
|
-
* Factory function for
|
|
742
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
648
743
|
*
|
|
744
|
+
* @param id uuid v4
|
|
649
745
|
* @param name unique identifier of the token
|
|
650
746
|
* @param fullName Complete human-readable name of the token
|
|
651
747
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -657,11 +753,179 @@ export declare function polygonErc20(name: string, fullName: string, decimalPlac
|
|
|
657
753
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
658
754
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
659
755
|
*/
|
|
660
|
-
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>;
|
|
756
|
+
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>;
|
|
757
|
+
/**
|
|
758
|
+
* Factory function for arbethErc20 token instances.
|
|
759
|
+
*
|
|
760
|
+
* @param id uuid v4
|
|
761
|
+
* @param name unique identifier of the token
|
|
762
|
+
* @param fullName Complete human-readable name of the token
|
|
763
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
764
|
+
* @param contractAddress Contract address of this token
|
|
765
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
766
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
767
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
768
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
769
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
770
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
771
|
+
*/
|
|
772
|
+
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>;
|
|
773
|
+
/**
|
|
774
|
+
* Factory function for Arbitrum Sepolia testnet arbethErc20 token instances.
|
|
775
|
+
*
|
|
776
|
+
* @param id uuid v4
|
|
777
|
+
* @param name unique identifier of the token
|
|
778
|
+
* @param fullName Complete human-readable name of the token
|
|
779
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
780
|
+
* @param contractAddress Contract address of this token
|
|
781
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
782
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
783
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
784
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
785
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
786
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
787
|
+
*/
|
|
788
|
+
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>;
|
|
789
|
+
/**
|
|
790
|
+
* Factory function for opethErc20 token instances.
|
|
791
|
+
*
|
|
792
|
+
* @param id uuid v4
|
|
793
|
+
* @param name unique identifier of the token
|
|
794
|
+
* @param fullName Complete human-readable name of the token
|
|
795
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
796
|
+
* @param contractAddress Contract address of this token
|
|
797
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
798
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
799
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
800
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
801
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
802
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
803
|
+
*/
|
|
804
|
+
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>;
|
|
805
|
+
/**
|
|
806
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
807
|
+
*
|
|
808
|
+
* @param id uuid v4
|
|
809
|
+
* @param name unique identifier of the token
|
|
810
|
+
* @param fullName Complete human-readable name of the token
|
|
811
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
812
|
+
* @param contractAddress Contract address of this token
|
|
813
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
814
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
815
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
816
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
817
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
818
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
819
|
+
*/
|
|
820
|
+
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>;
|
|
821
|
+
/**
|
|
822
|
+
* Factory function for zkethErc20 token instances.
|
|
823
|
+
*
|
|
824
|
+
* @param id uuid v4
|
|
825
|
+
* @param name unique identifier of the token
|
|
826
|
+
* @param fullName Complete human-readable name of the token
|
|
827
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
828
|
+
* @param contractAddress Contract address of this token
|
|
829
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
830
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
831
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
832
|
+
* @param network? Optional token network. Defaults to zkSync mainnet network.
|
|
833
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
834
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
835
|
+
*/
|
|
836
|
+
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>;
|
|
837
|
+
/**
|
|
838
|
+
* Factory function for zkSync Sepolia testnet zkethErc20 token instances.
|
|
839
|
+
*
|
|
840
|
+
* @param id uuid v4
|
|
841
|
+
* @param name unique identifier of the token
|
|
842
|
+
* @param fullName Complete human-readable name of the token
|
|
843
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
844
|
+
* @param contractAddress Contract address of this token
|
|
845
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
846
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
847
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
848
|
+
* @param network? Optional token network. Defaults to the zkSync sepolia test network.
|
|
849
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
850
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
851
|
+
*/
|
|
852
|
+
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>;
|
|
853
|
+
/**
|
|
854
|
+
* Factory function for xrp token instances.
|
|
855
|
+
*
|
|
856
|
+
* @param id uuid v4
|
|
857
|
+
* @param name unique identifier of the token
|
|
858
|
+
* @param fullName Complete human-readable name of the token
|
|
859
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
860
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
861
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
862
|
+
* @param domain? the domain of the issuer of the token,
|
|
863
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
864
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
865
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
866
|
+
* @param network? Optional token network. Defaults to Cardano main network.
|
|
867
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
868
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
869
|
+
*/
|
|
870
|
+
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>;
|
|
871
|
+
/**
|
|
872
|
+
* Factory function for testnet cardano token instances.
|
|
873
|
+
*
|
|
874
|
+
* @param id uuid v4
|
|
875
|
+
* @param name unique identifier of the token
|
|
876
|
+
* @param fullName Complete human-readable name of the token
|
|
877
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
878
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
879
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
880
|
+
* @param domain? the domain of the issuer of the token,
|
|
881
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
882
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
883
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
884
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
885
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
886
|
+
*/
|
|
887
|
+
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>;
|
|
888
|
+
/**
|
|
889
|
+
* Factory function for sui token instances.
|
|
890
|
+
*
|
|
891
|
+
* @param id uuid v4
|
|
892
|
+
* @param name unique identifier of the token
|
|
893
|
+
* @param fullName Complete human-readable name of the token
|
|
894
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
895
|
+
* @param packageId PackageId of this token
|
|
896
|
+
* @param module The module of the package with id `packageId`
|
|
897
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
898
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
899
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
900
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
901
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
902
|
+
* @param network? Optional token network. Defaults to SUI main network.
|
|
903
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
904
|
+
*/
|
|
905
|
+
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>;
|
|
906
|
+
/**
|
|
907
|
+
* Factory function for testnet sui 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 packageId PackageId of this token
|
|
914
|
+
* @param module The module of the package with id `packageId`
|
|
915
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
916
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
917
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
918
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
919
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
920
|
+
* @param network? Optional token network. Defaults to SUI test network.
|
|
921
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
922
|
+
*/
|
|
923
|
+
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>;
|
|
661
924
|
/**
|
|
662
925
|
* Factory function for fiat coin instances.
|
|
663
926
|
*
|
|
664
|
-
* @param
|
|
927
|
+
* @param id uuid v4
|
|
928
|
+
* @param name unique identifier of the coin, should start with 'fiat' or 'tfiat' followed by the 3-char ISO-4217 alphabetical code
|
|
665
929
|
* @param fullName Complete human-readable name of the coin
|
|
666
930
|
* @param network Network object for this coin
|
|
667
931
|
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
@@ -672,6 +936,6 @@ export declare function tpolygonErc20(name: string, fullName: string, decimalPla
|
|
|
672
936
|
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
673
937
|
* @param isToken? Whether or not this coin is a token of another coin
|
|
674
938
|
*/
|
|
675
|
-
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>;
|
|
939
|
+
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>;
|
|
676
940
|
export {};
|
|
677
941
|
//# sourceMappingURL=account.d.ts.map
|