@bitgo-beta/statics 10.0.1-alpha.9 → 10.0.1-alpha.91
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 +513 -0
- package/dist/src/account.d.ts +145 -58
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +222 -92
- 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 +11 -3
- package/dist/src/base.d.ts +231 -4
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +262 -3
- package/dist/src/coins.d.ts +1 -0
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +1656 -1230
- 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 +1 -0
- package/dist/src/map.d.ts.map +1 -1
- package/dist/src/map.js +8 -3
- package/dist/src/networks.d.ts +205 -5
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +324 -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 +17 -0
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +45 -2
- 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;
|
|
@@ -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,25 @@ 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 Xrp network supports tokens
|
|
223
|
+
* Xrp tokens are identified by their issuer address
|
|
224
|
+
* Naming format is similar to XLM
|
|
225
|
+
* <network>:<token>-<issuer>
|
|
226
|
+
*/
|
|
227
|
+
export declare class XrpCoin extends AccountCoinToken {
|
|
228
|
+
issuerAddress: string;
|
|
229
|
+
currencyCode: string;
|
|
230
|
+
domain: string;
|
|
231
|
+
constructor(options: XrpCoinConstructorOptions);
|
|
232
|
+
}
|
|
217
233
|
/**
|
|
218
234
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
219
235
|
*/
|
|
@@ -227,6 +243,7 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
227
243
|
/**
|
|
228
244
|
* Factory function for account coin instances.
|
|
229
245
|
*
|
|
246
|
+
* @param id uuid v4
|
|
230
247
|
* @param name unique identifier of the coin
|
|
231
248
|
* @param fullName Complete human-readable name of the coin
|
|
232
249
|
* @param network Network object for this coin
|
|
@@ -238,10 +255,11 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
238
255
|
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
239
256
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
240
257
|
*/
|
|
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>;
|
|
258
|
+
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
259
|
/**
|
|
243
260
|
* Factory function for erc20 token instances.
|
|
244
261
|
*
|
|
262
|
+
* @param id uuid v4
|
|
245
263
|
* @param name unique identifier of the token
|
|
246
264
|
* @param fullName Complete human-readable name of the token
|
|
247
265
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -253,10 +271,11 @@ export declare function account(name: string, fullName: string, network: Account
|
|
|
253
271
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
254
272
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
255
273
|
*/
|
|
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>;
|
|
274
|
+
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
275
|
/**
|
|
258
276
|
* Factory function for testnet erc20 token instances.
|
|
259
277
|
*
|
|
278
|
+
* @param id uuid v4
|
|
260
279
|
* @param name unique identifier of the token
|
|
261
280
|
* @param fullName Complete human-readable name of the token
|
|
262
281
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -267,10 +286,11 @@ export declare function erc20(name: string, fullName: string, decimalPlaces: num
|
|
|
267
286
|
* @param network? Optional token network. Defaults to the Kovan test network.
|
|
268
287
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
269
288
|
*/
|
|
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>;
|
|
289
|
+
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
290
|
/**
|
|
272
291
|
* Factory function for erc721 token instances.
|
|
273
292
|
*
|
|
293
|
+
* @param id uuid v4
|
|
274
294
|
* @param name unique identifier of the token
|
|
275
295
|
* @param fullName Complete human-readable name of the token
|
|
276
296
|
* @param contractAddress Contract address of this token
|
|
@@ -281,10 +301,11 @@ export declare function terc20(name: string, fullName: string, decimalPlaces: nu
|
|
|
281
301
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
282
302
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
283
303
|
*/
|
|
284
|
-
export declare function erc721(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
304
|
+
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
305
|
/**
|
|
286
306
|
* Factory function for testnet erc721 token instances.
|
|
287
307
|
*
|
|
308
|
+
* @param id uuid v4
|
|
288
309
|
* @param name unique identifier of the token
|
|
289
310
|
* @param fullName Complete human-readable name of the token
|
|
290
311
|
* @param contractAddress Contract address of this token
|
|
@@ -294,10 +315,11 @@ export declare function erc721(name: string, fullName: string, contractAddress:
|
|
|
294
315
|
* @param network? Optional token network. Defaults to Goerli test network.
|
|
295
316
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
296
317
|
*/
|
|
297
|
-
export declare function terc721(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
318
|
+
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
319
|
/**
|
|
299
320
|
* Factory function for nonstandard token instances.
|
|
300
321
|
*
|
|
322
|
+
* @param id uuid v4
|
|
301
323
|
* @param name unique identifier of the token
|
|
302
324
|
* @param fullName Complete human-readable name of the token
|
|
303
325
|
* @param contractAddress Contract address of this token
|
|
@@ -308,10 +330,11 @@ export declare function terc721(name: string, fullName: string, contractAddress:
|
|
|
308
330
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
309
331
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
310
332
|
*/
|
|
311
|
-
export declare function nonstandardToken(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<ContractAddressDefinedToken>;
|
|
333
|
+
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
334
|
/**
|
|
313
335
|
* Factory function for erc1155 token instances.
|
|
314
336
|
*
|
|
337
|
+
* @param id uuid v4
|
|
315
338
|
* @param name unique identifier of the token
|
|
316
339
|
* @param fullName Complete human-readable name of the token
|
|
317
340
|
* @param contractAddress Contract address of this token
|
|
@@ -322,10 +345,11 @@ export declare function nonstandardToken(name: string, fullName: string, contrac
|
|
|
322
345
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
323
346
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
324
347
|
*/
|
|
325
|
-
export declare function erc1155(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
348
|
+
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
349
|
/**
|
|
327
350
|
* Factory function for testnet erc1155 token instances.
|
|
328
351
|
*
|
|
352
|
+
* @param id uuid v4
|
|
329
353
|
* @param name unique identifier of the token
|
|
330
354
|
* @param fullName Complete human-readable name of the token
|
|
331
355
|
* @param contractAddress Contract address of this token
|
|
@@ -335,10 +359,11 @@ export declare function erc1155(name: string, fullName: string, contractAddress:
|
|
|
335
359
|
* @param network? Optional token network. Defaults to Goerli test network.
|
|
336
360
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
337
361
|
*/
|
|
338
|
-
export declare function terc1155(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
362
|
+
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
363
|
/**
|
|
340
364
|
* Factory function for ERC20-compatible account coin instances.
|
|
341
365
|
*
|
|
366
|
+
* @param id uuid v4
|
|
342
367
|
* @param name unique identifier of the token
|
|
343
368
|
* @param fullName Complete human-readable name of the token
|
|
344
369
|
* @param network Network object for this coin
|
|
@@ -350,10 +375,11 @@ export declare function terc1155(name: string, fullName: string, contractAddress
|
|
|
350
375
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
351
376
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
352
377
|
*/
|
|
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>;
|
|
378
|
+
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
379
|
/**
|
|
355
380
|
* Factory function for celo token instances.
|
|
356
381
|
*
|
|
382
|
+
* @param id uuid v4
|
|
357
383
|
* @param name unique identifier of the token
|
|
358
384
|
* @param fullName Complete human-readable name of the token
|
|
359
385
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -365,10 +391,11 @@ export declare function erc20CompatibleAccountCoin(name: string, fullName: strin
|
|
|
365
391
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
366
392
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
367
393
|
*/
|
|
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>;
|
|
394
|
+
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
395
|
/**
|
|
370
396
|
* Factory function for testnet celo token instances.
|
|
371
397
|
*
|
|
398
|
+
* @param id uuid v4
|
|
372
399
|
* @param name unique identifier of the token
|
|
373
400
|
* @param fullName Complete human-readable name of the token
|
|
374
401
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -379,10 +406,11 @@ export declare function celoToken(name: string, fullName: string, decimalPlaces:
|
|
|
379
406
|
* @param network? Optional token network. Defaults to the testnet CELO network.
|
|
380
407
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
381
408
|
*/
|
|
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>;
|
|
409
|
+
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
410
|
/**
|
|
384
411
|
* Factory function for celo token instances.
|
|
385
412
|
*
|
|
413
|
+
* @param id uuid v4
|
|
386
414
|
* @param name unique identifier of the token
|
|
387
415
|
* @param fullName Complete human-readable name of the token
|
|
388
416
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -394,10 +422,11 @@ export declare function tceloToken(name: string, fullName: string, decimalPlaces
|
|
|
394
422
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
395
423
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
396
424
|
*/
|
|
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>;
|
|
425
|
+
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
426
|
/**
|
|
399
427
|
* Factory function for testnet bsc token instances.
|
|
400
428
|
*
|
|
429
|
+
* @param id uuid v4
|
|
401
430
|
* @param name unique identifier of the token
|
|
402
431
|
* @param fullName Complete human-readable name of the token
|
|
403
432
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -408,10 +437,11 @@ export declare function bscToken(name: string, fullName: string, decimalPlaces:
|
|
|
408
437
|
* @param network? Optional token network. Defaults to the testnet BSC network.
|
|
409
438
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
410
439
|
*/
|
|
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>;
|
|
440
|
+
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
441
|
/**
|
|
413
442
|
* Factory function for Stellar token instances.
|
|
414
443
|
*
|
|
444
|
+
* @param id uuid v4
|
|
415
445
|
* @param name unique identifier of the token
|
|
416
446
|
* @param fullName Complete human-readable name of the token
|
|
417
447
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -424,10 +454,11 @@ export declare function tbscToken(name: string, fullName: string, decimalPlaces:
|
|
|
424
454
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
425
455
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
426
456
|
*/
|
|
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>;
|
|
457
|
+
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
458
|
/**
|
|
429
459
|
* Factory function for testnet Stellar token instances.
|
|
430
460
|
*
|
|
461
|
+
* @param id uuid v4
|
|
431
462
|
* @param name unique identifier of the token
|
|
432
463
|
* @param fullName Complete human-readable name of the token
|
|
433
464
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -439,10 +470,11 @@ export declare function stellarToken(name: string, fullName: string, decimalPlac
|
|
|
439
470
|
* @param network? Optional token network. Defaults to Stellar testnet.
|
|
440
471
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
441
472
|
*/
|
|
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>;
|
|
473
|
+
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
474
|
/**
|
|
444
475
|
* Factory function for tron token instances.
|
|
445
476
|
*
|
|
477
|
+
* @param id uuid v4
|
|
446
478
|
* @param name unique identifier of the token
|
|
447
479
|
* @param fullName Complete human-readable name of the token
|
|
448
480
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -454,10 +486,11 @@ export declare function tstellarToken(name: string, fullName: string, decimalPla
|
|
|
454
486
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
455
487
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
456
488
|
*/
|
|
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>;
|
|
489
|
+
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
490
|
/**
|
|
459
491
|
* Factory function for testnet tron token instances.
|
|
460
492
|
*
|
|
493
|
+
* @param id uuid v4
|
|
461
494
|
* @param name unique identifier of the token
|
|
462
495
|
* @param fullName Complete human-readable name of the token
|
|
463
496
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -469,10 +502,11 @@ export declare function tronToken(name: string, fullName: string, decimalPlaces:
|
|
|
469
502
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
470
503
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
471
504
|
*/
|
|
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>;
|
|
505
|
+
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
506
|
/**
|
|
474
507
|
* Factory function for Hedera coin instances
|
|
475
508
|
*
|
|
509
|
+
* @param id uuid v4
|
|
476
510
|
* @param name unique identifier of the coin
|
|
477
511
|
* @param fullName Complete human-readable name of the token
|
|
478
512
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -484,10 +518,11 @@ export declare function ttronToken(name: string, fullName: string, decimalPlaces
|
|
|
484
518
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
485
519
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
486
520
|
*/
|
|
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>;
|
|
521
|
+
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
522
|
/**
|
|
489
523
|
* Factory function for Hedera token instances
|
|
490
524
|
*
|
|
525
|
+
* @param id uuid v4
|
|
491
526
|
* @param name unique identifier of the coin
|
|
492
527
|
* @param fullName Complete human-readable name of the token
|
|
493
528
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -500,11 +535,13 @@ export declare function hederaCoin(name: string, fullName: string, network: Acco
|
|
|
500
535
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
501
536
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
502
537
|
*/
|
|
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>;
|
|
538
|
+
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
539
|
/**
|
|
505
540
|
* Factory function for ALGO token instances.
|
|
506
541
|
*
|
|
542
|
+
* @param id uuid v4
|
|
507
543
|
* @param name unique identifier of the token
|
|
544
|
+
|
|
508
545
|
* @param alias (optional) alternative identifier of the token
|
|
509
546
|
* @param fullName Complete human-readable name of the token
|
|
510
547
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -517,10 +554,11 @@ export declare function hederaToken(name: string, fullName: string, network: Acc
|
|
|
517
554
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
518
555
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
519
556
|
*/
|
|
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>;
|
|
557
|
+
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
558
|
/**
|
|
522
559
|
* Factory function for testnet ALGO token instances.
|
|
523
560
|
*
|
|
561
|
+
* @param id uuid v4
|
|
524
562
|
* @param name unique identifier of the token
|
|
525
563
|
* @param alias (optional) alternative identifier of the token
|
|
526
564
|
* @param fullName Complete human-readable name of the token
|
|
@@ -533,10 +571,11 @@ export declare function algoToken(name: string, alias: string | undefined, fullN
|
|
|
533
571
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
534
572
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
535
573
|
*/
|
|
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>;
|
|
574
|
+
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
575
|
/**
|
|
538
576
|
* Factory function for eos token instances.
|
|
539
577
|
*
|
|
578
|
+
* @param id uuid v4
|
|
540
579
|
* @param name unique identifier of the token
|
|
541
580
|
* @param fullName Complete human-readable name of the token
|
|
542
581
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -548,10 +587,11 @@ export declare function talgoToken(name: string, alias: string | undefined, full
|
|
|
548
587
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
549
588
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
550
589
|
*/
|
|
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>;
|
|
590
|
+
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
591
|
/**
|
|
553
592
|
* Factory function for testnet eos token instances.
|
|
554
593
|
*
|
|
594
|
+
* @param id uuid v4
|
|
555
595
|
* @param name unique identifier of the token
|
|
556
596
|
* @param fullName Complete human-readable name of the token
|
|
557
597
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -562,10 +602,11 @@ export declare function eosToken(name: string, fullName: string, decimalPlaces:
|
|
|
562
602
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
563
603
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
564
604
|
*/
|
|
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>;
|
|
605
|
+
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
606
|
/**
|
|
567
607
|
* Factory function for sol token instances.
|
|
568
608
|
*
|
|
609
|
+
* @param id uuid v4
|
|
569
610
|
* @param name unique identifier of the token
|
|
570
611
|
* @param fullName Complete human-readable name of the token
|
|
571
612
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -577,10 +618,11 @@ export declare function teosToken(name: string, fullName: string, decimalPlaces:
|
|
|
577
618
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
578
619
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
579
620
|
*/
|
|
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>;
|
|
621
|
+
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
622
|
/**
|
|
582
623
|
* Factory function for testnet solana token instances.
|
|
583
624
|
*
|
|
625
|
+
* @param id uuid v4
|
|
584
626
|
* @param name unique identifier of the token
|
|
585
627
|
* @param fullName Complete human-readable name of the token
|
|
586
628
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -591,10 +633,11 @@ export declare function solToken(name: string, fullName: string, decimalPlaces:
|
|
|
591
633
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
592
634
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
593
635
|
*/
|
|
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>;
|
|
636
|
+
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
637
|
/**
|
|
596
638
|
* Factory function for ada token instances.
|
|
597
639
|
*
|
|
640
|
+
* @param id uuid v4
|
|
598
641
|
* @param name unique identifier of the token
|
|
599
642
|
* @param fullName Complete human-readable name of the token
|
|
600
643
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -606,10 +649,11 @@ export declare function tsolToken(name: string, fullName: string, decimalPlaces:
|
|
|
606
649
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
607
650
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
608
651
|
*/
|
|
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>;
|
|
652
|
+
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
653
|
/**
|
|
611
654
|
* Factory function for testnet cardano token instances.
|
|
612
655
|
*
|
|
656
|
+
* @param id uuid v4
|
|
613
657
|
* @param name unique identifier of the token
|
|
614
658
|
* @param fullName Complete human-readable name of the token
|
|
615
659
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -620,39 +664,43 @@ export declare function adaToken(name: string, fullName: string, decimalPlaces:
|
|
|
620
664
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
621
665
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
622
666
|
*/
|
|
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>;
|
|
667
|
+
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
668
|
/**
|
|
625
|
-
* Factory function for
|
|
669
|
+
* Factory function for avaxErc20 token instances.
|
|
626
670
|
*
|
|
671
|
+
* @param id uuid v4
|
|
627
672
|
* @param name unique identifier of the token
|
|
628
673
|
* @param fullName Complete human-readable name of the token
|
|
629
674
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
630
|
-
* @param contractAddress
|
|
675
|
+
* @param contractAddress Contract address of this token
|
|
631
676
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
632
677
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
633
678
|
* @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
|
|
679
|
+
* @param network? Optional token network. Defaults to AvalancheC main network.
|
|
680
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
636
681
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
637
682
|
*/
|
|
638
|
-
export declare function
|
|
683
|
+
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
684
|
/**
|
|
640
|
-
* Factory function for testnet
|
|
685
|
+
* Factory function for testnet avaxErc20 token instances.
|
|
641
686
|
*
|
|
687
|
+
* @param id uuid v4
|
|
642
688
|
* @param name unique identifier of the token
|
|
643
689
|
* @param fullName Complete human-readable name of the token
|
|
644
690
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
645
|
-
* @param contractAddress
|
|
691
|
+
* @param contractAddress Contract address of this token
|
|
646
692
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
647
693
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
648
694
|
* @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
|
|
695
|
+
* @param network? Optional token network. Defaults to the AvalancheC test network.
|
|
696
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
697
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
651
698
|
*/
|
|
652
|
-
export declare function
|
|
699
|
+
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
700
|
/**
|
|
654
|
-
* Factory function for
|
|
701
|
+
* Factory function for polygonErc20 token instances.
|
|
655
702
|
*
|
|
703
|
+
* @param id uuid v4
|
|
656
704
|
* @param name unique identifier of the token
|
|
657
705
|
* @param fullName Complete human-readable name of the token
|
|
658
706
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -660,14 +708,15 @@ export declare function ttrxToken(name: string, fullName: string, decimalPlaces:
|
|
|
660
708
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
661
709
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
662
710
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
663
|
-
* @param network? Optional token network. Defaults to
|
|
711
|
+
* @param network? Optional token network. Defaults to Polygon main network.
|
|
664
712
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
665
713
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
666
714
|
*/
|
|
667
|
-
export declare function
|
|
715
|
+
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
716
|
/**
|
|
669
|
-
* Factory function for testnet
|
|
717
|
+
* Factory function for Mumbai testnet polygonErc20 token instances.
|
|
670
718
|
*
|
|
719
|
+
* @param id uuid v4
|
|
671
720
|
* @param name unique identifier of the token
|
|
672
721
|
* @param fullName Complete human-readable name of the token
|
|
673
722
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -675,14 +724,15 @@ export declare function avaxErc20(name: string, fullName: string, decimalPlaces:
|
|
|
675
724
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
676
725
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
677
726
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
678
|
-
* @param network? Optional token network. Defaults to the
|
|
727
|
+
* @param network? Optional token network. Defaults to the Polygon test network.
|
|
679
728
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
680
729
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
681
730
|
*/
|
|
682
|
-
export declare function
|
|
731
|
+
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
732
|
/**
|
|
684
|
-
* Factory function for
|
|
733
|
+
* Factory function for arbethErc20 token instances.
|
|
685
734
|
*
|
|
735
|
+
* @param id uuid v4
|
|
686
736
|
* @param name unique identifier of the token
|
|
687
737
|
* @param fullName Complete human-readable name of the token
|
|
688
738
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -694,10 +744,11 @@ export declare function tavaxErc20(name: string, fullName: string, decimalPlaces
|
|
|
694
744
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
695
745
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
696
746
|
*/
|
|
697
|
-
export declare function
|
|
747
|
+
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
748
|
/**
|
|
699
|
-
* Factory function for
|
|
749
|
+
* Factory function for Arbitrum Sepolia testnet arbethErc20 token instances.
|
|
700
750
|
*
|
|
751
|
+
* @param id uuid v4
|
|
701
752
|
* @param name unique identifier of the token
|
|
702
753
|
* @param fullName Complete human-readable name of the token
|
|
703
754
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -709,11 +760,47 @@ export declare function polygonErc20(name: string, fullName: string, decimalPlac
|
|
|
709
760
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
710
761
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
711
762
|
*/
|
|
712
|
-
export declare function
|
|
763
|
+
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>;
|
|
764
|
+
/**
|
|
765
|
+
* Factory function for xrp token instances.
|
|
766
|
+
*
|
|
767
|
+
* @param id uuid v4
|
|
768
|
+
* @param name unique identifier of the token
|
|
769
|
+
* @param fullName Complete human-readable name of the token
|
|
770
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
771
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
772
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
773
|
+
* @param domain? the domain of the issuer of the token,
|
|
774
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
775
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
776
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
777
|
+
* @param network? Optional token network. Defaults to Cardano main network.
|
|
778
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
779
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
780
|
+
*/
|
|
781
|
+
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>;
|
|
782
|
+
/**
|
|
783
|
+
* Factory function for testnet cardano token instances.
|
|
784
|
+
*
|
|
785
|
+
* @param id uuid v4
|
|
786
|
+
* @param name unique identifier of the token
|
|
787
|
+
* @param fullName Complete human-readable name of the token
|
|
788
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
789
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
790
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
791
|
+
* @param domain? the domain of the issuer of the token,
|
|
792
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
793
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
794
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
795
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
796
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
797
|
+
*/
|
|
798
|
+
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
799
|
/**
|
|
714
800
|
* Factory function for fiat coin instances.
|
|
715
801
|
*
|
|
716
|
-
* @param
|
|
802
|
+
* @param id uuid v4
|
|
803
|
+
* @param name unique identifier of the coin, should start with 'fiat' or 'tfiat' followed by the 3-char ISO-4217 alphabetical code
|
|
717
804
|
* @param fullName Complete human-readable name of the coin
|
|
718
805
|
* @param network Network object for this coin
|
|
719
806
|
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
@@ -724,6 +811,6 @@ export declare function tpolygonErc20(name: string, fullName: string, decimalPla
|
|
|
724
811
|
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
725
812
|
* @param isToken? Whether or not this coin is a token of another coin
|
|
726
813
|
*/
|
|
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>;
|
|
814
|
+
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
815
|
export {};
|
|
729
816
|
//# sourceMappingURL=account.d.ts.map
|