@bitgo-beta/statics 10.0.1-alpha.1 → 10.0.1-alpha.100
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 +1791 -0
- package/dist/src/account.d.ts +251 -34
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +400 -53
- 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 +856 -16
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +916 -15
- package/dist/src/coins.d.ts +1 -0
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +2119 -1002
- 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 +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +3 -2
- 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 +264 -3
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +388 -31
- package/dist/src/ofc.d.ts +111 -4
- package/dist/src/ofc.d.ts.map +1 -1
- package/dist/src/ofc.js +225 -6
- package/dist/src/tokenConfig.d.ts +36 -0
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +101 -1
- package/dist/src/utxo.d.ts +3 -1
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +6 -2
- 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,6 +55,11 @@ 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
|
+
}
|
|
57
63
|
declare type FiatCoinName = `fiat${string}` | `tfiat${string}`;
|
|
58
64
|
export interface FiatCoinConstructorOptions extends AccountConstructorOptions {
|
|
59
65
|
name: FiatCoinName;
|
|
@@ -205,6 +211,39 @@ export declare class AvaxERC20Token extends ContractAddressDefinedToken {
|
|
|
205
211
|
export declare class PolygonERC20Token extends ContractAddressDefinedToken {
|
|
206
212
|
constructor(options: Erc20ConstructorOptions);
|
|
207
213
|
}
|
|
214
|
+
/**
|
|
215
|
+
* The Arbitrum Chain network support tokens
|
|
216
|
+
* Arbitrum Chain Tokens are ERC20 tokens
|
|
217
|
+
*/
|
|
218
|
+
export declare class ArbethERC20Token extends ContractAddressDefinedToken {
|
|
219
|
+
constructor(options: Erc20ConstructorOptions);
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* The Optimism Chain network support tokens
|
|
223
|
+
* Optimism Chain Tokens are ERC20 tokens
|
|
224
|
+
*/
|
|
225
|
+
export declare class OpethERC20Token extends ContractAddressDefinedToken {
|
|
226
|
+
constructor(options: Erc20ConstructorOptions);
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* The zkSync network support tokens
|
|
230
|
+
* zkSync Tokens are ERC20 tokens
|
|
231
|
+
*/
|
|
232
|
+
export declare class ZkethERC20Token extends ContractAddressDefinedToken {
|
|
233
|
+
constructor(options: Erc20ConstructorOptions);
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* The Xrp network supports tokens
|
|
237
|
+
* Xrp tokens are identified by their issuer address
|
|
238
|
+
* Naming format is similar to XLM
|
|
239
|
+
* <network>:<token>-<issuer>
|
|
240
|
+
*/
|
|
241
|
+
export declare class XrpCoin extends AccountCoinToken {
|
|
242
|
+
issuerAddress: string;
|
|
243
|
+
currencyCode: string;
|
|
244
|
+
domain: string;
|
|
245
|
+
constructor(options: XrpCoinConstructorOptions);
|
|
246
|
+
}
|
|
208
247
|
/**
|
|
209
248
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
210
249
|
*/
|
|
@@ -218,6 +257,7 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
218
257
|
/**
|
|
219
258
|
* Factory function for account coin instances.
|
|
220
259
|
*
|
|
260
|
+
* @param id uuid v4
|
|
221
261
|
* @param name unique identifier of the coin
|
|
222
262
|
* @param fullName Complete human-readable name of the coin
|
|
223
263
|
* @param network Network object for this coin
|
|
@@ -229,10 +269,11 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
229
269
|
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
230
270
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
231
271
|
*/
|
|
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>;
|
|
272
|
+
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
273
|
/**
|
|
234
274
|
* Factory function for erc20 token instances.
|
|
235
275
|
*
|
|
276
|
+
* @param id uuid v4
|
|
236
277
|
* @param name unique identifier of the token
|
|
237
278
|
* @param fullName Complete human-readable name of the token
|
|
238
279
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -244,10 +285,11 @@ export declare function account(name: string, fullName: string, network: Account
|
|
|
244
285
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
245
286
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
246
287
|
*/
|
|
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>;
|
|
288
|
+
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
289
|
/**
|
|
249
290
|
* Factory function for testnet erc20 token instances.
|
|
250
291
|
*
|
|
292
|
+
* @param id uuid v4
|
|
251
293
|
* @param name unique identifier of the token
|
|
252
294
|
* @param fullName Complete human-readable name of the token
|
|
253
295
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -258,10 +300,11 @@ export declare function erc20(name: string, fullName: string, decimalPlaces: num
|
|
|
258
300
|
* @param network? Optional token network. Defaults to the Kovan test network.
|
|
259
301
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
260
302
|
*/
|
|
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>;
|
|
303
|
+
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
304
|
/**
|
|
263
305
|
* Factory function for erc721 token instances.
|
|
264
306
|
*
|
|
307
|
+
* @param id uuid v4
|
|
265
308
|
* @param name unique identifier of the token
|
|
266
309
|
* @param fullName Complete human-readable name of the token
|
|
267
310
|
* @param contractAddress Contract address of this token
|
|
@@ -272,23 +315,40 @@ export declare function terc20(name: string, fullName: string, decimalPlaces: nu
|
|
|
272
315
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
273
316
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
274
317
|
*/
|
|
275
|
-
export declare function erc721(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
318
|
+
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
319
|
/**
|
|
277
320
|
* Factory function for testnet erc721 token instances.
|
|
278
321
|
*
|
|
322
|
+
* @param id uuid v4
|
|
323
|
+
* @param name unique identifier of the token
|
|
324
|
+
* @param fullName Complete human-readable name of the token
|
|
325
|
+
* @param contractAddress Contract address of this token
|
|
326
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
327
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
328
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
329
|
+
* @param network? Optional token network. Defaults to Holesky test network.
|
|
330
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
331
|
+
*/
|
|
332
|
+
export declare function terc721(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
333
|
+
/**
|
|
334
|
+
* Factory function for nonstandard token instances.
|
|
335
|
+
*
|
|
336
|
+
* @param id uuid v4
|
|
279
337
|
* @param name unique identifier of the token
|
|
280
338
|
* @param fullName Complete human-readable name of the token
|
|
281
339
|
* @param contractAddress Contract address of this token
|
|
282
340
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
283
341
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
284
342
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
285
|
-
* @param network? Optional token network. Defaults to
|
|
343
|
+
* @param network? Optional token network. Defaults to Ethereum main network.
|
|
344
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
286
345
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
287
346
|
*/
|
|
288
|
-
export declare function
|
|
347
|
+
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
348
|
/**
|
|
290
349
|
* Factory function for erc1155 token instances.
|
|
291
350
|
*
|
|
351
|
+
* @param id uuid v4
|
|
292
352
|
* @param name unique identifier of the token
|
|
293
353
|
* @param fullName Complete human-readable name of the token
|
|
294
354
|
* @param contractAddress Contract address of this token
|
|
@@ -299,23 +359,25 @@ export declare function terc721(name: string, fullName: string, contractAddress:
|
|
|
299
359
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
300
360
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
301
361
|
*/
|
|
302
|
-
export declare function erc1155(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
362
|
+
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
363
|
/**
|
|
304
364
|
* Factory function for testnet erc1155 token instances.
|
|
305
365
|
*
|
|
366
|
+
* @param id uuid v4
|
|
306
367
|
* @param name unique identifier of the token
|
|
307
368
|
* @param fullName Complete human-readable name of the token
|
|
308
369
|
* @param contractAddress Contract address of this token
|
|
309
370
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
310
371
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
311
372
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
312
|
-
* @param network? Optional token network. Defaults to
|
|
373
|
+
* @param network? Optional token network. Defaults to Holesky test network.
|
|
313
374
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
314
375
|
*/
|
|
315
|
-
export declare function terc1155(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
376
|
+
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
377
|
/**
|
|
317
378
|
* Factory function for ERC20-compatible account coin instances.
|
|
318
379
|
*
|
|
380
|
+
* @param id uuid v4
|
|
319
381
|
* @param name unique identifier of the token
|
|
320
382
|
* @param fullName Complete human-readable name of the token
|
|
321
383
|
* @param network Network object for this coin
|
|
@@ -327,10 +389,11 @@ export declare function terc1155(name: string, fullName: string, contractAddress
|
|
|
327
389
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
328
390
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
329
391
|
*/
|
|
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>;
|
|
392
|
+
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
393
|
/**
|
|
332
394
|
* Factory function for celo token instances.
|
|
333
395
|
*
|
|
396
|
+
* @param id uuid v4
|
|
334
397
|
* @param name unique identifier of the token
|
|
335
398
|
* @param fullName Complete human-readable name of the token
|
|
336
399
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -342,10 +405,11 @@ export declare function erc20CompatibleAccountCoin(name: string, fullName: strin
|
|
|
342
405
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
343
406
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
344
407
|
*/
|
|
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>;
|
|
408
|
+
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
409
|
/**
|
|
347
410
|
* Factory function for testnet celo token instances.
|
|
348
411
|
*
|
|
412
|
+
* @param id uuid v4
|
|
349
413
|
* @param name unique identifier of the token
|
|
350
414
|
* @param fullName Complete human-readable name of the token
|
|
351
415
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -356,10 +420,11 @@ export declare function celoToken(name: string, fullName: string, decimalPlaces:
|
|
|
356
420
|
* @param network? Optional token network. Defaults to the testnet CELO network.
|
|
357
421
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
358
422
|
*/
|
|
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>;
|
|
423
|
+
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
424
|
/**
|
|
361
425
|
* Factory function for celo token instances.
|
|
362
426
|
*
|
|
427
|
+
* @param id uuid v4
|
|
363
428
|
* @param name unique identifier of the token
|
|
364
429
|
* @param fullName Complete human-readable name of the token
|
|
365
430
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -371,10 +436,11 @@ export declare function tceloToken(name: string, fullName: string, decimalPlaces
|
|
|
371
436
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
372
437
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
373
438
|
*/
|
|
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>;
|
|
439
|
+
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
440
|
/**
|
|
376
441
|
* Factory function for testnet bsc token instances.
|
|
377
442
|
*
|
|
443
|
+
* @param id uuid v4
|
|
378
444
|
* @param name unique identifier of the token
|
|
379
445
|
* @param fullName Complete human-readable name of the token
|
|
380
446
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -385,10 +451,11 @@ export declare function bscToken(name: string, fullName: string, decimalPlaces:
|
|
|
385
451
|
* @param network? Optional token network. Defaults to the testnet BSC network.
|
|
386
452
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
387
453
|
*/
|
|
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>;
|
|
454
|
+
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
455
|
/**
|
|
390
456
|
* Factory function for Stellar token instances.
|
|
391
457
|
*
|
|
458
|
+
* @param id uuid v4
|
|
392
459
|
* @param name unique identifier of the token
|
|
393
460
|
* @param fullName Complete human-readable name of the token
|
|
394
461
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -401,10 +468,11 @@ export declare function tbscToken(name: string, fullName: string, decimalPlaces:
|
|
|
401
468
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
402
469
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
403
470
|
*/
|
|
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>;
|
|
471
|
+
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
472
|
/**
|
|
406
473
|
* Factory function for testnet Stellar token instances.
|
|
407
474
|
*
|
|
475
|
+
* @param id uuid v4
|
|
408
476
|
* @param name unique identifier of the token
|
|
409
477
|
* @param fullName Complete human-readable name of the token
|
|
410
478
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -416,10 +484,11 @@ export declare function stellarToken(name: string, fullName: string, decimalPlac
|
|
|
416
484
|
* @param network? Optional token network. Defaults to Stellar testnet.
|
|
417
485
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
418
486
|
*/
|
|
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>;
|
|
487
|
+
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
488
|
/**
|
|
421
489
|
* Factory function for tron token instances.
|
|
422
490
|
*
|
|
491
|
+
* @param id uuid v4
|
|
423
492
|
* @param name unique identifier of the token
|
|
424
493
|
* @param fullName Complete human-readable name of the token
|
|
425
494
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -431,10 +500,11 @@ export declare function tstellarToken(name: string, fullName: string, decimalPla
|
|
|
431
500
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
432
501
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
433
502
|
*/
|
|
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>;
|
|
503
|
+
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
504
|
/**
|
|
436
505
|
* Factory function for testnet tron token instances.
|
|
437
506
|
*
|
|
507
|
+
* @param id uuid v4
|
|
438
508
|
* @param name unique identifier of the token
|
|
439
509
|
* @param fullName Complete human-readable name of the token
|
|
440
510
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -446,10 +516,11 @@ export declare function tronToken(name: string, fullName: string, decimalPlaces:
|
|
|
446
516
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
447
517
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
448
518
|
*/
|
|
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>;
|
|
519
|
+
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
520
|
/**
|
|
451
521
|
* Factory function for Hedera coin instances
|
|
452
522
|
*
|
|
523
|
+
* @param id uuid v4
|
|
453
524
|
* @param name unique identifier of the coin
|
|
454
525
|
* @param fullName Complete human-readable name of the token
|
|
455
526
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -461,10 +532,11 @@ export declare function ttronToken(name: string, fullName: string, decimalPlaces
|
|
|
461
532
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
462
533
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
463
534
|
*/
|
|
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>;
|
|
535
|
+
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
536
|
/**
|
|
466
537
|
* Factory function for Hedera token instances
|
|
467
538
|
*
|
|
539
|
+
* @param id uuid v4
|
|
468
540
|
* @param name unique identifier of the coin
|
|
469
541
|
* @param fullName Complete human-readable name of the token
|
|
470
542
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -477,11 +549,13 @@ export declare function hederaCoin(name: string, fullName: string, network: Acco
|
|
|
477
549
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
478
550
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
479
551
|
*/
|
|
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>;
|
|
552
|
+
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
553
|
/**
|
|
482
554
|
* Factory function for ALGO token instances.
|
|
483
555
|
*
|
|
556
|
+
* @param id uuid v4
|
|
484
557
|
* @param name unique identifier of the token
|
|
558
|
+
|
|
485
559
|
* @param alias (optional) alternative identifier of the token
|
|
486
560
|
* @param fullName Complete human-readable name of the token
|
|
487
561
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -494,10 +568,11 @@ export declare function hederaToken(name: string, fullName: string, network: Acc
|
|
|
494
568
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
495
569
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
496
570
|
*/
|
|
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>;
|
|
571
|
+
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
572
|
/**
|
|
499
573
|
* Factory function for testnet ALGO token instances.
|
|
500
574
|
*
|
|
575
|
+
* @param id uuid v4
|
|
501
576
|
* @param name unique identifier of the token
|
|
502
577
|
* @param alias (optional) alternative identifier of the token
|
|
503
578
|
* @param fullName Complete human-readable name of the token
|
|
@@ -510,10 +585,11 @@ export declare function algoToken(name: string, alias: string | undefined, fullN
|
|
|
510
585
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
511
586
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
512
587
|
*/
|
|
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>;
|
|
588
|
+
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
589
|
/**
|
|
515
590
|
* Factory function for eos token instances.
|
|
516
591
|
*
|
|
592
|
+
* @param id uuid v4
|
|
517
593
|
* @param name unique identifier of the token
|
|
518
594
|
* @param fullName Complete human-readable name of the token
|
|
519
595
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -525,10 +601,11 @@ export declare function talgoToken(name: string, alias: string | undefined, full
|
|
|
525
601
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
526
602
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
527
603
|
*/
|
|
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>;
|
|
604
|
+
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
605
|
/**
|
|
530
606
|
* Factory function for testnet eos token instances.
|
|
531
607
|
*
|
|
608
|
+
* @param id uuid v4
|
|
532
609
|
* @param name unique identifier of the token
|
|
533
610
|
* @param fullName Complete human-readable name of the token
|
|
534
611
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -539,10 +616,11 @@ export declare function eosToken(name: string, fullName: string, decimalPlaces:
|
|
|
539
616
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
540
617
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
541
618
|
*/
|
|
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>;
|
|
619
|
+
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
620
|
/**
|
|
544
621
|
* Factory function for sol token instances.
|
|
545
622
|
*
|
|
623
|
+
* @param id uuid v4
|
|
546
624
|
* @param name unique identifier of the token
|
|
547
625
|
* @param fullName Complete human-readable name of the token
|
|
548
626
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -554,10 +632,11 @@ export declare function teosToken(name: string, fullName: string, decimalPlaces:
|
|
|
554
632
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
555
633
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
556
634
|
*/
|
|
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>;
|
|
635
|
+
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
636
|
/**
|
|
559
637
|
* Factory function for testnet solana token instances.
|
|
560
638
|
*
|
|
639
|
+
* @param id uuid v4
|
|
561
640
|
* @param name unique identifier of the token
|
|
562
641
|
* @param fullName Complete human-readable name of the token
|
|
563
642
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -568,10 +647,11 @@ export declare function solToken(name: string, fullName: string, decimalPlaces:
|
|
|
568
647
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
569
648
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
570
649
|
*/
|
|
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>;
|
|
650
|
+
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
651
|
/**
|
|
573
652
|
* Factory function for ada token instances.
|
|
574
653
|
*
|
|
654
|
+
* @param id uuid v4
|
|
575
655
|
* @param name unique identifier of the token
|
|
576
656
|
* @param fullName Complete human-readable name of the token
|
|
577
657
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -583,10 +663,11 @@ export declare function tsolToken(name: string, fullName: string, decimalPlaces:
|
|
|
583
663
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
584
664
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
585
665
|
*/
|
|
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>;
|
|
666
|
+
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
667
|
/**
|
|
588
668
|
* Factory function for testnet cardano token instances.
|
|
589
669
|
*
|
|
670
|
+
* @param id uuid v4
|
|
590
671
|
* @param name unique identifier of the token
|
|
591
672
|
* @param fullName Complete human-readable name of the token
|
|
592
673
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -597,10 +678,11 @@ export declare function adaToken(name: string, fullName: string, decimalPlaces:
|
|
|
597
678
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
598
679
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
599
680
|
*/
|
|
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>;
|
|
681
|
+
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
682
|
/**
|
|
602
683
|
* Factory function for avaxErc20 token instances.
|
|
603
684
|
*
|
|
685
|
+
* @param id uuid v4
|
|
604
686
|
* @param name unique identifier of the token
|
|
605
687
|
* @param fullName Complete human-readable name of the token
|
|
606
688
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -612,10 +694,11 @@ export declare function tadaToken(name: string, fullName: string, decimalPlaces:
|
|
|
612
694
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
613
695
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
614
696
|
*/
|
|
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>;
|
|
697
|
+
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
698
|
/**
|
|
617
699
|
* Factory function for testnet avaxErc20 token instances.
|
|
618
700
|
*
|
|
701
|
+
* @param id uuid v4
|
|
619
702
|
* @param name unique identifier of the token
|
|
620
703
|
* @param fullName Complete human-readable name of the token
|
|
621
704
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -627,10 +710,11 @@ export declare function avaxErc20(name: string, fullName: string, decimalPlaces:
|
|
|
627
710
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
628
711
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
629
712
|
*/
|
|
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>;
|
|
713
|
+
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
714
|
/**
|
|
632
715
|
* Factory function for polygonErc20 token instances.
|
|
633
716
|
*
|
|
717
|
+
* @param id uuid v4
|
|
634
718
|
* @param name unique identifier of the token
|
|
635
719
|
* @param fullName Complete human-readable name of the token
|
|
636
720
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -642,10 +726,11 @@ export declare function tavaxErc20(name: string, fullName: string, decimalPlaces
|
|
|
642
726
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
643
727
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
644
728
|
*/
|
|
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>;
|
|
729
|
+
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
730
|
/**
|
|
647
731
|
* Factory function for Mumbai testnet polygonErc20 token instances.
|
|
648
732
|
*
|
|
733
|
+
* @param id uuid v4
|
|
649
734
|
* @param name unique identifier of the token
|
|
650
735
|
* @param fullName Complete human-readable name of the token
|
|
651
736
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -657,11 +742,143 @@ export declare function polygonErc20(name: string, fullName: string, decimalPlac
|
|
|
657
742
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
658
743
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
659
744
|
*/
|
|
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>;
|
|
745
|
+
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>;
|
|
746
|
+
/**
|
|
747
|
+
* Factory function for arbethErc20 token instances.
|
|
748
|
+
*
|
|
749
|
+
* @param id uuid v4
|
|
750
|
+
* @param name unique identifier of the token
|
|
751
|
+
* @param fullName Complete human-readable name of the token
|
|
752
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
753
|
+
* @param contractAddress Contract address of this token
|
|
754
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
755
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
756
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
757
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
758
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
759
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
760
|
+
*/
|
|
761
|
+
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>;
|
|
762
|
+
/**
|
|
763
|
+
* Factory function for Arbitrum Sepolia testnet arbethErc20 token instances.
|
|
764
|
+
*
|
|
765
|
+
* @param id uuid v4
|
|
766
|
+
* @param name unique identifier of the token
|
|
767
|
+
* @param fullName Complete human-readable name of the token
|
|
768
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
769
|
+
* @param contractAddress Contract address of this token
|
|
770
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
771
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
772
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
773
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
774
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
775
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
776
|
+
*/
|
|
777
|
+
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>;
|
|
778
|
+
/**
|
|
779
|
+
* Factory function for opethErc20 token instances.
|
|
780
|
+
*
|
|
781
|
+
* @param id uuid v4
|
|
782
|
+
* @param name unique identifier of the token
|
|
783
|
+
* @param fullName Complete human-readable name of the token
|
|
784
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
785
|
+
* @param contractAddress Contract address of this token
|
|
786
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
787
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
788
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
789
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
790
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
791
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
792
|
+
*/
|
|
793
|
+
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>;
|
|
794
|
+
/**
|
|
795
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
796
|
+
*
|
|
797
|
+
* @param id uuid v4
|
|
798
|
+
* @param name unique identifier of the token
|
|
799
|
+
* @param fullName Complete human-readable name of the token
|
|
800
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
801
|
+
* @param contractAddress Contract address of this token
|
|
802
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
803
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
804
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
805
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
806
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
807
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
808
|
+
*/
|
|
809
|
+
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>;
|
|
810
|
+
/**
|
|
811
|
+
* Factory function for zkethErc20 token instances.
|
|
812
|
+
*
|
|
813
|
+
* @param id uuid v4
|
|
814
|
+
* @param name unique identifier of the token
|
|
815
|
+
* @param fullName Complete human-readable name of the token
|
|
816
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
817
|
+
* @param contractAddress Contract address of this token
|
|
818
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
819
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
820
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
821
|
+
* @param network? Optional token network. Defaults to zkSync mainnet network.
|
|
822
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
823
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
824
|
+
*/
|
|
825
|
+
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>;
|
|
826
|
+
/**
|
|
827
|
+
* Factory function for zkSync Sepolia testnet zkethErc20 token instances.
|
|
828
|
+
*
|
|
829
|
+
* @param id uuid v4
|
|
830
|
+
* @param name unique identifier of the token
|
|
831
|
+
* @param fullName Complete human-readable name of the token
|
|
832
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
833
|
+
* @param contractAddress Contract address of this token
|
|
834
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
835
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
836
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
837
|
+
* @param network? Optional token network. Defaults to the zkSync sepolia test network.
|
|
838
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
839
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
840
|
+
*/
|
|
841
|
+
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>;
|
|
842
|
+
/**
|
|
843
|
+
* Factory function for xrp token instances.
|
|
844
|
+
*
|
|
845
|
+
* @param id uuid v4
|
|
846
|
+
* @param name unique identifier of the token
|
|
847
|
+
* @param fullName Complete human-readable name of the token
|
|
848
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
849
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
850
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
851
|
+
* @param domain? the domain of the issuer of the token,
|
|
852
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
853
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
854
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
855
|
+
* @param network? Optional token network. Defaults to Cardano main network.
|
|
856
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
857
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
858
|
+
*/
|
|
859
|
+
export declare function 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>;
|
|
860
|
+
/**
|
|
861
|
+
* Factory function for testnet cardano token instances.
|
|
862
|
+
*
|
|
863
|
+
* @param id uuid v4
|
|
864
|
+
* @param name unique identifier of the token
|
|
865
|
+
* @param fullName Complete human-readable name of the token
|
|
866
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
867
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
868
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
869
|
+
* @param domain? the domain of the issuer of the token,
|
|
870
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
871
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
872
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
873
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
874
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
875
|
+
*/
|
|
876
|
+
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>;
|
|
661
877
|
/**
|
|
662
878
|
* Factory function for fiat coin instances.
|
|
663
879
|
*
|
|
664
|
-
* @param
|
|
880
|
+
* @param id uuid v4
|
|
881
|
+
* @param name unique identifier of the coin, should start with 'fiat' or 'tfiat' followed by the 3-char ISO-4217 alphabetical code
|
|
665
882
|
* @param fullName Complete human-readable name of the coin
|
|
666
883
|
* @param network Network object for this coin
|
|
667
884
|
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
@@ -672,6 +889,6 @@ export declare function tpolygonErc20(name: string, fullName: string, decimalPla
|
|
|
672
889
|
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
673
890
|
* @param isToken? Whether or not this coin is a token of another coin
|
|
674
891
|
*/
|
|
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>;
|
|
892
|
+
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
893
|
export {};
|
|
677
894
|
//# sourceMappingURL=account.d.ts.map
|