@bitgo-beta/statics 15.1.1-beta.105 → 15.1.1-beta.1050
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 +3017 -0
- package/dist/src/account.d.ts +613 -31
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +1007 -125
- package/dist/src/ada.d.ts.map +1 -1
- package/dist/src/ada.js +7 -3
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +8 -3
- package/dist/src/base.d.ts +1580 -40
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +1641 -50
- package/dist/src/coinFeatures.d.ts +91 -0
- package/dist/src/coinFeatures.d.ts.map +1 -0
- package/dist/src/coinFeatures.js +578 -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 +100 -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 +157 -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 +12 -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 +1469 -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 +14 -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 +593 -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 +1366 -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 +147 -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 +353 -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 +10 -1
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +780 -1516
- 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/index.d.ts +3 -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 +95 -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 +886 -1
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +1153 -42
- package/dist/src/ofc.d.ts +385 -0
- package/dist/src/ofc.d.ts.map +1 -1
- package/dist/src/ofc.js +797 -14
- package/dist/src/tokenConfig.d.ts +178 -14
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +685 -238
- package/dist/src/utxo.d.ts +3 -1
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +83 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/src/account.d.ts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { BaseCoin, BaseUnit, CoinFeature, KeyCurve, UnderlyingAsset } from './base';
|
|
2
2
|
import { AccountNetwork, BaseNetwork, EthereumNetwork, TronNetwork } from './networks';
|
|
3
|
+
/**
|
|
4
|
+
* This is the program id against sol token program.
|
|
5
|
+
*/
|
|
6
|
+
export declare enum ProgramID {
|
|
7
|
+
TokenProgramId = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
|
|
8
|
+
Token2022ProgramId = "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"
|
|
9
|
+
}
|
|
3
10
|
export interface AccountConstructorOptions {
|
|
4
11
|
id: string;
|
|
5
12
|
fullName: string;
|
|
@@ -24,14 +31,23 @@ export interface AccountConstructorOptions {
|
|
|
24
31
|
*/
|
|
25
32
|
export declare class AccountCoin extends BaseCoin {
|
|
26
33
|
static readonly DEFAULT_FEATURES: CoinFeature[];
|
|
34
|
+
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.CUSTODY_BITGO_INDIA | 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.MULTISIG_SUPPORT_GATED | CoinFeature.SHARED_EVM_SIGNING | CoinFeature.SHARED_EVM_SDK | CoinFeature.SHARED_COSMOS_SDK | CoinFeature.EVM_COIN | CoinFeature.MULTISIG | CoinFeature.EVM_COMPATIBLE_IMS | CoinFeature.EVM_COMPATIBLE_UI | CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY | CoinFeature.EVM_NON_BITGO_RECOVERY | CoinFeature.REBASE_TOKEN)[];
|
|
27
35
|
readonly network: AccountNetwork;
|
|
28
36
|
constructor(options: AccountConstructorOptions);
|
|
29
37
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
30
38
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
39
|
+
static getFeaturesExcluding(excludedFeatures: CoinFeature[]): CoinFeature[];
|
|
40
|
+
}
|
|
41
|
+
export interface GasTankAccountConstructorOptions extends AccountConstructorOptions {
|
|
42
|
+
gasTankLowBalanceAlertFactor: number;
|
|
43
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
31
44
|
}
|
|
32
45
|
export interface Erc20ConstructorOptions extends AccountConstructorOptions {
|
|
33
46
|
contractAddress: string;
|
|
34
47
|
}
|
|
48
|
+
export interface NFTCollectionIdConstructorOptions extends AccountConstructorOptions {
|
|
49
|
+
nftCollectionId: string;
|
|
50
|
+
}
|
|
35
51
|
export interface StellarCoinConstructorOptions extends AccountConstructorOptions {
|
|
36
52
|
domain: string;
|
|
37
53
|
}
|
|
@@ -40,16 +56,17 @@ export interface HederaCoinConstructorOptions extends AccountConstructorOptions
|
|
|
40
56
|
}
|
|
41
57
|
export interface HederaTokenConstructorOptions extends AccountConstructorOptions {
|
|
42
58
|
nodeAccountId: string;
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
export interface AlgoCoinConstructorOptions extends AccountConstructorOptions {
|
|
46
|
-
tokenURL: string;
|
|
59
|
+
contractAddress: string;
|
|
47
60
|
}
|
|
48
61
|
export interface EosCoinConstructorOptions extends AccountConstructorOptions {
|
|
49
62
|
contractName: string;
|
|
63
|
+
contractAddress: string;
|
|
64
|
+
symbol?: string;
|
|
50
65
|
}
|
|
51
66
|
export interface SolCoinConstructorOptions extends AccountConstructorOptions {
|
|
52
67
|
tokenAddress: string;
|
|
68
|
+
contractAddress: string;
|
|
69
|
+
programId: string;
|
|
53
70
|
}
|
|
54
71
|
export interface AdaCoinConstructorOptions extends AccountConstructorOptions {
|
|
55
72
|
policyId: string;
|
|
@@ -59,17 +76,45 @@ export interface XrpCoinConstructorOptions extends AccountConstructorOptions {
|
|
|
59
76
|
issuerAddress: string;
|
|
60
77
|
currencyCode: string;
|
|
61
78
|
domain: string;
|
|
79
|
+
contractAddress: string;
|
|
80
|
+
}
|
|
81
|
+
export interface SuiCoinConstructorOptions extends AccountConstructorOptions {
|
|
82
|
+
packageId: string;
|
|
83
|
+
module: string;
|
|
84
|
+
symbol: string;
|
|
85
|
+
contractAddress: string;
|
|
86
|
+
}
|
|
87
|
+
export interface AptCoinConstructorOptions extends AccountConstructorOptions {
|
|
88
|
+
assetId: string;
|
|
62
89
|
}
|
|
63
|
-
|
|
90
|
+
type FiatCoinName = `fiat${string}` | `tfiat${string}`;
|
|
64
91
|
export interface FiatCoinConstructorOptions extends AccountConstructorOptions {
|
|
65
92
|
name: FiatCoinName;
|
|
66
93
|
}
|
|
94
|
+
export interface Sip10TokenConstructorOptions extends AccountConstructorOptions {
|
|
95
|
+
assetId: string;
|
|
96
|
+
}
|
|
97
|
+
export interface Nep141TokenConstructorOptions extends AccountConstructorOptions {
|
|
98
|
+
contractAddress: string;
|
|
99
|
+
storageDepositAmount: string;
|
|
100
|
+
}
|
|
101
|
+
export interface VetTokenConstructorOptions extends AccountConstructorOptions {
|
|
102
|
+
contractAddress: string;
|
|
103
|
+
}
|
|
104
|
+
export interface CosmosTokenConstructorOptions extends AccountConstructorOptions {
|
|
105
|
+
denom: string;
|
|
106
|
+
}
|
|
67
107
|
export interface ContractAddress extends String {
|
|
68
108
|
__contractaddress_phantom__: never;
|
|
69
109
|
}
|
|
70
110
|
export declare class AccountCoinToken extends AccountCoin {
|
|
71
111
|
constructor(options: AccountConstructorOptions);
|
|
72
112
|
}
|
|
113
|
+
export declare class GasTankAccountCoin extends AccountCoin {
|
|
114
|
+
gasTankLowBalanceAlertFactor: number;
|
|
115
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
116
|
+
constructor(options: GasTankAccountConstructorOptions);
|
|
117
|
+
}
|
|
73
118
|
/**
|
|
74
119
|
* Some blockchains support tokens which are defined by an address at which they have a smart contract deployed.
|
|
75
120
|
* Examples are ERC20 tokens, and the equivalent on other chains.
|
|
@@ -78,6 +123,13 @@ export declare class ContractAddressDefinedToken extends AccountCoinToken {
|
|
|
78
123
|
contractAddress: ContractAddress;
|
|
79
124
|
constructor(options: Erc20ConstructorOptions);
|
|
80
125
|
}
|
|
126
|
+
/**
|
|
127
|
+
* Used for blockchains that support NFT collections.
|
|
128
|
+
*/
|
|
129
|
+
export declare class NFTCollectionIdDefinedToken extends AccountCoinToken {
|
|
130
|
+
nftCollectionId: string;
|
|
131
|
+
constructor(options: NFTCollectionIdConstructorOptions);
|
|
132
|
+
}
|
|
81
133
|
/**
|
|
82
134
|
* ERC20 token addresses are Base58 formatted on some blockchains.
|
|
83
135
|
*/
|
|
@@ -155,6 +207,7 @@ export declare class HederaCoin extends AccountCoinToken {
|
|
|
155
207
|
export declare class HederaToken extends AccountCoinToken {
|
|
156
208
|
nodeAccountId: string;
|
|
157
209
|
tokenId: string;
|
|
210
|
+
contractAddress: string;
|
|
158
211
|
constructor(options: HederaTokenConstructorOptions);
|
|
159
212
|
}
|
|
160
213
|
/**
|
|
@@ -164,8 +217,7 @@ export declare class HederaToken extends AccountCoinToken {
|
|
|
164
217
|
*
|
|
165
218
|
*/
|
|
166
219
|
export declare class AlgoCoin extends AccountCoinToken {
|
|
167
|
-
|
|
168
|
-
constructor(options: AlgoCoinConstructorOptions);
|
|
220
|
+
constructor(options: AccountConstructorOptions);
|
|
169
221
|
}
|
|
170
222
|
/**
|
|
171
223
|
* The Eos network supports tokens
|
|
@@ -175,6 +227,8 @@ export declare class AlgoCoin extends AccountCoinToken {
|
|
|
175
227
|
*/
|
|
176
228
|
export declare class EosCoin extends AccountCoinToken {
|
|
177
229
|
contractName: string;
|
|
230
|
+
contractAddress: string;
|
|
231
|
+
symbol: string;
|
|
178
232
|
constructor(options: EosCoinConstructorOptions);
|
|
179
233
|
}
|
|
180
234
|
/**
|
|
@@ -185,6 +239,8 @@ export declare class EosCoin extends AccountCoinToken {
|
|
|
185
239
|
*/
|
|
186
240
|
export declare class SolCoin extends AccountCoinToken {
|
|
187
241
|
tokenAddress: string;
|
|
242
|
+
contractAddress: string;
|
|
243
|
+
programId: string;
|
|
188
244
|
constructor(options: SolCoinConstructorOptions);
|
|
189
245
|
}
|
|
190
246
|
/**
|
|
@@ -211,6 +267,48 @@ export declare class AvaxERC20Token extends ContractAddressDefinedToken {
|
|
|
211
267
|
export declare class PolygonERC20Token extends ContractAddressDefinedToken {
|
|
212
268
|
constructor(options: Erc20ConstructorOptions);
|
|
213
269
|
}
|
|
270
|
+
/**
|
|
271
|
+
* The Arbitrum Chain network support tokens
|
|
272
|
+
* Arbitrum Chain Tokens are ERC20 tokens
|
|
273
|
+
*/
|
|
274
|
+
export declare class ArbethERC20Token extends ContractAddressDefinedToken {
|
|
275
|
+
constructor(options: Erc20ConstructorOptions);
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* The Optimism Chain network support tokens
|
|
279
|
+
* Optimism Chain Tokens are ERC20 tokens
|
|
280
|
+
*/
|
|
281
|
+
export declare class OpethERC20Token extends ContractAddressDefinedToken {
|
|
282
|
+
constructor(options: Erc20ConstructorOptions);
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* The zkSync network support tokens
|
|
286
|
+
* zkSync Tokens are ERC20 tokens
|
|
287
|
+
*/
|
|
288
|
+
export declare class ZkethERC20Token extends ContractAddressDefinedToken {
|
|
289
|
+
constructor(options: Erc20ConstructorOptions);
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* The Bera Chain network support tokens
|
|
293
|
+
* Bera Chain Tokens are ERC20 tokens
|
|
294
|
+
*/
|
|
295
|
+
export declare class BeraERC20Token extends ContractAddressDefinedToken {
|
|
296
|
+
constructor(options: Erc20ConstructorOptions);
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* The Coredao Chain network support tokens
|
|
300
|
+
* Coredao Chain Tokens are ERC20 tokens
|
|
301
|
+
*/
|
|
302
|
+
export declare class CoredaoERC20Token extends ContractAddressDefinedToken {
|
|
303
|
+
constructor(options: Erc20ConstructorOptions);
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* The World Chain network supports tokens
|
|
307
|
+
* World Chain Tokens are ERC20 tokens
|
|
308
|
+
*/
|
|
309
|
+
export declare class WorldERC20Token extends ContractAddressDefinedToken {
|
|
310
|
+
constructor(options: Erc20ConstructorOptions);
|
|
311
|
+
}
|
|
214
312
|
/**
|
|
215
313
|
* The Xrp network supports tokens
|
|
216
314
|
* Xrp tokens are identified by their issuer address
|
|
@@ -221,8 +319,32 @@ export declare class XrpCoin extends AccountCoinToken {
|
|
|
221
319
|
issuerAddress: string;
|
|
222
320
|
currencyCode: string;
|
|
223
321
|
domain: string;
|
|
322
|
+
contractAddress: string;
|
|
224
323
|
constructor(options: XrpCoinConstructorOptions);
|
|
225
324
|
}
|
|
325
|
+
export declare class SuiCoin extends AccountCoinToken {
|
|
326
|
+
packageId: string;
|
|
327
|
+
module: string;
|
|
328
|
+
symbol: string;
|
|
329
|
+
contractAddress: string;
|
|
330
|
+
constructor(options: SuiCoinConstructorOptions);
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* The Apt network supports tokens
|
|
334
|
+
* Apt tokens work similar to native Apt coin, but the token name is determined by
|
|
335
|
+
* the tokenAddress on the chain.
|
|
336
|
+
*
|
|
337
|
+
*/
|
|
338
|
+
export declare class AptCoin extends AccountCoinToken {
|
|
339
|
+
assetId: string;
|
|
340
|
+
constructor(options: AptCoinConstructorOptions);
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* The Apt network supports non-fungible tokens (Digital Asset Standard)
|
|
344
|
+
* Every NFT belongs to an NFT collection.
|
|
345
|
+
*/
|
|
346
|
+
export declare class AptNFTCollection extends NFTCollectionIdDefinedToken {
|
|
347
|
+
}
|
|
226
348
|
/**
|
|
227
349
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
228
350
|
*/
|
|
@@ -233,6 +355,38 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
233
355
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
234
356
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
235
357
|
}
|
|
358
|
+
/**
|
|
359
|
+
* The Stacks network supports tokens
|
|
360
|
+
* Stx tokens work similar to native Stx coin, but the token name is determined by
|
|
361
|
+
* the contractName on the chain.
|
|
362
|
+
*/
|
|
363
|
+
export declare class Sip10Token extends AccountCoinToken {
|
|
364
|
+
assetId: string;
|
|
365
|
+
constructor(options: Sip10TokenConstructorOptions);
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* The Near network supports tokens
|
|
369
|
+
* Near tokens work similar to native near coin
|
|
370
|
+
*/
|
|
371
|
+
export declare class Nep141Token extends AccountCoinToken {
|
|
372
|
+
contractAddress: string;
|
|
373
|
+
storageDepositAmount: string;
|
|
374
|
+
constructor(options: Nep141TokenConstructorOptions);
|
|
375
|
+
}
|
|
376
|
+
export declare class VetToken extends AccountCoinToken {
|
|
377
|
+
contractAddress: string;
|
|
378
|
+
constructor(options: VetTokenConstructorOptions);
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* Cosmos network supports tokens
|
|
382
|
+
* Cosmos tokens work similar to native coins, but the token is determined by
|
|
383
|
+
* the denom on chain.
|
|
384
|
+
*
|
|
385
|
+
*/
|
|
386
|
+
export declare class CosmosChainToken extends AccountCoinToken {
|
|
387
|
+
denom: string;
|
|
388
|
+
constructor(options: CosmosTokenConstructorOptions);
|
|
389
|
+
}
|
|
236
390
|
/**
|
|
237
391
|
* Factory function for account coin instances.
|
|
238
392
|
*
|
|
@@ -249,6 +403,25 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
249
403
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
250
404
|
*/
|
|
251
405
|
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>;
|
|
406
|
+
/**
|
|
407
|
+
* Factory function for gas tank account coin instances.
|
|
408
|
+
*
|
|
409
|
+
* @param id uuid v4
|
|
410
|
+
* @param name unique identifier of the coin
|
|
411
|
+
* @param fullName Complete human-readable name of the coin
|
|
412
|
+
* @param network Network object for this coin
|
|
413
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
414
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
415
|
+
* @param baseUnit
|
|
416
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
417
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
418
|
+
* @param gasTankLowBalanceAlertFactor Low gas tank balance alert threshold = (feeEstimate x gasTankLowBalanceAlertFactor)
|
|
419
|
+
* @param gasTankMinBalanceRecommendationFactor Min gas tank balance recommendation = (feeEstimate x gasTankMinBalanceRecommendationFactor)
|
|
420
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
421
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
422
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
423
|
+
*/
|
|
424
|
+
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
425
|
/**
|
|
253
426
|
* Factory function for erc20 token instances.
|
|
254
427
|
*
|
|
@@ -305,7 +478,7 @@ export declare function erc721(id: string, name: string, fullName: string, contr
|
|
|
305
478
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
306
479
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
307
480
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
308
|
-
* @param network? Optional token network. Defaults to
|
|
481
|
+
* @param network? Optional token network. Defaults to Holesky test network.
|
|
309
482
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
310
483
|
*/
|
|
311
484
|
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 +522,7 @@ export declare function erc1155(id: string, name: string, fullName: string, cont
|
|
|
349
522
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
350
523
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
351
524
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
352
|
-
* @param network? Optional token network. Defaults to
|
|
525
|
+
* @param network? Optional token network. Defaults to Holesky test network.
|
|
353
526
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
354
527
|
*/
|
|
355
528
|
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 +550,11 @@ export declare function erc20CompatibleAccountCoin(id: string, name: string, ful
|
|
|
377
550
|
* @param fullName Complete human-readable name of the token
|
|
378
551
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
379
552
|
* @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
|
|
553
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
554
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
555
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
556
|
+
* @param network ? Optional token network. Defaults to CELO main network.
|
|
557
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
385
558
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
386
559
|
*/
|
|
387
560
|
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 +567,10 @@ export declare function celoToken(id: string, name: string, fullName: string, de
|
|
|
394
567
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
395
568
|
* @param contractAddress Contract address of this token
|
|
396
569
|
* @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
|
|
570
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
571
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
572
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
573
|
+
* @param network ? Optional token network. Defaults to the testnet CELO network.
|
|
401
574
|
*/
|
|
402
575
|
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
576
|
/**
|
|
@@ -511,7 +684,7 @@ export declare function ttronToken(id: string, name: string, fullName: string, d
|
|
|
511
684
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
512
685
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
513
686
|
*/
|
|
514
|
-
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
687
|
+
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
688
|
/**
|
|
516
689
|
* Factory function for Hedera token instances
|
|
517
690
|
*
|
|
@@ -522,13 +695,14 @@ export declare function hederaCoin(id: string, name: string, fullName: string, n
|
|
|
522
695
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
523
696
|
* @param nodeAccountId node account Id from which the transaction will be sent
|
|
524
697
|
* @param tokenId The unique identifier of this token
|
|
698
|
+
* @param contractAddress Contract address of this token, same as tokenId
|
|
525
699
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
526
700
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
527
701
|
* @param network? Optional token network. Defaults to Hedera mainnet.
|
|
528
702
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
529
703
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
530
704
|
*/
|
|
531
|
-
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
705
|
+
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
706
|
/**
|
|
533
707
|
* Factory function for ALGO token instances.
|
|
534
708
|
*
|
|
@@ -539,7 +713,6 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
539
713
|
* @param fullName Complete human-readable name of the token
|
|
540
714
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
541
715
|
* @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
716
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
544
717
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
545
718
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -547,7 +720,7 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
547
720
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
548
721
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
549
722
|
*/
|
|
550
|
-
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
723
|
+
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
724
|
/**
|
|
552
725
|
* Factory function for testnet ALGO token instances.
|
|
553
726
|
*
|
|
@@ -557,14 +730,13 @@ export declare function algoToken(id: string, name: string, alias: string | unde
|
|
|
557
730
|
* @param fullName Complete human-readable name of the token
|
|
558
731
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
559
732
|
* @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
733
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
562
734
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
563
735
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
564
736
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
565
737
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
566
738
|
*/
|
|
567
|
-
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
739
|
+
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
740
|
/**
|
|
569
741
|
* Factory function for eos token instances.
|
|
570
742
|
*
|
|
@@ -573,6 +745,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
573
745
|
* @param fullName Complete human-readable name of the token
|
|
574
746
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
575
747
|
* @param contractName Contract address of this token
|
|
748
|
+
* @param contractAddress Contract address of this token
|
|
576
749
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
577
750
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
578
751
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -580,7 +753,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
580
753
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
581
754
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
582
755
|
*/
|
|
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>;
|
|
756
|
+
export declare function eosToken(id: string, name: string, fullName: string, decimalPlaces: number, contractName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, symbol?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<EosCoin>;
|
|
584
757
|
/**
|
|
585
758
|
* Factory function for testnet eos token instances.
|
|
586
759
|
*
|
|
@@ -588,14 +761,16 @@ export declare function eosToken(id: string, name: string, fullName: string, dec
|
|
|
588
761
|
* @param name unique identifier of the token
|
|
589
762
|
* @param fullName Complete human-readable name of the token
|
|
590
763
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
764
|
+
* @param contractName Contract address of this token
|
|
591
765
|
* @param contractAddress Contract address of this token
|
|
592
766
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
593
767
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
594
768
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
769
|
+
* @param symbol? token symbol as defined in token contract.
|
|
595
770
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
596
771
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
597
772
|
*/
|
|
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>;
|
|
773
|
+
export declare function teosToken(id: string, name: string, fullName: string, decimalPlaces: number, contractName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, symbol?: string, network?: AccountNetwork): Readonly<EosCoin>;
|
|
599
774
|
/**
|
|
600
775
|
* Factory function for sol token instances.
|
|
601
776
|
*
|
|
@@ -604,6 +779,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
604
779
|
* @param fullName Complete human-readable name of the token
|
|
605
780
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
606
781
|
* @param tokenAddress Token address of this token
|
|
782
|
+
* @param contractAddress Contract address of this token
|
|
607
783
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
608
784
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
609
785
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -611,7 +787,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
611
787
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
612
788
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
613
789
|
*/
|
|
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>;
|
|
790
|
+
export declare function solToken(id: string, name: string, fullName: string, decimalPlaces: number, tokenAddress: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], programId?: ProgramID, prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<SolCoin>;
|
|
615
791
|
/**
|
|
616
792
|
* Factory function for testnet solana token instances.
|
|
617
793
|
*
|
|
@@ -626,7 +802,7 @@ export declare function solToken(id: string, name: string, fullName: string, dec
|
|
|
626
802
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
627
803
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
628
804
|
*/
|
|
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>;
|
|
805
|
+
export declare function tsolToken(id: string, name: string, fullName: string, decimalPlaces: number, tokenAddress: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], programId?: ProgramID, prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<SolCoin>;
|
|
630
806
|
/**
|
|
631
807
|
* Factory function for ada token instances.
|
|
632
808
|
*
|
|
@@ -707,7 +883,7 @@ export declare function tavaxErc20(id: string, name: string, fullName: string, d
|
|
|
707
883
|
*/
|
|
708
884
|
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
885
|
/**
|
|
710
|
-
* Factory function for
|
|
886
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
711
887
|
*
|
|
712
888
|
* @param id uuid v4
|
|
713
889
|
* @param name unique identifier of the token
|
|
@@ -722,6 +898,198 @@ export declare function polygonErc20(id: string, name: string, fullName: string,
|
|
|
722
898
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
723
899
|
*/
|
|
724
900
|
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>;
|
|
901
|
+
/**
|
|
902
|
+
* Factory function for arbethErc20 token instances.
|
|
903
|
+
*
|
|
904
|
+
* @param id uuid v4
|
|
905
|
+
* @param name unique identifier of the token
|
|
906
|
+
* @param fullName Complete human-readable name of the token
|
|
907
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
908
|
+
* @param contractAddress Contract address of this token
|
|
909
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
910
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
911
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
912
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
913
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
914
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
915
|
+
*/
|
|
916
|
+
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>;
|
|
917
|
+
/**
|
|
918
|
+
* Factory function for Arbitrum Sepolia testnet arbethErc20 token instances.
|
|
919
|
+
*
|
|
920
|
+
* @param id uuid v4
|
|
921
|
+
* @param name unique identifier of the token
|
|
922
|
+
* @param fullName Complete human-readable name of the token
|
|
923
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
924
|
+
* @param contractAddress Contract address of this token
|
|
925
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
926
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
927
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
928
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
929
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
930
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
931
|
+
*/
|
|
932
|
+
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>;
|
|
933
|
+
/**
|
|
934
|
+
* Factory function for opethErc20 token instances.
|
|
935
|
+
*
|
|
936
|
+
* @param id uuid v4
|
|
937
|
+
* @param name unique identifier of the token
|
|
938
|
+
* @param fullName Complete human-readable name of the token
|
|
939
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
940
|
+
* @param contractAddress Contract address of this token
|
|
941
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
942
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
943
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
944
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
945
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
946
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
947
|
+
*/
|
|
948
|
+
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>;
|
|
949
|
+
/**
|
|
950
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
951
|
+
*
|
|
952
|
+
* @param id uuid v4
|
|
953
|
+
* @param name unique identifier of the token
|
|
954
|
+
* @param fullName Complete human-readable name of the token
|
|
955
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
956
|
+
* @param contractAddress Contract address of this token
|
|
957
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
958
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
959
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
960
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
961
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
962
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
963
|
+
*/
|
|
964
|
+
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>;
|
|
965
|
+
/**
|
|
966
|
+
* Factory function for zkethErc20 token instances.
|
|
967
|
+
*
|
|
968
|
+
* @param id uuid v4
|
|
969
|
+
* @param name unique identifier of the token
|
|
970
|
+
* @param fullName Complete human-readable name of the token
|
|
971
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
972
|
+
* @param contractAddress Contract address of this token
|
|
973
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
974
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
975
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
976
|
+
* @param network? Optional token network. Defaults to zkSync mainnet network.
|
|
977
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
978
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
979
|
+
*/
|
|
980
|
+
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>;
|
|
981
|
+
/**
|
|
982
|
+
* Factory function for zkSync Sepolia testnet zkethErc20 token instances.
|
|
983
|
+
*
|
|
984
|
+
* @param id uuid v4
|
|
985
|
+
* @param name unique identifier of the token
|
|
986
|
+
* @param fullName Complete human-readable name of the token
|
|
987
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
988
|
+
* @param contractAddress Contract address of this token
|
|
989
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
990
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
991
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
992
|
+
* @param network? Optional token network. Defaults to the zkSync sepolia test network.
|
|
993
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
994
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
995
|
+
*/
|
|
996
|
+
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>;
|
|
997
|
+
/**
|
|
998
|
+
* Factory function for beraErc20 token instances.
|
|
999
|
+
*
|
|
1000
|
+
* @param id uuid v4
|
|
1001
|
+
* @param name unique identifier of the token
|
|
1002
|
+
* @param fullName Complete human-readable name of the token
|
|
1003
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1004
|
+
* @param contractAddress Contract address of this token
|
|
1005
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1006
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1007
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1008
|
+
* @param network? Optional token network. Defaults to bera mainnet network.
|
|
1009
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1010
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1011
|
+
*/
|
|
1012
|
+
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>;
|
|
1013
|
+
/**
|
|
1014
|
+
* Factory function for zkSync Sepolia testnet beraErc20 token instances.
|
|
1015
|
+
*
|
|
1016
|
+
* @param id uuid v4
|
|
1017
|
+
* @param name unique identifier of the token
|
|
1018
|
+
* @param fullName Complete human-readable name of the token
|
|
1019
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1020
|
+
* @param contractAddress Contract address of this token
|
|
1021
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1022
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1023
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1024
|
+
* @param network? Optional token network. Defaults to the bera test network.
|
|
1025
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1026
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1027
|
+
*/
|
|
1028
|
+
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>;
|
|
1029
|
+
/**
|
|
1030
|
+
* Factory function for CoredaoErc20 token instances.
|
|
1031
|
+
*
|
|
1032
|
+
* @param id uuid v4
|
|
1033
|
+
* @param name unique identifier of the token
|
|
1034
|
+
* @param fullName Complete human-readable name of the token
|
|
1035
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1036
|
+
* @param contractAddress Contract address of this token
|
|
1037
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1038
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1039
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1040
|
+
* @param network? Optional token network. Defaults to coredao mainnet network.
|
|
1041
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1042
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1043
|
+
*/
|
|
1044
|
+
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>;
|
|
1045
|
+
/**
|
|
1046
|
+
* Factory function for coredao testnet coredaoErc20 token instances.
|
|
1047
|
+
*
|
|
1048
|
+
* @param id uuid v4
|
|
1049
|
+
* @param name unique identifier of the token
|
|
1050
|
+
* @param fullName Complete human-readable name of the token
|
|
1051
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1052
|
+
* @param contractAddress Contract address of this token
|
|
1053
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1054
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1055
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1056
|
+
* @param network? Optional token network. Defaults to the coredao test network.
|
|
1057
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1058
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1059
|
+
*/
|
|
1060
|
+
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>;
|
|
1061
|
+
/**
|
|
1062
|
+
* Factory function for WorldErc20 token instances.
|
|
1063
|
+
*
|
|
1064
|
+
* @param id uuid v4
|
|
1065
|
+
* @param name unique identifier of the token
|
|
1066
|
+
* @param fullName Complete human-readable name of the token
|
|
1067
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1068
|
+
* @param contractAddress Contract address of this token
|
|
1069
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
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 World Chain mainnet network.
|
|
1073
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1074
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1075
|
+
*/
|
|
1076
|
+
export declare function worldErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<WorldERC20Token>;
|
|
1077
|
+
/**
|
|
1078
|
+
* Factory function for world testnet worldErc20 token instances.
|
|
1079
|
+
*
|
|
1080
|
+
* @param id uuid v4
|
|
1081
|
+
* @param name unique identifier of the token
|
|
1082
|
+
* @param fullName Complete human-readable name of the token
|
|
1083
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1084
|
+
* @param contractAddress Contract address of this token
|
|
1085
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1086
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1087
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1088
|
+
* @param network? Optional token network. Defaults to the World Chain test network.
|
|
1089
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1090
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1091
|
+
*/
|
|
1092
|
+
export declare function tworldErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<WorldERC20Token>;
|
|
725
1093
|
/**
|
|
726
1094
|
* Factory function for xrp token instances.
|
|
727
1095
|
*
|
|
@@ -731,6 +1099,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
731
1099
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
732
1100
|
* @param issuerAddress: The address of the issuer of the token,
|
|
733
1101
|
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1102
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
734
1103
|
* @param domain? the domain of the issuer of the token,
|
|
735
1104
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
736
1105
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
@@ -739,7 +1108,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
739
1108
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
740
1109
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
741
1110
|
*/
|
|
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>;
|
|
1111
|
+
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
1112
|
/**
|
|
744
1113
|
* Factory function for testnet cardano token instances.
|
|
745
1114
|
*
|
|
@@ -749,6 +1118,7 @@ export declare function xrpToken(id: string, name: string, fullName: string, dec
|
|
|
749
1118
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
750
1119
|
* @param issuerAddress: The address of the issuer of the token,
|
|
751
1120
|
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1121
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
752
1122
|
* @param domain? the domain of the issuer of the token,
|
|
753
1123
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
754
1124
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
@@ -756,7 +1126,107 @@ export declare function xrpToken(id: string, name: string, fullName: string, dec
|
|
|
756
1126
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
757
1127
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
758
1128
|
*/
|
|
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>;
|
|
1129
|
+
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>;
|
|
1130
|
+
/**
|
|
1131
|
+
* Factory function for sui token instances.
|
|
1132
|
+
*
|
|
1133
|
+
* @param id uuid v4
|
|
1134
|
+
* @param name unique identifier of the token
|
|
1135
|
+
* @param fullName Complete human-readable name of the token
|
|
1136
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1137
|
+
* @param packageId PackageId of this token
|
|
1138
|
+
* @param module The module of the package with id `packageId`
|
|
1139
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1140
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1141
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1142
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1143
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1144
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1145
|
+
* @param network? Optional token network. Defaults to SUI main network.
|
|
1146
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1147
|
+
*/
|
|
1148
|
+
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>;
|
|
1149
|
+
/**
|
|
1150
|
+
* Factory function for testnet sui token instances.
|
|
1151
|
+
*
|
|
1152
|
+
* @param id uuid v4
|
|
1153
|
+
* @param name unique identifier of the token
|
|
1154
|
+
* @param fullName Complete human-readable name of the token
|
|
1155
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1156
|
+
* @param packageId PackageId of this token
|
|
1157
|
+
* @param module The module of the package with id `packageId`
|
|
1158
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1159
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1160
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1161
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1162
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1163
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1164
|
+
* @param network? Optional token network. Defaults to SUI test network.
|
|
1165
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1166
|
+
*/
|
|
1167
|
+
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>;
|
|
1168
|
+
/**
|
|
1169
|
+
* Factory function for apt token instances.
|
|
1170
|
+
*
|
|
1171
|
+
* @param id uuid v4
|
|
1172
|
+
* @param name unique identifier of the token
|
|
1173
|
+
* @param fullName Complete human-readable name of the token
|
|
1174
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1175
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1176
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1177
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1178
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1179
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1180
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1181
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1182
|
+
*/
|
|
1183
|
+
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>;
|
|
1184
|
+
/**
|
|
1185
|
+
* Factory function for Apt NFT collections.
|
|
1186
|
+
*
|
|
1187
|
+
* @param id uuid v4
|
|
1188
|
+
* @param name unique identifier of the NFT collection
|
|
1189
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1190
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1191
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1192
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1193
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1194
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1195
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1196
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1197
|
+
*/
|
|
1198
|
+
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>;
|
|
1199
|
+
/**
|
|
1200
|
+
* Factory function for testnet apt token instances.
|
|
1201
|
+
*
|
|
1202
|
+
* @param id uuid v4
|
|
1203
|
+
* @param name unique identifier of the token
|
|
1204
|
+
* @param fullName Complete human-readable name of the token
|
|
1205
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1206
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1207
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1208
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1209
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1210
|
+
* @param network Optional token network. Defaults to the testnet APT network.
|
|
1211
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1212
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1213
|
+
*/
|
|
1214
|
+
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>;
|
|
1215
|
+
/**
|
|
1216
|
+
* Factory function for testnet Apt NFT collections.
|
|
1217
|
+
*
|
|
1218
|
+
* @param id uuid v4
|
|
1219
|
+
* @param name unique identifier of the NFT collection
|
|
1220
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1221
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1222
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1223
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1224
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1225
|
+
* @param network Optional token network. Defaults to APT test network.
|
|
1226
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1227
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1228
|
+
*/
|
|
1229
|
+
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
1230
|
/**
|
|
761
1231
|
* Factory function for fiat coin instances.
|
|
762
1232
|
*
|
|
@@ -773,5 +1243,117 @@ export declare function txrpToken(id: string, name: string, fullName: string, de
|
|
|
773
1243
|
* @param isToken? Whether or not this coin is a token of another coin
|
|
774
1244
|
*/
|
|
775
1245
|
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>;
|
|
1246
|
+
/**
|
|
1247
|
+
* Factory function for sip10 token instances.
|
|
1248
|
+
*
|
|
1249
|
+
* @param id uuid v4
|
|
1250
|
+
* @param name unique identifier of the token
|
|
1251
|
+
* @param fullName Complete human-readable name of the token
|
|
1252
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1253
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1254
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1255
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1256
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1257
|
+
* @param network? Optional token network. Defaults to Stacks main network.
|
|
1258
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1259
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1260
|
+
*/
|
|
1261
|
+
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>;
|
|
1262
|
+
/**
|
|
1263
|
+
* Factory function for testnet sip10 token instances.
|
|
1264
|
+
*
|
|
1265
|
+
* @param id uuid v4
|
|
1266
|
+
* @param name unique identifier of the token
|
|
1267
|
+
* @param fullName Complete human-readable name of the token
|
|
1268
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1269
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1270
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1271
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1272
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1273
|
+
* @param network? Optional token network. Defaults to the testnet Stacks network.
|
|
1274
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1275
|
+
*/
|
|
1276
|
+
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>;
|
|
1277
|
+
/**
|
|
1278
|
+
* Factory function for nep141 token instances.
|
|
1279
|
+
*
|
|
1280
|
+
* @param id uuid v4
|
|
1281
|
+
* @param name unique identifier of the token
|
|
1282
|
+
* @param fullName Complete human-readable name of the token
|
|
1283
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1284
|
+
* @param contractAddress Contract address of this token
|
|
1285
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1286
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1287
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1288
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1289
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1290
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1291
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1292
|
+
*/
|
|
1293
|
+
export declare function nep141Token(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, storageDepositAmount: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<Nep141Token>;
|
|
1294
|
+
/**
|
|
1295
|
+
* Factory function for testnet nep141 token instances.
|
|
1296
|
+
*
|
|
1297
|
+
* @param id uuid v4
|
|
1298
|
+
* @param name unique identifier of the token
|
|
1299
|
+
* @param fullName Complete human-readable name of the token
|
|
1300
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1301
|
+
* @param contractAddress Contract address of this token
|
|
1302
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1303
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1304
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1305
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1306
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1307
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1308
|
+
*/
|
|
1309
|
+
export declare function tnep141Token(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, storageDepositAmount: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<Nep141Token>;
|
|
1310
|
+
/**
|
|
1311
|
+
* Factory function for vet token instances.
|
|
1312
|
+
*
|
|
1313
|
+
* @param id uuid v4
|
|
1314
|
+
* @param name unique identifier of the token
|
|
1315
|
+
* @param fullName Complete human-readable name of the token
|
|
1316
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1317
|
+
* @param contractAddress Contract address of this token
|
|
1318
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1319
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1320
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1321
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1322
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1323
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1324
|
+
*/
|
|
1325
|
+
export declare function vetToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<VetToken>;
|
|
1326
|
+
/**
|
|
1327
|
+
* Factory function for testnet vet token instances.
|
|
1328
|
+
*
|
|
1329
|
+
* @param id uuid v4
|
|
1330
|
+
* @param name unique identifier of the token
|
|
1331
|
+
* @param fullName Complete human-readable name of the token
|
|
1332
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1333
|
+
* @param contractAddress Contract address of this token
|
|
1334
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1335
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1336
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1337
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1338
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1339
|
+
*/
|
|
1340
|
+
export declare function tvetToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<VetToken>;
|
|
1341
|
+
/**
|
|
1342
|
+
* Factory function for Cosmos chain token instances.
|
|
1343
|
+
*
|
|
1344
|
+
* @param id uuid v4
|
|
1345
|
+
* @param name unique identifier of the token
|
|
1346
|
+
* @param fullName Complete human-readable name of the token
|
|
1347
|
+
* @param denom denomination of this token which will act as a unique identifier for the token on chain
|
|
1348
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1349
|
+
* @param network Network (mainnet or testnet) for this token
|
|
1350
|
+
* @param baseUnit Base unit of this token (native asset)
|
|
1351
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1352
|
+
* @param features Features of this coin. Defaults to the COSMOS_SIDECHAIN_FEATURES defined in `coinFeatures.ts`
|
|
1353
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1354
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1355
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1356
|
+
*/
|
|
1357
|
+
export declare function cosmosToken(id: string, name: string, fullName: string, denom: string, decimalPlaces: number, network: AccountNetwork, baseUnit: BaseUnit, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<CosmosChainToken>;
|
|
776
1358
|
export {};
|
|
777
1359
|
//# sourceMappingURL=account.d.ts.map
|