@bitgo-beta/statics 15.1.1-beta.110 → 15.1.1-beta.1101
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/CHANGELOG.md +3056 -0
- package/dist/src/account.d.ts +725 -31
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +1178 -119
- package/dist/src/ada.d.ts.map +1 -1
- package/dist/src/ada.js +7 -3
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +8 -3
- package/dist/src/base.d.ts +1660 -40
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +1723 -50
- package/dist/src/coinFeatures.d.ts +94 -0
- package/dist/src/coinFeatures.d.ts.map +1 -0
- package/dist/src/coinFeatures.js +600 -0
- package/dist/src/coins/avaxTokens.d.ts +2 -0
- package/dist/src/coins/avaxTokens.d.ts.map +1 -0
- package/dist/src/coins/avaxTokens.js +100 -0
- package/dist/src/coins/botOfcTokens.d.ts +2 -0
- package/dist/src/coins/botOfcTokens.d.ts.map +1 -0
- package/dist/src/coins/botOfcTokens.js +5 -0
- package/dist/src/coins/botTokens.d.ts +2 -0
- package/dist/src/coins/botTokens.d.ts.map +1 -0
- package/dist/src/coins/botTokens.js +5 -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 +160 -0
- package/dist/src/coins/cosmosTokens.d.ts +2 -0
- package/dist/src/coins/cosmosTokens.d.ts.map +1 -0
- package/dist/src/coins/cosmosTokens.js +12 -0
- package/dist/src/coins/erc20Coins.d.ts +2 -0
- package/dist/src/coins/erc20Coins.d.ts.map +1 -0
- package/dist/src/coins/erc20Coins.js +1516 -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 +622 -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 +1416 -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 +148 -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 +365 -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 +904 -1546
- 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 +23 -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 +10 -0
- package/dist/src/map.d.ts.map +1 -1
- package/dist/src/map.js +117 -17
- package/dist/src/networkFeatureMapForTokens.d.ts +3 -0
- package/dist/src/networkFeatureMapForTokens.d.ts.map +1 -0
- package/dist/src/networkFeatureMapForTokens.js +31 -0
- package/dist/src/networks.d.ts +1002 -1
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +1296 -42
- package/dist/src/ofc.d.ts +489 -3
- package/dist/src/ofc.d.ts.map +1 -1
- package/dist/src/ofc.js +1013 -21
- package/dist/src/tokenConfig.d.ts +201 -14
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +764 -240
- package/dist/src/utxo.d.ts +3 -1
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +83 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/src/account.d.ts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { BaseCoin, BaseUnit, CoinFeature, KeyCurve, UnderlyingAsset } from './base';
|
|
2
2
|
import { AccountNetwork, BaseNetwork, EthereumNetwork, TronNetwork } from './networks';
|
|
3
|
+
/**
|
|
4
|
+
* This is the program id against sol token program.
|
|
5
|
+
*/
|
|
6
|
+
export declare enum ProgramID {
|
|
7
|
+
TokenProgramId = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
|
|
8
|
+
Token2022ProgramId = "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"
|
|
9
|
+
}
|
|
3
10
|
export interface AccountConstructorOptions {
|
|
4
11
|
id: string;
|
|
5
12
|
fullName: string;
|
|
@@ -24,14 +31,24 @@ export interface AccountConstructorOptions {
|
|
|
24
31
|
*/
|
|
25
32
|
export declare class AccountCoin extends BaseCoin {
|
|
26
33
|
static readonly DEFAULT_FEATURES: CoinFeature[];
|
|
34
|
+
static readonly DEFAULT_FEATURES_EXCLUDE_SINGAPORE: (CoinFeature.EVM_WALLET | CoinFeature.METAMASK_INSTITUTIONAL | CoinFeature.VALUELESS_TRANSFER | CoinFeature.TRANSACTION_DATA | CoinFeature.REQUIRES_BIG_NUMBER | CoinFeature.REQUIRES_KRS_BACKUP_KEY | CoinFeature.PAYGO | CoinFeature.UNSPENT_MODEL | CoinFeature.LIGHTNING_MODEL | CoinFeature.ACCOUNT_MODEL | CoinFeature.CHILD_PAYS_FOR_PARENT | CoinFeature.SUPPORTS_TOKENS | CoinFeature.ENTERPRISE_PAYS_FEES | CoinFeature.REQUIRES_RESERVE | CoinFeature.CUSTODY | CoinFeature.TSS | CoinFeature.STAKING | CoinFeature.LIQUID_STAKING | CoinFeature.DEPRECATED | CoinFeature.GENERIC_TOKEN | CoinFeature.CUSTODY_BITGO_TRUST | CoinFeature.CUSTODY_BITGO_NEW_YORK | CoinFeature.CUSTODY_BITGO_GERMANY | CoinFeature.CUSTODY_BITGO_SWITZERLAND | CoinFeature.CUSTODY_BITGO_FRANKFURT | CoinFeature.CUSTODY_BITGO_SISTER_TRUST_ONE | CoinFeature.CUSTODY_BITGO_KOREA | CoinFeature.CUSTODY_BITGO_EUROPE_APS | CoinFeature.CUSTODY_BITGO_MENA_FZE | CoinFeature.CUSTODY_BITGO_CUSTODY_MENA_FZE | CoinFeature.CUSTODY_BITGO_INDIA | CoinFeature.EXPIRING_TRANSACTIONS | CoinFeature.MULTISIG_COLD | CoinFeature.TSS_COLD | CoinFeature.SHA256_WITH_ECDSA_TSS | CoinFeature.COSMOS_LIKE_COINS | CoinFeature.REBUILD_ON_CUSTODY_SIGNING | CoinFeature.INCREASED_TX_REQUEST_REBUILD_LIMIT | CoinFeature.BULK_TRANSACTION | CoinFeature.ERC20_BULK_TRANSACTION | CoinFeature.CUSTODY_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.FEES_PAID_WITH_TOKEN | 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.SUPPORTS_ERC20 | CoinFeature.SHARED_COSMOS_SDK | CoinFeature.SHARED_COSMOS_WP | CoinFeature.EVM_COIN | CoinFeature.MULTISIG | CoinFeature.EVM_COMPATIBLE_IMS | CoinFeature.EVM_COMPATIBLE_UI | CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY | CoinFeature.EVM_NON_BITGO_RECOVERY | CoinFeature.REBASE_TOKEN | CoinFeature.EVM_COMPATIBLE_WP | CoinFeature.RESTRICTED | CoinFeature.SHARED_EVM_MESSAGE_SIGNING)[];
|
|
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;
|
|
44
|
+
gasTankToken?: string;
|
|
31
45
|
}
|
|
32
46
|
export interface Erc20ConstructorOptions extends AccountConstructorOptions {
|
|
33
47
|
contractAddress: string;
|
|
34
48
|
}
|
|
49
|
+
export interface NFTCollectionIdConstructorOptions extends AccountConstructorOptions {
|
|
50
|
+
nftCollectionId: string;
|
|
51
|
+
}
|
|
35
52
|
export interface StellarCoinConstructorOptions extends AccountConstructorOptions {
|
|
36
53
|
domain: string;
|
|
37
54
|
}
|
|
@@ -40,16 +57,17 @@ export interface HederaCoinConstructorOptions extends AccountConstructorOptions
|
|
|
40
57
|
}
|
|
41
58
|
export interface HederaTokenConstructorOptions extends AccountConstructorOptions {
|
|
42
59
|
nodeAccountId: string;
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
export interface AlgoCoinConstructorOptions extends AccountConstructorOptions {
|
|
46
|
-
tokenURL: string;
|
|
60
|
+
contractAddress: string;
|
|
47
61
|
}
|
|
48
62
|
export interface EosCoinConstructorOptions extends AccountConstructorOptions {
|
|
49
63
|
contractName: string;
|
|
64
|
+
contractAddress: string;
|
|
65
|
+
symbol?: string;
|
|
50
66
|
}
|
|
51
67
|
export interface SolCoinConstructorOptions extends AccountConstructorOptions {
|
|
52
68
|
tokenAddress: string;
|
|
69
|
+
contractAddress: string;
|
|
70
|
+
programId: string;
|
|
53
71
|
}
|
|
54
72
|
export interface AdaCoinConstructorOptions extends AccountConstructorOptions {
|
|
55
73
|
policyId: string;
|
|
@@ -59,17 +77,54 @@ export interface XrpCoinConstructorOptions extends AccountConstructorOptions {
|
|
|
59
77
|
issuerAddress: string;
|
|
60
78
|
currencyCode: string;
|
|
61
79
|
domain: string;
|
|
80
|
+
contractAddress: string;
|
|
81
|
+
}
|
|
82
|
+
export interface SuiCoinConstructorOptions extends AccountConstructorOptions {
|
|
83
|
+
packageId: string;
|
|
84
|
+
module: string;
|
|
85
|
+
symbol: string;
|
|
86
|
+
contractAddress: string;
|
|
87
|
+
}
|
|
88
|
+
export interface AptCoinConstructorOptions extends AccountConstructorOptions {
|
|
89
|
+
assetId: string;
|
|
62
90
|
}
|
|
63
|
-
|
|
91
|
+
export interface TaoCoinConstructorOptions extends AccountConstructorOptions {
|
|
92
|
+
subnetId: string;
|
|
93
|
+
}
|
|
94
|
+
export interface PolyxCoinConstructorOptions extends AccountConstructorOptions {
|
|
95
|
+
ticker: string;
|
|
96
|
+
assetId: string;
|
|
97
|
+
}
|
|
98
|
+
type FiatCoinName = `fiat${string}` | `tfiat${string}`;
|
|
64
99
|
export interface FiatCoinConstructorOptions extends AccountConstructorOptions {
|
|
65
100
|
name: FiatCoinName;
|
|
66
101
|
}
|
|
102
|
+
export interface Sip10TokenConstructorOptions extends AccountConstructorOptions {
|
|
103
|
+
assetId: string;
|
|
104
|
+
}
|
|
105
|
+
export interface Nep141TokenConstructorOptions extends AccountConstructorOptions {
|
|
106
|
+
contractAddress: string;
|
|
107
|
+
storageDepositAmount: string;
|
|
108
|
+
}
|
|
109
|
+
export interface VetTokenConstructorOptions extends AccountConstructorOptions {
|
|
110
|
+
contractAddress: string;
|
|
111
|
+
gasTankToken?: string;
|
|
112
|
+
}
|
|
113
|
+
export interface CosmosTokenConstructorOptions extends AccountConstructorOptions {
|
|
114
|
+
denom: string;
|
|
115
|
+
}
|
|
67
116
|
export interface ContractAddress extends String {
|
|
68
117
|
__contractaddress_phantom__: never;
|
|
69
118
|
}
|
|
70
119
|
export declare class AccountCoinToken extends AccountCoin {
|
|
71
120
|
constructor(options: AccountConstructorOptions);
|
|
72
121
|
}
|
|
122
|
+
export declare class GasTankAccountCoin extends AccountCoin {
|
|
123
|
+
gasTankLowBalanceAlertFactor: number;
|
|
124
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
125
|
+
gasTankToken?: string;
|
|
126
|
+
constructor(options: GasTankAccountConstructorOptions);
|
|
127
|
+
}
|
|
73
128
|
/**
|
|
74
129
|
* Some blockchains support tokens which are defined by an address at which they have a smart contract deployed.
|
|
75
130
|
* Examples are ERC20 tokens, and the equivalent on other chains.
|
|
@@ -78,6 +133,13 @@ export declare class ContractAddressDefinedToken extends AccountCoinToken {
|
|
|
78
133
|
contractAddress: ContractAddress;
|
|
79
134
|
constructor(options: Erc20ConstructorOptions);
|
|
80
135
|
}
|
|
136
|
+
/**
|
|
137
|
+
* Used for blockchains that support NFT collections.
|
|
138
|
+
*/
|
|
139
|
+
export declare class NFTCollectionIdDefinedToken extends AccountCoinToken {
|
|
140
|
+
nftCollectionId: string;
|
|
141
|
+
constructor(options: NFTCollectionIdConstructorOptions);
|
|
142
|
+
}
|
|
81
143
|
/**
|
|
82
144
|
* ERC20 token addresses are Base58 formatted on some blockchains.
|
|
83
145
|
*/
|
|
@@ -155,6 +217,7 @@ export declare class HederaCoin extends AccountCoinToken {
|
|
|
155
217
|
export declare class HederaToken extends AccountCoinToken {
|
|
156
218
|
nodeAccountId: string;
|
|
157
219
|
tokenId: string;
|
|
220
|
+
contractAddress: string;
|
|
158
221
|
constructor(options: HederaTokenConstructorOptions);
|
|
159
222
|
}
|
|
160
223
|
/**
|
|
@@ -164,8 +227,7 @@ export declare class HederaToken extends AccountCoinToken {
|
|
|
164
227
|
*
|
|
165
228
|
*/
|
|
166
229
|
export declare class AlgoCoin extends AccountCoinToken {
|
|
167
|
-
|
|
168
|
-
constructor(options: AlgoCoinConstructorOptions);
|
|
230
|
+
constructor(options: AccountConstructorOptions);
|
|
169
231
|
}
|
|
170
232
|
/**
|
|
171
233
|
* The Eos network supports tokens
|
|
@@ -175,6 +237,8 @@ export declare class AlgoCoin extends AccountCoinToken {
|
|
|
175
237
|
*/
|
|
176
238
|
export declare class EosCoin extends AccountCoinToken {
|
|
177
239
|
contractName: string;
|
|
240
|
+
contractAddress: string;
|
|
241
|
+
symbol: string;
|
|
178
242
|
constructor(options: EosCoinConstructorOptions);
|
|
179
243
|
}
|
|
180
244
|
/**
|
|
@@ -185,6 +249,8 @@ export declare class EosCoin extends AccountCoinToken {
|
|
|
185
249
|
*/
|
|
186
250
|
export declare class SolCoin extends AccountCoinToken {
|
|
187
251
|
tokenAddress: string;
|
|
252
|
+
contractAddress: string;
|
|
253
|
+
programId: string;
|
|
188
254
|
constructor(options: SolCoinConstructorOptions);
|
|
189
255
|
}
|
|
190
256
|
/**
|
|
@@ -197,6 +263,9 @@ export declare class AdaCoin extends AccountCoinToken {
|
|
|
197
263
|
assetName: string;
|
|
198
264
|
constructor(options: AdaCoinConstructorOptions);
|
|
199
265
|
}
|
|
266
|
+
export declare class EthLikeERC20Token extends ContractAddressDefinedToken {
|
|
267
|
+
constructor(options: Erc20ConstructorOptions);
|
|
268
|
+
}
|
|
200
269
|
/**
|
|
201
270
|
* The AVAX C Chain network support tokens
|
|
202
271
|
* AVAX C Chain Tokens are ERC20 coins
|
|
@@ -211,6 +280,48 @@ export declare class AvaxERC20Token extends ContractAddressDefinedToken {
|
|
|
211
280
|
export declare class PolygonERC20Token extends ContractAddressDefinedToken {
|
|
212
281
|
constructor(options: Erc20ConstructorOptions);
|
|
213
282
|
}
|
|
283
|
+
/**
|
|
284
|
+
* The Arbitrum Chain network support tokens
|
|
285
|
+
* Arbitrum Chain Tokens are ERC20 tokens
|
|
286
|
+
*/
|
|
287
|
+
export declare class ArbethERC20Token extends ContractAddressDefinedToken {
|
|
288
|
+
constructor(options: Erc20ConstructorOptions);
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* The Optimism Chain network support tokens
|
|
292
|
+
* Optimism Chain Tokens are ERC20 tokens
|
|
293
|
+
*/
|
|
294
|
+
export declare class OpethERC20Token extends ContractAddressDefinedToken {
|
|
295
|
+
constructor(options: Erc20ConstructorOptions);
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* The zkSync network support tokens
|
|
299
|
+
* zkSync Tokens are ERC20 tokens
|
|
300
|
+
*/
|
|
301
|
+
export declare class ZkethERC20Token extends ContractAddressDefinedToken {
|
|
302
|
+
constructor(options: Erc20ConstructorOptions);
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* The Bera Chain network support tokens
|
|
306
|
+
* Bera Chain Tokens are ERC20 tokens
|
|
307
|
+
*/
|
|
308
|
+
export declare class BeraERC20Token extends ContractAddressDefinedToken {
|
|
309
|
+
constructor(options: Erc20ConstructorOptions);
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* The Coredao Chain network support tokens
|
|
313
|
+
* Coredao Chain Tokens are ERC20 tokens
|
|
314
|
+
*/
|
|
315
|
+
export declare class CoredaoERC20Token extends ContractAddressDefinedToken {
|
|
316
|
+
constructor(options: Erc20ConstructorOptions);
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* The World Chain network supports tokens
|
|
320
|
+
* World Chain Tokens are ERC20 tokens
|
|
321
|
+
*/
|
|
322
|
+
export declare class WorldERC20Token extends ContractAddressDefinedToken {
|
|
323
|
+
constructor(options: Erc20ConstructorOptions);
|
|
324
|
+
}
|
|
214
325
|
/**
|
|
215
326
|
* The Xrp network supports tokens
|
|
216
327
|
* Xrp tokens are identified by their issuer address
|
|
@@ -221,8 +332,32 @@ export declare class XrpCoin extends AccountCoinToken {
|
|
|
221
332
|
issuerAddress: string;
|
|
222
333
|
currencyCode: string;
|
|
223
334
|
domain: string;
|
|
335
|
+
contractAddress: string;
|
|
224
336
|
constructor(options: XrpCoinConstructorOptions);
|
|
225
337
|
}
|
|
338
|
+
export declare class SuiCoin extends AccountCoinToken {
|
|
339
|
+
packageId: string;
|
|
340
|
+
module: string;
|
|
341
|
+
symbol: string;
|
|
342
|
+
contractAddress: string;
|
|
343
|
+
constructor(options: SuiCoinConstructorOptions);
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* The Apt network supports tokens
|
|
347
|
+
* Apt tokens work similar to native Apt coin, but the token name is determined by
|
|
348
|
+
* the tokenAddress on the chain.
|
|
349
|
+
*
|
|
350
|
+
*/
|
|
351
|
+
export declare class AptCoin extends AccountCoinToken {
|
|
352
|
+
assetId: string;
|
|
353
|
+
constructor(options: AptCoinConstructorOptions);
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* The Apt network supports non-fungible tokens (Digital Asset Standard)
|
|
357
|
+
* Every NFT belongs to an NFT collection.
|
|
358
|
+
*/
|
|
359
|
+
export declare class AptNFTCollection extends NFTCollectionIdDefinedToken {
|
|
360
|
+
}
|
|
226
361
|
/**
|
|
227
362
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
228
363
|
*/
|
|
@@ -233,6 +368,56 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
233
368
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
234
369
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
235
370
|
}
|
|
371
|
+
/**
|
|
372
|
+
* The Stacks network supports tokens
|
|
373
|
+
* Stx tokens work similar to native Stx coin, but the token name is determined by
|
|
374
|
+
* the contractName on the chain.
|
|
375
|
+
*/
|
|
376
|
+
export declare class Sip10Token extends AccountCoinToken {
|
|
377
|
+
assetId: string;
|
|
378
|
+
constructor(options: Sip10TokenConstructorOptions);
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* The Near network supports tokens
|
|
382
|
+
* Near tokens work similar to native near coin
|
|
383
|
+
*/
|
|
384
|
+
export declare class Nep141Token extends AccountCoinToken {
|
|
385
|
+
contractAddress: string;
|
|
386
|
+
storageDepositAmount: string;
|
|
387
|
+
constructor(options: Nep141TokenConstructorOptions);
|
|
388
|
+
}
|
|
389
|
+
export declare class VetToken extends AccountCoinToken {
|
|
390
|
+
contractAddress: string;
|
|
391
|
+
gasTankToken?: string;
|
|
392
|
+
constructor(options: VetTokenConstructorOptions);
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* Cosmos network supports tokens
|
|
396
|
+
* Cosmos tokens work similar to native coins, but the token is determined by
|
|
397
|
+
* the denom on chain.
|
|
398
|
+
*
|
|
399
|
+
*/
|
|
400
|
+
export declare class CosmosChainToken extends AccountCoinToken {
|
|
401
|
+
denom: string;
|
|
402
|
+
constructor(options: CosmosTokenConstructorOptions);
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* The Bittensor network supports tokens
|
|
406
|
+
* The token name is determined by the subnetId on chain.
|
|
407
|
+
*/
|
|
408
|
+
export declare class TaoCoin extends AccountCoinToken {
|
|
409
|
+
subnetId: string;
|
|
410
|
+
constructor(options: TaoCoinConstructorOptions);
|
|
411
|
+
}
|
|
412
|
+
/**
|
|
413
|
+
* The Bittensor network supports tokens
|
|
414
|
+
* The token name is determined by the subnetId on chain.
|
|
415
|
+
*/
|
|
416
|
+
export declare class PolyxCoin extends AccountCoinToken {
|
|
417
|
+
ticker: string;
|
|
418
|
+
assetId: string;
|
|
419
|
+
constructor(options: PolyxCoinConstructorOptions);
|
|
420
|
+
}
|
|
236
421
|
/**
|
|
237
422
|
* Factory function for account coin instances.
|
|
238
423
|
*
|
|
@@ -249,6 +434,42 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
249
434
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
250
435
|
*/
|
|
251
436
|
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>;
|
|
437
|
+
/**
|
|
438
|
+
* Factory function for gas tank account coin instances.
|
|
439
|
+
*
|
|
440
|
+
* @param id uuid v4
|
|
441
|
+
* @param name unique identifier of the coin
|
|
442
|
+
* @param fullName Complete human-readable name of the coin
|
|
443
|
+
* @param network Network object for this coin
|
|
444
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
445
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
446
|
+
* @param baseUnit
|
|
447
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
448
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
449
|
+
* @param gasTankLowBalanceAlertFactor Low gas tank balance alert threshold = (feeEstimate x gasTankLowBalanceAlertFactor)
|
|
450
|
+
* @param gasTankMinBalanceRecommendationFactor Min gas tank balance recommendation = (feeEstimate x gasTankMinBalanceRecommendationFactor)
|
|
451
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
452
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
453
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
454
|
+
*/
|
|
455
|
+
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, gasTankToken?: string): Readonly<GasTankAccountCoin>;
|
|
456
|
+
/**
|
|
457
|
+
* Factory function for ethLikeErc20 token instances.
|
|
458
|
+
*
|
|
459
|
+
* @param id uuid v4
|
|
460
|
+
* @param name unique identifier of the token
|
|
461
|
+
* @param fullName Complete human-readable name of the token
|
|
462
|
+
* @param decimalPlaces Number of decimal places this token supports
|
|
463
|
+
* @param contractAddress Contract address of this token
|
|
464
|
+
* @param asset Asset which this coin represents
|
|
465
|
+
* @param network Optional token network
|
|
466
|
+
* @param coinNames The parent coin names for mainnet and testnet
|
|
467
|
+
* @param features Features of this coin
|
|
468
|
+
* @param prefix Optional token prefix
|
|
469
|
+
* @param suffix Optional token suffix
|
|
470
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
471
|
+
*/
|
|
472
|
+
export declare function erc20Token(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, network: AccountNetwork, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<EthLikeERC20Token>;
|
|
252
473
|
/**
|
|
253
474
|
* Factory function for erc20 token instances.
|
|
254
475
|
*
|
|
@@ -305,7 +526,7 @@ export declare function erc721(id: string, name: string, fullName: string, contr
|
|
|
305
526
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
306
527
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
307
528
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
308
|
-
* @param network? Optional token network. Defaults to
|
|
529
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
309
530
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
310
531
|
*/
|
|
311
532
|
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 +570,7 @@ export declare function erc1155(id: string, name: string, fullName: string, cont
|
|
|
349
570
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
350
571
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
351
572
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
352
|
-
* @param network? Optional token network. Defaults to
|
|
573
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
353
574
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
354
575
|
*/
|
|
355
576
|
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 +598,11 @@ export declare function erc20CompatibleAccountCoin(id: string, name: string, ful
|
|
|
377
598
|
* @param fullName Complete human-readable name of the token
|
|
378
599
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
379
600
|
* @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
|
|
601
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
602
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
603
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
604
|
+
* @param network ? Optional token network. Defaults to CELO main network.
|
|
605
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
385
606
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
386
607
|
*/
|
|
387
608
|
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 +615,10 @@ export declare function celoToken(id: string, name: string, fullName: string, de
|
|
|
394
615
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
395
616
|
* @param contractAddress Contract address of this token
|
|
396
617
|
* @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
|
|
618
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
619
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
620
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
621
|
+
* @param network ? Optional token network. Defaults to the testnet CELO network.
|
|
401
622
|
*/
|
|
402
623
|
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
624
|
/**
|
|
@@ -511,7 +732,7 @@ export declare function ttronToken(id: string, name: string, fullName: string, d
|
|
|
511
732
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
512
733
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
513
734
|
*/
|
|
514
|
-
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
735
|
+
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
736
|
/**
|
|
516
737
|
* Factory function for Hedera token instances
|
|
517
738
|
*
|
|
@@ -522,13 +743,14 @@ export declare function hederaCoin(id: string, name: string, fullName: string, n
|
|
|
522
743
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
523
744
|
* @param nodeAccountId node account Id from which the transaction will be sent
|
|
524
745
|
* @param tokenId The unique identifier of this token
|
|
746
|
+
* @param contractAddress Contract address of this token, same as tokenId
|
|
525
747
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
526
748
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
527
749
|
* @param network? Optional token network. Defaults to Hedera mainnet.
|
|
528
750
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
529
751
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
530
752
|
*/
|
|
531
|
-
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
753
|
+
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
754
|
/**
|
|
533
755
|
* Factory function for ALGO token instances.
|
|
534
756
|
*
|
|
@@ -539,7 +761,6 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
539
761
|
* @param fullName Complete human-readable name of the token
|
|
540
762
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
541
763
|
* @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
764
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
544
765
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
545
766
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -547,7 +768,7 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
547
768
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
548
769
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
549
770
|
*/
|
|
550
|
-
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
771
|
+
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
772
|
/**
|
|
552
773
|
* Factory function for testnet ALGO token instances.
|
|
553
774
|
*
|
|
@@ -557,14 +778,13 @@ export declare function algoToken(id: string, name: string, alias: string | unde
|
|
|
557
778
|
* @param fullName Complete human-readable name of the token
|
|
558
779
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
559
780
|
* @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
781
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
562
782
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
563
783
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
564
784
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
565
785
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
566
786
|
*/
|
|
567
|
-
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
787
|
+
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
788
|
/**
|
|
569
789
|
* Factory function for eos token instances.
|
|
570
790
|
*
|
|
@@ -573,6 +793,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
573
793
|
* @param fullName Complete human-readable name of the token
|
|
574
794
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
575
795
|
* @param contractName Contract address of this token
|
|
796
|
+
* @param contractAddress Contract address of this token
|
|
576
797
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
577
798
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
578
799
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -580,7 +801,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
580
801
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
581
802
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
582
803
|
*/
|
|
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>;
|
|
804
|
+
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
805
|
/**
|
|
585
806
|
* Factory function for testnet eos token instances.
|
|
586
807
|
*
|
|
@@ -588,14 +809,16 @@ export declare function eosToken(id: string, name: string, fullName: string, dec
|
|
|
588
809
|
* @param name unique identifier of the token
|
|
589
810
|
* @param fullName Complete human-readable name of the token
|
|
590
811
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
812
|
+
* @param contractName Contract address of this token
|
|
591
813
|
* @param contractAddress Contract address of this token
|
|
592
814
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
593
815
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
594
816
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
817
|
+
* @param symbol? token symbol as defined in token contract.
|
|
595
818
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
596
819
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
597
820
|
*/
|
|
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>;
|
|
821
|
+
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
822
|
/**
|
|
600
823
|
* Factory function for sol token instances.
|
|
601
824
|
*
|
|
@@ -604,6 +827,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
604
827
|
* @param fullName Complete human-readable name of the token
|
|
605
828
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
606
829
|
* @param tokenAddress Token address of this token
|
|
830
|
+
* @param contractAddress Contract address of this token
|
|
607
831
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
608
832
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
609
833
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -611,7 +835,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
611
835
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
612
836
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
613
837
|
*/
|
|
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>;
|
|
838
|
+
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
839
|
/**
|
|
616
840
|
* Factory function for testnet solana token instances.
|
|
617
841
|
*
|
|
@@ -626,7 +850,7 @@ export declare function solToken(id: string, name: string, fullName: string, dec
|
|
|
626
850
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
627
851
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
628
852
|
*/
|
|
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>;
|
|
853
|
+
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
854
|
/**
|
|
631
855
|
* Factory function for ada token instances.
|
|
632
856
|
*
|
|
@@ -707,7 +931,7 @@ export declare function tavaxErc20(id: string, name: string, fullName: string, d
|
|
|
707
931
|
*/
|
|
708
932
|
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
933
|
/**
|
|
710
|
-
* Factory function for
|
|
934
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
711
935
|
*
|
|
712
936
|
* @param id uuid v4
|
|
713
937
|
* @param name unique identifier of the token
|
|
@@ -722,6 +946,198 @@ export declare function polygonErc20(id: string, name: string, fullName: string,
|
|
|
722
946
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
723
947
|
*/
|
|
724
948
|
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>;
|
|
949
|
+
/**
|
|
950
|
+
* Factory function for arbethErc20 token instances.
|
|
951
|
+
*
|
|
952
|
+
* @param id uuid v4
|
|
953
|
+
* @param name unique identifier of the token
|
|
954
|
+
* @param fullName Complete human-readable name of the token
|
|
955
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
956
|
+
* @param contractAddress Contract address of this token
|
|
957
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
958
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
959
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
960
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
961
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
962
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
963
|
+
*/
|
|
964
|
+
export declare function 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>;
|
|
965
|
+
/**
|
|
966
|
+
* Factory function for Arbitrum Sepolia testnet arbethErc20 token instances.
|
|
967
|
+
*
|
|
968
|
+
* @param id uuid v4
|
|
969
|
+
* @param name unique identifier of the token
|
|
970
|
+
* @param fullName Complete human-readable name of the token
|
|
971
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
972
|
+
* @param contractAddress Contract address of this token
|
|
973
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
974
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
975
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
976
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
977
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
978
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
979
|
+
*/
|
|
980
|
+
export declare function 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>;
|
|
981
|
+
/**
|
|
982
|
+
* Factory function for opethErc20 token instances.
|
|
983
|
+
*
|
|
984
|
+
* @param id uuid v4
|
|
985
|
+
* @param name unique identifier of the token
|
|
986
|
+
* @param fullName Complete human-readable name of the token
|
|
987
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
988
|
+
* @param contractAddress Contract address of this token
|
|
989
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
990
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
991
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
992
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
993
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
994
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
995
|
+
*/
|
|
996
|
+
export declare function 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>;
|
|
997
|
+
/**
|
|
998
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
999
|
+
*
|
|
1000
|
+
* @param id uuid v4
|
|
1001
|
+
* @param name unique identifier of the token
|
|
1002
|
+
* @param fullName Complete human-readable name of the token
|
|
1003
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1004
|
+
* @param contractAddress Contract address of this token
|
|
1005
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1006
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1007
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1008
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
1009
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1010
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1011
|
+
*/
|
|
1012
|
+
export declare function 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>;
|
|
1013
|
+
/**
|
|
1014
|
+
* Factory function for zkethErc20 token instances.
|
|
1015
|
+
*
|
|
1016
|
+
* @param id uuid v4
|
|
1017
|
+
* @param name unique identifier of the token
|
|
1018
|
+
* @param fullName Complete human-readable name of the token
|
|
1019
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1020
|
+
* @param contractAddress Contract address of this token
|
|
1021
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1022
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1023
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1024
|
+
* @param network? Optional token network. Defaults to zkSync mainnet network.
|
|
1025
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1026
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1027
|
+
*/
|
|
1028
|
+
export declare function 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>;
|
|
1029
|
+
/**
|
|
1030
|
+
* Factory function for zkSync Sepolia testnet zkethErc20 token instances.
|
|
1031
|
+
*
|
|
1032
|
+
* @param id uuid v4
|
|
1033
|
+
* @param name unique identifier of the token
|
|
1034
|
+
* @param fullName Complete human-readable name of the token
|
|
1035
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1036
|
+
* @param contractAddress Contract address of this token
|
|
1037
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1038
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1039
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1040
|
+
* @param network? Optional token network. Defaults to the zkSync sepolia test network.
|
|
1041
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1042
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1043
|
+
*/
|
|
1044
|
+
export declare function 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>;
|
|
1045
|
+
/**
|
|
1046
|
+
* Factory function for beraErc20 token instances.
|
|
1047
|
+
*
|
|
1048
|
+
* @param id uuid v4
|
|
1049
|
+
* @param name unique identifier of the token
|
|
1050
|
+
* @param fullName Complete human-readable name of the token
|
|
1051
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1052
|
+
* @param contractAddress Contract address of this token
|
|
1053
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1054
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1055
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1056
|
+
* @param network? Optional token network. Defaults to bera mainnet network.
|
|
1057
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1058
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1059
|
+
*/
|
|
1060
|
+
export declare function 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>;
|
|
1061
|
+
/**
|
|
1062
|
+
* Factory function for zkSync Sepolia testnet beraErc20 token instances.
|
|
1063
|
+
*
|
|
1064
|
+
* @param id uuid v4
|
|
1065
|
+
* @param name unique identifier of the token
|
|
1066
|
+
* @param fullName Complete human-readable name of the token
|
|
1067
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1068
|
+
* @param contractAddress Contract address of this token
|
|
1069
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1070
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1071
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1072
|
+
* @param network? Optional token network. Defaults to the bera test network.
|
|
1073
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1074
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1075
|
+
*/
|
|
1076
|
+
export declare function 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>;
|
|
1077
|
+
/**
|
|
1078
|
+
* Factory function for CoredaoErc20 token instances.
|
|
1079
|
+
*
|
|
1080
|
+
* @param id uuid v4
|
|
1081
|
+
* @param name unique identifier of the token
|
|
1082
|
+
* @param fullName Complete human-readable name of the token
|
|
1083
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1084
|
+
* @param contractAddress Contract address of this token
|
|
1085
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1086
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1087
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1088
|
+
* @param network? Optional token network. Defaults to coredao mainnet network.
|
|
1089
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1090
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1091
|
+
*/
|
|
1092
|
+
export declare function 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>;
|
|
1093
|
+
/**
|
|
1094
|
+
* Factory function for coredao testnet coredaoErc20 token instances.
|
|
1095
|
+
*
|
|
1096
|
+
* @param id uuid v4
|
|
1097
|
+
* @param name unique identifier of the token
|
|
1098
|
+
* @param fullName Complete human-readable name of the token
|
|
1099
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1100
|
+
* @param contractAddress Contract address of this token
|
|
1101
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1102
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1103
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1104
|
+
* @param network? Optional token network. Defaults to the coredao test network.
|
|
1105
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1106
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1107
|
+
*/
|
|
1108
|
+
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>;
|
|
1109
|
+
/**
|
|
1110
|
+
* Factory function for WorldErc20 token instances.
|
|
1111
|
+
*
|
|
1112
|
+
* @param id uuid v4
|
|
1113
|
+
* @param name unique identifier of the token
|
|
1114
|
+
* @param fullName Complete human-readable name of the token
|
|
1115
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1116
|
+
* @param contractAddress Contract address of this token
|
|
1117
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1118
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1119
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1120
|
+
* @param network? Optional token network. Defaults to World Chain mainnet network.
|
|
1121
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1122
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1123
|
+
*/
|
|
1124
|
+
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>;
|
|
1125
|
+
/**
|
|
1126
|
+
* Factory function for world testnet worldErc20 token instances.
|
|
1127
|
+
*
|
|
1128
|
+
* @param id uuid v4
|
|
1129
|
+
* @param name unique identifier of the token
|
|
1130
|
+
* @param fullName Complete human-readable name of the token
|
|
1131
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1132
|
+
* @param contractAddress Contract address of this token
|
|
1133
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1134
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1135
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1136
|
+
* @param network? Optional token network. Defaults to the World Chain test network.
|
|
1137
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1138
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1139
|
+
*/
|
|
1140
|
+
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
1141
|
/**
|
|
726
1142
|
* Factory function for xrp token instances.
|
|
727
1143
|
*
|
|
@@ -731,6 +1147,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
731
1147
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
732
1148
|
* @param issuerAddress: The address of the issuer of the token,
|
|
733
1149
|
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1150
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
734
1151
|
* @param domain? the domain of the issuer of the token,
|
|
735
1152
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
736
1153
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
@@ -739,7 +1156,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
739
1156
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
740
1157
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
741
1158
|
*/
|
|
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>;
|
|
1159
|
+
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
1160
|
/**
|
|
744
1161
|
* Factory function for testnet cardano token instances.
|
|
745
1162
|
*
|
|
@@ -749,6 +1166,7 @@ export declare function xrpToken(id: string, name: string, fullName: string, dec
|
|
|
749
1166
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
750
1167
|
* @param issuerAddress: The address of the issuer of the token,
|
|
751
1168
|
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1169
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
752
1170
|
* @param domain? the domain of the issuer of the token,
|
|
753
1171
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
754
1172
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
@@ -756,7 +1174,107 @@ export declare function xrpToken(id: string, name: string, fullName: string, dec
|
|
|
756
1174
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
757
1175
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
758
1176
|
*/
|
|
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>;
|
|
1177
|
+
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>;
|
|
1178
|
+
/**
|
|
1179
|
+
* Factory function for sui token instances.
|
|
1180
|
+
*
|
|
1181
|
+
* @param id uuid v4
|
|
1182
|
+
* @param name unique identifier of the token
|
|
1183
|
+
* @param fullName Complete human-readable name of the token
|
|
1184
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1185
|
+
* @param packageId PackageId of this token
|
|
1186
|
+
* @param module The module of the package with id `packageId`
|
|
1187
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1188
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1189
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1190
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1191
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1192
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1193
|
+
* @param network? Optional token network. Defaults to SUI main network.
|
|
1194
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1195
|
+
*/
|
|
1196
|
+
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>;
|
|
1197
|
+
/**
|
|
1198
|
+
* Factory function for testnet sui token instances.
|
|
1199
|
+
*
|
|
1200
|
+
* @param id uuid v4
|
|
1201
|
+
* @param name unique identifier of the token
|
|
1202
|
+
* @param fullName Complete human-readable name of the token
|
|
1203
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1204
|
+
* @param packageId PackageId of this token
|
|
1205
|
+
* @param module The module of the package with id `packageId`
|
|
1206
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1207
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1208
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1209
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
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 SUI test network.
|
|
1213
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1214
|
+
*/
|
|
1215
|
+
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>;
|
|
1216
|
+
/**
|
|
1217
|
+
* Factory function for apt token instances.
|
|
1218
|
+
*
|
|
1219
|
+
* @param id uuid v4
|
|
1220
|
+
* @param name unique identifier of the token
|
|
1221
|
+
* @param fullName Complete human-readable name of the token
|
|
1222
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1223
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1224
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1225
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1226
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1227
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1228
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1229
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1230
|
+
*/
|
|
1231
|
+
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>;
|
|
1232
|
+
/**
|
|
1233
|
+
* Factory function for Apt NFT collections.
|
|
1234
|
+
*
|
|
1235
|
+
* @param id uuid v4
|
|
1236
|
+
* @param name unique identifier of the NFT collection
|
|
1237
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1238
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1239
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1240
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1241
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1242
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1243
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1244
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1245
|
+
*/
|
|
1246
|
+
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>;
|
|
1247
|
+
/**
|
|
1248
|
+
* Factory function for testnet apt token instances.
|
|
1249
|
+
*
|
|
1250
|
+
* @param id uuid v4
|
|
1251
|
+
* @param name unique identifier of the token
|
|
1252
|
+
* @param fullName Complete human-readable name of the token
|
|
1253
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1254
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1255
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1256
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1257
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1258
|
+
* @param network Optional token network. Defaults to the testnet APT network.
|
|
1259
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1260
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1261
|
+
*/
|
|
1262
|
+
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>;
|
|
1263
|
+
/**
|
|
1264
|
+
* Factory function for testnet Apt NFT collections.
|
|
1265
|
+
*
|
|
1266
|
+
* @param id uuid v4
|
|
1267
|
+
* @param name unique identifier of the NFT collection
|
|
1268
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1269
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1270
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1271
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1272
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1273
|
+
* @param network Optional token network. Defaults to APT test network.
|
|
1274
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1275
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1276
|
+
*/
|
|
1277
|
+
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
1278
|
/**
|
|
761
1279
|
* Factory function for fiat coin instances.
|
|
762
1280
|
*
|
|
@@ -773,5 +1291,181 @@ export declare function txrpToken(id: string, name: string, fullName: string, de
|
|
|
773
1291
|
* @param isToken? Whether or not this coin is a token of another coin
|
|
774
1292
|
*/
|
|
775
1293
|
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>;
|
|
1294
|
+
/**
|
|
1295
|
+
* Factory function for sip10 token instances.
|
|
1296
|
+
*
|
|
1297
|
+
* @param id uuid v4
|
|
1298
|
+
* @param name unique identifier of the token
|
|
1299
|
+
* @param fullName Complete human-readable name of the token
|
|
1300
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1301
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1302
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1303
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1304
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1305
|
+
* @param network? Optional token network. Defaults to Stacks main network.
|
|
1306
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1307
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1308
|
+
*/
|
|
1309
|
+
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>;
|
|
1310
|
+
/**
|
|
1311
|
+
* Factory function for testnet sip10 token instances.
|
|
1312
|
+
*
|
|
1313
|
+
* @param id uuid v4
|
|
1314
|
+
* @param name unique identifier of the token
|
|
1315
|
+
* @param fullName Complete human-readable name of the token
|
|
1316
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1317
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1318
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1319
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1320
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1321
|
+
* @param network? Optional token network. Defaults to the testnet Stacks network.
|
|
1322
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1323
|
+
*/
|
|
1324
|
+
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>;
|
|
1325
|
+
/**
|
|
1326
|
+
* Factory function for nep141 token instances.
|
|
1327
|
+
*
|
|
1328
|
+
* @param id uuid v4
|
|
1329
|
+
* @param name unique identifier of the token
|
|
1330
|
+
* @param fullName Complete human-readable name of the token
|
|
1331
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1332
|
+
* @param contractAddress Contract address of this token
|
|
1333
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1334
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1335
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1336
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1337
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1338
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1339
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1340
|
+
*/
|
|
1341
|
+
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>;
|
|
1342
|
+
/**
|
|
1343
|
+
* Factory function for testnet nep141 token instances.
|
|
1344
|
+
*
|
|
1345
|
+
* @param id uuid v4
|
|
1346
|
+
* @param name unique identifier of the token
|
|
1347
|
+
* @param fullName Complete human-readable name of the token
|
|
1348
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1349
|
+
* @param contractAddress Contract address of this token
|
|
1350
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1351
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1352
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1353
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1354
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1355
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1356
|
+
*/
|
|
1357
|
+
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>;
|
|
1358
|
+
/**
|
|
1359
|
+
* Factory function for vet token instances.
|
|
1360
|
+
*
|
|
1361
|
+
* @param id uuid v4
|
|
1362
|
+
* @param name unique identifier of the token
|
|
1363
|
+
* @param fullName Complete human-readable name of the token
|
|
1364
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1365
|
+
* @param contractAddress Contract address of this token
|
|
1366
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1367
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1368
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1369
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1370
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1371
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1372
|
+
*/
|
|
1373
|
+
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, gasTankToken?: string): Readonly<VetToken>;
|
|
1374
|
+
/**
|
|
1375
|
+
* Factory function for testnet vet token instances.
|
|
1376
|
+
*
|
|
1377
|
+
* @param id uuid v4
|
|
1378
|
+
* @param name unique identifier of the token
|
|
1379
|
+
* @param fullName Complete human-readable name of the token
|
|
1380
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1381
|
+
* @param contractAddress Contract address of this token
|
|
1382
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1383
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1384
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1385
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1386
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1387
|
+
*/
|
|
1388
|
+
export declare function tvetToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, gasTankToken?: string): Readonly<VetToken>;
|
|
1389
|
+
/**
|
|
1390
|
+
* Factory function for Cosmos chain token instances.
|
|
1391
|
+
*
|
|
1392
|
+
* @param id uuid v4
|
|
1393
|
+
* @param name unique identifier of the token
|
|
1394
|
+
* @param fullName Complete human-readable name of the token
|
|
1395
|
+
* @param denom denomination of this token which will act as a unique identifier for the token on chain
|
|
1396
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1397
|
+
* @param network Network (mainnet or testnet) for this token
|
|
1398
|
+
* @param baseUnit Base unit of this token (native asset)
|
|
1399
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1400
|
+
* @param features Features of this coin. Defaults to the COSMOS_SIDECHAIN_FEATURES defined in `coinFeatures.ts`
|
|
1401
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1402
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1403
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1404
|
+
*/
|
|
1405
|
+
export declare function cosmosToken(id: string, name: string, fullName: string, denom: string, decimalPlaces: number, network: AccountNetwork, baseUnit: BaseUnit, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<CosmosChainToken>;
|
|
1406
|
+
/**
|
|
1407
|
+
* Factory function for tao token instances.
|
|
1408
|
+
*
|
|
1409
|
+
* @param id uuid v4
|
|
1410
|
+
* @param name unique identifier of the token
|
|
1411
|
+
* @param fullName Complete human-readable name of the token
|
|
1412
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1413
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1414
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1415
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1416
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1417
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1418
|
+
* @param network? Optional token network. Defaults to TAO main network.
|
|
1419
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1420
|
+
*/
|
|
1421
|
+
export declare function taoToken(id: string, name: string, fullName: string, decimalPlaces: number, subnetId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<TaoCoin>;
|
|
1422
|
+
/**
|
|
1423
|
+
* Factory function for testnet tao token instances.
|
|
1424
|
+
*
|
|
1425
|
+
* @param id uuid v4
|
|
1426
|
+
* @param name unique identifier of the token
|
|
1427
|
+
* @param fullName Complete human-readable name of the token
|
|
1428
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1429
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1430
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1431
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1432
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1433
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1434
|
+
* @param network? Optional token network. Defaults to TAO test network.
|
|
1435
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1436
|
+
*/
|
|
1437
|
+
export declare function ttaoToken(id: string, name: string, fullName: string, decimalPlaces: number, subnetId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<TaoCoin>;
|
|
1438
|
+
/**
|
|
1439
|
+
* Factory function for tao token instances.
|
|
1440
|
+
*
|
|
1441
|
+
* @param id uuid v4
|
|
1442
|
+
* @param name unique identifier of the token
|
|
1443
|
+
* @param fullName Complete human-readable name of the token
|
|
1444
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1445
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1446
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1447
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1448
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1449
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1450
|
+
* @param network? Optional token network. Defaults to TAO main network.
|
|
1451
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1452
|
+
*/
|
|
1453
|
+
export declare function polyxToken(id: string, name: string, fullName: string, decimalPlaces: number, ticker: string, assetId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<PolyxCoin>;
|
|
1454
|
+
/**
|
|
1455
|
+
* Factory function for testnet tao token instances.
|
|
1456
|
+
*
|
|
1457
|
+
* @param id uuid v4
|
|
1458
|
+
* @param name unique identifier of the token
|
|
1459
|
+
* @param fullName Complete human-readable name of the token
|
|
1460
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1461
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1462
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1463
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1464
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1465
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1466
|
+
* @param network? Optional token network. Defaults to TAO test network.
|
|
1467
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1468
|
+
*/
|
|
1469
|
+
export declare function tpolyxToken(id: string, name: string, fullName: string, decimalPlaces: number, ticker: string, assetId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<PolyxCoin>;
|
|
776
1470
|
export {};
|
|
777
1471
|
//# sourceMappingURL=account.d.ts.map
|