@bitgo-beta/statics 10.0.1-alpha.19 → 10.0.1-alpha.190
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 +2244 -0
- package/dist/src/account.d.ts +285 -35
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +437 -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 +883 -22
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +914 -19
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +2479 -1297
- 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 +10 -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 +335 -3
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +484 -46
- package/dist/src/ofc.d.ts +159 -10
- package/dist/src/ofc.d.ts.map +1 -1
- package/dist/src/ofc.js +314 -12
- package/dist/src/tokenConfig.d.ts +42 -0
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +106 -2
- package/dist/src/utxo.d.ts +6 -2
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +69 -3
- package/dist/tsconfig.tsbuildinfo +1 -2723
- 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,6 +55,16 @@ export interface AdaCoinConstructorOptions extends AccountConstructorOptions {
|
|
|
54
55
|
policyId: string;
|
|
55
56
|
assetName: string;
|
|
56
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
|
+
}
|
|
57
68
|
declare type FiatCoinName = `fiat${string}` | `tfiat${string}`;
|
|
58
69
|
export interface FiatCoinConstructorOptions extends AccountConstructorOptions {
|
|
59
70
|
name: FiatCoinName;
|
|
@@ -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,25 @@ 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
|
|
279
334
|
* @param name unique identifier of the token
|
|
280
335
|
* @param fullName Complete human-readable name of the token
|
|
281
336
|
* @param contractAddress Contract address of this token
|
|
282
337
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
283
338
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
284
339
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
285
|
-
* @param network? Optional token network. Defaults to
|
|
340
|
+
* @param network? Optional token network. Defaults to Holesky test network.
|
|
286
341
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
287
342
|
*/
|
|
288
|
-
export declare function terc721(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
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>;
|
|
289
344
|
/**
|
|
290
345
|
* Factory function for nonstandard token instances.
|
|
291
346
|
*
|
|
347
|
+
* @param id uuid v4
|
|
292
348
|
* @param name unique identifier of the token
|
|
293
349
|
* @param fullName Complete human-readable name of the token
|
|
294
350
|
* @param contractAddress Contract address of this token
|
|
@@ -299,10 +355,11 @@ export declare function terc721(name: string, fullName: string, contractAddress:
|
|
|
299
355
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
300
356
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
301
357
|
*/
|
|
302
|
-
export declare function nonstandardToken(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<ContractAddressDefinedToken>;
|
|
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>;
|
|
303
359
|
/**
|
|
304
360
|
* Factory function for erc1155 token instances.
|
|
305
361
|
*
|
|
362
|
+
* @param id uuid v4
|
|
306
363
|
* @param name unique identifier of the token
|
|
307
364
|
* @param fullName Complete human-readable name of the token
|
|
308
365
|
* @param contractAddress Contract address of this token
|
|
@@ -313,23 +370,25 @@ export declare function nonstandardToken(name: string, fullName: string, contrac
|
|
|
313
370
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
314
371
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
315
372
|
*/
|
|
316
|
-
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>;
|
|
317
374
|
/**
|
|
318
375
|
* Factory function for testnet erc1155 token instances.
|
|
319
376
|
*
|
|
377
|
+
* @param id uuid v4
|
|
320
378
|
* @param name unique identifier of the token
|
|
321
379
|
* @param fullName Complete human-readable name of the token
|
|
322
380
|
* @param contractAddress Contract address of this token
|
|
323
381
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
324
382
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
325
383
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
326
|
-
* @param network? Optional token network. Defaults to
|
|
384
|
+
* @param network? Optional token network. Defaults to Holesky test network.
|
|
327
385
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
328
386
|
*/
|
|
329
|
-
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>;
|
|
330
388
|
/**
|
|
331
389
|
* Factory function for ERC20-compatible account coin instances.
|
|
332
390
|
*
|
|
391
|
+
* @param id uuid v4
|
|
333
392
|
* @param name unique identifier of the token
|
|
334
393
|
* @param fullName Complete human-readable name of the token
|
|
335
394
|
* @param network Network object for this coin
|
|
@@ -341,10 +400,11 @@ export declare function terc1155(name: string, fullName: string, contractAddress
|
|
|
341
400
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
342
401
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
343
402
|
*/
|
|
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>;
|
|
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>;
|
|
345
404
|
/**
|
|
346
405
|
* Factory function for celo token instances.
|
|
347
406
|
*
|
|
407
|
+
* @param id uuid v4
|
|
348
408
|
* @param name unique identifier of the token
|
|
349
409
|
* @param fullName Complete human-readable name of the token
|
|
350
410
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -356,10 +416,11 @@ export declare function erc20CompatibleAccountCoin(name: string, fullName: strin
|
|
|
356
416
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
357
417
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
358
418
|
*/
|
|
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>;
|
|
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>;
|
|
360
420
|
/**
|
|
361
421
|
* Factory function for testnet celo token instances.
|
|
362
422
|
*
|
|
423
|
+
* @param id uuid v4
|
|
363
424
|
* @param name unique identifier of the token
|
|
364
425
|
* @param fullName Complete human-readable name of the token
|
|
365
426
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -370,10 +431,11 @@ export declare function celoToken(name: string, fullName: string, decimalPlaces:
|
|
|
370
431
|
* @param network? Optional token network. Defaults to the testnet CELO network.
|
|
371
432
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
372
433
|
*/
|
|
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>;
|
|
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>;
|
|
374
435
|
/**
|
|
375
436
|
* Factory function for celo token instances.
|
|
376
437
|
*
|
|
438
|
+
* @param id uuid v4
|
|
377
439
|
* @param name unique identifier of the token
|
|
378
440
|
* @param fullName Complete human-readable name of the token
|
|
379
441
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -385,10 +447,11 @@ export declare function tceloToken(name: string, fullName: string, decimalPlaces
|
|
|
385
447
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
386
448
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
387
449
|
*/
|
|
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>;
|
|
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>;
|
|
389
451
|
/**
|
|
390
452
|
* Factory function for testnet bsc token instances.
|
|
391
453
|
*
|
|
454
|
+
* @param id uuid v4
|
|
392
455
|
* @param name unique identifier of the token
|
|
393
456
|
* @param fullName Complete human-readable name of the token
|
|
394
457
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -399,10 +462,11 @@ export declare function bscToken(name: string, fullName: string, decimalPlaces:
|
|
|
399
462
|
* @param network? Optional token network. Defaults to the testnet BSC network.
|
|
400
463
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
401
464
|
*/
|
|
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>;
|
|
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>;
|
|
403
466
|
/**
|
|
404
467
|
* Factory function for Stellar token instances.
|
|
405
468
|
*
|
|
469
|
+
* @param id uuid v4
|
|
406
470
|
* @param name unique identifier of the token
|
|
407
471
|
* @param fullName Complete human-readable name of the token
|
|
408
472
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -415,10 +479,11 @@ export declare function tbscToken(name: string, fullName: string, decimalPlaces:
|
|
|
415
479
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
416
480
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
417
481
|
*/
|
|
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>;
|
|
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>;
|
|
419
483
|
/**
|
|
420
484
|
* Factory function for testnet Stellar token instances.
|
|
421
485
|
*
|
|
486
|
+
* @param id uuid v4
|
|
422
487
|
* @param name unique identifier of the token
|
|
423
488
|
* @param fullName Complete human-readable name of the token
|
|
424
489
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -430,10 +495,11 @@ export declare function stellarToken(name: string, fullName: string, decimalPlac
|
|
|
430
495
|
* @param network? Optional token network. Defaults to Stellar testnet.
|
|
431
496
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
432
497
|
*/
|
|
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>;
|
|
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>;
|
|
434
499
|
/**
|
|
435
500
|
* Factory function for tron token instances.
|
|
436
501
|
*
|
|
502
|
+
* @param id uuid v4
|
|
437
503
|
* @param name unique identifier of the token
|
|
438
504
|
* @param fullName Complete human-readable name of the token
|
|
439
505
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -445,10 +511,11 @@ export declare function tstellarToken(name: string, fullName: string, decimalPla
|
|
|
445
511
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
446
512
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
447
513
|
*/
|
|
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>;
|
|
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>;
|
|
449
515
|
/**
|
|
450
516
|
* Factory function for testnet tron token instances.
|
|
451
517
|
*
|
|
518
|
+
* @param id uuid v4
|
|
452
519
|
* @param name unique identifier of the token
|
|
453
520
|
* @param fullName Complete human-readable name of the token
|
|
454
521
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -460,10 +527,11 @@ export declare function tronToken(name: string, fullName: string, decimalPlaces:
|
|
|
460
527
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
461
528
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
462
529
|
*/
|
|
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>;
|
|
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>;
|
|
464
531
|
/**
|
|
465
532
|
* Factory function for Hedera coin instances
|
|
466
533
|
*
|
|
534
|
+
* @param id uuid v4
|
|
467
535
|
* @param name unique identifier of the coin
|
|
468
536
|
* @param fullName Complete human-readable name of the token
|
|
469
537
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -475,10 +543,11 @@ export declare function ttronToken(name: string, fullName: string, decimalPlaces
|
|
|
475
543
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
476
544
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
477
545
|
*/
|
|
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>;
|
|
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>;
|
|
479
547
|
/**
|
|
480
548
|
* Factory function for Hedera token instances
|
|
481
549
|
*
|
|
550
|
+
* @param id uuid v4
|
|
482
551
|
* @param name unique identifier of the coin
|
|
483
552
|
* @param fullName Complete human-readable name of the token
|
|
484
553
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -491,11 +560,13 @@ export declare function hederaCoin(name: string, fullName: string, network: Acco
|
|
|
491
560
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
492
561
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
493
562
|
*/
|
|
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>;
|
|
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>;
|
|
495
564
|
/**
|
|
496
565
|
* Factory function for ALGO token instances.
|
|
497
566
|
*
|
|
567
|
+
* @param id uuid v4
|
|
498
568
|
* @param name unique identifier of the token
|
|
569
|
+
|
|
499
570
|
* @param alias (optional) alternative identifier of the token
|
|
500
571
|
* @param fullName Complete human-readable name of the token
|
|
501
572
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -508,10 +579,11 @@ export declare function hederaToken(name: string, fullName: string, network: Acc
|
|
|
508
579
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
509
580
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
510
581
|
*/
|
|
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>;
|
|
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>;
|
|
512
583
|
/**
|
|
513
584
|
* Factory function for testnet ALGO token instances.
|
|
514
585
|
*
|
|
586
|
+
* @param id uuid v4
|
|
515
587
|
* @param name unique identifier of the token
|
|
516
588
|
* @param alias (optional) alternative identifier of the token
|
|
517
589
|
* @param fullName Complete human-readable name of the token
|
|
@@ -524,10 +596,11 @@ export declare function algoToken(name: string, alias: string | undefined, fullN
|
|
|
524
596
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
525
597
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
526
598
|
*/
|
|
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>;
|
|
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>;
|
|
528
600
|
/**
|
|
529
601
|
* Factory function for eos token instances.
|
|
530
602
|
*
|
|
603
|
+
* @param id uuid v4
|
|
531
604
|
* @param name unique identifier of the token
|
|
532
605
|
* @param fullName Complete human-readable name of the token
|
|
533
606
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -539,10 +612,11 @@ export declare function talgoToken(name: string, alias: string | undefined, full
|
|
|
539
612
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
540
613
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
541
614
|
*/
|
|
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>;
|
|
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>;
|
|
543
616
|
/**
|
|
544
617
|
* Factory function for testnet eos token instances.
|
|
545
618
|
*
|
|
619
|
+
* @param id uuid v4
|
|
546
620
|
* @param name unique identifier of the token
|
|
547
621
|
* @param fullName Complete human-readable name of the token
|
|
548
622
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -553,10 +627,11 @@ export declare function eosToken(name: string, fullName: string, decimalPlaces:
|
|
|
553
627
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
554
628
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
555
629
|
*/
|
|
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>;
|
|
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>;
|
|
557
631
|
/**
|
|
558
632
|
* Factory function for sol token instances.
|
|
559
633
|
*
|
|
634
|
+
* @param id uuid v4
|
|
560
635
|
* @param name unique identifier of the token
|
|
561
636
|
* @param fullName Complete human-readable name of the token
|
|
562
637
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -568,10 +643,11 @@ export declare function teosToken(name: string, fullName: string, decimalPlaces:
|
|
|
568
643
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
569
644
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
570
645
|
*/
|
|
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>;
|
|
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>;
|
|
572
647
|
/**
|
|
573
648
|
* Factory function for testnet solana token instances.
|
|
574
649
|
*
|
|
650
|
+
* @param id uuid v4
|
|
575
651
|
* @param name unique identifier of the token
|
|
576
652
|
* @param fullName Complete human-readable name of the token
|
|
577
653
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -582,10 +658,11 @@ export declare function solToken(name: string, fullName: string, decimalPlaces:
|
|
|
582
658
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
583
659
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
584
660
|
*/
|
|
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>;
|
|
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>;
|
|
586
662
|
/**
|
|
587
663
|
* Factory function for ada token instances.
|
|
588
664
|
*
|
|
665
|
+
* @param id uuid v4
|
|
589
666
|
* @param name unique identifier of the token
|
|
590
667
|
* @param fullName Complete human-readable name of the token
|
|
591
668
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -597,10 +674,11 @@ export declare function tsolToken(name: string, fullName: string, decimalPlaces:
|
|
|
597
674
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
598
675
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
599
676
|
*/
|
|
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>;
|
|
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>;
|
|
601
678
|
/**
|
|
602
679
|
* Factory function for testnet cardano token instances.
|
|
603
680
|
*
|
|
681
|
+
* @param id uuid v4
|
|
604
682
|
* @param name unique identifier of the token
|
|
605
683
|
* @param fullName Complete human-readable name of the token
|
|
606
684
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -611,10 +689,11 @@ export declare function adaToken(name: string, fullName: string, decimalPlaces:
|
|
|
611
689
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
612
690
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
613
691
|
*/
|
|
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>;
|
|
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>;
|
|
615
693
|
/**
|
|
616
694
|
* Factory function for avaxErc20 token instances.
|
|
617
695
|
*
|
|
696
|
+
* @param id uuid v4
|
|
618
697
|
* @param name unique identifier of the token
|
|
619
698
|
* @param fullName Complete human-readable name of the token
|
|
620
699
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -626,10 +705,11 @@ export declare function tadaToken(name: string, fullName: string, decimalPlaces:
|
|
|
626
705
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
627
706
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
628
707
|
*/
|
|
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>;
|
|
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>;
|
|
630
709
|
/**
|
|
631
710
|
* Factory function for testnet avaxErc20 token instances.
|
|
632
711
|
*
|
|
712
|
+
* @param id uuid v4
|
|
633
713
|
* @param name unique identifier of the token
|
|
634
714
|
* @param fullName Complete human-readable name of the token
|
|
635
715
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -641,10 +721,11 @@ export declare function avaxErc20(name: string, fullName: string, decimalPlaces:
|
|
|
641
721
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
642
722
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
643
723
|
*/
|
|
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>;
|
|
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>;
|
|
645
725
|
/**
|
|
646
726
|
* Factory function for polygonErc20 token instances.
|
|
647
727
|
*
|
|
728
|
+
* @param id uuid v4
|
|
648
729
|
* @param name unique identifier of the token
|
|
649
730
|
* @param fullName Complete human-readable name of the token
|
|
650
731
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -656,10 +737,11 @@ export declare function tavaxErc20(name: string, fullName: string, decimalPlaces
|
|
|
656
737
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
657
738
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
658
739
|
*/
|
|
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>;
|
|
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>;
|
|
660
741
|
/**
|
|
661
|
-
* Factory function for
|
|
742
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
662
743
|
*
|
|
744
|
+
* @param id uuid v4
|
|
663
745
|
* @param name unique identifier of the token
|
|
664
746
|
* @param fullName Complete human-readable name of the token
|
|
665
747
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -671,10 +753,178 @@ export declare function polygonErc20(name: string, fullName: string, decimalPlac
|
|
|
671
753
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
672
754
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
673
755
|
*/
|
|
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>;
|
|
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>;
|
|
675
924
|
/**
|
|
676
925
|
* Factory function for fiat coin instances.
|
|
677
926
|
*
|
|
927
|
+
* @param id uuid v4
|
|
678
928
|
* @param name unique identifier of the coin, should start with 'fiat' or 'tfiat' followed by the 3-char ISO-4217 alphabetical code
|
|
679
929
|
* @param fullName Complete human-readable name of the coin
|
|
680
930
|
* @param network Network object for this coin
|
|
@@ -686,6 +936,6 @@ export declare function tpolygonErc20(name: string, fullName: string, decimalPla
|
|
|
686
936
|
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
687
937
|
* @param isToken? Whether or not this coin is a token of another coin
|
|
688
938
|
*/
|
|
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>;
|
|
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>;
|
|
690
940
|
export {};
|
|
691
941
|
//# sourceMappingURL=account.d.ts.map
|