@bitgo-beta/statics 15.1.1-beta.110 → 15.1.1-beta.1100
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 +705 -31
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +1136 -117
- 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 +1655 -40
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +1718 -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/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 +1515 -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 +900 -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.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
|
/**
|
|
@@ -211,6 +277,48 @@ export declare class AvaxERC20Token extends ContractAddressDefinedToken {
|
|
|
211
277
|
export declare class PolygonERC20Token extends ContractAddressDefinedToken {
|
|
212
278
|
constructor(options: Erc20ConstructorOptions);
|
|
213
279
|
}
|
|
280
|
+
/**
|
|
281
|
+
* The Arbitrum Chain network support tokens
|
|
282
|
+
* Arbitrum Chain Tokens are ERC20 tokens
|
|
283
|
+
*/
|
|
284
|
+
export declare class ArbethERC20Token extends ContractAddressDefinedToken {
|
|
285
|
+
constructor(options: Erc20ConstructorOptions);
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* The Optimism Chain network support tokens
|
|
289
|
+
* Optimism Chain Tokens are ERC20 tokens
|
|
290
|
+
*/
|
|
291
|
+
export declare class OpethERC20Token extends ContractAddressDefinedToken {
|
|
292
|
+
constructor(options: Erc20ConstructorOptions);
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* The zkSync network support tokens
|
|
296
|
+
* zkSync Tokens are ERC20 tokens
|
|
297
|
+
*/
|
|
298
|
+
export declare class ZkethERC20Token extends ContractAddressDefinedToken {
|
|
299
|
+
constructor(options: Erc20ConstructorOptions);
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* The Bera Chain network support tokens
|
|
303
|
+
* Bera Chain Tokens are ERC20 tokens
|
|
304
|
+
*/
|
|
305
|
+
export declare class BeraERC20Token extends ContractAddressDefinedToken {
|
|
306
|
+
constructor(options: Erc20ConstructorOptions);
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* The Coredao Chain network support tokens
|
|
310
|
+
* Coredao Chain Tokens are ERC20 tokens
|
|
311
|
+
*/
|
|
312
|
+
export declare class CoredaoERC20Token extends ContractAddressDefinedToken {
|
|
313
|
+
constructor(options: Erc20ConstructorOptions);
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* The World Chain network supports tokens
|
|
317
|
+
* World Chain Tokens are ERC20 tokens
|
|
318
|
+
*/
|
|
319
|
+
export declare class WorldERC20Token extends ContractAddressDefinedToken {
|
|
320
|
+
constructor(options: Erc20ConstructorOptions);
|
|
321
|
+
}
|
|
214
322
|
/**
|
|
215
323
|
* The Xrp network supports tokens
|
|
216
324
|
* Xrp tokens are identified by their issuer address
|
|
@@ -221,8 +329,32 @@ export declare class XrpCoin extends AccountCoinToken {
|
|
|
221
329
|
issuerAddress: string;
|
|
222
330
|
currencyCode: string;
|
|
223
331
|
domain: string;
|
|
332
|
+
contractAddress: string;
|
|
224
333
|
constructor(options: XrpCoinConstructorOptions);
|
|
225
334
|
}
|
|
335
|
+
export declare class SuiCoin extends AccountCoinToken {
|
|
336
|
+
packageId: string;
|
|
337
|
+
module: string;
|
|
338
|
+
symbol: string;
|
|
339
|
+
contractAddress: string;
|
|
340
|
+
constructor(options: SuiCoinConstructorOptions);
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* The Apt network supports tokens
|
|
344
|
+
* Apt tokens work similar to native Apt coin, but the token name is determined by
|
|
345
|
+
* the tokenAddress on the chain.
|
|
346
|
+
*
|
|
347
|
+
*/
|
|
348
|
+
export declare class AptCoin extends AccountCoinToken {
|
|
349
|
+
assetId: string;
|
|
350
|
+
constructor(options: AptCoinConstructorOptions);
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* The Apt network supports non-fungible tokens (Digital Asset Standard)
|
|
354
|
+
* Every NFT belongs to an NFT collection.
|
|
355
|
+
*/
|
|
356
|
+
export declare class AptNFTCollection extends NFTCollectionIdDefinedToken {
|
|
357
|
+
}
|
|
226
358
|
/**
|
|
227
359
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
228
360
|
*/
|
|
@@ -233,6 +365,56 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
233
365
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
234
366
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
235
367
|
}
|
|
368
|
+
/**
|
|
369
|
+
* The Stacks network supports tokens
|
|
370
|
+
* Stx tokens work similar to native Stx coin, but the token name is determined by
|
|
371
|
+
* the contractName on the chain.
|
|
372
|
+
*/
|
|
373
|
+
export declare class Sip10Token extends AccountCoinToken {
|
|
374
|
+
assetId: string;
|
|
375
|
+
constructor(options: Sip10TokenConstructorOptions);
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* The Near network supports tokens
|
|
379
|
+
* Near tokens work similar to native near coin
|
|
380
|
+
*/
|
|
381
|
+
export declare class Nep141Token extends AccountCoinToken {
|
|
382
|
+
contractAddress: string;
|
|
383
|
+
storageDepositAmount: string;
|
|
384
|
+
constructor(options: Nep141TokenConstructorOptions);
|
|
385
|
+
}
|
|
386
|
+
export declare class VetToken extends AccountCoinToken {
|
|
387
|
+
contractAddress: string;
|
|
388
|
+
gasTankToken?: string;
|
|
389
|
+
constructor(options: VetTokenConstructorOptions);
|
|
390
|
+
}
|
|
391
|
+
/**
|
|
392
|
+
* Cosmos network supports tokens
|
|
393
|
+
* Cosmos tokens work similar to native coins, but the token is determined by
|
|
394
|
+
* the denom on chain.
|
|
395
|
+
*
|
|
396
|
+
*/
|
|
397
|
+
export declare class CosmosChainToken extends AccountCoinToken {
|
|
398
|
+
denom: string;
|
|
399
|
+
constructor(options: CosmosTokenConstructorOptions);
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* The Bittensor network supports tokens
|
|
403
|
+
* The token name is determined by the subnetId on chain.
|
|
404
|
+
*/
|
|
405
|
+
export declare class TaoCoin extends AccountCoinToken {
|
|
406
|
+
subnetId: string;
|
|
407
|
+
constructor(options: TaoCoinConstructorOptions);
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* The Bittensor network supports tokens
|
|
411
|
+
* The token name is determined by the subnetId on chain.
|
|
412
|
+
*/
|
|
413
|
+
export declare class PolyxCoin extends AccountCoinToken {
|
|
414
|
+
ticker: string;
|
|
415
|
+
assetId: string;
|
|
416
|
+
constructor(options: PolyxCoinConstructorOptions);
|
|
417
|
+
}
|
|
236
418
|
/**
|
|
237
419
|
* Factory function for account coin instances.
|
|
238
420
|
*
|
|
@@ -249,6 +431,25 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
249
431
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
250
432
|
*/
|
|
251
433
|
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>;
|
|
434
|
+
/**
|
|
435
|
+
* Factory function for gas tank account coin instances.
|
|
436
|
+
*
|
|
437
|
+
* @param id uuid v4
|
|
438
|
+
* @param name unique identifier of the coin
|
|
439
|
+
* @param fullName Complete human-readable name of the coin
|
|
440
|
+
* @param network Network object for this coin
|
|
441
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
442
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
443
|
+
* @param baseUnit
|
|
444
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
445
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
446
|
+
* @param gasTankLowBalanceAlertFactor Low gas tank balance alert threshold = (feeEstimate x gasTankLowBalanceAlertFactor)
|
|
447
|
+
* @param gasTankMinBalanceRecommendationFactor Min gas tank balance recommendation = (feeEstimate x gasTankMinBalanceRecommendationFactor)
|
|
448
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
449
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
450
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
451
|
+
*/
|
|
452
|
+
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>;
|
|
252
453
|
/**
|
|
253
454
|
* Factory function for erc20 token instances.
|
|
254
455
|
*
|
|
@@ -305,7 +506,7 @@ export declare function erc721(id: string, name: string, fullName: string, contr
|
|
|
305
506
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
306
507
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
307
508
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
308
|
-
* @param network? Optional token network. Defaults to
|
|
509
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
309
510
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
310
511
|
*/
|
|
311
512
|
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 +550,7 @@ export declare function erc1155(id: string, name: string, fullName: string, cont
|
|
|
349
550
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
350
551
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
351
552
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
352
|
-
* @param network? Optional token network. Defaults to
|
|
553
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
353
554
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
354
555
|
*/
|
|
355
556
|
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 +578,11 @@ export declare function erc20CompatibleAccountCoin(id: string, name: string, ful
|
|
|
377
578
|
* @param fullName Complete human-readable name of the token
|
|
378
579
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
379
580
|
* @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
|
|
581
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
582
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
583
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
584
|
+
* @param network ? Optional token network. Defaults to CELO main network.
|
|
585
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
385
586
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
386
587
|
*/
|
|
387
588
|
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 +595,10 @@ export declare function celoToken(id: string, name: string, fullName: string, de
|
|
|
394
595
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
395
596
|
* @param contractAddress Contract address of this token
|
|
396
597
|
* @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
|
|
598
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
599
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
600
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
601
|
+
* @param network ? Optional token network. Defaults to the testnet CELO network.
|
|
401
602
|
*/
|
|
402
603
|
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
604
|
/**
|
|
@@ -511,7 +712,7 @@ export declare function ttronToken(id: string, name: string, fullName: string, d
|
|
|
511
712
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
512
713
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
513
714
|
*/
|
|
514
|
-
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
715
|
+
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
716
|
/**
|
|
516
717
|
* Factory function for Hedera token instances
|
|
517
718
|
*
|
|
@@ -522,13 +723,14 @@ export declare function hederaCoin(id: string, name: string, fullName: string, n
|
|
|
522
723
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
523
724
|
* @param nodeAccountId node account Id from which the transaction will be sent
|
|
524
725
|
* @param tokenId The unique identifier of this token
|
|
726
|
+
* @param contractAddress Contract address of this token, same as tokenId
|
|
525
727
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
526
728
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
527
729
|
* @param network? Optional token network. Defaults to Hedera mainnet.
|
|
528
730
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
529
731
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
530
732
|
*/
|
|
531
|
-
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
733
|
+
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
734
|
/**
|
|
533
735
|
* Factory function for ALGO token instances.
|
|
534
736
|
*
|
|
@@ -539,7 +741,6 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
539
741
|
* @param fullName Complete human-readable name of the token
|
|
540
742
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
541
743
|
* @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
744
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
544
745
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
545
746
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -547,7 +748,7 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
547
748
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
548
749
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
549
750
|
*/
|
|
550
|
-
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
751
|
+
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
752
|
/**
|
|
552
753
|
* Factory function for testnet ALGO token instances.
|
|
553
754
|
*
|
|
@@ -557,14 +758,13 @@ export declare function algoToken(id: string, name: string, alias: string | unde
|
|
|
557
758
|
* @param fullName Complete human-readable name of the token
|
|
558
759
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
559
760
|
* @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
761
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
562
762
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
563
763
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
564
764
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
565
765
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
566
766
|
*/
|
|
567
|
-
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
767
|
+
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
768
|
/**
|
|
569
769
|
* Factory function for eos token instances.
|
|
570
770
|
*
|
|
@@ -573,6 +773,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
573
773
|
* @param fullName Complete human-readable name of the token
|
|
574
774
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
575
775
|
* @param contractName Contract address of this token
|
|
776
|
+
* @param contractAddress Contract address of this token
|
|
576
777
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
577
778
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
578
779
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -580,7 +781,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
580
781
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
581
782
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
582
783
|
*/
|
|
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>;
|
|
784
|
+
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
785
|
/**
|
|
585
786
|
* Factory function for testnet eos token instances.
|
|
586
787
|
*
|
|
@@ -588,14 +789,16 @@ export declare function eosToken(id: string, name: string, fullName: string, dec
|
|
|
588
789
|
* @param name unique identifier of the token
|
|
589
790
|
* @param fullName Complete human-readable name of the token
|
|
590
791
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
792
|
+
* @param contractName Contract address of this token
|
|
591
793
|
* @param contractAddress Contract address of this token
|
|
592
794
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
593
795
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
594
796
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
797
|
+
* @param symbol? token symbol as defined in token contract.
|
|
595
798
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
596
799
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
597
800
|
*/
|
|
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>;
|
|
801
|
+
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
802
|
/**
|
|
600
803
|
* Factory function for sol token instances.
|
|
601
804
|
*
|
|
@@ -604,6 +807,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
604
807
|
* @param fullName Complete human-readable name of the token
|
|
605
808
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
606
809
|
* @param tokenAddress Token address of this token
|
|
810
|
+
* @param contractAddress Contract address of this token
|
|
607
811
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
608
812
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
609
813
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -611,7 +815,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
611
815
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
612
816
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
613
817
|
*/
|
|
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>;
|
|
818
|
+
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
819
|
/**
|
|
616
820
|
* Factory function for testnet solana token instances.
|
|
617
821
|
*
|
|
@@ -626,7 +830,7 @@ export declare function solToken(id: string, name: string, fullName: string, dec
|
|
|
626
830
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
627
831
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
628
832
|
*/
|
|
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>;
|
|
833
|
+
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
834
|
/**
|
|
631
835
|
* Factory function for ada token instances.
|
|
632
836
|
*
|
|
@@ -707,7 +911,7 @@ export declare function tavaxErc20(id: string, name: string, fullName: string, d
|
|
|
707
911
|
*/
|
|
708
912
|
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
913
|
/**
|
|
710
|
-
* Factory function for
|
|
914
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
711
915
|
*
|
|
712
916
|
* @param id uuid v4
|
|
713
917
|
* @param name unique identifier of the token
|
|
@@ -722,6 +926,198 @@ export declare function polygonErc20(id: string, name: string, fullName: string,
|
|
|
722
926
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
723
927
|
*/
|
|
724
928
|
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>;
|
|
929
|
+
/**
|
|
930
|
+
* Factory function for arbethErc20 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 Arbitrum main 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 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>;
|
|
945
|
+
/**
|
|
946
|
+
* Factory function for Arbitrum Sepolia testnet arbethErc20 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 the Arbitrum test 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 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>;
|
|
961
|
+
/**
|
|
962
|
+
* Factory function for opethErc20 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 Optimism main 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 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>;
|
|
977
|
+
/**
|
|
978
|
+
* Factory function for Optimism Sepolia testnet opethErc20 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 the Optimism test 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 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>;
|
|
993
|
+
/**
|
|
994
|
+
* Factory function for zkethErc20 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 zkSync mainnet 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 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>;
|
|
1009
|
+
/**
|
|
1010
|
+
* Factory function for zkSync Sepolia testnet zkethErc20 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 the zkSync sepolia test 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 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>;
|
|
1025
|
+
/**
|
|
1026
|
+
* Factory function for beraErc20 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 bera mainnet 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 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>;
|
|
1041
|
+
/**
|
|
1042
|
+
* Factory function for zkSync Sepolia testnet beraErc20 token instances.
|
|
1043
|
+
*
|
|
1044
|
+
* @param id uuid v4
|
|
1045
|
+
* @param name unique identifier of the token
|
|
1046
|
+
* @param fullName Complete human-readable name of the token
|
|
1047
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1048
|
+
* @param contractAddress Contract address of this token
|
|
1049
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1050
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1051
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1052
|
+
* @param network? Optional token network. Defaults to the bera test network.
|
|
1053
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1054
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1055
|
+
*/
|
|
1056
|
+
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>;
|
|
1057
|
+
/**
|
|
1058
|
+
* Factory function for CoredaoErc20 token instances.
|
|
1059
|
+
*
|
|
1060
|
+
* @param id uuid v4
|
|
1061
|
+
* @param name unique identifier of the token
|
|
1062
|
+
* @param fullName Complete human-readable name of the token
|
|
1063
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1064
|
+
* @param contractAddress Contract address of this token
|
|
1065
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1066
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1067
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1068
|
+
* @param network? Optional token network. Defaults to coredao mainnet network.
|
|
1069
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1070
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1071
|
+
*/
|
|
1072
|
+
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>;
|
|
1073
|
+
/**
|
|
1074
|
+
* Factory function for coredao testnet coredaoErc20 token instances.
|
|
1075
|
+
*
|
|
1076
|
+
* @param id uuid v4
|
|
1077
|
+
* @param name unique identifier of the token
|
|
1078
|
+
* @param fullName Complete human-readable name of the token
|
|
1079
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1080
|
+
* @param contractAddress Contract address of this token
|
|
1081
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1082
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1083
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1084
|
+
* @param network? Optional token network. Defaults to the coredao test network.
|
|
1085
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1086
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1087
|
+
*/
|
|
1088
|
+
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>;
|
|
1089
|
+
/**
|
|
1090
|
+
* Factory function for WorldErc20 token instances.
|
|
1091
|
+
*
|
|
1092
|
+
* @param id uuid v4
|
|
1093
|
+
* @param name unique identifier of the token
|
|
1094
|
+
* @param fullName Complete human-readable name of the token
|
|
1095
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1096
|
+
* @param contractAddress Contract address of this token
|
|
1097
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1098
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1099
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1100
|
+
* @param network? Optional token network. Defaults to World Chain mainnet network.
|
|
1101
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1102
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1103
|
+
*/
|
|
1104
|
+
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>;
|
|
1105
|
+
/**
|
|
1106
|
+
* Factory function for world testnet worldErc20 token instances.
|
|
1107
|
+
*
|
|
1108
|
+
* @param id uuid v4
|
|
1109
|
+
* @param name unique identifier of the token
|
|
1110
|
+
* @param fullName Complete human-readable name of the token
|
|
1111
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1112
|
+
* @param contractAddress Contract address of this token
|
|
1113
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1114
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1115
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1116
|
+
* @param network? Optional token network. Defaults to the World Chain test network.
|
|
1117
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1118
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1119
|
+
*/
|
|
1120
|
+
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
1121
|
/**
|
|
726
1122
|
* Factory function for xrp token instances.
|
|
727
1123
|
*
|
|
@@ -731,6 +1127,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
731
1127
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
732
1128
|
* @param issuerAddress: The address of the issuer of the token,
|
|
733
1129
|
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1130
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
734
1131
|
* @param domain? the domain of the issuer of the token,
|
|
735
1132
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
736
1133
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
@@ -739,7 +1136,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
739
1136
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
740
1137
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
741
1138
|
*/
|
|
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>;
|
|
1139
|
+
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
1140
|
/**
|
|
744
1141
|
* Factory function for testnet cardano token instances.
|
|
745
1142
|
*
|
|
@@ -749,6 +1146,7 @@ export declare function xrpToken(id: string, name: string, fullName: string, dec
|
|
|
749
1146
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
750
1147
|
* @param issuerAddress: The address of the issuer of the token,
|
|
751
1148
|
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1149
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
752
1150
|
* @param domain? the domain of the issuer of the token,
|
|
753
1151
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
754
1152
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
@@ -756,7 +1154,107 @@ export declare function xrpToken(id: string, name: string, fullName: string, dec
|
|
|
756
1154
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
757
1155
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
758
1156
|
*/
|
|
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>;
|
|
1157
|
+
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>;
|
|
1158
|
+
/**
|
|
1159
|
+
* Factory function for sui token instances.
|
|
1160
|
+
*
|
|
1161
|
+
* @param id uuid v4
|
|
1162
|
+
* @param name unique identifier of the token
|
|
1163
|
+
* @param fullName Complete human-readable name of the token
|
|
1164
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1165
|
+
* @param packageId PackageId of this token
|
|
1166
|
+
* @param module The module of the package with id `packageId`
|
|
1167
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1168
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1169
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1170
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
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 SUI main network.
|
|
1174
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1175
|
+
*/
|
|
1176
|
+
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>;
|
|
1177
|
+
/**
|
|
1178
|
+
* Factory function for testnet sui token instances.
|
|
1179
|
+
*
|
|
1180
|
+
* @param id uuid v4
|
|
1181
|
+
* @param name unique identifier of the token
|
|
1182
|
+
* @param fullName Complete human-readable name of the token
|
|
1183
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1184
|
+
* @param packageId PackageId of this token
|
|
1185
|
+
* @param module The module of the package with id `packageId`
|
|
1186
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1187
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1188
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1189
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1190
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1191
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1192
|
+
* @param network? Optional token network. Defaults to SUI test network.
|
|
1193
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1194
|
+
*/
|
|
1195
|
+
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>;
|
|
1196
|
+
/**
|
|
1197
|
+
* Factory function for apt token instances.
|
|
1198
|
+
*
|
|
1199
|
+
* @param id uuid v4
|
|
1200
|
+
* @param name unique identifier of the token
|
|
1201
|
+
* @param fullName Complete human-readable name of the token
|
|
1202
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1203
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1204
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1205
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1206
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1207
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1208
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1209
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1210
|
+
*/
|
|
1211
|
+
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>;
|
|
1212
|
+
/**
|
|
1213
|
+
* Factory function for Apt NFT collections.
|
|
1214
|
+
*
|
|
1215
|
+
* @param id uuid v4
|
|
1216
|
+
* @param name unique identifier of the NFT collection
|
|
1217
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1218
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1219
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1220
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1221
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1222
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1223
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1224
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1225
|
+
*/
|
|
1226
|
+
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>;
|
|
1227
|
+
/**
|
|
1228
|
+
* Factory function for testnet apt token instances.
|
|
1229
|
+
*
|
|
1230
|
+
* @param id uuid v4
|
|
1231
|
+
* @param name unique identifier of the token
|
|
1232
|
+
* @param fullName Complete human-readable name of the token
|
|
1233
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1234
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1235
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
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 the testnet APT network.
|
|
1239
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1240
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1241
|
+
*/
|
|
1242
|
+
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>;
|
|
1243
|
+
/**
|
|
1244
|
+
* Factory function for testnet Apt NFT collections.
|
|
1245
|
+
*
|
|
1246
|
+
* @param id uuid v4
|
|
1247
|
+
* @param name unique identifier of the NFT collection
|
|
1248
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1249
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1250
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1251
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1252
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1253
|
+
* @param network Optional token network. Defaults to APT test network.
|
|
1254
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1255
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1256
|
+
*/
|
|
1257
|
+
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
1258
|
/**
|
|
761
1259
|
* Factory function for fiat coin instances.
|
|
762
1260
|
*
|
|
@@ -773,5 +1271,181 @@ export declare function txrpToken(id: string, name: string, fullName: string, de
|
|
|
773
1271
|
* @param isToken? Whether or not this coin is a token of another coin
|
|
774
1272
|
*/
|
|
775
1273
|
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>;
|
|
1274
|
+
/**
|
|
1275
|
+
* Factory function for sip10 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 assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1282
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1283
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1284
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1285
|
+
* @param network? Optional token network. Defaults to Stacks main network.
|
|
1286
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1287
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1288
|
+
*/
|
|
1289
|
+
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>;
|
|
1290
|
+
/**
|
|
1291
|
+
* Factory function for testnet sip10 token instances.
|
|
1292
|
+
*
|
|
1293
|
+
* @param id uuid v4
|
|
1294
|
+
* @param name unique identifier of the token
|
|
1295
|
+
* @param fullName Complete human-readable name of the token
|
|
1296
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1297
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1298
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1299
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1300
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1301
|
+
* @param network? Optional token network. Defaults to the testnet Stacks network.
|
|
1302
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1303
|
+
*/
|
|
1304
|
+
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>;
|
|
1305
|
+
/**
|
|
1306
|
+
* Factory function for nep141 token instances.
|
|
1307
|
+
*
|
|
1308
|
+
* @param id uuid v4
|
|
1309
|
+
* @param name unique identifier of the token
|
|
1310
|
+
* @param fullName Complete human-readable name of the token
|
|
1311
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1312
|
+
* @param contractAddress Contract address of this token
|
|
1313
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1314
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1315
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1316
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1317
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1318
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1319
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1320
|
+
*/
|
|
1321
|
+
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>;
|
|
1322
|
+
/**
|
|
1323
|
+
* Factory function for testnet nep141 token instances.
|
|
1324
|
+
*
|
|
1325
|
+
* @param id uuid v4
|
|
1326
|
+
* @param name unique identifier of the token
|
|
1327
|
+
* @param fullName Complete human-readable name of the token
|
|
1328
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1329
|
+
* @param contractAddress Contract address of this token
|
|
1330
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1331
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1332
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1333
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1334
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1335
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1336
|
+
*/
|
|
1337
|
+
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>;
|
|
1338
|
+
/**
|
|
1339
|
+
* Factory function for vet token instances.
|
|
1340
|
+
*
|
|
1341
|
+
* @param id uuid v4
|
|
1342
|
+
* @param name unique identifier of the token
|
|
1343
|
+
* @param fullName Complete human-readable name of the token
|
|
1344
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1345
|
+
* @param contractAddress Contract address of this token
|
|
1346
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1347
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1348
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1349
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1350
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1351
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1352
|
+
*/
|
|
1353
|
+
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>;
|
|
1354
|
+
/**
|
|
1355
|
+
* Factory function for testnet vet token instances.
|
|
1356
|
+
*
|
|
1357
|
+
* @param id uuid v4
|
|
1358
|
+
* @param name unique identifier of the token
|
|
1359
|
+
* @param fullName Complete human-readable name of the token
|
|
1360
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1361
|
+
* @param contractAddress Contract address of this token
|
|
1362
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1363
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1364
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1365
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1366
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1367
|
+
*/
|
|
1368
|
+
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>;
|
|
1369
|
+
/**
|
|
1370
|
+
* Factory function for Cosmos chain token instances.
|
|
1371
|
+
*
|
|
1372
|
+
* @param id uuid v4
|
|
1373
|
+
* @param name unique identifier of the token
|
|
1374
|
+
* @param fullName Complete human-readable name of the token
|
|
1375
|
+
* @param denom denomination of this token which will act as a unique identifier for the token on chain
|
|
1376
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1377
|
+
* @param network Network (mainnet or testnet) for this token
|
|
1378
|
+
* @param baseUnit Base unit of this token (native asset)
|
|
1379
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1380
|
+
* @param features Features of this coin. Defaults to the COSMOS_SIDECHAIN_FEATURES defined in `coinFeatures.ts`
|
|
1381
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1382
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1383
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1384
|
+
*/
|
|
1385
|
+
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>;
|
|
1386
|
+
/**
|
|
1387
|
+
* Factory function for tao token instances.
|
|
1388
|
+
*
|
|
1389
|
+
* @param id uuid v4
|
|
1390
|
+
* @param name unique identifier of the token
|
|
1391
|
+
* @param fullName Complete human-readable name of the token
|
|
1392
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1393
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1394
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1395
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1396
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1397
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1398
|
+
* @param network? Optional token network. Defaults to TAO main network.
|
|
1399
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1400
|
+
*/
|
|
1401
|
+
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>;
|
|
1402
|
+
/**
|
|
1403
|
+
* Factory function for testnet tao token instances.
|
|
1404
|
+
*
|
|
1405
|
+
* @param id uuid v4
|
|
1406
|
+
* @param name unique identifier of the token
|
|
1407
|
+
* @param fullName Complete human-readable name of the token
|
|
1408
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1409
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1410
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1411
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1412
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1413
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1414
|
+
* @param network? Optional token network. Defaults to TAO test network.
|
|
1415
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1416
|
+
*/
|
|
1417
|
+
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>;
|
|
1418
|
+
/**
|
|
1419
|
+
* Factory function for tao token instances.
|
|
1420
|
+
*
|
|
1421
|
+
* @param id uuid v4
|
|
1422
|
+
* @param name unique identifier of the token
|
|
1423
|
+
* @param fullName Complete human-readable name of the token
|
|
1424
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1425
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1426
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1427
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1428
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1429
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1430
|
+
* @param network? Optional token network. Defaults to TAO main network.
|
|
1431
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1432
|
+
*/
|
|
1433
|
+
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>;
|
|
1434
|
+
/**
|
|
1435
|
+
* Factory function for testnet tao token instances.
|
|
1436
|
+
*
|
|
1437
|
+
* @param id uuid v4
|
|
1438
|
+
* @param name unique identifier of the token
|
|
1439
|
+
* @param fullName Complete human-readable name of the token
|
|
1440
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1441
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1442
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1443
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1444
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1445
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1446
|
+
* @param network? Optional token network. Defaults to TAO test network.
|
|
1447
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1448
|
+
*/
|
|
1449
|
+
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
1450
|
export {};
|
|
777
1451
|
//# sourceMappingURL=account.d.ts.map
|