@bitgo-beta/statics 15.1.1-beta.90 → 15.1.1-beta.900
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 +2805 -0
- package/dist/src/account.d.ts +490 -31
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +821 -127
- package/dist/src/ada.d.ts.map +1 -1
- package/dist/src/ada.js +6 -3
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +7 -3
- package/dist/src/base.d.ts +1390 -40
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +1442 -50
- package/dist/src/coinFeatures.d.ts +83 -0
- package/dist/src/coinFeatures.d.ts.map +1 -0
- package/dist/src/coinFeatures.js +518 -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 +96 -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 +139 -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 +1388 -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 +458 -0
- package/dist/src/coins/ofcErc20Coins.d.ts +3 -0
- package/dist/src/coins/ofcErc20Coins.d.ts.map +1 -0
- package/dist/src/coins/ofcErc20Coins.js +1305 -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 +137 -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 +2 -0
- package/dist/src/coins/solTokens.d.ts.map +1 -0
- package/dist/src/coins/solTokens.js +334 -0
- package/dist/src/coins.d.ts +10 -1
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +625 -1512
- 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/gatekeep.d.ts +2 -0
- package/dist/src/gatekeep.d.ts.map +1 -0
- package/dist/src/gatekeep.js +1831 -0
- package/dist/src/index.d.ts +4 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +21 -3
- package/dist/src/lightning.d.ts +43 -0
- package/dist/src/lightning.d.ts.map +1 -0
- package/dist/src/lightning.js +60 -0
- package/dist/src/map.d.ts +4 -0
- package/dist/src/map.d.ts.map +1 -1
- package/dist/src/map.js +93 -19
- package/dist/src/networkFeatureMapForTokens.d.ts +3 -0
- package/dist/src/networkFeatureMapForTokens.d.ts.map +1 -0
- package/dist/src/networkFeatureMapForTokens.js +29 -0
- package/dist/src/networks.d.ts +648 -1
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +876 -44
- package/dist/src/ofc.d.ts +349 -0
- package/dist/src/ofc.d.ts.map +1 -1
- package/dist/src/ofc.js +724 -14
- package/dist/src/tokenConfig.d.ts +144 -14
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +340 -115
- package/dist/src/utxo.d.ts +3 -1
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +78 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/src/account.d.ts
CHANGED
|
@@ -24,14 +24,23 @@ export interface AccountConstructorOptions {
|
|
|
24
24
|
*/
|
|
25
25
|
export declare class AccountCoin extends BaseCoin {
|
|
26
26
|
static readonly DEFAULT_FEATURES: CoinFeature[];
|
|
27
|
+
static readonly DEFAULT_FEATURES_EXCLUDE_SINGAPORE: (CoinFeature.EVM_WALLET | CoinFeature.METAMASK_INSTITUTIONAL | CoinFeature.VALUELESS_TRANSFER | CoinFeature.TRANSACTION_DATA | CoinFeature.REQUIRES_BIG_NUMBER | CoinFeature.REQUIRES_KRS_BACKUP_KEY | CoinFeature.PAYGO | CoinFeature.UNSPENT_MODEL | CoinFeature.LIGHTNING_MODEL | CoinFeature.ACCOUNT_MODEL | CoinFeature.CHILD_PAYS_FOR_PARENT | CoinFeature.SUPPORTS_TOKENS | CoinFeature.ENTERPRISE_PAYS_FEES | CoinFeature.REQUIRES_RESERVE | CoinFeature.CUSTODY | CoinFeature.TSS | CoinFeature.STAKING | CoinFeature.LIQUID_STAKING | CoinFeature.DEPRECATED | CoinFeature.GENERIC_TOKEN | CoinFeature.CUSTODY_BITGO_TRUST | CoinFeature.CUSTODY_BITGO_NEW_YORK | CoinFeature.CUSTODY_BITGO_GERMANY | CoinFeature.CUSTODY_BITGO_SWITZERLAND | CoinFeature.CUSTODY_BITGO_FRANKFURT | CoinFeature.CUSTODY_BITGO_SISTER_TRUST_ONE | CoinFeature.CUSTODY_BITGO_KOREA | CoinFeature.CUSTODY_BITGO_EUROPE_APS | CoinFeature.CUSTODY_BITGO_MENA_FZE | CoinFeature.CUSTODY_BITGO_CUSTODY_MENA_FZE | CoinFeature.EXPIRING_TRANSACTIONS | CoinFeature.MULTISIG_COLD | CoinFeature.TSS_COLD | CoinFeature.SHA256_WITH_ECDSA_TSS | CoinFeature.COSMOS_LIKE_COINS | CoinFeature.REBUILD_ON_CUSTODY_SIGNING | CoinFeature.INCREASED_TX_REQUEST_REBUILD_LIMIT | CoinFeature.BULK_TRANSACTION | CoinFeature.ERC20_BULK_TRANSACTION | CoinFeature.DISTRIBUTED_CUSTODY | CoinFeature.BULK_STAKING_TRANSACTION | CoinFeature.USES_NON_PACKED_ENCODING_FOR_TXDATA | CoinFeature.MPCV2 | CoinFeature.STUCK_TRANSACTION_MANAGEMENT_TSS | CoinFeature.STUCK_TRANSACTION_MANAGEMENT_ONCHAIN | CoinFeature.ETH_ROLLUP_CHAIN | CoinFeature.EIP1559 | CoinFeature.TSS_ENTERPRISE_PAYS_FEES | CoinFeature.ALPHANUMERIC_MEMO_ID | CoinFeature.WALLET_CONNECT_DEFI | CoinFeature.TSS_SUPPORT_GATED | CoinFeature.SHARED_EVM_SIGNING | CoinFeature.MULTISIG)[];
|
|
27
28
|
readonly network: AccountNetwork;
|
|
28
29
|
constructor(options: AccountConstructorOptions);
|
|
29
30
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
30
31
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
32
|
+
static getFeaturesExcluding(excludedFeatures: CoinFeature[]): CoinFeature[];
|
|
33
|
+
}
|
|
34
|
+
export interface GasTankAccountConstructorOptions extends AccountConstructorOptions {
|
|
35
|
+
gasTankLowBalanceAlertFactor: number;
|
|
36
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
31
37
|
}
|
|
32
38
|
export interface Erc20ConstructorOptions extends AccountConstructorOptions {
|
|
33
39
|
contractAddress: string;
|
|
34
40
|
}
|
|
41
|
+
export interface NFTCollectionIdConstructorOptions extends AccountConstructorOptions {
|
|
42
|
+
nftCollectionId: string;
|
|
43
|
+
}
|
|
35
44
|
export interface StellarCoinConstructorOptions extends AccountConstructorOptions {
|
|
36
45
|
domain: string;
|
|
37
46
|
}
|
|
@@ -40,16 +49,15 @@ export interface HederaCoinConstructorOptions extends AccountConstructorOptions
|
|
|
40
49
|
}
|
|
41
50
|
export interface HederaTokenConstructorOptions extends AccountConstructorOptions {
|
|
42
51
|
nodeAccountId: string;
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
export interface AlgoCoinConstructorOptions extends AccountConstructorOptions {
|
|
46
|
-
tokenURL: string;
|
|
52
|
+
contractAddress: string;
|
|
47
53
|
}
|
|
48
54
|
export interface EosCoinConstructorOptions extends AccountConstructorOptions {
|
|
49
55
|
contractName: string;
|
|
56
|
+
contractAddress: string;
|
|
50
57
|
}
|
|
51
58
|
export interface SolCoinConstructorOptions extends AccountConstructorOptions {
|
|
52
59
|
tokenAddress: string;
|
|
60
|
+
contractAddress: string;
|
|
53
61
|
}
|
|
54
62
|
export interface AdaCoinConstructorOptions extends AccountConstructorOptions {
|
|
55
63
|
policyId: string;
|
|
@@ -59,17 +67,38 @@ export interface XrpCoinConstructorOptions extends AccountConstructorOptions {
|
|
|
59
67
|
issuerAddress: string;
|
|
60
68
|
currencyCode: string;
|
|
61
69
|
domain: string;
|
|
70
|
+
contractAddress: string;
|
|
71
|
+
}
|
|
72
|
+
export interface SuiCoinConstructorOptions extends AccountConstructorOptions {
|
|
73
|
+
packageId: string;
|
|
74
|
+
module: string;
|
|
75
|
+
symbol: string;
|
|
76
|
+
contractAddress: string;
|
|
62
77
|
}
|
|
63
|
-
|
|
78
|
+
export interface AptCoinConstructorOptions extends AccountConstructorOptions {
|
|
79
|
+
assetId: string;
|
|
80
|
+
}
|
|
81
|
+
type FiatCoinName = `fiat${string}` | `tfiat${string}`;
|
|
64
82
|
export interface FiatCoinConstructorOptions extends AccountConstructorOptions {
|
|
65
83
|
name: FiatCoinName;
|
|
66
84
|
}
|
|
85
|
+
export interface Sip10TokenConstructorOptions extends AccountConstructorOptions {
|
|
86
|
+
assetId: string;
|
|
87
|
+
}
|
|
88
|
+
export interface Nep141TokenConstructorOptions extends AccountConstructorOptions {
|
|
89
|
+
contractAddress: string;
|
|
90
|
+
}
|
|
67
91
|
export interface ContractAddress extends String {
|
|
68
92
|
__contractaddress_phantom__: never;
|
|
69
93
|
}
|
|
70
94
|
export declare class AccountCoinToken extends AccountCoin {
|
|
71
95
|
constructor(options: AccountConstructorOptions);
|
|
72
96
|
}
|
|
97
|
+
export declare class GasTankAccountCoin extends AccountCoin {
|
|
98
|
+
gasTankLowBalanceAlertFactor: number;
|
|
99
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
100
|
+
constructor(options: GasTankAccountConstructorOptions);
|
|
101
|
+
}
|
|
73
102
|
/**
|
|
74
103
|
* Some blockchains support tokens which are defined by an address at which they have a smart contract deployed.
|
|
75
104
|
* Examples are ERC20 tokens, and the equivalent on other chains.
|
|
@@ -78,6 +107,13 @@ export declare class ContractAddressDefinedToken extends AccountCoinToken {
|
|
|
78
107
|
contractAddress: ContractAddress;
|
|
79
108
|
constructor(options: Erc20ConstructorOptions);
|
|
80
109
|
}
|
|
110
|
+
/**
|
|
111
|
+
* Used for blockchains that support NFT collections.
|
|
112
|
+
*/
|
|
113
|
+
export declare class NFTCollectionIdDefinedToken extends AccountCoinToken {
|
|
114
|
+
nftCollectionId: string;
|
|
115
|
+
constructor(options: NFTCollectionIdConstructorOptions);
|
|
116
|
+
}
|
|
81
117
|
/**
|
|
82
118
|
* ERC20 token addresses are Base58 formatted on some blockchains.
|
|
83
119
|
*/
|
|
@@ -155,6 +191,7 @@ export declare class HederaCoin extends AccountCoinToken {
|
|
|
155
191
|
export declare class HederaToken extends AccountCoinToken {
|
|
156
192
|
nodeAccountId: string;
|
|
157
193
|
tokenId: string;
|
|
194
|
+
contractAddress: string;
|
|
158
195
|
constructor(options: HederaTokenConstructorOptions);
|
|
159
196
|
}
|
|
160
197
|
/**
|
|
@@ -164,8 +201,7 @@ export declare class HederaToken extends AccountCoinToken {
|
|
|
164
201
|
*
|
|
165
202
|
*/
|
|
166
203
|
export declare class AlgoCoin extends AccountCoinToken {
|
|
167
|
-
|
|
168
|
-
constructor(options: AlgoCoinConstructorOptions);
|
|
204
|
+
constructor(options: AccountConstructorOptions);
|
|
169
205
|
}
|
|
170
206
|
/**
|
|
171
207
|
* The Eos network supports tokens
|
|
@@ -175,6 +211,7 @@ export declare class AlgoCoin extends AccountCoinToken {
|
|
|
175
211
|
*/
|
|
176
212
|
export declare class EosCoin extends AccountCoinToken {
|
|
177
213
|
contractName: string;
|
|
214
|
+
contractAddress: string;
|
|
178
215
|
constructor(options: EosCoinConstructorOptions);
|
|
179
216
|
}
|
|
180
217
|
/**
|
|
@@ -185,6 +222,7 @@ export declare class EosCoin extends AccountCoinToken {
|
|
|
185
222
|
*/
|
|
186
223
|
export declare class SolCoin extends AccountCoinToken {
|
|
187
224
|
tokenAddress: string;
|
|
225
|
+
contractAddress: string;
|
|
188
226
|
constructor(options: SolCoinConstructorOptions);
|
|
189
227
|
}
|
|
190
228
|
/**
|
|
@@ -211,6 +249,41 @@ export declare class AvaxERC20Token extends ContractAddressDefinedToken {
|
|
|
211
249
|
export declare class PolygonERC20Token extends ContractAddressDefinedToken {
|
|
212
250
|
constructor(options: Erc20ConstructorOptions);
|
|
213
251
|
}
|
|
252
|
+
/**
|
|
253
|
+
* The Arbitrum Chain network support tokens
|
|
254
|
+
* Arbitrum Chain Tokens are ERC20 tokens
|
|
255
|
+
*/
|
|
256
|
+
export declare class ArbethERC20Token extends ContractAddressDefinedToken {
|
|
257
|
+
constructor(options: Erc20ConstructorOptions);
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* The Optimism Chain network support tokens
|
|
261
|
+
* Optimism Chain Tokens are ERC20 tokens
|
|
262
|
+
*/
|
|
263
|
+
export declare class OpethERC20Token extends ContractAddressDefinedToken {
|
|
264
|
+
constructor(options: Erc20ConstructorOptions);
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* The zkSync network support tokens
|
|
268
|
+
* zkSync Tokens are ERC20 tokens
|
|
269
|
+
*/
|
|
270
|
+
export declare class ZkethERC20Token extends ContractAddressDefinedToken {
|
|
271
|
+
constructor(options: Erc20ConstructorOptions);
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* The Bera Chain network support tokens
|
|
275
|
+
* Bera Chain Tokens are ERC20 tokens
|
|
276
|
+
*/
|
|
277
|
+
export declare class BeraERC20Token extends ContractAddressDefinedToken {
|
|
278
|
+
constructor(options: Erc20ConstructorOptions);
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* The Coredao Chain network support tokens
|
|
282
|
+
* Coredao Chain Tokens are ERC20 tokens
|
|
283
|
+
*/
|
|
284
|
+
export declare class CoredaoERC20Token extends ContractAddressDefinedToken {
|
|
285
|
+
constructor(options: Erc20ConstructorOptions);
|
|
286
|
+
}
|
|
214
287
|
/**
|
|
215
288
|
* The Xrp network supports tokens
|
|
216
289
|
* Xrp tokens are identified by their issuer address
|
|
@@ -221,8 +294,32 @@ export declare class XrpCoin extends AccountCoinToken {
|
|
|
221
294
|
issuerAddress: string;
|
|
222
295
|
currencyCode: string;
|
|
223
296
|
domain: string;
|
|
297
|
+
contractAddress: string;
|
|
224
298
|
constructor(options: XrpCoinConstructorOptions);
|
|
225
299
|
}
|
|
300
|
+
export declare class SuiCoin extends AccountCoinToken {
|
|
301
|
+
packageId: string;
|
|
302
|
+
module: string;
|
|
303
|
+
symbol: string;
|
|
304
|
+
contractAddress: string;
|
|
305
|
+
constructor(options: SuiCoinConstructorOptions);
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* The Apt network supports tokens
|
|
309
|
+
* Apt tokens work similar to native Apt coin, but the token name is determined by
|
|
310
|
+
* the tokenAddress on the chain.
|
|
311
|
+
*
|
|
312
|
+
*/
|
|
313
|
+
export declare class AptCoin extends AccountCoinToken {
|
|
314
|
+
assetId: string;
|
|
315
|
+
constructor(options: AptCoinConstructorOptions);
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* The Apt network supports non-fungible tokens (Digital Asset Standard)
|
|
319
|
+
* Every NFT belongs to an NFT collection.
|
|
320
|
+
*/
|
|
321
|
+
export declare class AptNFTCollection extends NFTCollectionIdDefinedToken {
|
|
322
|
+
}
|
|
226
323
|
/**
|
|
227
324
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
228
325
|
*/
|
|
@@ -233,6 +330,23 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
233
330
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
234
331
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
235
332
|
}
|
|
333
|
+
/**
|
|
334
|
+
* The Stacks network supports tokens
|
|
335
|
+
* Stx tokens work similar to native Stx coin, but the token name is determined by
|
|
336
|
+
* the contractName on the chain.
|
|
337
|
+
*/
|
|
338
|
+
export declare class Sip10Token extends AccountCoinToken {
|
|
339
|
+
assetId: string;
|
|
340
|
+
constructor(options: Sip10TokenConstructorOptions);
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* The Near network supports tokens
|
|
344
|
+
* Near tokens work similar to native near coin
|
|
345
|
+
*/
|
|
346
|
+
export declare class Nep141Token extends AccountCoinToken {
|
|
347
|
+
contractAddress: string;
|
|
348
|
+
constructor(options: Nep141TokenConstructorOptions);
|
|
349
|
+
}
|
|
236
350
|
/**
|
|
237
351
|
* Factory function for account coin instances.
|
|
238
352
|
*
|
|
@@ -249,6 +363,25 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
249
363
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
250
364
|
*/
|
|
251
365
|
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>;
|
|
366
|
+
/**
|
|
367
|
+
* Factory function for gas tank account coin instances.
|
|
368
|
+
*
|
|
369
|
+
* @param id uuid v4
|
|
370
|
+
* @param name unique identifier of the coin
|
|
371
|
+
* @param fullName Complete human-readable name of the coin
|
|
372
|
+
* @param network Network object for this coin
|
|
373
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
374
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
375
|
+
* @param baseUnit
|
|
376
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
377
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
378
|
+
* @param gasTankLowBalanceAlertFactor Low gas tank balance alert threshold = (feeEstimate x gasTankLowBalanceAlertFactor)
|
|
379
|
+
* @param gasTankMinBalanceRecommendationFactor Min gas tank balance recommendation = (feeEstimate x gasTankMinBalanceRecommendationFactor)
|
|
380
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
381
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
382
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
383
|
+
*/
|
|
384
|
+
export declare function gasTankAccount(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset, baseUnit: BaseUnit, features?: CoinFeature[], primaryKeyCurve?: KeyCurve, gasTankLowBalanceAlertFactor?: number, gasTankMinBalanceRecommendationFactor?: number, prefix?: string, suffix?: string, isToken?: boolean): Readonly<GasTankAccountCoin>;
|
|
252
385
|
/**
|
|
253
386
|
* Factory function for erc20 token instances.
|
|
254
387
|
*
|
|
@@ -305,7 +438,7 @@ export declare function erc721(id: string, name: string, fullName: string, contr
|
|
|
305
438
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
306
439
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
307
440
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
308
|
-
* @param network? Optional token network. Defaults to
|
|
441
|
+
* @param network? Optional token network. Defaults to Holesky test network.
|
|
309
442
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
310
443
|
*/
|
|
311
444
|
export declare function terc721(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
@@ -349,7 +482,7 @@ export declare function erc1155(id: string, name: string, fullName: string, cont
|
|
|
349
482
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
350
483
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
351
484
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
352
|
-
* @param network? Optional token network. Defaults to
|
|
485
|
+
* @param network? Optional token network. Defaults to Holesky test network.
|
|
353
486
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
354
487
|
*/
|
|
355
488
|
export declare function terc1155(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
@@ -377,11 +510,11 @@ export declare function erc20CompatibleAccountCoin(id: string, name: string, ful
|
|
|
377
510
|
* @param fullName Complete human-readable name of the token
|
|
378
511
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
379
512
|
* @param contractAddress Contract address of this token
|
|
380
|
-
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
381
|
-
* @param prefix? Optional token prefix. Defaults to empty string
|
|
382
|
-
* @param suffix? Optional token suffix. Defaults to token name.
|
|
383
|
-
* @param network? Optional token network. Defaults to CELO main network.
|
|
384
|
-
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
513
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
514
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
515
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
516
|
+
* @param network ? Optional token network. Defaults to CELO main network.
|
|
517
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
385
518
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
386
519
|
*/
|
|
387
520
|
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>;
|
|
@@ -394,10 +527,10 @@ export declare function celoToken(id: string, name: string, fullName: string, de
|
|
|
394
527
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
395
528
|
* @param contractAddress Contract address of this token
|
|
396
529
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
397
|
-
* @param
|
|
398
|
-
* @param
|
|
399
|
-
* @param
|
|
400
|
-
* @param
|
|
530
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
531
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
532
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
533
|
+
* @param network ? Optional token network. Defaults to the testnet CELO network.
|
|
401
534
|
*/
|
|
402
535
|
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>;
|
|
403
536
|
/**
|
|
@@ -511,7 +644,7 @@ export declare function ttronToken(id: string, name: string, fullName: string, d
|
|
|
511
644
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
512
645
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
513
646
|
*/
|
|
514
|
-
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
647
|
+
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<HederaCoin>;
|
|
515
648
|
/**
|
|
516
649
|
* Factory function for Hedera token instances
|
|
517
650
|
*
|
|
@@ -522,13 +655,14 @@ export declare function hederaCoin(id: string, name: string, fullName: string, n
|
|
|
522
655
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
523
656
|
* @param nodeAccountId node account Id from which the transaction will be sent
|
|
524
657
|
* @param tokenId The unique identifier of this token
|
|
658
|
+
* @param contractAddress Contract address of this token, same as tokenId
|
|
525
659
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
526
660
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
527
661
|
* @param network? Optional token network. Defaults to Hedera mainnet.
|
|
528
662
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
529
663
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
530
664
|
*/
|
|
531
|
-
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
665
|
+
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<HederaToken>;
|
|
532
666
|
/**
|
|
533
667
|
* Factory function for ALGO token instances.
|
|
534
668
|
*
|
|
@@ -539,7 +673,6 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
539
673
|
* @param fullName Complete human-readable name of the token
|
|
540
674
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
541
675
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
542
|
-
* @param tokenURL Optional asset Url for more informationa about the asset
|
|
543
676
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
544
677
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
545
678
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -547,7 +680,7 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
547
680
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
548
681
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
549
682
|
*/
|
|
550
|
-
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
683
|
+
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AlgoCoin>;
|
|
551
684
|
/**
|
|
552
685
|
* Factory function for testnet ALGO token instances.
|
|
553
686
|
*
|
|
@@ -557,14 +690,13 @@ export declare function algoToken(id: string, name: string, alias: string | unde
|
|
|
557
690
|
* @param fullName Complete human-readable name of the token
|
|
558
691
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
559
692
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
560
|
-
* @param tokenURL Optional asset Url for more informationa about the asset
|
|
561
693
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
562
694
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
563
695
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
564
696
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
565
697
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
566
698
|
*/
|
|
567
|
-
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
699
|
+
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<AlgoCoin>;
|
|
568
700
|
/**
|
|
569
701
|
* Factory function for eos token instances.
|
|
570
702
|
*
|
|
@@ -573,6 +705,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
573
705
|
* @param fullName Complete human-readable name of the token
|
|
574
706
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
575
707
|
* @param contractName Contract address of this token
|
|
708
|
+
* @param contractAddress Contract address of this token
|
|
576
709
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
577
710
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
578
711
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -580,7 +713,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
580
713
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
581
714
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
582
715
|
*/
|
|
583
|
-
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>;
|
|
716
|
+
export declare function eosToken(id: string, name: string, fullName: string, decimalPlaces: number, contractName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<EosCoin>;
|
|
584
717
|
/**
|
|
585
718
|
* Factory function for testnet eos token instances.
|
|
586
719
|
*
|
|
@@ -588,6 +721,7 @@ export declare function eosToken(id: string, name: string, fullName: string, dec
|
|
|
588
721
|
* @param name unique identifier of the token
|
|
589
722
|
* @param fullName Complete human-readable name of the token
|
|
590
723
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
724
|
+
* @param contractName Contract address of this token
|
|
591
725
|
* @param contractAddress Contract address of this token
|
|
592
726
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
593
727
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
@@ -595,7 +729,7 @@ export declare function eosToken(id: string, name: string, fullName: string, dec
|
|
|
595
729
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
596
730
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
597
731
|
*/
|
|
598
|
-
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>;
|
|
732
|
+
export declare function teosToken(id: string, name: string, fullName: string, decimalPlaces: number, contractName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<EosCoin>;
|
|
599
733
|
/**
|
|
600
734
|
* Factory function for sol token instances.
|
|
601
735
|
*
|
|
@@ -604,6 +738,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
604
738
|
* @param fullName Complete human-readable name of the token
|
|
605
739
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
606
740
|
* @param tokenAddress Token address of this token
|
|
741
|
+
* @param contractAddress Contract address of this token
|
|
607
742
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
608
743
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
609
744
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -611,7 +746,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
611
746
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
612
747
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
613
748
|
*/
|
|
614
|
-
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>;
|
|
749
|
+
export declare function solToken(id: string, name: string, fullName: string, decimalPlaces: number, tokenAddress: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<SolCoin>;
|
|
615
750
|
/**
|
|
616
751
|
* Factory function for testnet solana token instances.
|
|
617
752
|
*
|
|
@@ -626,7 +761,7 @@ export declare function solToken(id: string, name: string, fullName: string, dec
|
|
|
626
761
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
627
762
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
628
763
|
*/
|
|
629
|
-
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>;
|
|
764
|
+
export declare function tsolToken(id: string, name: string, fullName: string, decimalPlaces: number, tokenAddress: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<SolCoin>;
|
|
630
765
|
/**
|
|
631
766
|
* Factory function for ada token instances.
|
|
632
767
|
*
|
|
@@ -707,7 +842,7 @@ export declare function tavaxErc20(id: string, name: string, fullName: string, d
|
|
|
707
842
|
*/
|
|
708
843
|
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>;
|
|
709
844
|
/**
|
|
710
|
-
* Factory function for
|
|
845
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
711
846
|
*
|
|
712
847
|
* @param id uuid v4
|
|
713
848
|
* @param name unique identifier of the token
|
|
@@ -722,6 +857,166 @@ export declare function polygonErc20(id: string, name: string, fullName: string,
|
|
|
722
857
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
723
858
|
*/
|
|
724
859
|
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>;
|
|
860
|
+
/**
|
|
861
|
+
* Factory function for arbethErc20 token instances.
|
|
862
|
+
*
|
|
863
|
+
* @param id uuid v4
|
|
864
|
+
* @param name unique identifier of the token
|
|
865
|
+
* @param fullName Complete human-readable name of the token
|
|
866
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
867
|
+
* @param contractAddress Contract address of this token
|
|
868
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
869
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
870
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
871
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
872
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
873
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
874
|
+
*/
|
|
875
|
+
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>;
|
|
876
|
+
/**
|
|
877
|
+
* Factory function for Arbitrum Sepolia testnet arbethErc20 token instances.
|
|
878
|
+
*
|
|
879
|
+
* @param id uuid v4
|
|
880
|
+
* @param name unique identifier of the token
|
|
881
|
+
* @param fullName Complete human-readable name of the token
|
|
882
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
883
|
+
* @param contractAddress Contract address of this token
|
|
884
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
885
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
886
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
887
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
888
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
889
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
890
|
+
*/
|
|
891
|
+
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>;
|
|
892
|
+
/**
|
|
893
|
+
* Factory function for opethErc20 token instances.
|
|
894
|
+
*
|
|
895
|
+
* @param id uuid v4
|
|
896
|
+
* @param name unique identifier of the token
|
|
897
|
+
* @param fullName Complete human-readable name of the token
|
|
898
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
899
|
+
* @param contractAddress Contract address of this token
|
|
900
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
901
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
902
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
903
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
904
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
905
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
906
|
+
*/
|
|
907
|
+
export declare function opethErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<OpethERC20Token>;
|
|
908
|
+
/**
|
|
909
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
910
|
+
*
|
|
911
|
+
* @param id uuid v4
|
|
912
|
+
* @param name unique identifier of the token
|
|
913
|
+
* @param fullName Complete human-readable name of the token
|
|
914
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
915
|
+
* @param contractAddress Contract address of this token
|
|
916
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
917
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
918
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
919
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
920
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
921
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
922
|
+
*/
|
|
923
|
+
export declare function topethErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<OpethERC20Token>;
|
|
924
|
+
/**
|
|
925
|
+
* Factory function for zkethErc20 token instances.
|
|
926
|
+
*
|
|
927
|
+
* @param id uuid v4
|
|
928
|
+
* @param name unique identifier of the token
|
|
929
|
+
* @param fullName Complete human-readable name of the token
|
|
930
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
931
|
+
* @param contractAddress Contract address of this token
|
|
932
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
933
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
934
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
935
|
+
* @param network? Optional token network. Defaults to zkSync mainnet network.
|
|
936
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
937
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
938
|
+
*/
|
|
939
|
+
export declare function zkethErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<ZkethERC20Token>;
|
|
940
|
+
/**
|
|
941
|
+
* Factory function for zkSync Sepolia testnet zkethErc20 token instances.
|
|
942
|
+
*
|
|
943
|
+
* @param id uuid v4
|
|
944
|
+
* @param name unique identifier of the token
|
|
945
|
+
* @param fullName Complete human-readable name of the token
|
|
946
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
947
|
+
* @param contractAddress Contract address of this token
|
|
948
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
949
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
950
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
951
|
+
* @param network? Optional token network. Defaults to the zkSync sepolia test network.
|
|
952
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
953
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
954
|
+
*/
|
|
955
|
+
export declare function tzkethErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<ZkethERC20Token>;
|
|
956
|
+
/**
|
|
957
|
+
* Factory function for beraErc20 token instances.
|
|
958
|
+
*
|
|
959
|
+
* @param id uuid v4
|
|
960
|
+
* @param name unique identifier of the token
|
|
961
|
+
* @param fullName Complete human-readable name of the token
|
|
962
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
963
|
+
* @param contractAddress Contract address of this token
|
|
964
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
965
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
966
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
967
|
+
* @param network? Optional token network. Defaults to bera mainnet network.
|
|
968
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
969
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
970
|
+
*/
|
|
971
|
+
export declare function beraErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<BeraERC20Token>;
|
|
972
|
+
/**
|
|
973
|
+
* Factory function for zkSync Sepolia testnet beraErc20 token instances.
|
|
974
|
+
*
|
|
975
|
+
* @param id uuid v4
|
|
976
|
+
* @param name unique identifier of the token
|
|
977
|
+
* @param fullName Complete human-readable name of the token
|
|
978
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
979
|
+
* @param contractAddress Contract address of this token
|
|
980
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
981
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
982
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
983
|
+
* @param network? Optional token network. Defaults to the bera test network.
|
|
984
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
985
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
986
|
+
*/
|
|
987
|
+
export declare function tberaErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<BeraERC20Token>;
|
|
988
|
+
/**
|
|
989
|
+
* Factory function for CoredaoErc20 token instances.
|
|
990
|
+
*
|
|
991
|
+
* @param id uuid v4
|
|
992
|
+
* @param name unique identifier of the token
|
|
993
|
+
* @param fullName Complete human-readable name of the token
|
|
994
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
995
|
+
* @param contractAddress Contract address of this token
|
|
996
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
997
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
998
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
999
|
+
* @param network? Optional token network. Defaults to coredao mainnet network.
|
|
1000
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1001
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1002
|
+
*/
|
|
1003
|
+
export declare function coredaoErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<CoredaoERC20Token>;
|
|
1004
|
+
/**
|
|
1005
|
+
* Factory function for coredao testnet coredaoErc20 token instances.
|
|
1006
|
+
*
|
|
1007
|
+
* @param id uuid v4
|
|
1008
|
+
* @param name unique identifier of the token
|
|
1009
|
+
* @param fullName Complete human-readable name of the token
|
|
1010
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1011
|
+
* @param contractAddress Contract address of this token
|
|
1012
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1013
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1014
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1015
|
+
* @param network? Optional token network. Defaults to the coredao test network.
|
|
1016
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1017
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1018
|
+
*/
|
|
1019
|
+
export declare function tcoredaoErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<CoredaoERC20Token>;
|
|
725
1020
|
/**
|
|
726
1021
|
* Factory function for xrp token instances.
|
|
727
1022
|
*
|
|
@@ -731,6 +1026,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
731
1026
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
732
1027
|
* @param issuerAddress: The address of the issuer of the token,
|
|
733
1028
|
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1029
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
734
1030
|
* @param domain? the domain of the issuer of the token,
|
|
735
1031
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
736
1032
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
@@ -739,7 +1035,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
739
1035
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
740
1036
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
741
1037
|
*/
|
|
742
|
-
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>;
|
|
1038
|
+
export declare function xrpToken(id: string, name: string, fullName: string, decimalPlaces: number, issuerAddress: string, currencyCode: string, contractAddress: string, domain: string | undefined, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<XrpCoin>;
|
|
743
1039
|
/**
|
|
744
1040
|
* Factory function for testnet cardano token instances.
|
|
745
1041
|
*
|
|
@@ -749,6 +1045,7 @@ export declare function xrpToken(id: string, name: string, fullName: string, dec
|
|
|
749
1045
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
750
1046
|
* @param issuerAddress: The address of the issuer of the token,
|
|
751
1047
|
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1048
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
752
1049
|
* @param domain? the domain of the issuer of the token,
|
|
753
1050
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
754
1051
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
@@ -756,7 +1053,107 @@ export declare function xrpToken(id: string, name: string, fullName: string, dec
|
|
|
756
1053
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
757
1054
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
758
1055
|
*/
|
|
759
|
-
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>;
|
|
1056
|
+
export declare function txrpToken(id: string, name: string, fullName: string, decimalPlaces: number, issuerAddress: string, currencyCode: string, contractAddress: string, domain: string | undefined, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<XrpCoin>;
|
|
1057
|
+
/**
|
|
1058
|
+
* Factory function for sui token instances.
|
|
1059
|
+
*
|
|
1060
|
+
* @param id uuid v4
|
|
1061
|
+
* @param name unique identifier of the token
|
|
1062
|
+
* @param fullName Complete human-readable name of the token
|
|
1063
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1064
|
+
* @param packageId PackageId of this token
|
|
1065
|
+
* @param module The module of the package with id `packageId`
|
|
1066
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1067
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1068
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1069
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1070
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1071
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1072
|
+
* @param network? Optional token network. Defaults to SUI main network.
|
|
1073
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1074
|
+
*/
|
|
1075
|
+
export declare function suiToken(id: string, name: string, fullName: string, decimalPlaces: number, packageId: string, module: string, symbol: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<SuiCoin>;
|
|
1076
|
+
/**
|
|
1077
|
+
* Factory function for testnet sui token instances.
|
|
1078
|
+
*
|
|
1079
|
+
* @param id uuid v4
|
|
1080
|
+
* @param name unique identifier of the token
|
|
1081
|
+
* @param fullName Complete human-readable name of the token
|
|
1082
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1083
|
+
* @param packageId PackageId of this token
|
|
1084
|
+
* @param module The module of the package with id `packageId`
|
|
1085
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1086
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1087
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1088
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1089
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1090
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1091
|
+
* @param network? Optional token network. Defaults to SUI test network.
|
|
1092
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1093
|
+
*/
|
|
1094
|
+
export declare function tsuiToken(id: string, name: string, fullName: string, decimalPlaces: number, packageId: string, module: string, symbol: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<SuiCoin>;
|
|
1095
|
+
/**
|
|
1096
|
+
* Factory function for apt token instances.
|
|
1097
|
+
*
|
|
1098
|
+
* @param id uuid v4
|
|
1099
|
+
* @param name unique identifier of the token
|
|
1100
|
+
* @param fullName Complete human-readable name of the token
|
|
1101
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1102
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1103
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1104
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1105
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1106
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1107
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1108
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1109
|
+
*/
|
|
1110
|
+
export declare function aptToken(id: string, name: string, fullName: string, decimalPlaces: number, assetId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AptCoin>;
|
|
1111
|
+
/**
|
|
1112
|
+
* Factory function for Apt NFT collections.
|
|
1113
|
+
*
|
|
1114
|
+
* @param id uuid v4
|
|
1115
|
+
* @param name unique identifier of the NFT collection
|
|
1116
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1117
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1118
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1119
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1120
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1121
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1122
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1123
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1124
|
+
*/
|
|
1125
|
+
export declare function aptNFTCollection(id: string, name: string, fullName: string, nftCollectionId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AptNFTCollection>;
|
|
1126
|
+
/**
|
|
1127
|
+
* Factory function for testnet apt token instances.
|
|
1128
|
+
*
|
|
1129
|
+
* @param id uuid v4
|
|
1130
|
+
* @param name unique identifier of the token
|
|
1131
|
+
* @param fullName Complete human-readable name of the token
|
|
1132
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1133
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1134
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1135
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1136
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1137
|
+
* @param network Optional token network. Defaults to the testnet APT network.
|
|
1138
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1139
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1140
|
+
*/
|
|
1141
|
+
export declare function taptToken(id: string, name: string, fullName: string, decimalPlaces: number, assetId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AptCoin>;
|
|
1142
|
+
/**
|
|
1143
|
+
* Factory function for testnet Apt NFT collections.
|
|
1144
|
+
*
|
|
1145
|
+
* @param id uuid v4
|
|
1146
|
+
* @param name unique identifier of the NFT collection
|
|
1147
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1148
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1149
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1150
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1151
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1152
|
+
* @param network Optional token network. Defaults to APT test network.
|
|
1153
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1154
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1155
|
+
*/
|
|
1156
|
+
export declare function taptNFTCollection(id: string, name: string, fullName: string, nftCollectionId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AptNFTCollection>;
|
|
760
1157
|
/**
|
|
761
1158
|
* Factory function for fiat coin instances.
|
|
762
1159
|
*
|
|
@@ -773,5 +1170,67 @@ export declare function txrpToken(id: string, name: string, fullName: string, de
|
|
|
773
1170
|
* @param isToken? Whether or not this coin is a token of another coin
|
|
774
1171
|
*/
|
|
775
1172
|
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>;
|
|
1173
|
+
/**
|
|
1174
|
+
* Factory function for sip10 token instances.
|
|
1175
|
+
*
|
|
1176
|
+
* @param id uuid v4
|
|
1177
|
+
* @param name unique identifier of the token
|
|
1178
|
+
* @param fullName Complete human-readable name of the token
|
|
1179
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1180
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1181
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1182
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1183
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1184
|
+
* @param network? Optional token network. Defaults to Stacks main network.
|
|
1185
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1186
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1187
|
+
*/
|
|
1188
|
+
export declare function sip10Token(id: string, name: string, fullName: string, decimalPlaces: number, assetId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<Sip10Token>;
|
|
1189
|
+
/**
|
|
1190
|
+
* Factory function for testnet sip10 token instances.
|
|
1191
|
+
*
|
|
1192
|
+
* @param id uuid v4
|
|
1193
|
+
* @param name unique identifier of the token
|
|
1194
|
+
* @param fullName Complete human-readable name of the token
|
|
1195
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1196
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1197
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1198
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1199
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1200
|
+
* @param network? Optional token network. Defaults to the testnet Stacks network.
|
|
1201
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1202
|
+
*/
|
|
1203
|
+
export declare function tsip10Token(id: string, name: string, fullName: string, decimalPlaces: number, assetId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<Sip10Token>;
|
|
1204
|
+
/**
|
|
1205
|
+
* Factory function for nep141 token instances.
|
|
1206
|
+
*
|
|
1207
|
+
* @param id uuid v4
|
|
1208
|
+
* @param name unique identifier of the token
|
|
1209
|
+
* @param fullName Complete human-readable name of the token
|
|
1210
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1211
|
+
* @param contractAddress Contract address of this token
|
|
1212
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1213
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1214
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1215
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1216
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1217
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1218
|
+
*/
|
|
1219
|
+
export declare function nep141Token(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<Nep141Token>;
|
|
1220
|
+
/**
|
|
1221
|
+
* Factory function for testnet nep141 token instances.
|
|
1222
|
+
*
|
|
1223
|
+
* @param id uuid v4
|
|
1224
|
+
* @param name unique identifier of the token
|
|
1225
|
+
* @param fullName Complete human-readable name of the token
|
|
1226
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1227
|
+
* @param contractAddress Contract address of this token
|
|
1228
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1229
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1230
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1231
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1232
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1233
|
+
*/
|
|
1234
|
+
export declare function tnep141Token(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<Nep141Token>;
|
|
776
1235
|
export {};
|
|
777
1236
|
//# sourceMappingURL=account.d.ts.map
|