@bitgo-beta/statics 10.0.1-alpha.13 → 10.0.1-alpha.131
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 +2086 -0
- package/dist/src/account.d.ts +227 -62
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +350 -96
- 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 +696 -16
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +736 -15
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +2181 -1268
- 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 +8 -3
- 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 +284 -3
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +419 -43
- package/dist/src/ofc.d.ts +145 -4
- package/dist/src/ofc.d.ts.map +1 -1
- package/dist/src/ofc.js +295 -6
- package/dist/src/tokenConfig.d.ts +31 -0
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +86 -3
- package/dist/src/utxo.d.ts +6 -2
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +65 -3
- package/dist/tsconfig.tsbuildinfo +1 -2717
- package/package.json +2 -2
- package/dist/resources/dot/index.d.ts +0 -3
- package/dist/resources/dot/index.d.ts.map +0 -1
- package/dist/resources/dot/index.js +0 -15
- package/dist/resources/dot/mainnet.d.ts +0 -2
- package/dist/resources/dot/mainnet.d.ts.map +0 -1
- package/dist/resources/dot/mainnet.js +0 -5
- package/dist/resources/dot/westend.d.ts +0 -2
- package/dist/resources/dot/westend.d.ts.map +0 -1
- package/dist/resources/dot/westend.js +0 -5
- package/resources/dot/index.ts +0 -2
- package/resources/dot/mainnet.ts +0 -2
- package/resources/dot/westend.ts +0 -2
package/dist/src/account.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BaseCoin, BaseUnit, CoinFeature, KeyCurve, UnderlyingAsset } from './base';
|
|
2
2
|
import { AccountNetwork, BaseNetwork, EthereumNetwork, TronNetwork } from './networks';
|
|
3
3
|
export interface AccountConstructorOptions {
|
|
4
|
+
id: string;
|
|
4
5
|
fullName: string;
|
|
5
6
|
name: string;
|
|
6
7
|
alias?: string;
|
|
@@ -54,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;
|
|
@@ -191,15 +197,6 @@ export declare class AdaCoin extends AccountCoinToken {
|
|
|
191
197
|
assetName: string;
|
|
192
198
|
constructor(options: AdaCoinConstructorOptions);
|
|
193
199
|
}
|
|
194
|
-
/**
|
|
195
|
-
* The Trx network supports tokens
|
|
196
|
-
* Trx tokens are identified by their smart contract address
|
|
197
|
-
*
|
|
198
|
-
*/
|
|
199
|
-
export declare class TrxCoin extends AccountCoinToken {
|
|
200
|
-
contractAddress: string;
|
|
201
|
-
constructor(options: Erc20ConstructorOptions);
|
|
202
|
-
}
|
|
203
200
|
/**
|
|
204
201
|
* The AVAX C Chain network support tokens
|
|
205
202
|
* AVAX C Chain Tokens are ERC20 coins
|
|
@@ -214,6 +211,39 @@ export declare class AvaxERC20Token extends ContractAddressDefinedToken {
|
|
|
214
211
|
export declare class PolygonERC20Token extends ContractAddressDefinedToken {
|
|
215
212
|
constructor(options: Erc20ConstructorOptions);
|
|
216
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
|
+
}
|
|
217
247
|
/**
|
|
218
248
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
219
249
|
*/
|
|
@@ -227,6 +257,7 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
227
257
|
/**
|
|
228
258
|
* Factory function for account coin instances.
|
|
229
259
|
*
|
|
260
|
+
* @param id uuid v4
|
|
230
261
|
* @param name unique identifier of the coin
|
|
231
262
|
* @param fullName Complete human-readable name of the coin
|
|
232
263
|
* @param network Network object for this coin
|
|
@@ -238,10 +269,11 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
238
269
|
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
239
270
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
240
271
|
*/
|
|
241
|
-
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>;
|
|
242
273
|
/**
|
|
243
274
|
* Factory function for erc20 token instances.
|
|
244
275
|
*
|
|
276
|
+
* @param id uuid v4
|
|
245
277
|
* @param name unique identifier of the token
|
|
246
278
|
* @param fullName Complete human-readable name of the token
|
|
247
279
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -253,10 +285,11 @@ export declare function account(name: string, fullName: string, network: Account
|
|
|
253
285
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
254
286
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
255
287
|
*/
|
|
256
|
-
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>;
|
|
257
289
|
/**
|
|
258
290
|
* Factory function for testnet erc20 token instances.
|
|
259
291
|
*
|
|
292
|
+
* @param id uuid v4
|
|
260
293
|
* @param name unique identifier of the token
|
|
261
294
|
* @param fullName Complete human-readable name of the token
|
|
262
295
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -267,10 +300,11 @@ export declare function erc20(name: string, fullName: string, decimalPlaces: num
|
|
|
267
300
|
* @param network? Optional token network. Defaults to the Kovan test network.
|
|
268
301
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
269
302
|
*/
|
|
270
|
-
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>;
|
|
271
304
|
/**
|
|
272
305
|
* Factory function for erc721 token instances.
|
|
273
306
|
*
|
|
307
|
+
* @param id uuid v4
|
|
274
308
|
* @param name unique identifier of the token
|
|
275
309
|
* @param fullName Complete human-readable name of the token
|
|
276
310
|
* @param contractAddress Contract address of this token
|
|
@@ -281,23 +315,25 @@ export declare function terc20(name: string, fullName: string, decimalPlaces: nu
|
|
|
281
315
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
282
316
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
283
317
|
*/
|
|
284
|
-
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>;
|
|
285
319
|
/**
|
|
286
320
|
* Factory function for testnet erc721 token instances.
|
|
287
321
|
*
|
|
322
|
+
* @param id uuid v4
|
|
288
323
|
* @param name unique identifier of the token
|
|
289
324
|
* @param fullName Complete human-readable name of the token
|
|
290
325
|
* @param contractAddress Contract address of this token
|
|
291
326
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
292
327
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
293
328
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
294
|
-
* @param network? Optional token network. Defaults to
|
|
329
|
+
* @param network? Optional token network. Defaults to Holesky test network.
|
|
295
330
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
296
331
|
*/
|
|
297
|
-
export declare function terc721(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
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>;
|
|
298
333
|
/**
|
|
299
334
|
* Factory function for nonstandard token instances.
|
|
300
335
|
*
|
|
336
|
+
* @param id uuid v4
|
|
301
337
|
* @param name unique identifier of the token
|
|
302
338
|
* @param fullName Complete human-readable name of the token
|
|
303
339
|
* @param contractAddress Contract address of this token
|
|
@@ -308,10 +344,11 @@ export declare function terc721(name: string, fullName: string, contractAddress:
|
|
|
308
344
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
309
345
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
310
346
|
*/
|
|
311
|
-
export declare function nonstandardToken(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<ContractAddressDefinedToken>;
|
|
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>;
|
|
312
348
|
/**
|
|
313
349
|
* Factory function for erc1155 token instances.
|
|
314
350
|
*
|
|
351
|
+
* @param id uuid v4
|
|
315
352
|
* @param name unique identifier of the token
|
|
316
353
|
* @param fullName Complete human-readable name of the token
|
|
317
354
|
* @param contractAddress Contract address of this token
|
|
@@ -322,23 +359,25 @@ export declare function nonstandardToken(name: string, fullName: string, contrac
|
|
|
322
359
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
323
360
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
324
361
|
*/
|
|
325
|
-
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>;
|
|
326
363
|
/**
|
|
327
364
|
* Factory function for testnet erc1155 token instances.
|
|
328
365
|
*
|
|
366
|
+
* @param id uuid v4
|
|
329
367
|
* @param name unique identifier of the token
|
|
330
368
|
* @param fullName Complete human-readable name of the token
|
|
331
369
|
* @param contractAddress Contract address of this token
|
|
332
370
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
333
371
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
334
372
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
335
|
-
* @param network? Optional token network. Defaults to
|
|
373
|
+
* @param network? Optional token network. Defaults to Holesky test network.
|
|
336
374
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
337
375
|
*/
|
|
338
|
-
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>;
|
|
339
377
|
/**
|
|
340
378
|
* Factory function for ERC20-compatible account coin instances.
|
|
341
379
|
*
|
|
380
|
+
* @param id uuid v4
|
|
342
381
|
* @param name unique identifier of the token
|
|
343
382
|
* @param fullName Complete human-readable name of the token
|
|
344
383
|
* @param network Network object for this coin
|
|
@@ -350,10 +389,11 @@ export declare function terc1155(name: string, fullName: string, contractAddress
|
|
|
350
389
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
351
390
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
352
391
|
*/
|
|
353
|
-
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>;
|
|
354
393
|
/**
|
|
355
394
|
* Factory function for celo token instances.
|
|
356
395
|
*
|
|
396
|
+
* @param id uuid v4
|
|
357
397
|
* @param name unique identifier of the token
|
|
358
398
|
* @param fullName Complete human-readable name of the token
|
|
359
399
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -365,10 +405,11 @@ export declare function erc20CompatibleAccountCoin(name: string, fullName: strin
|
|
|
365
405
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
366
406
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
367
407
|
*/
|
|
368
|
-
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>;
|
|
369
409
|
/**
|
|
370
410
|
* Factory function for testnet celo token instances.
|
|
371
411
|
*
|
|
412
|
+
* @param id uuid v4
|
|
372
413
|
* @param name unique identifier of the token
|
|
373
414
|
* @param fullName Complete human-readable name of the token
|
|
374
415
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -379,10 +420,11 @@ export declare function celoToken(name: string, fullName: string, decimalPlaces:
|
|
|
379
420
|
* @param network? Optional token network. Defaults to the testnet CELO network.
|
|
380
421
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
381
422
|
*/
|
|
382
|
-
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>;
|
|
383
424
|
/**
|
|
384
425
|
* Factory function for celo token instances.
|
|
385
426
|
*
|
|
427
|
+
* @param id uuid v4
|
|
386
428
|
* @param name unique identifier of the token
|
|
387
429
|
* @param fullName Complete human-readable name of the token
|
|
388
430
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -394,10 +436,11 @@ export declare function tceloToken(name: string, fullName: string, decimalPlaces
|
|
|
394
436
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
395
437
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
396
438
|
*/
|
|
397
|
-
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>;
|
|
398
440
|
/**
|
|
399
441
|
* Factory function for testnet bsc token instances.
|
|
400
442
|
*
|
|
443
|
+
* @param id uuid v4
|
|
401
444
|
* @param name unique identifier of the token
|
|
402
445
|
* @param fullName Complete human-readable name of the token
|
|
403
446
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -408,10 +451,11 @@ export declare function bscToken(name: string, fullName: string, decimalPlaces:
|
|
|
408
451
|
* @param network? Optional token network. Defaults to the testnet BSC network.
|
|
409
452
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
410
453
|
*/
|
|
411
|
-
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>;
|
|
412
455
|
/**
|
|
413
456
|
* Factory function for Stellar token instances.
|
|
414
457
|
*
|
|
458
|
+
* @param id uuid v4
|
|
415
459
|
* @param name unique identifier of the token
|
|
416
460
|
* @param fullName Complete human-readable name of the token
|
|
417
461
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -424,10 +468,11 @@ export declare function tbscToken(name: string, fullName: string, decimalPlaces:
|
|
|
424
468
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
425
469
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
426
470
|
*/
|
|
427
|
-
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>;
|
|
428
472
|
/**
|
|
429
473
|
* Factory function for testnet Stellar token instances.
|
|
430
474
|
*
|
|
475
|
+
* @param id uuid v4
|
|
431
476
|
* @param name unique identifier of the token
|
|
432
477
|
* @param fullName Complete human-readable name of the token
|
|
433
478
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -439,10 +484,11 @@ export declare function stellarToken(name: string, fullName: string, decimalPlac
|
|
|
439
484
|
* @param network? Optional token network. Defaults to Stellar testnet.
|
|
440
485
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
441
486
|
*/
|
|
442
|
-
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>;
|
|
443
488
|
/**
|
|
444
489
|
* Factory function for tron token instances.
|
|
445
490
|
*
|
|
491
|
+
* @param id uuid v4
|
|
446
492
|
* @param name unique identifier of the token
|
|
447
493
|
* @param fullName Complete human-readable name of the token
|
|
448
494
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -454,10 +500,11 @@ export declare function tstellarToken(name: string, fullName: string, decimalPla
|
|
|
454
500
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
455
501
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
456
502
|
*/
|
|
457
|
-
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>;
|
|
458
504
|
/**
|
|
459
505
|
* Factory function for testnet tron token instances.
|
|
460
506
|
*
|
|
507
|
+
* @param id uuid v4
|
|
461
508
|
* @param name unique identifier of the token
|
|
462
509
|
* @param fullName Complete human-readable name of the token
|
|
463
510
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -469,10 +516,11 @@ export declare function tronToken(name: string, fullName: string, decimalPlaces:
|
|
|
469
516
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
470
517
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
471
518
|
*/
|
|
472
|
-
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>;
|
|
473
520
|
/**
|
|
474
521
|
* Factory function for Hedera coin instances
|
|
475
522
|
*
|
|
523
|
+
* @param id uuid v4
|
|
476
524
|
* @param name unique identifier of the coin
|
|
477
525
|
* @param fullName Complete human-readable name of the token
|
|
478
526
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -484,10 +532,11 @@ export declare function ttronToken(name: string, fullName: string, decimalPlaces
|
|
|
484
532
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
485
533
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
486
534
|
*/
|
|
487
|
-
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>;
|
|
488
536
|
/**
|
|
489
537
|
* Factory function for Hedera token instances
|
|
490
538
|
*
|
|
539
|
+
* @param id uuid v4
|
|
491
540
|
* @param name unique identifier of the coin
|
|
492
541
|
* @param fullName Complete human-readable name of the token
|
|
493
542
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -500,11 +549,13 @@ export declare function hederaCoin(name: string, fullName: string, network: Acco
|
|
|
500
549
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
501
550
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
502
551
|
*/
|
|
503
|
-
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>;
|
|
504
553
|
/**
|
|
505
554
|
* Factory function for ALGO token instances.
|
|
506
555
|
*
|
|
556
|
+
* @param id uuid v4
|
|
507
557
|
* @param name unique identifier of the token
|
|
558
|
+
|
|
508
559
|
* @param alias (optional) alternative identifier of the token
|
|
509
560
|
* @param fullName Complete human-readable name of the token
|
|
510
561
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -517,10 +568,11 @@ export declare function hederaToken(name: string, fullName: string, network: Acc
|
|
|
517
568
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
518
569
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
519
570
|
*/
|
|
520
|
-
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>;
|
|
521
572
|
/**
|
|
522
573
|
* Factory function for testnet ALGO token instances.
|
|
523
574
|
*
|
|
575
|
+
* @param id uuid v4
|
|
524
576
|
* @param name unique identifier of the token
|
|
525
577
|
* @param alias (optional) alternative identifier of the token
|
|
526
578
|
* @param fullName Complete human-readable name of the token
|
|
@@ -533,10 +585,11 @@ export declare function algoToken(name: string, alias: string | undefined, fullN
|
|
|
533
585
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
534
586
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
535
587
|
*/
|
|
536
|
-
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>;
|
|
537
589
|
/**
|
|
538
590
|
* Factory function for eos token instances.
|
|
539
591
|
*
|
|
592
|
+
* @param id uuid v4
|
|
540
593
|
* @param name unique identifier of the token
|
|
541
594
|
* @param fullName Complete human-readable name of the token
|
|
542
595
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -548,10 +601,11 @@ export declare function talgoToken(name: string, alias: string | undefined, full
|
|
|
548
601
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
549
602
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
550
603
|
*/
|
|
551
|
-
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>;
|
|
552
605
|
/**
|
|
553
606
|
* Factory function for testnet eos token instances.
|
|
554
607
|
*
|
|
608
|
+
* @param id uuid v4
|
|
555
609
|
* @param name unique identifier of the token
|
|
556
610
|
* @param fullName Complete human-readable name of the token
|
|
557
611
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -562,10 +616,11 @@ export declare function eosToken(name: string, fullName: string, decimalPlaces:
|
|
|
562
616
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
563
617
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
564
618
|
*/
|
|
565
|
-
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>;
|
|
566
620
|
/**
|
|
567
621
|
* Factory function for sol token instances.
|
|
568
622
|
*
|
|
623
|
+
* @param id uuid v4
|
|
569
624
|
* @param name unique identifier of the token
|
|
570
625
|
* @param fullName Complete human-readable name of the token
|
|
571
626
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -577,10 +632,11 @@ export declare function teosToken(name: string, fullName: string, decimalPlaces:
|
|
|
577
632
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
578
633
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
579
634
|
*/
|
|
580
|
-
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>;
|
|
581
636
|
/**
|
|
582
637
|
* Factory function for testnet solana token instances.
|
|
583
638
|
*
|
|
639
|
+
* @param id uuid v4
|
|
584
640
|
* @param name unique identifier of the token
|
|
585
641
|
* @param fullName Complete human-readable name of the token
|
|
586
642
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -591,10 +647,11 @@ export declare function solToken(name: string, fullName: string, decimalPlaces:
|
|
|
591
647
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
592
648
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
593
649
|
*/
|
|
594
|
-
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>;
|
|
595
651
|
/**
|
|
596
652
|
* Factory function for ada token instances.
|
|
597
653
|
*
|
|
654
|
+
* @param id uuid v4
|
|
598
655
|
* @param name unique identifier of the token
|
|
599
656
|
* @param fullName Complete human-readable name of the token
|
|
600
657
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -606,10 +663,11 @@ export declare function tsolToken(name: string, fullName: string, decimalPlaces:
|
|
|
606
663
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
607
664
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
608
665
|
*/
|
|
609
|
-
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>;
|
|
610
667
|
/**
|
|
611
668
|
* Factory function for testnet cardano token instances.
|
|
612
669
|
*
|
|
670
|
+
* @param id uuid v4
|
|
613
671
|
* @param name unique identifier of the token
|
|
614
672
|
* @param fullName Complete human-readable name of the token
|
|
615
673
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -620,39 +678,43 @@ export declare function adaToken(name: string, fullName: string, decimalPlaces:
|
|
|
620
678
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
621
679
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
622
680
|
*/
|
|
623
|
-
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>;
|
|
624
682
|
/**
|
|
625
|
-
* Factory function for
|
|
683
|
+
* Factory function for avaxErc20 token instances.
|
|
626
684
|
*
|
|
685
|
+
* @param id uuid v4
|
|
627
686
|
* @param name unique identifier of the token
|
|
628
687
|
* @param fullName Complete human-readable name of the token
|
|
629
688
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
630
|
-
* @param contractAddress
|
|
689
|
+
* @param contractAddress Contract address of this token
|
|
631
690
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
632
691
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
633
692
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
634
|
-
* @param network? Optional token network. Defaults to
|
|
635
|
-
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
693
|
+
* @param network? Optional token network. Defaults to AvalancheC main network.
|
|
694
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
636
695
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
637
696
|
*/
|
|
638
|
-
export declare function
|
|
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>;
|
|
639
698
|
/**
|
|
640
|
-
* Factory function for testnet
|
|
699
|
+
* Factory function for testnet avaxErc20 token instances.
|
|
641
700
|
*
|
|
701
|
+
* @param id uuid v4
|
|
642
702
|
* @param name unique identifier of the token
|
|
643
703
|
* @param fullName Complete human-readable name of the token
|
|
644
704
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
645
|
-
* @param contractAddress
|
|
705
|
+
* @param contractAddress Contract address of this token
|
|
646
706
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
647
707
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
648
708
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
649
|
-
* @param network? Optional token network. Defaults to the
|
|
650
|
-
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
709
|
+
* @param network? Optional token network. Defaults to the AvalancheC test network.
|
|
710
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
711
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
651
712
|
*/
|
|
652
|
-
export declare function
|
|
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>;
|
|
653
714
|
/**
|
|
654
|
-
* Factory function for
|
|
715
|
+
* Factory function for polygonErc20 token instances.
|
|
655
716
|
*
|
|
717
|
+
* @param id uuid v4
|
|
656
718
|
* @param name unique identifier of the token
|
|
657
719
|
* @param fullName Complete human-readable name of the token
|
|
658
720
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -660,14 +722,15 @@ export declare function ttrxToken(name: string, fullName: string, decimalPlaces:
|
|
|
660
722
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
661
723
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
662
724
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
663
|
-
* @param network? Optional token network. Defaults to
|
|
725
|
+
* @param network? Optional token network. Defaults to Polygon main network.
|
|
664
726
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
665
727
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
666
728
|
*/
|
|
667
|
-
export declare function
|
|
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>;
|
|
668
730
|
/**
|
|
669
|
-
* Factory function for testnet
|
|
731
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
670
732
|
*
|
|
733
|
+
* @param id uuid v4
|
|
671
734
|
* @param name unique identifier of the token
|
|
672
735
|
* @param fullName Complete human-readable name of the token
|
|
673
736
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -675,14 +738,15 @@ export declare function avaxErc20(name: string, fullName: string, decimalPlaces:
|
|
|
675
738
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
676
739
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
677
740
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
678
|
-
* @param network? Optional token network. Defaults to the
|
|
741
|
+
* @param network? Optional token network. Defaults to the Polygon test network.
|
|
679
742
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
680
743
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
681
744
|
*/
|
|
682
|
-
export declare function
|
|
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>;
|
|
683
746
|
/**
|
|
684
|
-
* Factory function for
|
|
747
|
+
* Factory function for arbethErc20 token instances.
|
|
685
748
|
*
|
|
749
|
+
* @param id uuid v4
|
|
686
750
|
* @param name unique identifier of the token
|
|
687
751
|
* @param fullName Complete human-readable name of the token
|
|
688
752
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -690,14 +754,15 @@ export declare function tavaxErc20(name: string, fullName: string, decimalPlaces
|
|
|
690
754
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
691
755
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
692
756
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
693
|
-
* @param network? Optional token network. Defaults to
|
|
757
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
694
758
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
695
759
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
696
760
|
*/
|
|
697
|
-
export declare function
|
|
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>;
|
|
698
762
|
/**
|
|
699
|
-
* Factory function for
|
|
763
|
+
* Factory function for Arbitrum Sepolia testnet arbethErc20 token instances.
|
|
700
764
|
*
|
|
765
|
+
* @param id uuid v4
|
|
701
766
|
* @param name unique identifier of the token
|
|
702
767
|
* @param fullName Complete human-readable name of the token
|
|
703
768
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -705,15 +770,115 @@ export declare function polygonErc20(name: string, fullName: string, decimalPlac
|
|
|
705
770
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
706
771
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
707
772
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
708
|
-
* @param network? Optional token network. Defaults to the
|
|
773
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
709
774
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
710
775
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
711
776
|
*/
|
|
712
|
-
export declare function
|
|
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>;
|
|
713
877
|
/**
|
|
714
878
|
* Factory function for fiat coin instances.
|
|
715
879
|
*
|
|
716
|
-
* @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
|
|
717
882
|
* @param fullName Complete human-readable name of the coin
|
|
718
883
|
* @param network Network object for this coin
|
|
719
884
|
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
@@ -724,6 +889,6 @@ export declare function tpolygonErc20(name: string, fullName: string, decimalPla
|
|
|
724
889
|
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
725
890
|
* @param isToken? Whether or not this coin is a token of another coin
|
|
726
891
|
*/
|
|
727
|
-
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>;
|
|
728
893
|
export {};
|
|
729
894
|
//# sourceMappingURL=account.d.ts.map
|