@bitgo-beta/statics 15.1.1-beta.97 → 15.1.1-beta.970
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 +2896 -0
- package/dist/src/account.d.ts +583 -31
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +960 -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 +1481 -40
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +1539 -50
- package/dist/src/coinFeatures.d.ts +87 -0
- package/dist/src/coinFeatures.d.ts.map +1 -0
- package/dist/src/coinFeatures.js +557 -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 +97 -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 +155 -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 +1430 -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 +560 -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 +1331 -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 +358 -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 +675 -1511
- 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 +20 -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 +704 -1
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +932 -42
- 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 +168 -14
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +659 -238
- package/dist/src/utxo.d.ts +3 -1
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +82 -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 tokem 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.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.EVM_COIN | CoinFeature.MULTISIG | CoinFeature.EVM_COMPATIBLE_BGA | CoinFeature.EVM_COMPATIBLE_IMS | 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,42 @@ export interface XrpCoinConstructorOptions extends AccountConstructorOptions {
|
|
|
59
76
|
issuerAddress: string;
|
|
60
77
|
currencyCode: string;
|
|
61
78
|
domain: string;
|
|
79
|
+
contractAddress: string;
|
|
62
80
|
}
|
|
63
|
-
|
|
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;
|
|
89
|
+
}
|
|
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
|
+
}
|
|
67
104
|
export interface ContractAddress extends String {
|
|
68
105
|
__contractaddress_phantom__: never;
|
|
69
106
|
}
|
|
70
107
|
export declare class AccountCoinToken extends AccountCoin {
|
|
71
108
|
constructor(options: AccountConstructorOptions);
|
|
72
109
|
}
|
|
110
|
+
export declare class GasTankAccountCoin extends AccountCoin {
|
|
111
|
+
gasTankLowBalanceAlertFactor: number;
|
|
112
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
113
|
+
constructor(options: GasTankAccountConstructorOptions);
|
|
114
|
+
}
|
|
73
115
|
/**
|
|
74
116
|
* Some blockchains support tokens which are defined by an address at which they have a smart contract deployed.
|
|
75
117
|
* Examples are ERC20 tokens, and the equivalent on other chains.
|
|
@@ -78,6 +120,13 @@ export declare class ContractAddressDefinedToken extends AccountCoinToken {
|
|
|
78
120
|
contractAddress: ContractAddress;
|
|
79
121
|
constructor(options: Erc20ConstructorOptions);
|
|
80
122
|
}
|
|
123
|
+
/**
|
|
124
|
+
* Used for blockchains that support NFT collections.
|
|
125
|
+
*/
|
|
126
|
+
export declare class NFTCollectionIdDefinedToken extends AccountCoinToken {
|
|
127
|
+
nftCollectionId: string;
|
|
128
|
+
constructor(options: NFTCollectionIdConstructorOptions);
|
|
129
|
+
}
|
|
81
130
|
/**
|
|
82
131
|
* ERC20 token addresses are Base58 formatted on some blockchains.
|
|
83
132
|
*/
|
|
@@ -155,6 +204,7 @@ export declare class HederaCoin extends AccountCoinToken {
|
|
|
155
204
|
export declare class HederaToken extends AccountCoinToken {
|
|
156
205
|
nodeAccountId: string;
|
|
157
206
|
tokenId: string;
|
|
207
|
+
contractAddress: string;
|
|
158
208
|
constructor(options: HederaTokenConstructorOptions);
|
|
159
209
|
}
|
|
160
210
|
/**
|
|
@@ -164,8 +214,7 @@ export declare class HederaToken extends AccountCoinToken {
|
|
|
164
214
|
*
|
|
165
215
|
*/
|
|
166
216
|
export declare class AlgoCoin extends AccountCoinToken {
|
|
167
|
-
|
|
168
|
-
constructor(options: AlgoCoinConstructorOptions);
|
|
217
|
+
constructor(options: AccountConstructorOptions);
|
|
169
218
|
}
|
|
170
219
|
/**
|
|
171
220
|
* The Eos network supports tokens
|
|
@@ -175,6 +224,8 @@ export declare class AlgoCoin extends AccountCoinToken {
|
|
|
175
224
|
*/
|
|
176
225
|
export declare class EosCoin extends AccountCoinToken {
|
|
177
226
|
contractName: string;
|
|
227
|
+
contractAddress: string;
|
|
228
|
+
symbol: string;
|
|
178
229
|
constructor(options: EosCoinConstructorOptions);
|
|
179
230
|
}
|
|
180
231
|
/**
|
|
@@ -185,6 +236,8 @@ export declare class EosCoin extends AccountCoinToken {
|
|
|
185
236
|
*/
|
|
186
237
|
export declare class SolCoin extends AccountCoinToken {
|
|
187
238
|
tokenAddress: string;
|
|
239
|
+
contractAddress: string;
|
|
240
|
+
programId: string;
|
|
188
241
|
constructor(options: SolCoinConstructorOptions);
|
|
189
242
|
}
|
|
190
243
|
/**
|
|
@@ -211,6 +264,48 @@ export declare class AvaxERC20Token extends ContractAddressDefinedToken {
|
|
|
211
264
|
export declare class PolygonERC20Token extends ContractAddressDefinedToken {
|
|
212
265
|
constructor(options: Erc20ConstructorOptions);
|
|
213
266
|
}
|
|
267
|
+
/**
|
|
268
|
+
* The Arbitrum Chain network support tokens
|
|
269
|
+
* Arbitrum Chain Tokens are ERC20 tokens
|
|
270
|
+
*/
|
|
271
|
+
export declare class ArbethERC20Token extends ContractAddressDefinedToken {
|
|
272
|
+
constructor(options: Erc20ConstructorOptions);
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* The Optimism Chain network support tokens
|
|
276
|
+
* Optimism Chain Tokens are ERC20 tokens
|
|
277
|
+
*/
|
|
278
|
+
export declare class OpethERC20Token extends ContractAddressDefinedToken {
|
|
279
|
+
constructor(options: Erc20ConstructorOptions);
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* The zkSync network support tokens
|
|
283
|
+
* zkSync Tokens are ERC20 tokens
|
|
284
|
+
*/
|
|
285
|
+
export declare class ZkethERC20Token extends ContractAddressDefinedToken {
|
|
286
|
+
constructor(options: Erc20ConstructorOptions);
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* The Bera Chain network support tokens
|
|
290
|
+
* Bera Chain Tokens are ERC20 tokens
|
|
291
|
+
*/
|
|
292
|
+
export declare class BeraERC20Token extends ContractAddressDefinedToken {
|
|
293
|
+
constructor(options: Erc20ConstructorOptions);
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* The Coredao Chain network support tokens
|
|
297
|
+
* Coredao Chain Tokens are ERC20 tokens
|
|
298
|
+
*/
|
|
299
|
+
export declare class CoredaoERC20Token extends ContractAddressDefinedToken {
|
|
300
|
+
constructor(options: Erc20ConstructorOptions);
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* The World Chain network supports tokens
|
|
304
|
+
* World Chain Tokens are ERC20 tokens
|
|
305
|
+
*/
|
|
306
|
+
export declare class WorldERC20Token extends ContractAddressDefinedToken {
|
|
307
|
+
constructor(options: Erc20ConstructorOptions);
|
|
308
|
+
}
|
|
214
309
|
/**
|
|
215
310
|
* The Xrp network supports tokens
|
|
216
311
|
* Xrp tokens are identified by their issuer address
|
|
@@ -221,8 +316,32 @@ export declare class XrpCoin extends AccountCoinToken {
|
|
|
221
316
|
issuerAddress: string;
|
|
222
317
|
currencyCode: string;
|
|
223
318
|
domain: string;
|
|
319
|
+
contractAddress: string;
|
|
224
320
|
constructor(options: XrpCoinConstructorOptions);
|
|
225
321
|
}
|
|
322
|
+
export declare class SuiCoin extends AccountCoinToken {
|
|
323
|
+
packageId: string;
|
|
324
|
+
module: string;
|
|
325
|
+
symbol: string;
|
|
326
|
+
contractAddress: string;
|
|
327
|
+
constructor(options: SuiCoinConstructorOptions);
|
|
328
|
+
}
|
|
329
|
+
/**
|
|
330
|
+
* The Apt network supports tokens
|
|
331
|
+
* Apt tokens work similar to native Apt coin, but the token name is determined by
|
|
332
|
+
* the tokenAddress on the chain.
|
|
333
|
+
*
|
|
334
|
+
*/
|
|
335
|
+
export declare class AptCoin extends AccountCoinToken {
|
|
336
|
+
assetId: string;
|
|
337
|
+
constructor(options: AptCoinConstructorOptions);
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* The Apt network supports non-fungible tokens (Digital Asset Standard)
|
|
341
|
+
* Every NFT belongs to an NFT collection.
|
|
342
|
+
*/
|
|
343
|
+
export declare class AptNFTCollection extends NFTCollectionIdDefinedToken {
|
|
344
|
+
}
|
|
226
345
|
/**
|
|
227
346
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
228
347
|
*/
|
|
@@ -233,6 +352,28 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
233
352
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
234
353
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
235
354
|
}
|
|
355
|
+
/**
|
|
356
|
+
* The Stacks network supports tokens
|
|
357
|
+
* Stx tokens work similar to native Stx coin, but the token name is determined by
|
|
358
|
+
* the contractName on the chain.
|
|
359
|
+
*/
|
|
360
|
+
export declare class Sip10Token extends AccountCoinToken {
|
|
361
|
+
assetId: string;
|
|
362
|
+
constructor(options: Sip10TokenConstructorOptions);
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* The Near network supports tokens
|
|
366
|
+
* Near tokens work similar to native near coin
|
|
367
|
+
*/
|
|
368
|
+
export declare class Nep141Token extends AccountCoinToken {
|
|
369
|
+
contractAddress: string;
|
|
370
|
+
storageDepositAmount: string;
|
|
371
|
+
constructor(options: Nep141TokenConstructorOptions);
|
|
372
|
+
}
|
|
373
|
+
export declare class VetToken extends AccountCoinToken {
|
|
374
|
+
contractAddress: string;
|
|
375
|
+
constructor(options: VetTokenConstructorOptions);
|
|
376
|
+
}
|
|
236
377
|
/**
|
|
237
378
|
* Factory function for account coin instances.
|
|
238
379
|
*
|
|
@@ -249,6 +390,25 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
249
390
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
250
391
|
*/
|
|
251
392
|
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>;
|
|
393
|
+
/**
|
|
394
|
+
* Factory function for gas tank account coin instances.
|
|
395
|
+
*
|
|
396
|
+
* @param id uuid v4
|
|
397
|
+
* @param name unique identifier of the coin
|
|
398
|
+
* @param fullName Complete human-readable name of the coin
|
|
399
|
+
* @param network Network object for this coin
|
|
400
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
401
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
402
|
+
* @param baseUnit
|
|
403
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
404
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
405
|
+
* @param gasTankLowBalanceAlertFactor Low gas tank balance alert threshold = (feeEstimate x gasTankLowBalanceAlertFactor)
|
|
406
|
+
* @param gasTankMinBalanceRecommendationFactor Min gas tank balance recommendation = (feeEstimate x gasTankMinBalanceRecommendationFactor)
|
|
407
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
408
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
409
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
410
|
+
*/
|
|
411
|
+
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
412
|
/**
|
|
253
413
|
* Factory function for erc20 token instances.
|
|
254
414
|
*
|
|
@@ -305,7 +465,7 @@ export declare function erc721(id: string, name: string, fullName: string, contr
|
|
|
305
465
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
306
466
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
307
467
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
308
|
-
* @param network? Optional token network. Defaults to
|
|
468
|
+
* @param network? Optional token network. Defaults to Holesky test network.
|
|
309
469
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
310
470
|
*/
|
|
311
471
|
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 +509,7 @@ export declare function erc1155(id: string, name: string, fullName: string, cont
|
|
|
349
509
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
350
510
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
351
511
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
352
|
-
* @param network? Optional token network. Defaults to
|
|
512
|
+
* @param network? Optional token network. Defaults to Holesky test network.
|
|
353
513
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
354
514
|
*/
|
|
355
515
|
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 +537,11 @@ export declare function erc20CompatibleAccountCoin(id: string, name: string, ful
|
|
|
377
537
|
* @param fullName Complete human-readable name of the token
|
|
378
538
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
379
539
|
* @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
|
|
540
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
541
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
542
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
543
|
+
* @param network ? Optional token network. Defaults to CELO main network.
|
|
544
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
385
545
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
386
546
|
*/
|
|
387
547
|
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 +554,10 @@ export declare function celoToken(id: string, name: string, fullName: string, de
|
|
|
394
554
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
395
555
|
* @param contractAddress Contract address of this token
|
|
396
556
|
* @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
|
|
557
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
558
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
559
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
560
|
+
* @param network ? Optional token network. Defaults to the testnet CELO network.
|
|
401
561
|
*/
|
|
402
562
|
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
563
|
/**
|
|
@@ -511,7 +671,7 @@ export declare function ttronToken(id: string, name: string, fullName: string, d
|
|
|
511
671
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
512
672
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
513
673
|
*/
|
|
514
|
-
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
674
|
+
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
675
|
/**
|
|
516
676
|
* Factory function for Hedera token instances
|
|
517
677
|
*
|
|
@@ -522,13 +682,14 @@ export declare function hederaCoin(id: string, name: string, fullName: string, n
|
|
|
522
682
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
523
683
|
* @param nodeAccountId node account Id from which the transaction will be sent
|
|
524
684
|
* @param tokenId The unique identifier of this token
|
|
685
|
+
* @param contractAddress Contract address of this token, same as tokenId
|
|
525
686
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
526
687
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
527
688
|
* @param network? Optional token network. Defaults to Hedera mainnet.
|
|
528
689
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
529
690
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
530
691
|
*/
|
|
531
|
-
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
692
|
+
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
693
|
/**
|
|
533
694
|
* Factory function for ALGO token instances.
|
|
534
695
|
*
|
|
@@ -539,7 +700,6 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
539
700
|
* @param fullName Complete human-readable name of the token
|
|
540
701
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
541
702
|
* @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
703
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
544
704
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
545
705
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -547,7 +707,7 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
547
707
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
548
708
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
549
709
|
*/
|
|
550
|
-
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
710
|
+
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
711
|
/**
|
|
552
712
|
* Factory function for testnet ALGO token instances.
|
|
553
713
|
*
|
|
@@ -557,14 +717,13 @@ export declare function algoToken(id: string, name: string, alias: string | unde
|
|
|
557
717
|
* @param fullName Complete human-readable name of the token
|
|
558
718
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
559
719
|
* @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
720
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
562
721
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
563
722
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
564
723
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
565
724
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
566
725
|
*/
|
|
567
|
-
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
726
|
+
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
727
|
/**
|
|
569
728
|
* Factory function for eos token instances.
|
|
570
729
|
*
|
|
@@ -573,6 +732,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
573
732
|
* @param fullName Complete human-readable name of the token
|
|
574
733
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
575
734
|
* @param contractName Contract address of this token
|
|
735
|
+
* @param contractAddress Contract address of this token
|
|
576
736
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
577
737
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
578
738
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -580,7 +740,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
580
740
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
581
741
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
582
742
|
*/
|
|
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>;
|
|
743
|
+
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
744
|
/**
|
|
585
745
|
* Factory function for testnet eos token instances.
|
|
586
746
|
*
|
|
@@ -588,14 +748,16 @@ export declare function eosToken(id: string, name: string, fullName: string, dec
|
|
|
588
748
|
* @param name unique identifier of the token
|
|
589
749
|
* @param fullName Complete human-readable name of the token
|
|
590
750
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
751
|
+
* @param contractName Contract address of this token
|
|
591
752
|
* @param contractAddress Contract address of this token
|
|
592
753
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
593
754
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
594
755
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
756
|
+
* @param symbol? token symbol as defined in token contract.
|
|
595
757
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
596
758
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
597
759
|
*/
|
|
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>;
|
|
760
|
+
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
761
|
/**
|
|
600
762
|
* Factory function for sol token instances.
|
|
601
763
|
*
|
|
@@ -604,6 +766,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
604
766
|
* @param fullName Complete human-readable name of the token
|
|
605
767
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
606
768
|
* @param tokenAddress Token address of this token
|
|
769
|
+
* @param contractAddress Contract address of this token
|
|
607
770
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
608
771
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
609
772
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -611,7 +774,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
611
774
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
612
775
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
613
776
|
*/
|
|
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>;
|
|
777
|
+
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
778
|
/**
|
|
616
779
|
* Factory function for testnet solana token instances.
|
|
617
780
|
*
|
|
@@ -626,7 +789,7 @@ export declare function solToken(id: string, name: string, fullName: string, dec
|
|
|
626
789
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
627
790
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
628
791
|
*/
|
|
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>;
|
|
792
|
+
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
793
|
/**
|
|
631
794
|
* Factory function for ada token instances.
|
|
632
795
|
*
|
|
@@ -707,7 +870,7 @@ export declare function tavaxErc20(id: string, name: string, fullName: string, d
|
|
|
707
870
|
*/
|
|
708
871
|
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
872
|
/**
|
|
710
|
-
* Factory function for
|
|
873
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
711
874
|
*
|
|
712
875
|
* @param id uuid v4
|
|
713
876
|
* @param name unique identifier of the token
|
|
@@ -722,6 +885,198 @@ export declare function polygonErc20(id: string, name: string, fullName: string,
|
|
|
722
885
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
723
886
|
*/
|
|
724
887
|
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>;
|
|
888
|
+
/**
|
|
889
|
+
* Factory function for arbethErc20 token instances.
|
|
890
|
+
*
|
|
891
|
+
* @param id uuid v4
|
|
892
|
+
* @param name unique identifier of the token
|
|
893
|
+
* @param fullName Complete human-readable name of the token
|
|
894
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
895
|
+
* @param contractAddress Contract address of this token
|
|
896
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
897
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
898
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
899
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
900
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
901
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
902
|
+
*/
|
|
903
|
+
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>;
|
|
904
|
+
/**
|
|
905
|
+
* Factory function for Arbitrum Sepolia testnet arbethErc20 token instances.
|
|
906
|
+
*
|
|
907
|
+
* @param id uuid v4
|
|
908
|
+
* @param name unique identifier of the token
|
|
909
|
+
* @param fullName Complete human-readable name of the token
|
|
910
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
911
|
+
* @param contractAddress Contract address of this token
|
|
912
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
913
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
914
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
915
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
916
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
917
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
918
|
+
*/
|
|
919
|
+
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>;
|
|
920
|
+
/**
|
|
921
|
+
* Factory function for opethErc20 token instances.
|
|
922
|
+
*
|
|
923
|
+
* @param id uuid v4
|
|
924
|
+
* @param name unique identifier of the token
|
|
925
|
+
* @param fullName Complete human-readable name of the token
|
|
926
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
927
|
+
* @param contractAddress Contract address of this token
|
|
928
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
929
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
930
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
931
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
932
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
933
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
934
|
+
*/
|
|
935
|
+
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>;
|
|
936
|
+
/**
|
|
937
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
938
|
+
*
|
|
939
|
+
* @param id uuid v4
|
|
940
|
+
* @param name unique identifier of the token
|
|
941
|
+
* @param fullName Complete human-readable name of the token
|
|
942
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
943
|
+
* @param contractAddress Contract address of this token
|
|
944
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
945
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
946
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
947
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
948
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
949
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
950
|
+
*/
|
|
951
|
+
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>;
|
|
952
|
+
/**
|
|
953
|
+
* Factory function for zkethErc20 token instances.
|
|
954
|
+
*
|
|
955
|
+
* @param id uuid v4
|
|
956
|
+
* @param name unique identifier of the token
|
|
957
|
+
* @param fullName Complete human-readable name of the token
|
|
958
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
959
|
+
* @param contractAddress Contract address of this token
|
|
960
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
961
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
962
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
963
|
+
* @param network? Optional token network. Defaults to zkSync mainnet network.
|
|
964
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
965
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
966
|
+
*/
|
|
967
|
+
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>;
|
|
968
|
+
/**
|
|
969
|
+
* Factory function for zkSync Sepolia testnet zkethErc20 token instances.
|
|
970
|
+
*
|
|
971
|
+
* @param id uuid v4
|
|
972
|
+
* @param name unique identifier of the token
|
|
973
|
+
* @param fullName Complete human-readable name of the token
|
|
974
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
975
|
+
* @param contractAddress Contract address of this token
|
|
976
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
977
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
978
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
979
|
+
* @param network? Optional token network. Defaults to the zkSync sepolia test network.
|
|
980
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
981
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
982
|
+
*/
|
|
983
|
+
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>;
|
|
984
|
+
/**
|
|
985
|
+
* Factory function for beraErc20 token instances.
|
|
986
|
+
*
|
|
987
|
+
* @param id uuid v4
|
|
988
|
+
* @param name unique identifier of the token
|
|
989
|
+
* @param fullName Complete human-readable name of the token
|
|
990
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
991
|
+
* @param contractAddress Contract address of this token
|
|
992
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
993
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
994
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
995
|
+
* @param network? Optional token network. Defaults to bera mainnet network.
|
|
996
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
997
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
998
|
+
*/
|
|
999
|
+
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>;
|
|
1000
|
+
/**
|
|
1001
|
+
* Factory function for zkSync Sepolia testnet beraErc20 token instances.
|
|
1002
|
+
*
|
|
1003
|
+
* @param id uuid v4
|
|
1004
|
+
* @param name unique identifier of the token
|
|
1005
|
+
* @param fullName Complete human-readable name of the token
|
|
1006
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1007
|
+
* @param contractAddress Contract address of this token
|
|
1008
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1009
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1010
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1011
|
+
* @param network? Optional token network. Defaults to the bera test network.
|
|
1012
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1013
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1014
|
+
*/
|
|
1015
|
+
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>;
|
|
1016
|
+
/**
|
|
1017
|
+
* Factory function for CoredaoErc20 token instances.
|
|
1018
|
+
*
|
|
1019
|
+
* @param id uuid v4
|
|
1020
|
+
* @param name unique identifier of the token
|
|
1021
|
+
* @param fullName Complete human-readable name of the token
|
|
1022
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1023
|
+
* @param contractAddress Contract address of this token
|
|
1024
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1025
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1026
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1027
|
+
* @param network? Optional token network. Defaults to coredao mainnet network.
|
|
1028
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1029
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1030
|
+
*/
|
|
1031
|
+
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>;
|
|
1032
|
+
/**
|
|
1033
|
+
* Factory function for coredao testnet coredaoErc20 token instances.
|
|
1034
|
+
*
|
|
1035
|
+
* @param id uuid v4
|
|
1036
|
+
* @param name unique identifier of the token
|
|
1037
|
+
* @param fullName Complete human-readable name of the token
|
|
1038
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1039
|
+
* @param contractAddress Contract address of this token
|
|
1040
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1041
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1042
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1043
|
+
* @param network? Optional token network. Defaults to the coredao test network.
|
|
1044
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1045
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1046
|
+
*/
|
|
1047
|
+
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>;
|
|
1048
|
+
/**
|
|
1049
|
+
* Factory function for WorldErc20 token instances.
|
|
1050
|
+
*
|
|
1051
|
+
* @param id uuid v4
|
|
1052
|
+
* @param name unique identifier of the token
|
|
1053
|
+
* @param fullName Complete human-readable name of the token
|
|
1054
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1055
|
+
* @param contractAddress Contract address of this token
|
|
1056
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1057
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1058
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1059
|
+
* @param network? Optional token network. Defaults to World Chain mainnet network.
|
|
1060
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1061
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1062
|
+
*/
|
|
1063
|
+
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>;
|
|
1064
|
+
/**
|
|
1065
|
+
* Factory function for world testnet worldErc20 token instances.
|
|
1066
|
+
*
|
|
1067
|
+
* @param id uuid v4
|
|
1068
|
+
* @param name unique identifier of the token
|
|
1069
|
+
* @param fullName Complete human-readable name of the token
|
|
1070
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1071
|
+
* @param contractAddress Contract address of this token
|
|
1072
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1073
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1074
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1075
|
+
* @param network? Optional token network. Defaults to the World Chain test network.
|
|
1076
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1077
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1078
|
+
*/
|
|
1079
|
+
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
1080
|
/**
|
|
726
1081
|
* Factory function for xrp token instances.
|
|
727
1082
|
*
|
|
@@ -731,6 +1086,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
731
1086
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
732
1087
|
* @param issuerAddress: The address of the issuer of the token,
|
|
733
1088
|
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1089
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
734
1090
|
* @param domain? the domain of the issuer of the token,
|
|
735
1091
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
736
1092
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
@@ -739,7 +1095,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
739
1095
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
740
1096
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
741
1097
|
*/
|
|
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>;
|
|
1098
|
+
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
1099
|
/**
|
|
744
1100
|
* Factory function for testnet cardano token instances.
|
|
745
1101
|
*
|
|
@@ -749,6 +1105,7 @@ export declare function xrpToken(id: string, name: string, fullName: string, dec
|
|
|
749
1105
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
750
1106
|
* @param issuerAddress: The address of the issuer of the token,
|
|
751
1107
|
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1108
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
752
1109
|
* @param domain? the domain of the issuer of the token,
|
|
753
1110
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
754
1111
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
@@ -756,7 +1113,107 @@ export declare function xrpToken(id: string, name: string, fullName: string, dec
|
|
|
756
1113
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
757
1114
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
758
1115
|
*/
|
|
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>;
|
|
1116
|
+
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>;
|
|
1117
|
+
/**
|
|
1118
|
+
* Factory function for sui token instances.
|
|
1119
|
+
*
|
|
1120
|
+
* @param id uuid v4
|
|
1121
|
+
* @param name unique identifier of the token
|
|
1122
|
+
* @param fullName Complete human-readable name of the token
|
|
1123
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1124
|
+
* @param packageId PackageId of this token
|
|
1125
|
+
* @param module The module of the package with id `packageId`
|
|
1126
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1127
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1128
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1129
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1130
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1131
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1132
|
+
* @param network? Optional token network. Defaults to SUI main network.
|
|
1133
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1134
|
+
*/
|
|
1135
|
+
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>;
|
|
1136
|
+
/**
|
|
1137
|
+
* Factory function for testnet sui token instances.
|
|
1138
|
+
*
|
|
1139
|
+
* @param id uuid v4
|
|
1140
|
+
* @param name unique identifier of the token
|
|
1141
|
+
* @param fullName Complete human-readable name of the token
|
|
1142
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1143
|
+
* @param packageId PackageId of this token
|
|
1144
|
+
* @param module The module of the package with id `packageId`
|
|
1145
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1146
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1147
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1148
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1149
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1150
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1151
|
+
* @param network? Optional token network. Defaults to SUI test network.
|
|
1152
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1153
|
+
*/
|
|
1154
|
+
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>;
|
|
1155
|
+
/**
|
|
1156
|
+
* Factory function for apt token instances.
|
|
1157
|
+
*
|
|
1158
|
+
* @param id uuid v4
|
|
1159
|
+
* @param name unique identifier of the token
|
|
1160
|
+
* @param fullName Complete human-readable name of the token
|
|
1161
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1162
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1163
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1164
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1165
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1166
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1167
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1168
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1169
|
+
*/
|
|
1170
|
+
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>;
|
|
1171
|
+
/**
|
|
1172
|
+
* Factory function for Apt NFT collections.
|
|
1173
|
+
*
|
|
1174
|
+
* @param id uuid v4
|
|
1175
|
+
* @param name unique identifier of the NFT collection
|
|
1176
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1177
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1178
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1179
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1180
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1181
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1182
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1183
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1184
|
+
*/
|
|
1185
|
+
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>;
|
|
1186
|
+
/**
|
|
1187
|
+
* Factory function for testnet apt token instances.
|
|
1188
|
+
*
|
|
1189
|
+
* @param id uuid v4
|
|
1190
|
+
* @param name unique identifier of the token
|
|
1191
|
+
* @param fullName Complete human-readable name of the token
|
|
1192
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1193
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1194
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1195
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1196
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1197
|
+
* @param network Optional token network. Defaults to the testnet APT network.
|
|
1198
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1199
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1200
|
+
*/
|
|
1201
|
+
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>;
|
|
1202
|
+
/**
|
|
1203
|
+
* Factory function for testnet Apt NFT collections.
|
|
1204
|
+
*
|
|
1205
|
+
* @param id uuid v4
|
|
1206
|
+
* @param name unique identifier of the NFT collection
|
|
1207
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1208
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1209
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1210
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1211
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1212
|
+
* @param network Optional token network. Defaults to APT test network.
|
|
1213
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1214
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1215
|
+
*/
|
|
1216
|
+
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
1217
|
/**
|
|
761
1218
|
* Factory function for fiat coin instances.
|
|
762
1219
|
*
|
|
@@ -773,5 +1230,100 @@ export declare function txrpToken(id: string, name: string, fullName: string, de
|
|
|
773
1230
|
* @param isToken? Whether or not this coin is a token of another coin
|
|
774
1231
|
*/
|
|
775
1232
|
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>;
|
|
1233
|
+
/**
|
|
1234
|
+
* Factory function for sip10 token instances.
|
|
1235
|
+
*
|
|
1236
|
+
* @param id uuid v4
|
|
1237
|
+
* @param name unique identifier of the token
|
|
1238
|
+
* @param fullName Complete human-readable name of the token
|
|
1239
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1240
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1241
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1242
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1243
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1244
|
+
* @param network? Optional token network. Defaults to Stacks main network.
|
|
1245
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1246
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1247
|
+
*/
|
|
1248
|
+
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>;
|
|
1249
|
+
/**
|
|
1250
|
+
* Factory function for testnet sip10 token instances.
|
|
1251
|
+
*
|
|
1252
|
+
* @param id uuid v4
|
|
1253
|
+
* @param name unique identifier of the token
|
|
1254
|
+
* @param fullName Complete human-readable name of the token
|
|
1255
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1256
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1257
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1258
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1259
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1260
|
+
* @param network? Optional token network. Defaults to the testnet Stacks network.
|
|
1261
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1262
|
+
*/
|
|
1263
|
+
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>;
|
|
1264
|
+
/**
|
|
1265
|
+
* Factory function for nep141 token instances.
|
|
1266
|
+
*
|
|
1267
|
+
* @param id uuid v4
|
|
1268
|
+
* @param name unique identifier of the token
|
|
1269
|
+
* @param fullName Complete human-readable name of the token
|
|
1270
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1271
|
+
* @param contractAddress Contract address of this token
|
|
1272
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1273
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1274
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1275
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1276
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1277
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1278
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1279
|
+
*/
|
|
1280
|
+
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>;
|
|
1281
|
+
/**
|
|
1282
|
+
* Factory function for testnet nep141 token instances.
|
|
1283
|
+
*
|
|
1284
|
+
* @param id uuid v4
|
|
1285
|
+
* @param name unique identifier of the token
|
|
1286
|
+
* @param fullName Complete human-readable name of the token
|
|
1287
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1288
|
+
* @param contractAddress Contract address of this token
|
|
1289
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1290
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1291
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1292
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1293
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1294
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1295
|
+
*/
|
|
1296
|
+
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>;
|
|
1297
|
+
/**
|
|
1298
|
+
* Factory function for vet token instances.
|
|
1299
|
+
*
|
|
1300
|
+
* @param id uuid v4
|
|
1301
|
+
* @param name unique identifier of the token
|
|
1302
|
+
* @param fullName Complete human-readable name of the token
|
|
1303
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1304
|
+
* @param contractAddress Contract address of this token
|
|
1305
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1306
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1307
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1308
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1309
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1310
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1311
|
+
*/
|
|
1312
|
+
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>;
|
|
1313
|
+
/**
|
|
1314
|
+
* Factory function for testnet vet token instances.
|
|
1315
|
+
*
|
|
1316
|
+
* @param id uuid v4
|
|
1317
|
+
* @param name unique identifier of the token
|
|
1318
|
+
* @param fullName Complete human-readable name of the token
|
|
1319
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1320
|
+
* @param contractAddress Contract address of this token
|
|
1321
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1322
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1323
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1324
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1325
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1326
|
+
*/
|
|
1327
|
+
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>;
|
|
776
1328
|
export {};
|
|
777
1329
|
//# sourceMappingURL=account.d.ts.map
|