@bitgo-beta/statics 15.1.1-beta.95 → 15.1.1-beta.951
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 +2877 -0
- package/dist/src/account.d.ts +544 -31
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +898 -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 +1468 -40
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +1524 -50
- package/dist/src/coinFeatures.d.ts +87 -0
- package/dist/src/coinFeatures.d.ts.map +1 -0
- package/dist/src/coinFeatures.js +556 -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 +149 -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 +1428 -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 +13 -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 +546 -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 +1329 -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 +146 -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 +668 -1506
- 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 +690 -1
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +929 -43
- 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 +162 -14
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +637 -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,41 @@ 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
|
+
}
|
|
214
302
|
/**
|
|
215
303
|
* The Xrp network supports tokens
|
|
216
304
|
* Xrp tokens are identified by their issuer address
|
|
@@ -221,8 +309,32 @@ export declare class XrpCoin extends AccountCoinToken {
|
|
|
221
309
|
issuerAddress: string;
|
|
222
310
|
currencyCode: string;
|
|
223
311
|
domain: string;
|
|
312
|
+
contractAddress: string;
|
|
224
313
|
constructor(options: XrpCoinConstructorOptions);
|
|
225
314
|
}
|
|
315
|
+
export declare class SuiCoin extends AccountCoinToken {
|
|
316
|
+
packageId: string;
|
|
317
|
+
module: string;
|
|
318
|
+
symbol: string;
|
|
319
|
+
contractAddress: string;
|
|
320
|
+
constructor(options: SuiCoinConstructorOptions);
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* The Apt network supports tokens
|
|
324
|
+
* Apt tokens work similar to native Apt coin, but the token name is determined by
|
|
325
|
+
* the tokenAddress on the chain.
|
|
326
|
+
*
|
|
327
|
+
*/
|
|
328
|
+
export declare class AptCoin extends AccountCoinToken {
|
|
329
|
+
assetId: string;
|
|
330
|
+
constructor(options: AptCoinConstructorOptions);
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* The Apt network supports non-fungible tokens (Digital Asset Standard)
|
|
334
|
+
* Every NFT belongs to an NFT collection.
|
|
335
|
+
*/
|
|
336
|
+
export declare class AptNFTCollection extends NFTCollectionIdDefinedToken {
|
|
337
|
+
}
|
|
226
338
|
/**
|
|
227
339
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
228
340
|
*/
|
|
@@ -233,6 +345,28 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
233
345
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
234
346
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
235
347
|
}
|
|
348
|
+
/**
|
|
349
|
+
* The Stacks network supports tokens
|
|
350
|
+
* Stx tokens work similar to native Stx coin, but the token name is determined by
|
|
351
|
+
* the contractName on the chain.
|
|
352
|
+
*/
|
|
353
|
+
export declare class Sip10Token extends AccountCoinToken {
|
|
354
|
+
assetId: string;
|
|
355
|
+
constructor(options: Sip10TokenConstructorOptions);
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* The Near network supports tokens
|
|
359
|
+
* Near tokens work similar to native near coin
|
|
360
|
+
*/
|
|
361
|
+
export declare class Nep141Token extends AccountCoinToken {
|
|
362
|
+
contractAddress: string;
|
|
363
|
+
storageDepositAmount: string;
|
|
364
|
+
constructor(options: Nep141TokenConstructorOptions);
|
|
365
|
+
}
|
|
366
|
+
export declare class VetToken extends AccountCoinToken {
|
|
367
|
+
contractAddress: string;
|
|
368
|
+
constructor(options: VetTokenConstructorOptions);
|
|
369
|
+
}
|
|
236
370
|
/**
|
|
237
371
|
* Factory function for account coin instances.
|
|
238
372
|
*
|
|
@@ -249,6 +383,25 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
249
383
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
250
384
|
*/
|
|
251
385
|
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>;
|
|
386
|
+
/**
|
|
387
|
+
* Factory function for gas tank account coin instances.
|
|
388
|
+
*
|
|
389
|
+
* @param id uuid v4
|
|
390
|
+
* @param name unique identifier of the coin
|
|
391
|
+
* @param fullName Complete human-readable name of the coin
|
|
392
|
+
* @param network Network object for this coin
|
|
393
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
394
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
395
|
+
* @param baseUnit
|
|
396
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
397
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
398
|
+
* @param gasTankLowBalanceAlertFactor Low gas tank balance alert threshold = (feeEstimate x gasTankLowBalanceAlertFactor)
|
|
399
|
+
* @param gasTankMinBalanceRecommendationFactor Min gas tank balance recommendation = (feeEstimate x gasTankMinBalanceRecommendationFactor)
|
|
400
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
401
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
402
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
403
|
+
*/
|
|
404
|
+
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
405
|
/**
|
|
253
406
|
* Factory function for erc20 token instances.
|
|
254
407
|
*
|
|
@@ -305,7 +458,7 @@ export declare function erc721(id: string, name: string, fullName: string, contr
|
|
|
305
458
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
306
459
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
307
460
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
308
|
-
* @param network? Optional token network. Defaults to
|
|
461
|
+
* @param network? Optional token network. Defaults to Holesky test network.
|
|
309
462
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
310
463
|
*/
|
|
311
464
|
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 +502,7 @@ export declare function erc1155(id: string, name: string, fullName: string, cont
|
|
|
349
502
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
350
503
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
351
504
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
352
|
-
* @param network? Optional token network. Defaults to
|
|
505
|
+
* @param network? Optional token network. Defaults to Holesky test network.
|
|
353
506
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
354
507
|
*/
|
|
355
508
|
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 +530,11 @@ export declare function erc20CompatibleAccountCoin(id: string, name: string, ful
|
|
|
377
530
|
* @param fullName Complete human-readable name of the token
|
|
378
531
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
379
532
|
* @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
|
|
533
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
534
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
535
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
536
|
+
* @param network ? Optional token network. Defaults to CELO main network.
|
|
537
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
385
538
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
386
539
|
*/
|
|
387
540
|
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 +547,10 @@ export declare function celoToken(id: string, name: string, fullName: string, de
|
|
|
394
547
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
395
548
|
* @param contractAddress Contract address of this token
|
|
396
549
|
* @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
|
|
550
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
551
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
552
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
553
|
+
* @param network ? Optional token network. Defaults to the testnet CELO network.
|
|
401
554
|
*/
|
|
402
555
|
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
556
|
/**
|
|
@@ -511,7 +664,7 @@ export declare function ttronToken(id: string, name: string, fullName: string, d
|
|
|
511
664
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
512
665
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
513
666
|
*/
|
|
514
|
-
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
667
|
+
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
668
|
/**
|
|
516
669
|
* Factory function for Hedera token instances
|
|
517
670
|
*
|
|
@@ -522,13 +675,14 @@ export declare function hederaCoin(id: string, name: string, fullName: string, n
|
|
|
522
675
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
523
676
|
* @param nodeAccountId node account Id from which the transaction will be sent
|
|
524
677
|
* @param tokenId The unique identifier of this token
|
|
678
|
+
* @param contractAddress Contract address of this token, same as tokenId
|
|
525
679
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
526
680
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
527
681
|
* @param network? Optional token network. Defaults to Hedera mainnet.
|
|
528
682
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
529
683
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
530
684
|
*/
|
|
531
|
-
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
685
|
+
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
686
|
/**
|
|
533
687
|
* Factory function for ALGO token instances.
|
|
534
688
|
*
|
|
@@ -539,7 +693,6 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
539
693
|
* @param fullName Complete human-readable name of the token
|
|
540
694
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
541
695
|
* @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
696
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
544
697
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
545
698
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -547,7 +700,7 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
547
700
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
548
701
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
549
702
|
*/
|
|
550
|
-
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
703
|
+
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
704
|
/**
|
|
552
705
|
* Factory function for testnet ALGO token instances.
|
|
553
706
|
*
|
|
@@ -557,14 +710,13 @@ export declare function algoToken(id: string, name: string, alias: string | unde
|
|
|
557
710
|
* @param fullName Complete human-readable name of the token
|
|
558
711
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
559
712
|
* @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
713
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
562
714
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
563
715
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
564
716
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
565
717
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
566
718
|
*/
|
|
567
|
-
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
719
|
+
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
720
|
/**
|
|
569
721
|
* Factory function for eos token instances.
|
|
570
722
|
*
|
|
@@ -573,6 +725,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
573
725
|
* @param fullName Complete human-readable name of the token
|
|
574
726
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
575
727
|
* @param contractName Contract address of this token
|
|
728
|
+
* @param contractAddress Contract address of this token
|
|
576
729
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
577
730
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
578
731
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -580,7 +733,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
580
733
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
581
734
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
582
735
|
*/
|
|
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>;
|
|
736
|
+
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
737
|
/**
|
|
585
738
|
* Factory function for testnet eos token instances.
|
|
586
739
|
*
|
|
@@ -588,14 +741,16 @@ export declare function eosToken(id: string, name: string, fullName: string, dec
|
|
|
588
741
|
* @param name unique identifier of the token
|
|
589
742
|
* @param fullName Complete human-readable name of the token
|
|
590
743
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
744
|
+
* @param contractName Contract address of this token
|
|
591
745
|
* @param contractAddress Contract address of this token
|
|
592
746
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
593
747
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
594
748
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
749
|
+
* @param symbol? token symbol as defined in token contract.
|
|
595
750
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
596
751
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
597
752
|
*/
|
|
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>;
|
|
753
|
+
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
754
|
/**
|
|
600
755
|
* Factory function for sol token instances.
|
|
601
756
|
*
|
|
@@ -604,6 +759,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
604
759
|
* @param fullName Complete human-readable name of the token
|
|
605
760
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
606
761
|
* @param tokenAddress Token address of this token
|
|
762
|
+
* @param contractAddress Contract address of this token
|
|
607
763
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
608
764
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
609
765
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -611,7 +767,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
611
767
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
612
768
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
613
769
|
*/
|
|
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>;
|
|
770
|
+
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
771
|
/**
|
|
616
772
|
* Factory function for testnet solana token instances.
|
|
617
773
|
*
|
|
@@ -626,7 +782,7 @@ export declare function solToken(id: string, name: string, fullName: string, dec
|
|
|
626
782
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
627
783
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
628
784
|
*/
|
|
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>;
|
|
785
|
+
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
786
|
/**
|
|
631
787
|
* Factory function for ada token instances.
|
|
632
788
|
*
|
|
@@ -707,7 +863,7 @@ export declare function tavaxErc20(id: string, name: string, fullName: string, d
|
|
|
707
863
|
*/
|
|
708
864
|
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
865
|
/**
|
|
710
|
-
* Factory function for
|
|
866
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
711
867
|
*
|
|
712
868
|
* @param id uuid v4
|
|
713
869
|
* @param name unique identifier of the token
|
|
@@ -722,6 +878,166 @@ export declare function polygonErc20(id: string, name: string, fullName: string,
|
|
|
722
878
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
723
879
|
*/
|
|
724
880
|
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>;
|
|
881
|
+
/**
|
|
882
|
+
* Factory function for arbethErc20 token instances.
|
|
883
|
+
*
|
|
884
|
+
* @param id uuid v4
|
|
885
|
+
* @param name unique identifier of the token
|
|
886
|
+
* @param fullName Complete human-readable name of the token
|
|
887
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
888
|
+
* @param contractAddress Contract address of this token
|
|
889
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
890
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
891
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
892
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
893
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
894
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
895
|
+
*/
|
|
896
|
+
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>;
|
|
897
|
+
/**
|
|
898
|
+
* Factory function for Arbitrum Sepolia testnet arbethErc20 token instances.
|
|
899
|
+
*
|
|
900
|
+
* @param id uuid v4
|
|
901
|
+
* @param name unique identifier of the token
|
|
902
|
+
* @param fullName Complete human-readable name of the token
|
|
903
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
904
|
+
* @param contractAddress Contract address of this token
|
|
905
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
906
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
907
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
908
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
909
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
910
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
911
|
+
*/
|
|
912
|
+
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>;
|
|
913
|
+
/**
|
|
914
|
+
* Factory function for opethErc20 token instances.
|
|
915
|
+
*
|
|
916
|
+
* @param id uuid v4
|
|
917
|
+
* @param name unique identifier of the token
|
|
918
|
+
* @param fullName Complete human-readable name of the token
|
|
919
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
920
|
+
* @param contractAddress Contract address of this token
|
|
921
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
922
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
923
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
924
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
925
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
926
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
927
|
+
*/
|
|
928
|
+
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>;
|
|
929
|
+
/**
|
|
930
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
931
|
+
*
|
|
932
|
+
* @param id uuid v4
|
|
933
|
+
* @param name unique identifier of the token
|
|
934
|
+
* @param fullName Complete human-readable name of the token
|
|
935
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
936
|
+
* @param contractAddress Contract address of this token
|
|
937
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
938
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
939
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
940
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
941
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
942
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
943
|
+
*/
|
|
944
|
+
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>;
|
|
945
|
+
/**
|
|
946
|
+
* Factory function for zkethErc20 token instances.
|
|
947
|
+
*
|
|
948
|
+
* @param id uuid v4
|
|
949
|
+
* @param name unique identifier of the token
|
|
950
|
+
* @param fullName Complete human-readable name of the token
|
|
951
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
952
|
+
* @param contractAddress Contract address of this token
|
|
953
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
954
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
955
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
956
|
+
* @param network? Optional token network. Defaults to zkSync mainnet network.
|
|
957
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
958
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
959
|
+
*/
|
|
960
|
+
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>;
|
|
961
|
+
/**
|
|
962
|
+
* Factory function for zkSync Sepolia testnet zkethErc20 token instances.
|
|
963
|
+
*
|
|
964
|
+
* @param id uuid v4
|
|
965
|
+
* @param name unique identifier of the token
|
|
966
|
+
* @param fullName Complete human-readable name of the token
|
|
967
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
968
|
+
* @param contractAddress Contract address of this token
|
|
969
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
970
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
971
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
972
|
+
* @param network? Optional token network. Defaults to the zkSync sepolia test network.
|
|
973
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
974
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
975
|
+
*/
|
|
976
|
+
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>;
|
|
977
|
+
/**
|
|
978
|
+
* Factory function for beraErc20 token instances.
|
|
979
|
+
*
|
|
980
|
+
* @param id uuid v4
|
|
981
|
+
* @param name unique identifier of the token
|
|
982
|
+
* @param fullName Complete human-readable name of the token
|
|
983
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
984
|
+
* @param contractAddress Contract address of this token
|
|
985
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
986
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
987
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
988
|
+
* @param network? Optional token network. Defaults to bera mainnet network.
|
|
989
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
990
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
991
|
+
*/
|
|
992
|
+
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>;
|
|
993
|
+
/**
|
|
994
|
+
* Factory function for zkSync Sepolia testnet beraErc20 token instances.
|
|
995
|
+
*
|
|
996
|
+
* @param id uuid v4
|
|
997
|
+
* @param name unique identifier of the token
|
|
998
|
+
* @param fullName Complete human-readable name of the token
|
|
999
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1000
|
+
* @param contractAddress Contract address of this token
|
|
1001
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1002
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1003
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1004
|
+
* @param network? Optional token network. Defaults to the bera test network.
|
|
1005
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1006
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1007
|
+
*/
|
|
1008
|
+
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>;
|
|
1009
|
+
/**
|
|
1010
|
+
* Factory function for CoredaoErc20 token instances.
|
|
1011
|
+
*
|
|
1012
|
+
* @param id uuid v4
|
|
1013
|
+
* @param name unique identifier of the token
|
|
1014
|
+
* @param fullName Complete human-readable name of the token
|
|
1015
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1016
|
+
* @param contractAddress Contract address of this token
|
|
1017
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1018
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1019
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1020
|
+
* @param network? Optional token network. Defaults to coredao mainnet network.
|
|
1021
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1022
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1023
|
+
*/
|
|
1024
|
+
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>;
|
|
1025
|
+
/**
|
|
1026
|
+
* Factory function for coredao testnet coredaoErc20 token instances.
|
|
1027
|
+
*
|
|
1028
|
+
* @param id uuid v4
|
|
1029
|
+
* @param name unique identifier of the token
|
|
1030
|
+
* @param fullName Complete human-readable name of the token
|
|
1031
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1032
|
+
* @param contractAddress Contract address of this token
|
|
1033
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1034
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1035
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1036
|
+
* @param network? Optional token network. Defaults to the coredao test network.
|
|
1037
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1038
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1039
|
+
*/
|
|
1040
|
+
export declare function tcoredaoErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<CoredaoERC20Token>;
|
|
725
1041
|
/**
|
|
726
1042
|
* Factory function for xrp token instances.
|
|
727
1043
|
*
|
|
@@ -731,6 +1047,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
731
1047
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
732
1048
|
* @param issuerAddress: The address of the issuer of the token,
|
|
733
1049
|
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1050
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
734
1051
|
* @param domain? the domain of the issuer of the token,
|
|
735
1052
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
736
1053
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
@@ -739,7 +1056,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
739
1056
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
740
1057
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
741
1058
|
*/
|
|
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>;
|
|
1059
|
+
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
1060
|
/**
|
|
744
1061
|
* Factory function for testnet cardano token instances.
|
|
745
1062
|
*
|
|
@@ -749,6 +1066,7 @@ export declare function xrpToken(id: string, name: string, fullName: string, dec
|
|
|
749
1066
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
750
1067
|
* @param issuerAddress: The address of the issuer of the token,
|
|
751
1068
|
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1069
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
752
1070
|
* @param domain? the domain of the issuer of the token,
|
|
753
1071
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
754
1072
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
@@ -756,7 +1074,107 @@ export declare function xrpToken(id: string, name: string, fullName: string, dec
|
|
|
756
1074
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
757
1075
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
758
1076
|
*/
|
|
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>;
|
|
1077
|
+
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>;
|
|
1078
|
+
/**
|
|
1079
|
+
* Factory function for sui token instances.
|
|
1080
|
+
*
|
|
1081
|
+
* @param id uuid v4
|
|
1082
|
+
* @param name unique identifier of the token
|
|
1083
|
+
* @param fullName Complete human-readable name of the token
|
|
1084
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1085
|
+
* @param packageId PackageId of this token
|
|
1086
|
+
* @param module The module of the package with id `packageId`
|
|
1087
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1088
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1089
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1090
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1091
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1092
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1093
|
+
* @param network? Optional token network. Defaults to SUI main network.
|
|
1094
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1095
|
+
*/
|
|
1096
|
+
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>;
|
|
1097
|
+
/**
|
|
1098
|
+
* Factory function for testnet sui token instances.
|
|
1099
|
+
*
|
|
1100
|
+
* @param id uuid v4
|
|
1101
|
+
* @param name unique identifier of the token
|
|
1102
|
+
* @param fullName Complete human-readable name of the token
|
|
1103
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1104
|
+
* @param packageId PackageId of this token
|
|
1105
|
+
* @param module The module of the package with id `packageId`
|
|
1106
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1107
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1108
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1109
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1110
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1111
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1112
|
+
* @param network? Optional token network. Defaults to SUI test network.
|
|
1113
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1114
|
+
*/
|
|
1115
|
+
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>;
|
|
1116
|
+
/**
|
|
1117
|
+
* Factory function for apt token instances.
|
|
1118
|
+
*
|
|
1119
|
+
* @param id uuid v4
|
|
1120
|
+
* @param name unique identifier of the token
|
|
1121
|
+
* @param fullName Complete human-readable name of the token
|
|
1122
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1123
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1124
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1125
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1126
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1127
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1128
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1129
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1130
|
+
*/
|
|
1131
|
+
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>;
|
|
1132
|
+
/**
|
|
1133
|
+
* Factory function for Apt NFT collections.
|
|
1134
|
+
*
|
|
1135
|
+
* @param id uuid v4
|
|
1136
|
+
* @param name unique identifier of the NFT collection
|
|
1137
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1138
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1139
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1140
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1141
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1142
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1143
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1144
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1145
|
+
*/
|
|
1146
|
+
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>;
|
|
1147
|
+
/**
|
|
1148
|
+
* Factory function for testnet apt token instances.
|
|
1149
|
+
*
|
|
1150
|
+
* @param id uuid v4
|
|
1151
|
+
* @param name unique identifier of the token
|
|
1152
|
+
* @param fullName Complete human-readable name of the token
|
|
1153
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1154
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1155
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1156
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1157
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1158
|
+
* @param network Optional token network. Defaults to the testnet APT network.
|
|
1159
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1160
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1161
|
+
*/
|
|
1162
|
+
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>;
|
|
1163
|
+
/**
|
|
1164
|
+
* Factory function for testnet Apt NFT collections.
|
|
1165
|
+
*
|
|
1166
|
+
* @param id uuid v4
|
|
1167
|
+
* @param name unique identifier of the NFT collection
|
|
1168
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1169
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1170
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1171
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1172
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1173
|
+
* @param network Optional token network. Defaults to APT test network.
|
|
1174
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1175
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1176
|
+
*/
|
|
1177
|
+
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
1178
|
/**
|
|
761
1179
|
* Factory function for fiat coin instances.
|
|
762
1180
|
*
|
|
@@ -773,5 +1191,100 @@ export declare function txrpToken(id: string, name: string, fullName: string, de
|
|
|
773
1191
|
* @param isToken? Whether or not this coin is a token of another coin
|
|
774
1192
|
*/
|
|
775
1193
|
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>;
|
|
1194
|
+
/**
|
|
1195
|
+
* Factory function for sip10 token instances.
|
|
1196
|
+
*
|
|
1197
|
+
* @param id uuid v4
|
|
1198
|
+
* @param name unique identifier of the token
|
|
1199
|
+
* @param fullName Complete human-readable name of the token
|
|
1200
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1201
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1202
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1203
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1204
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1205
|
+
* @param network? Optional token network. Defaults to Stacks main network.
|
|
1206
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1207
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1208
|
+
*/
|
|
1209
|
+
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>;
|
|
1210
|
+
/**
|
|
1211
|
+
* Factory function for testnet sip10 token instances.
|
|
1212
|
+
*
|
|
1213
|
+
* @param id uuid v4
|
|
1214
|
+
* @param name unique identifier of the token
|
|
1215
|
+
* @param fullName Complete human-readable name of the token
|
|
1216
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1217
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1218
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1219
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1220
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1221
|
+
* @param network? Optional token network. Defaults to the testnet Stacks network.
|
|
1222
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1223
|
+
*/
|
|
1224
|
+
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>;
|
|
1225
|
+
/**
|
|
1226
|
+
* Factory function for nep141 token instances.
|
|
1227
|
+
*
|
|
1228
|
+
* @param id uuid v4
|
|
1229
|
+
* @param name unique identifier of the token
|
|
1230
|
+
* @param fullName Complete human-readable name of the token
|
|
1231
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1232
|
+
* @param contractAddress Contract address of this token
|
|
1233
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1234
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1235
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1236
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1237
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1238
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1239
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1240
|
+
*/
|
|
1241
|
+
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>;
|
|
1242
|
+
/**
|
|
1243
|
+
* Factory function for testnet nep141 token instances.
|
|
1244
|
+
*
|
|
1245
|
+
* @param id uuid v4
|
|
1246
|
+
* @param name unique identifier of the token
|
|
1247
|
+
* @param fullName Complete human-readable name of the token
|
|
1248
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1249
|
+
* @param contractAddress Contract address of this token
|
|
1250
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1251
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1252
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1253
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1254
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1255
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1256
|
+
*/
|
|
1257
|
+
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>;
|
|
1258
|
+
/**
|
|
1259
|
+
* Factory function for vet token instances.
|
|
1260
|
+
*
|
|
1261
|
+
* @param id uuid v4
|
|
1262
|
+
* @param name unique identifier of the token
|
|
1263
|
+
* @param fullName Complete human-readable name of the token
|
|
1264
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1265
|
+
* @param contractAddress Contract address of this token
|
|
1266
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1267
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1268
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1269
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1270
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1271
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1272
|
+
*/
|
|
1273
|
+
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>;
|
|
1274
|
+
/**
|
|
1275
|
+
* Factory function for testnet vet token instances.
|
|
1276
|
+
*
|
|
1277
|
+
* @param id uuid v4
|
|
1278
|
+
* @param name unique identifier of the token
|
|
1279
|
+
* @param fullName Complete human-readable name of the token
|
|
1280
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1281
|
+
* @param contractAddress Contract address of this token
|
|
1282
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1283
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1284
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1285
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1286
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1287
|
+
*/
|
|
1288
|
+
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
1289
|
export {};
|
|
777
1290
|
//# sourceMappingURL=account.d.ts.map
|