@bitgo-beta/statics 15.1.1-beta.187 → 15.1.1-beta.1870
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/dist/src/account.d.ts +1130 -75
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +1780 -160
- package/dist/src/ada.d.ts.map +1 -1
- package/dist/src/ada.js +7 -3
- package/dist/src/allCoinsAndTokens.d.ts +2 -0
- package/dist/src/allCoinsAndTokens.d.ts.map +1 -0
- package/dist/src/allCoinsAndTokens.js +1755 -0
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +9 -3
- package/dist/src/base.d.ts +2713 -57
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +2823 -67
- package/dist/src/canton.d.ts +34 -0
- package/dist/src/canton.d.ts.map +1 -0
- package/dist/src/canton.js +51 -0
- package/dist/src/coinFeatures.d.ts +119 -0
- package/dist/src/coinFeatures.d.ts.map +1 -0
- package/dist/src/coinFeatures.js +774 -0
- package/dist/src/coins/adaTokens.d.ts +2 -0
- package/dist/src/coins/adaTokens.d.ts.map +1 -0
- package/dist/src/coins/adaTokens.js +22 -0
- package/dist/src/coins/avaxTokens.d.ts +2 -0
- package/dist/src/coins/avaxTokens.d.ts.map +1 -0
- package/dist/src/coins/avaxTokens.js +131 -0
- package/dist/src/coins/botOfcTokens.d.ts +3 -0
- package/dist/src/coins/botOfcTokens.d.ts.map +1 -0
- package/dist/src/coins/botOfcTokens.js +64 -0
- package/dist/src/coins/botTokens.d.ts +3 -0
- package/dist/src/coins/botTokens.d.ts.map +1 -0
- package/dist/src/coins/botTokens.js +282 -0
- package/dist/src/coins/bscTokens.d.ts +2 -0
- package/dist/src/coins/bscTokens.d.ts.map +1 -0
- package/dist/src/coins/bscTokens.js +220 -0
- package/dist/src/coins/cantonTokens.d.ts +2 -0
- package/dist/src/coins/cantonTokens.d.ts.map +1 -0
- package/dist/src/coins/cantonTokens.js +106 -0
- package/dist/src/coins/cosmosTokens.d.ts +2 -0
- package/dist/src/coins/cosmosTokens.d.ts.map +1 -0
- package/dist/src/coins/cosmosTokens.js +14 -0
- package/dist/src/coins/erc20Coins.d.ts +2 -0
- package/dist/src/coins/erc20Coins.d.ts.map +1 -0
- package/dist/src/coins/erc20Coins.js +2048 -0
- package/dist/src/coins/erc7984Tokens.d.ts +18 -0
- package/dist/src/coins/erc7984Tokens.d.ts.map +1 -0
- package/dist/src/coins/erc7984Tokens.js +32 -0
- package/dist/src/coins/generateERC20.d.ts +36 -0
- package/dist/src/coins/generateERC20.d.ts.map +1 -0
- package/dist/src/coins/generateERC20.js +46 -0
- package/dist/src/coins/hoodethTokens.d.ts +2 -0
- package/dist/src/coins/hoodethTokens.d.ts.map +1 -0
- package/dist/src/coins/hoodethTokens.js +115 -0
- package/dist/src/coins/jettonTokens.d.ts +2 -0
- package/dist/src/coins/jettonTokens.d.ts.map +1 -0
- package/dist/src/coins/jettonTokens.js +19 -0
- package/dist/src/coins/nep141Tokens.d.ts +2 -0
- package/dist/src/coins/nep141Tokens.d.ts.map +1 -0
- package/dist/src/coins/nep141Tokens.js +18 -0
- package/dist/src/coins/ofcCoins.d.ts +2 -0
- package/dist/src/coins/ofcCoins.d.ts.map +1 -0
- package/dist/src/coins/ofcCoins.js +1162 -0
- package/dist/src/coins/ofcErc20Coins.d.ts +4 -0
- package/dist/src/coins/ofcErc20Coins.d.ts.map +1 -0
- package/dist/src/coins/ofcErc20Coins.js +1837 -0
- package/dist/src/coins/ofcHoodethTokens.d.ts +2 -0
- package/dist/src/coins/ofcHoodethTokens.d.ts.map +1 -0
- package/dist/src/coins/ofcHoodethTokens.js +113 -0
- package/dist/src/coins/polygonTokens.d.ts +2 -0
- package/dist/src/coins/polygonTokens.d.ts.map +1 -0
- package/dist/src/coins/polygonTokens.js +203 -0
- package/dist/src/coins/polyxTokens.d.ts +2 -0
- package/dist/src/coins/polyxTokens.d.ts.map +1 -0
- package/dist/src/coins/polyxTokens.js +22 -0
- package/dist/src/coins/sip10Tokens.d.ts +2 -0
- package/dist/src/coins/sip10Tokens.d.ts.map +1 -0
- package/dist/src/coins/sip10Tokens.js +25 -0
- package/dist/src/coins/solTokens.d.ts +3 -0
- package/dist/src/coins/solTokens.d.ts.map +1 -0
- package/dist/src/coins/solTokens.js +499 -0
- package/dist/src/coins/vetTokens.d.ts +2 -0
- package/dist/src/coins/vetTokens.d.ts.map +1 -0
- package/dist/src/coins/vetTokens.js +11 -0
- package/dist/src/coins.d.ts +22 -1
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +463 -1708
- package/dist/src/constants.d.ts +1 -0
- package/dist/src/constants.d.ts.map +1 -1
- package/dist/src/constants.js +3 -2
- package/dist/src/errors.d.ts +9 -0
- package/dist/src/errors.d.ts.map +1 -1
- package/dist/src/errors.js +23 -2
- package/dist/src/flrp.d.ts +40 -0
- package/dist/src/flrp.d.ts.map +1 -0
- package/dist/src/flrp.js +68 -0
- package/dist/src/hypeevm.d.ts +28 -0
- package/dist/src/hypeevm.d.ts.map +1 -0
- package/dist/src/hypeevm.js +60 -0
- package/dist/src/index.d.ts +5 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +41 -3
- package/dist/src/kaspa.d.ts +34 -0
- package/dist/src/kaspa.d.ts.map +1 -0
- package/dist/src/kaspa.js +63 -0
- package/dist/src/lightning.d.ts +43 -0
- package/dist/src/lightning.d.ts.map +1 -0
- package/dist/src/lightning.js +64 -0
- package/dist/src/map.d.ts +34 -1
- package/dist/src/map.d.ts.map +1 -1
- package/dist/src/map.js +250 -35
- package/dist/src/networkFeatureMapForTokens.d.ts +17 -0
- package/dist/src/networkFeatureMapForTokens.d.ts.map +1 -0
- package/dist/src/networkFeatureMapForTokens.js +84 -0
- package/dist/src/networks.d.ts +1968 -67
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +2416 -108
- package/dist/src/ofc.d.ts +695 -3
- package/dist/src/ofc.d.ts.map +1 -1
- package/dist/src/ofc.js +1653 -28
- package/dist/src/tokenConfig.d.ts +692 -108
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +1087 -220
- package/dist/src/utxo.d.ts +3 -1
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +84 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -3
- package/.mocharc.js +0 -10
- package/.prettierignore +0 -2
- package/CHANGELOG.md +0 -1221
package/dist/src/ofc.d.ts
CHANGED
|
@@ -16,16 +16,38 @@ export interface OfcConstructorOptions {
|
|
|
16
16
|
addressCoin?: string;
|
|
17
17
|
primaryKeyCurve: KeyCurve;
|
|
18
18
|
}
|
|
19
|
+
export declare function getFilteredFeatures(suffix: string): CoinFeature[];
|
|
20
|
+
export declare function getFilteredFeatures(features: CoinFeature[]): CoinFeature[];
|
|
19
21
|
/**
|
|
20
22
|
* OFC (off chain) coins. These are virtual coins used to represent off chain assets on the BitGo platform.
|
|
21
23
|
*/
|
|
22
24
|
export declare class OfcCoin extends BaseCoin {
|
|
23
25
|
static readonly DEFAULT_FEATURES: CoinFeature[];
|
|
24
26
|
readonly addressCoin?: string;
|
|
27
|
+
readonly minimumDenomination: number;
|
|
25
28
|
constructor(options: OfcConstructorOptions);
|
|
26
29
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
27
30
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
28
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Function to convert AMS inputs into OFC coin instance.
|
|
34
|
+
*
|
|
35
|
+
* @param id uuid v4
|
|
36
|
+
* @param name unique identifier of the coin
|
|
37
|
+
* @param fullName complete human-readable name of the coin
|
|
38
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
39
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
40
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
41
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
42
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
43
|
+
* @param network Network object for this coin
|
|
44
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
45
|
+
* @param baseUnit base unit of the token
|
|
46
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
47
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
48
|
+
* @returns {Readonly<OfcCoin>} OFC coin instance
|
|
49
|
+
*/
|
|
50
|
+
export declare function ofcToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, primaryKeyCurve?: KeyCurve, baseUnit?: BaseUnit, isToken?: boolean, kind?: CoinKind, addressCoin?: string): Readonly<OfcCoin>;
|
|
29
51
|
/**
|
|
30
52
|
* Factory function for ofc coin instances.
|
|
31
53
|
*
|
|
@@ -68,12 +90,11 @@ export declare function tofc(id: string, name: string, fullName: string, decimal
|
|
|
68
90
|
* @param id uuid v4
|
|
69
91
|
* @param name unique identifier of the coin
|
|
70
92
|
* @param fullName Complete human-readable name of the coin
|
|
71
|
-
* @param network Network object for this coin
|
|
72
93
|
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
73
94
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
74
|
-
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
75
|
-
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
95
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets * @param prefix? Optional coin prefix. Defaults to empty string
|
|
76
96
|
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
97
|
+
* @param network Network object for this coin
|
|
77
98
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
78
99
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
79
100
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
@@ -96,6 +117,42 @@ export declare function ofcerc20(id: string, name: string, fullName: string, dec
|
|
|
96
117
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
97
118
|
*/
|
|
98
119
|
export declare function tofcerc20(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
120
|
+
/**
|
|
121
|
+
* Factory function for ofc solana token instances.
|
|
122
|
+
*
|
|
123
|
+
* @param id uuid v4
|
|
124
|
+
* @param name unique identifier of the coin
|
|
125
|
+
* @param fullName Complete human-readable name of the coin
|
|
126
|
+
* @param features
|
|
127
|
+
* @param prefix
|
|
128
|
+
* @param suffix
|
|
129
|
+
* @param network Network object for this coin
|
|
130
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
131
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
132
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
133
|
+
* @param isToken
|
|
134
|
+
* @param addressCoin
|
|
135
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
136
|
+
*/
|
|
137
|
+
export declare function ofcsolToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], kind?: CoinKind, prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
138
|
+
/**
|
|
139
|
+
* Factory function for testnet ofc solana token instances.
|
|
140
|
+
*
|
|
141
|
+
* @param id uuid v4
|
|
142
|
+
* @param name unique identifier of the coin
|
|
143
|
+
* @param fullName Complete human-readable name of the coin
|
|
144
|
+
* @param features
|
|
145
|
+
* @param prefix
|
|
146
|
+
* @param suffix
|
|
147
|
+
* @param network Network object for this coin
|
|
148
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
149
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
150
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
151
|
+
* @param isToken
|
|
152
|
+
* @param addressCoin
|
|
153
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
154
|
+
*/
|
|
155
|
+
export declare function tofcsolToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], kind?: CoinKind, prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
99
156
|
/**
|
|
100
157
|
* Factory function for ofc stellar token instances.
|
|
101
158
|
*
|
|
@@ -198,4 +255,639 @@ export declare function ofcHederaToken(id: string, name: string, fullName: strin
|
|
|
198
255
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
199
256
|
*/
|
|
200
257
|
export declare function tofcHederaToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
258
|
+
/**
|
|
259
|
+
* Factory function for ofc arbethErc20 token instances.
|
|
260
|
+
*
|
|
261
|
+
* @param id uuid v4
|
|
262
|
+
* @param name unique identifier of the coin
|
|
263
|
+
* @param fullName Complete human-readable name of the coin
|
|
264
|
+
* @param network Network object for this coin
|
|
265
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
266
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
267
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
268
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
269
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
270
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
271
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
272
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
273
|
+
*/
|
|
274
|
+
export declare function ofcArbethErc20(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
275
|
+
/**
|
|
276
|
+
* Factory function for testnet ofc arbethErc20 token instances.
|
|
277
|
+
*
|
|
278
|
+
* @param id uuid v4
|
|
279
|
+
* @param name unique identifier of the coin
|
|
280
|
+
* @param fullName Complete human-readable name of the coin
|
|
281
|
+
* @param network Network object for this coin
|
|
282
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
283
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
284
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
285
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
286
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
287
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
288
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
289
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
290
|
+
*/
|
|
291
|
+
export declare function tofcArbethErc20(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
292
|
+
/**
|
|
293
|
+
* Factory function for ofc avaxErc20 token instances.
|
|
294
|
+
*
|
|
295
|
+
* @param id uuid v4
|
|
296
|
+
* @param name unique identifier of the coin
|
|
297
|
+
* @param fullName Complete human-readable name of the coin
|
|
298
|
+
* @param network Network object for this coin
|
|
299
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
300
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
301
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
302
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
303
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
304
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
305
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
306
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
307
|
+
*/
|
|
308
|
+
export declare function ofcAvaxErc20(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
309
|
+
/**
|
|
310
|
+
* Factory function for testnet ofc avaxErc20 token instances.
|
|
311
|
+
*
|
|
312
|
+
* @param id uuid v4
|
|
313
|
+
* @param name unique identifier of the coin
|
|
314
|
+
* @param fullName Complete human-readable name of the coin
|
|
315
|
+
* @param network Network object for this coin
|
|
316
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
317
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
318
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
319
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
320
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
321
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
322
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
323
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
324
|
+
*/
|
|
325
|
+
export declare function tofcAvaxErc20(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
326
|
+
/**
|
|
327
|
+
* Factory function for ofc polygonErc20 token instances.
|
|
328
|
+
*
|
|
329
|
+
* @param id uuid v4
|
|
330
|
+
* @param name unique identifier of the coin
|
|
331
|
+
* @param fullName Complete human-readable name of the coin
|
|
332
|
+
* @param network Network object for this coin
|
|
333
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
334
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
335
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
336
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
337
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
338
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
339
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
340
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
341
|
+
*/
|
|
342
|
+
export declare function ofcPolygonErc20(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
343
|
+
/**
|
|
344
|
+
* Factory function for testnet ofc polygonErc20 token instances.
|
|
345
|
+
*
|
|
346
|
+
* @param id uuid v4
|
|
347
|
+
* @param name unique identifier of the coin
|
|
348
|
+
* @param fullName Complete human-readable name of the coin
|
|
349
|
+
* @param network Network object for this coin
|
|
350
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
351
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
352
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
353
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
354
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
355
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
356
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
357
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
358
|
+
*/
|
|
359
|
+
export declare function tofcPolygonErc20(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
360
|
+
/**
|
|
361
|
+
* Factory function for ofc bsc token instances.
|
|
362
|
+
*
|
|
363
|
+
* @param id uuid v4
|
|
364
|
+
* @param name unique identifier of the coin
|
|
365
|
+
* @param fullName Complete human-readable name of the coin
|
|
366
|
+
* @param network Network object for this coin
|
|
367
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
368
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
369
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
370
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
371
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
372
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
373
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
374
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
375
|
+
*/
|
|
376
|
+
export declare function ofcBscToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
377
|
+
/**
|
|
378
|
+
* Factory function for testnet ofc bsc token instances.
|
|
379
|
+
*
|
|
380
|
+
* @param id uuid v4
|
|
381
|
+
* @param name unique identifier of the coin
|
|
382
|
+
* @param fullName Complete human-readable name of the coin
|
|
383
|
+
* @param network Network object for this coin
|
|
384
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
385
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
386
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
387
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
388
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
389
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
390
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
391
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
392
|
+
*/
|
|
393
|
+
export declare function tofcBscToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
394
|
+
/**
|
|
395
|
+
* Factory function for mainnet ofc xrp instances.
|
|
396
|
+
*
|
|
397
|
+
* @param id uuid v4
|
|
398
|
+
* @param name unique identifier of the coin
|
|
399
|
+
* @param fullName Complete human-readable name of the coin
|
|
400
|
+
* @param network Network object for this coin
|
|
401
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
402
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
403
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
404
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
405
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
406
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
407
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
408
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
409
|
+
*/
|
|
410
|
+
export declare function ofcXrpToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
411
|
+
/**
|
|
412
|
+
* Factory function for testnet ofc xrp token instances.
|
|
413
|
+
*
|
|
414
|
+
* @param id uuid v4
|
|
415
|
+
* @param name unique identifier of the coin
|
|
416
|
+
* @param fullName Complete human-readable name of the coin
|
|
417
|
+
* @param network Network object for this coin
|
|
418
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
419
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
420
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
421
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
422
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
423
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
424
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
425
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
426
|
+
*/
|
|
427
|
+
export declare function tofcXrpToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
428
|
+
/**
|
|
429
|
+
* Factory function for mainnet ofc stx instances.
|
|
430
|
+
*
|
|
431
|
+
* @param id uuid v4
|
|
432
|
+
* @param name unique identifier of the coin
|
|
433
|
+
* @param fullName Complete human-readable name of the coin
|
|
434
|
+
* @param network Network object for this coin
|
|
435
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
436
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
437
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
438
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
439
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
440
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
441
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
442
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
443
|
+
*/
|
|
444
|
+
export declare function ofcStxToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
445
|
+
/**
|
|
446
|
+
* Factory function for testnet ofc stx instances.
|
|
447
|
+
*
|
|
448
|
+
* @param id uuid v4
|
|
449
|
+
* @param name unique identifier of the coin
|
|
450
|
+
* @param fullName Complete human-readable name of the coin
|
|
451
|
+
* @param network Network object for this coin
|
|
452
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
453
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
454
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
455
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
456
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
457
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
458
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
459
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
460
|
+
*/
|
|
461
|
+
export declare function tofcStxToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
462
|
+
/**
|
|
463
|
+
* Factory function for ofc opetherc20 token instances.
|
|
464
|
+
*
|
|
465
|
+
* @param id uuid v4
|
|
466
|
+
* @param name unique identifier of the coin
|
|
467
|
+
* @param fullName Complete human-readable name of the coin
|
|
468
|
+
* @param network Network object for this coin
|
|
469
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
470
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
471
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
472
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
473
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
474
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
475
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
476
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
477
|
+
*/
|
|
478
|
+
export declare function ofcOpethErc20(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
479
|
+
/**
|
|
480
|
+
* Factory function for ofc tron token instances.
|
|
481
|
+
*
|
|
482
|
+
* @param id uuid v4
|
|
483
|
+
* @param name unique identifier of the coin
|
|
484
|
+
* @param fullName Complete human-readable name of the coin
|
|
485
|
+
* @param network Network object for this coin
|
|
486
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
487
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
488
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
489
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
490
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
491
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
492
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
493
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
494
|
+
*/
|
|
495
|
+
export declare function ofcTronToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
496
|
+
/**
|
|
497
|
+
* Factory function for ofc tron token instances.
|
|
498
|
+
*
|
|
499
|
+
* @param id uuid v4
|
|
500
|
+
* @param name unique identifier of the coin
|
|
501
|
+
* @param fullName Complete human-readable name of the coin
|
|
502
|
+
* @param network Network object for this coin
|
|
503
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
504
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
505
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
506
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
507
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
508
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
509
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
510
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
511
|
+
*/
|
|
512
|
+
export declare function tofcTronToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
513
|
+
/**
|
|
514
|
+
* Factory function for ofc aptos token instances.
|
|
515
|
+
*
|
|
516
|
+
* @param id uuid v4
|
|
517
|
+
* @param name unique identifier of the coin
|
|
518
|
+
* @param fullName Complete human-readable name of the coin
|
|
519
|
+
* @param features
|
|
520
|
+
* @param prefix
|
|
521
|
+
* @param suffix
|
|
522
|
+
* @param network Network object for this coin
|
|
523
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
524
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
525
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
526
|
+
* @param isToken
|
|
527
|
+
* @param addressCoin
|
|
528
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
529
|
+
*/
|
|
530
|
+
export declare function ofcaptToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], // TSS_ENTERPRISE_PAYS_FEE is a mandatory field for APTOS being a TSS & having Gas tank as fee payer
|
|
531
|
+
kind?: CoinKind, prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
532
|
+
/**
|
|
533
|
+
* Factory function for testnet ofc aptos token instances.
|
|
534
|
+
*
|
|
535
|
+
* @param id uuid v4
|
|
536
|
+
* @param name unique identifier of the coin
|
|
537
|
+
* @param fullName Complete human-readable name of the coin
|
|
538
|
+
* @param features
|
|
539
|
+
* @param prefix
|
|
540
|
+
* @param suffix
|
|
541
|
+
* @param network Network object for this coin
|
|
542
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
543
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
544
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
545
|
+
* @param isToken
|
|
546
|
+
* @param addressCoin
|
|
547
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
548
|
+
*/
|
|
549
|
+
export declare function tofcaptToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], // TSS_ENTERPRISE_PAYS_FEE is a mandatory field for APTOS being a TSS & having Gas tank as fee payer
|
|
550
|
+
kind?: CoinKind, prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
551
|
+
/**
|
|
552
|
+
* Factory function for ofc nep141 token instances.
|
|
553
|
+
*
|
|
554
|
+
* @param id uuid v4
|
|
555
|
+
* @param name unique identifier of the coin
|
|
556
|
+
* @param fullName Complete human-readable name of the coin
|
|
557
|
+
* @param features
|
|
558
|
+
* @param prefix
|
|
559
|
+
* @param suffix
|
|
560
|
+
* @param network Network object for this coin
|
|
561
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
562
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
563
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
564
|
+
* @param isToken
|
|
565
|
+
* @param addressCoin
|
|
566
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
567
|
+
*/
|
|
568
|
+
export declare function ofcnep141Token(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], kind?: CoinKind, prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
569
|
+
/**
|
|
570
|
+
* Factory function for tofc nep141 token instances.
|
|
571
|
+
*
|
|
572
|
+
* @param id uuid v4
|
|
573
|
+
* @param name unique identifier of the coin
|
|
574
|
+
* @param fullName Complete human-readable name of the coin
|
|
575
|
+
* @param features
|
|
576
|
+
* @param prefix
|
|
577
|
+
* @param suffix
|
|
578
|
+
* @param network Network object for this coin
|
|
579
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
580
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
581
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
582
|
+
* @param isToken
|
|
583
|
+
* @param addressCoin
|
|
584
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
585
|
+
*/
|
|
586
|
+
export declare function tofcnep141Token(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], kind?: CoinKind, prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
587
|
+
/**
|
|
588
|
+
* Factory function for ofc WorldErc20 token instances.
|
|
589
|
+
*
|
|
590
|
+
* @param id uuid v4
|
|
591
|
+
* @param name unique identifier of the coin
|
|
592
|
+
* @param fullName Complete human-readable name of the coin
|
|
593
|
+
* @param network Network object for this coin
|
|
594
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
595
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
596
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
597
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
598
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
599
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
600
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
601
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
602
|
+
*/
|
|
603
|
+
export declare function ofcWorldErc20(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
604
|
+
/**
|
|
605
|
+
* Factory function for testnet ofc WorldErc20 token instances.
|
|
606
|
+
*
|
|
607
|
+
* @param id uuid v4
|
|
608
|
+
* @param name unique identifier of the coin
|
|
609
|
+
* @param fullName Complete human-readable name of the coin
|
|
610
|
+
* @param network Network object for this coin
|
|
611
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
612
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
613
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
614
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
615
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
616
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
617
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
618
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
619
|
+
*/
|
|
620
|
+
export declare function tofcWorldErc20(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
621
|
+
/**
|
|
622
|
+
* Factory function for ofc CoredaoErc20 token instances.
|
|
623
|
+
*
|
|
624
|
+
* @param id uuid v4
|
|
625
|
+
* @param name unique identifier of the coin
|
|
626
|
+
* @param fullName Complete human-readable name of the coin
|
|
627
|
+
* @param network Network object for this coin
|
|
628
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
629
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
630
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
631
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
632
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
633
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
634
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
635
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
636
|
+
*/
|
|
637
|
+
export declare function ofcCoredaoErc20(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
638
|
+
/**
|
|
639
|
+
* Factory function for testnet ofc CoredaoErc20 token instances.
|
|
640
|
+
*
|
|
641
|
+
* @param id uuid v4
|
|
642
|
+
* @param name unique identifier of the coin
|
|
643
|
+
* @param fullName Complete human-readable name of the coin
|
|
644
|
+
* @param network Network object for this coin
|
|
645
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
646
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
647
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
648
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
649
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
650
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
651
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
652
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
653
|
+
*/
|
|
654
|
+
export declare function tofcCoredaoErc20(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
655
|
+
/**
|
|
656
|
+
* Factory function for ofc vet token instances.
|
|
657
|
+
*
|
|
658
|
+
* @param id uuid v4
|
|
659
|
+
* @param name unique identifier of the coin
|
|
660
|
+
* @param fullName Complete human-readable name of the coin
|
|
661
|
+
* @param network Network object for this coin
|
|
662
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
663
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
664
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
665
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
666
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
667
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
668
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
669
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
670
|
+
*/
|
|
671
|
+
export declare function ofcVetToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
672
|
+
/**
|
|
673
|
+
* Factory function for testnet ofc vet token instances.
|
|
674
|
+
*
|
|
675
|
+
* @param id uuid v4
|
|
676
|
+
* @param name unique identifier of the coin
|
|
677
|
+
* @param fullName Complete human-readable name of the coin
|
|
678
|
+
* @param network Network object for this coin
|
|
679
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
680
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
681
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
682
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
683
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
684
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
685
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
686
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
687
|
+
*/
|
|
688
|
+
export declare function tofcVetToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
689
|
+
/**
|
|
690
|
+
* Factory function for ofc hash token instances.
|
|
691
|
+
*
|
|
692
|
+
* @param id uuid v4
|
|
693
|
+
* @param name unique identifier of the coin
|
|
694
|
+
* @param fullName Complete human-readable name of the coin
|
|
695
|
+
* @param network Network object for this coin
|
|
696
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
697
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
698
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
699
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
700
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
701
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
702
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
703
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
704
|
+
*/
|
|
705
|
+
export declare function ofcHashToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
706
|
+
/**
|
|
707
|
+
* Factory function for testnet ofc hash token instances.
|
|
708
|
+
*
|
|
709
|
+
* @param id uuid v4
|
|
710
|
+
* @param name unique identifier of the coin
|
|
711
|
+
* @param fullName Complete human-readable name of the coin
|
|
712
|
+
* @param network Network object for this coin
|
|
713
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
714
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
715
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
716
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
717
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
718
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
719
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
720
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
721
|
+
*/
|
|
722
|
+
export declare function tofcHashToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
723
|
+
/**
|
|
724
|
+
* Factory function for ofc ton token instances.
|
|
725
|
+
*
|
|
726
|
+
* @param id uuid v4
|
|
727
|
+
* @param name unique identifier of the coin
|
|
728
|
+
* @param fullName Complete human-readable name of the coin
|
|
729
|
+
* @param network Network object for this coin
|
|
730
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
731
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
732
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
733
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
734
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
735
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
736
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
737
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
738
|
+
*/
|
|
739
|
+
export declare function ofcTonToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
740
|
+
/**
|
|
741
|
+
* Factory function for testnet ofc ton token instances.
|
|
742
|
+
*
|
|
743
|
+
* @param id uuid v4
|
|
744
|
+
* @param name unique identifier of the coin
|
|
745
|
+
* @param fullName Complete human-readable name of the coin
|
|
746
|
+
* @param network Network object for this coin
|
|
747
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
748
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
749
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
750
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
751
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
752
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
753
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
754
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
755
|
+
*/
|
|
756
|
+
export declare function tofcTonToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
757
|
+
/**
|
|
758
|
+
* Factory function for testnet ofc ton token instances.
|
|
759
|
+
*
|
|
760
|
+
* @param id uuid v4
|
|
761
|
+
* @param name unique identifier of the coin
|
|
762
|
+
* @param fullName Complete human-readable name of the coin
|
|
763
|
+
* @param network Network object for this coin
|
|
764
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
765
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
766
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
767
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
768
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
769
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
770
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
771
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
772
|
+
*/
|
|
773
|
+
export declare function ofcSuiToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
774
|
+
/**
|
|
775
|
+
* Factory function for testnet ofc ton token instances.
|
|
776
|
+
*
|
|
777
|
+
* @param id uuid v4
|
|
778
|
+
* @param name unique identifier of the coin
|
|
779
|
+
* @param fullName Complete human-readable name of the coin
|
|
780
|
+
* @param network Network object for this coin
|
|
781
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
782
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
783
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
784
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
785
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
786
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
787
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
788
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
789
|
+
*/
|
|
790
|
+
export declare function tofcSuiToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
791
|
+
/**
|
|
792
|
+
* Factory function for ofc tempo token instances.
|
|
793
|
+
*
|
|
794
|
+
* @param id uuid v4
|
|
795
|
+
* @param name unique identifier of the coin
|
|
796
|
+
* @param fullName Complete human-readable name of the coin
|
|
797
|
+
* @param network Network object for this coin
|
|
798
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
799
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
800
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
801
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
802
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
803
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
804
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
805
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
806
|
+
*/
|
|
807
|
+
export declare function ofcTempoToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
808
|
+
/**
|
|
809
|
+
* Factory function for testnet ofc tempo token instances.
|
|
810
|
+
*
|
|
811
|
+
* @param id uuid v4
|
|
812
|
+
* @param name unique identifier of the coin
|
|
813
|
+
* @param fullName Complete human-readable name of the coin
|
|
814
|
+
* @param network Network object for this coin
|
|
815
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
816
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
817
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
818
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
819
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
820
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
821
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
822
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
823
|
+
*/
|
|
824
|
+
export declare function tofcTempoToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
825
|
+
/**
|
|
826
|
+
* Factory function for ofc ada token instances.
|
|
827
|
+
*
|
|
828
|
+
* @param id uuid v4
|
|
829
|
+
* @param name unique identifier of the coin
|
|
830
|
+
* @param fullName Complete human-readable name of the coin
|
|
831
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
832
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
833
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
834
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
835
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
836
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
837
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
838
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
839
|
+
*/
|
|
840
|
+
export declare function ofcAdaToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
841
|
+
/**
|
|
842
|
+
* Factory function for testnet ofc ada token instances.
|
|
843
|
+
*
|
|
844
|
+
* @param id uuid v4
|
|
845
|
+
* @param name unique identifier of the coin
|
|
846
|
+
* @param fullName Complete human-readable name of the coin
|
|
847
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
848
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
849
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
850
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
851
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
852
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
853
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
854
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
855
|
+
*/
|
|
856
|
+
export declare function tofcAdaToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
857
|
+
/**
|
|
858
|
+
* Factory function for ofc canton token instances.
|
|
859
|
+
*
|
|
860
|
+
* @param id uuid v4
|
|
861
|
+
* @param name unique identifier of the coin
|
|
862
|
+
* @param fullName Complete human-readable name of the coin
|
|
863
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
864
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
865
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
866
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
867
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
868
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
869
|
+
* @param network Network object for this coin
|
|
870
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
871
|
+
* @param addressCoin
|
|
872
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
873
|
+
*/
|
|
874
|
+
export declare function ofcCantonToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
875
|
+
/**
|
|
876
|
+
* Factory function for testnet ofc canton token instances.
|
|
877
|
+
*
|
|
878
|
+
* @param id uuid v4
|
|
879
|
+
* @param name unique identifier of the coin
|
|
880
|
+
* @param fullName Complete human-readable name of the coin
|
|
881
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
882
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
883
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
884
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
885
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
886
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
887
|
+
* @param network Network object for this coin
|
|
888
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
889
|
+
* @param addressCoin
|
|
890
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
891
|
+
*/
|
|
892
|
+
export declare function tofcCantonToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
201
893
|
//# sourceMappingURL=ofc.d.ts.map
|