@bitgo-beta/statics 15.1.1-beta.118 → 15.1.1-beta.1180
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mocharc.js +1 -1
- package/CHANGELOG.md +3056 -0
- package/dist/src/account.d.ts +831 -52
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +1340 -149
- package/dist/src/ada.d.ts.map +1 -1
- package/dist/src/ada.js +7 -3
- package/dist/src/allCoinsAndTokens.d.ts +2 -0
- package/dist/src/allCoinsAndTokens.d.ts.map +1 -0
- package/dist/src/allCoinsAndTokens.js +779 -0
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +8 -3
- package/dist/src/base.d.ts +1774 -40
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +1842 -50
- package/dist/src/coinFeatures.d.ts +101 -0
- package/dist/src/coinFeatures.d.ts.map +1 -0
- package/dist/src/coinFeatures.js +611 -0
- package/dist/src/coins/adaTokens.d.ts +2 -0
- package/dist/src/coins/adaTokens.d.ts.map +1 -0
- package/dist/src/coins/adaTokens.js +12 -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 +123 -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 +169 -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 +1731 -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 +685 -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 +1527 -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 +154 -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 +3 -0
- package/dist/src/coins/solTokens.d.ts.map +1 -0
- package/dist/src/coins/solTokens.js +388 -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 +11 -1
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +311 -1580
- 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/flrp.d.ts +40 -0
- package/dist/src/flrp.d.ts.map +1 -0
- package/dist/src/flrp.js +65 -0
- package/dist/src/index.d.ts +3 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +25 -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 +118 -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 +1166 -1
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +1463 -43
- package/dist/src/ofc.d.ts +529 -3
- package/dist/src/ofc.d.ts.map +1 -1
- package/dist/src/ofc.js +1261 -28
- package/dist/src/tokenConfig.d.ts +217 -14
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +816 -244
- 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,25 @@ 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 | CoinFeature.STABLECOIN)[];
|
|
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
|
+
static getFeaturesByTypeExcluding(excludedFeatures: CoinFeature[], baseFeatures?: CoinFeature[]): CoinFeature[];
|
|
41
|
+
}
|
|
42
|
+
export interface GasTankAccountConstructorOptions extends AccountConstructorOptions {
|
|
43
|
+
gasTankLowBalanceAlertFactor: number;
|
|
44
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
45
|
+
gasTankToken?: string;
|
|
31
46
|
}
|
|
32
47
|
export interface Erc20ConstructorOptions extends AccountConstructorOptions {
|
|
33
48
|
contractAddress: string;
|
|
34
49
|
}
|
|
50
|
+
export interface NFTCollectionIdConstructorOptions extends AccountConstructorOptions {
|
|
51
|
+
nftCollectionId: string;
|
|
52
|
+
}
|
|
35
53
|
export interface StellarCoinConstructorOptions extends AccountConstructorOptions {
|
|
36
54
|
domain: string;
|
|
37
55
|
}
|
|
@@ -40,36 +58,75 @@ export interface HederaCoinConstructorOptions extends AccountConstructorOptions
|
|
|
40
58
|
}
|
|
41
59
|
export interface HederaTokenConstructorOptions extends AccountConstructorOptions {
|
|
42
60
|
nodeAccountId: string;
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
export interface AlgoCoinConstructorOptions extends AccountConstructorOptions {
|
|
46
|
-
tokenURL: string;
|
|
61
|
+
contractAddress: string;
|
|
47
62
|
}
|
|
48
63
|
export interface EosCoinConstructorOptions extends AccountConstructorOptions {
|
|
49
64
|
contractName: string;
|
|
65
|
+
contractAddress: string;
|
|
66
|
+
symbol?: string;
|
|
50
67
|
}
|
|
51
68
|
export interface SolCoinConstructorOptions extends AccountConstructorOptions {
|
|
52
69
|
tokenAddress: string;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
policyId: string;
|
|
56
|
-
assetName: string;
|
|
70
|
+
contractAddress: string;
|
|
71
|
+
programId: string;
|
|
57
72
|
}
|
|
58
73
|
export interface XrpCoinConstructorOptions extends AccountConstructorOptions {
|
|
59
74
|
issuerAddress: string;
|
|
60
75
|
currencyCode: string;
|
|
61
76
|
domain: string;
|
|
77
|
+
contractAddress: string;
|
|
78
|
+
}
|
|
79
|
+
export interface SuiCoinConstructorOptions extends AccountConstructorOptions {
|
|
80
|
+
packageId: string;
|
|
81
|
+
module: string;
|
|
82
|
+
symbol: string;
|
|
83
|
+
contractAddress: string;
|
|
62
84
|
}
|
|
63
|
-
|
|
85
|
+
export interface AptCoinConstructorOptions extends AccountConstructorOptions {
|
|
86
|
+
assetId: string;
|
|
87
|
+
}
|
|
88
|
+
export interface TaoCoinConstructorOptions extends AccountConstructorOptions {
|
|
89
|
+
subnetId: string;
|
|
90
|
+
}
|
|
91
|
+
export interface PolyxCoinConstructorOptions extends AccountConstructorOptions {
|
|
92
|
+
ticker: string;
|
|
93
|
+
assetId: string;
|
|
94
|
+
}
|
|
95
|
+
type FiatCoinName = `fiat${string}` | `tfiat${string}`;
|
|
64
96
|
export interface FiatCoinConstructorOptions extends AccountConstructorOptions {
|
|
65
97
|
name: FiatCoinName;
|
|
66
98
|
}
|
|
99
|
+
export interface Sip10TokenConstructorOptions extends AccountConstructorOptions {
|
|
100
|
+
assetId: string;
|
|
101
|
+
}
|
|
102
|
+
export interface Nep141TokenConstructorOptions extends AccountConstructorOptions {
|
|
103
|
+
contractAddress: string;
|
|
104
|
+
storageDepositAmount: string;
|
|
105
|
+
}
|
|
106
|
+
export interface VetTokenConstructorOptions extends AccountConstructorOptions {
|
|
107
|
+
contractAddress: string;
|
|
108
|
+
gasTankToken?: string;
|
|
109
|
+
}
|
|
110
|
+
export interface CosmosTokenConstructorOptions extends AccountConstructorOptions {
|
|
111
|
+
denom: string;
|
|
112
|
+
}
|
|
113
|
+
export interface AdaTokenConstructorOptions extends AccountConstructorOptions {
|
|
114
|
+
policyId: string;
|
|
115
|
+
assetName: string;
|
|
116
|
+
contractAddress: string;
|
|
117
|
+
}
|
|
67
118
|
export interface ContractAddress extends String {
|
|
68
119
|
__contractaddress_phantom__: never;
|
|
69
120
|
}
|
|
70
121
|
export declare class AccountCoinToken extends AccountCoin {
|
|
71
122
|
constructor(options: AccountConstructorOptions);
|
|
72
123
|
}
|
|
124
|
+
export declare class GasTankAccountCoin extends AccountCoin {
|
|
125
|
+
gasTankLowBalanceAlertFactor: number;
|
|
126
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
127
|
+
gasTankToken?: string;
|
|
128
|
+
constructor(options: GasTankAccountConstructorOptions);
|
|
129
|
+
}
|
|
73
130
|
/**
|
|
74
131
|
* Some blockchains support tokens which are defined by an address at which they have a smart contract deployed.
|
|
75
132
|
* Examples are ERC20 tokens, and the equivalent on other chains.
|
|
@@ -78,6 +135,13 @@ export declare class ContractAddressDefinedToken extends AccountCoinToken {
|
|
|
78
135
|
contractAddress: ContractAddress;
|
|
79
136
|
constructor(options: Erc20ConstructorOptions);
|
|
80
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* Used for blockchains that support NFT collections.
|
|
140
|
+
*/
|
|
141
|
+
export declare class NFTCollectionIdDefinedToken extends AccountCoinToken {
|
|
142
|
+
nftCollectionId: string;
|
|
143
|
+
constructor(options: NFTCollectionIdConstructorOptions);
|
|
144
|
+
}
|
|
81
145
|
/**
|
|
82
146
|
* ERC20 token addresses are Base58 formatted on some blockchains.
|
|
83
147
|
*/
|
|
@@ -155,6 +219,7 @@ export declare class HederaCoin extends AccountCoinToken {
|
|
|
155
219
|
export declare class HederaToken extends AccountCoinToken {
|
|
156
220
|
nodeAccountId: string;
|
|
157
221
|
tokenId: string;
|
|
222
|
+
contractAddress: string;
|
|
158
223
|
constructor(options: HederaTokenConstructorOptions);
|
|
159
224
|
}
|
|
160
225
|
/**
|
|
@@ -164,8 +229,7 @@ export declare class HederaToken extends AccountCoinToken {
|
|
|
164
229
|
*
|
|
165
230
|
*/
|
|
166
231
|
export declare class AlgoCoin extends AccountCoinToken {
|
|
167
|
-
|
|
168
|
-
constructor(options: AlgoCoinConstructorOptions);
|
|
232
|
+
constructor(options: AccountConstructorOptions);
|
|
169
233
|
}
|
|
170
234
|
/**
|
|
171
235
|
* The Eos network supports tokens
|
|
@@ -175,6 +239,8 @@ export declare class AlgoCoin extends AccountCoinToken {
|
|
|
175
239
|
*/
|
|
176
240
|
export declare class EosCoin extends AccountCoinToken {
|
|
177
241
|
contractName: string;
|
|
242
|
+
contractAddress: string;
|
|
243
|
+
symbol: string;
|
|
178
244
|
constructor(options: EosCoinConstructorOptions);
|
|
179
245
|
}
|
|
180
246
|
/**
|
|
@@ -185,17 +251,12 @@ export declare class EosCoin extends AccountCoinToken {
|
|
|
185
251
|
*/
|
|
186
252
|
export declare class SolCoin extends AccountCoinToken {
|
|
187
253
|
tokenAddress: string;
|
|
254
|
+
contractAddress: string;
|
|
255
|
+
programId: string;
|
|
188
256
|
constructor(options: SolCoinConstructorOptions);
|
|
189
257
|
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
* Ada tokens are identified by their policy ID and asset name
|
|
193
|
-
*
|
|
194
|
-
*/
|
|
195
|
-
export declare class AdaCoin extends AccountCoinToken {
|
|
196
|
-
policyId: string;
|
|
197
|
-
assetName: string;
|
|
198
|
-
constructor(options: AdaCoinConstructorOptions);
|
|
258
|
+
export declare class EthLikeERC20Token extends ContractAddressDefinedToken {
|
|
259
|
+
constructor(options: Erc20ConstructorOptions);
|
|
199
260
|
}
|
|
200
261
|
/**
|
|
201
262
|
* The AVAX C Chain network support tokens
|
|
@@ -211,6 +272,55 @@ export declare class AvaxERC20Token extends ContractAddressDefinedToken {
|
|
|
211
272
|
export declare class PolygonERC20Token extends ContractAddressDefinedToken {
|
|
212
273
|
constructor(options: Erc20ConstructorOptions);
|
|
213
274
|
}
|
|
275
|
+
/**
|
|
276
|
+
* The Arbitrum Chain network support tokens
|
|
277
|
+
* Arbitrum Chain Tokens are ERC20 tokens
|
|
278
|
+
*/
|
|
279
|
+
export declare class ArbethERC20Token extends ContractAddressDefinedToken {
|
|
280
|
+
constructor(options: Erc20ConstructorOptions);
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* The Optimism Chain network support tokens
|
|
284
|
+
* Optimism Chain Tokens are ERC20 tokens
|
|
285
|
+
*/
|
|
286
|
+
export declare class OpethERC20Token extends ContractAddressDefinedToken {
|
|
287
|
+
constructor(options: Erc20ConstructorOptions);
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* The zkSync network support tokens
|
|
291
|
+
* zkSync Tokens are ERC20 tokens
|
|
292
|
+
*/
|
|
293
|
+
export declare class ZkethERC20Token extends ContractAddressDefinedToken {
|
|
294
|
+
constructor(options: Erc20ConstructorOptions);
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* The Bera Chain network support tokens
|
|
298
|
+
* Bera Chain Tokens are ERC20 tokens
|
|
299
|
+
*/
|
|
300
|
+
export declare class BeraERC20Token extends ContractAddressDefinedToken {
|
|
301
|
+
constructor(options: Erc20ConstructorOptions);
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* The Coredao Chain network support tokens
|
|
305
|
+
* Coredao Chain Tokens are ERC20 tokens
|
|
306
|
+
*/
|
|
307
|
+
export declare class CoredaoERC20Token extends ContractAddressDefinedToken {
|
|
308
|
+
constructor(options: Erc20ConstructorOptions);
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* The World Chain network supports tokens
|
|
312
|
+
* World Chain Tokens are ERC20 tokens
|
|
313
|
+
*/
|
|
314
|
+
export declare class WorldERC20Token extends ContractAddressDefinedToken {
|
|
315
|
+
constructor(options: Erc20ConstructorOptions);
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* The Flr Chain network supports tokens
|
|
319
|
+
* Flr Chain Tokens are ERC20 tokens
|
|
320
|
+
*/
|
|
321
|
+
export declare class FlrERC20Token extends ContractAddressDefinedToken {
|
|
322
|
+
constructor(options: Erc20ConstructorOptions);
|
|
323
|
+
}
|
|
214
324
|
/**
|
|
215
325
|
* The Xrp network supports tokens
|
|
216
326
|
* Xrp tokens are identified by their issuer address
|
|
@@ -221,8 +331,42 @@ export declare class XrpCoin extends AccountCoinToken {
|
|
|
221
331
|
issuerAddress: string;
|
|
222
332
|
currencyCode: string;
|
|
223
333
|
domain: string;
|
|
334
|
+
contractAddress: string;
|
|
224
335
|
constructor(options: XrpCoinConstructorOptions);
|
|
225
336
|
}
|
|
337
|
+
export declare class SuiCoin extends AccountCoinToken {
|
|
338
|
+
packageId: string;
|
|
339
|
+
module: string;
|
|
340
|
+
symbol: string;
|
|
341
|
+
contractAddress: string;
|
|
342
|
+
constructor(options: SuiCoinConstructorOptions);
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* The Apt network supports tokens
|
|
346
|
+
* Apt tokens work similar to native Apt coin, but the token name is determined by
|
|
347
|
+
* the tokenAddress on the chain.
|
|
348
|
+
*
|
|
349
|
+
*/
|
|
350
|
+
export declare class AptCoin extends AccountCoinToken {
|
|
351
|
+
assetId: string;
|
|
352
|
+
constructor(options: AptCoinConstructorOptions);
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* The Apt network supports non-fungible tokens (Digital Asset Standard)
|
|
356
|
+
* Every NFT belongs to an NFT collection.
|
|
357
|
+
*/
|
|
358
|
+
export declare class AptNFTCollection extends NFTCollectionIdDefinedToken {
|
|
359
|
+
}
|
|
360
|
+
/**
|
|
361
|
+
* The Vechain network supports non-fungible tokens
|
|
362
|
+
* Every NFT belongs to an NFT collection(contract).
|
|
363
|
+
*/
|
|
364
|
+
export declare class VetNFTCollection extends NFTCollectionIdDefinedToken {
|
|
365
|
+
gasTankToken?: string;
|
|
366
|
+
constructor(options: NFTCollectionIdConstructorOptions & {
|
|
367
|
+
gasTankToken?: string;
|
|
368
|
+
});
|
|
369
|
+
}
|
|
226
370
|
/**
|
|
227
371
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
228
372
|
*/
|
|
@@ -233,6 +377,62 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
233
377
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
234
378
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
235
379
|
}
|
|
380
|
+
/**
|
|
381
|
+
* The Stacks network supports tokens
|
|
382
|
+
* Stx tokens work similar to native Stx coin, but the token name is determined by
|
|
383
|
+
* the contractName on the chain.
|
|
384
|
+
*/
|
|
385
|
+
export declare class Sip10Token extends AccountCoinToken {
|
|
386
|
+
assetId: string;
|
|
387
|
+
constructor(options: Sip10TokenConstructorOptions);
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* The Near network supports tokens
|
|
391
|
+
* Near tokens work similar to native near coin
|
|
392
|
+
*/
|
|
393
|
+
export declare class Nep141Token extends AccountCoinToken {
|
|
394
|
+
contractAddress: string;
|
|
395
|
+
storageDepositAmount: string;
|
|
396
|
+
constructor(options: Nep141TokenConstructorOptions);
|
|
397
|
+
}
|
|
398
|
+
export declare class VetToken extends AccountCoinToken {
|
|
399
|
+
contractAddress: string;
|
|
400
|
+
gasTankToken?: string;
|
|
401
|
+
constructor(options: VetTokenConstructorOptions);
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
* Cosmos network supports tokens
|
|
405
|
+
* Cosmos tokens work similar to native coins, but the token is determined by
|
|
406
|
+
* the denom on chain.
|
|
407
|
+
*
|
|
408
|
+
*/
|
|
409
|
+
export declare class CosmosChainToken extends AccountCoinToken {
|
|
410
|
+
denom: string;
|
|
411
|
+
constructor(options: CosmosTokenConstructorOptions);
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* The Bittensor network supports tokens
|
|
415
|
+
* The token name is determined by the subnetId on chain.
|
|
416
|
+
*/
|
|
417
|
+
export declare class TaoCoin extends AccountCoinToken {
|
|
418
|
+
subnetId: string;
|
|
419
|
+
constructor(options: TaoCoinConstructorOptions);
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* The Bittensor network supports tokens
|
|
423
|
+
* The token name is determined by the subnetId on chain.
|
|
424
|
+
*/
|
|
425
|
+
export declare class PolyxCoin extends AccountCoinToken {
|
|
426
|
+
ticker: string;
|
|
427
|
+
assetId: string;
|
|
428
|
+
constructor(options: PolyxCoinConstructorOptions);
|
|
429
|
+
}
|
|
430
|
+
export declare class AdaToken extends AccountCoinToken {
|
|
431
|
+
policyId: string;
|
|
432
|
+
assetName: string;
|
|
433
|
+
contractAddress: string;
|
|
434
|
+
constructor(options: AdaTokenConstructorOptions);
|
|
435
|
+
}
|
|
236
436
|
/**
|
|
237
437
|
* Factory function for account coin instances.
|
|
238
438
|
*
|
|
@@ -249,6 +449,42 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
249
449
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
250
450
|
*/
|
|
251
451
|
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>;
|
|
452
|
+
/**
|
|
453
|
+
* Factory function for gas tank account coin instances.
|
|
454
|
+
*
|
|
455
|
+
* @param id uuid v4
|
|
456
|
+
* @param name unique identifier of the coin
|
|
457
|
+
* @param fullName Complete human-readable name of the coin
|
|
458
|
+
* @param network Network object for this coin
|
|
459
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
460
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
461
|
+
* @param baseUnit
|
|
462
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
463
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
464
|
+
* @param gasTankLowBalanceAlertFactor Low gas tank balance alert threshold = (feeEstimate x gasTankLowBalanceAlertFactor)
|
|
465
|
+
* @param gasTankMinBalanceRecommendationFactor Min gas tank balance recommendation = (feeEstimate x gasTankMinBalanceRecommendationFactor)
|
|
466
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
467
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
468
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
469
|
+
*/
|
|
470
|
+
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>;
|
|
471
|
+
/**
|
|
472
|
+
* Factory function for ethLikeErc20 token instances.
|
|
473
|
+
*
|
|
474
|
+
* @param id uuid v4
|
|
475
|
+
* @param name unique identifier of the token
|
|
476
|
+
* @param fullName Complete human-readable name of the token
|
|
477
|
+
* @param decimalPlaces Number of decimal places this token supports
|
|
478
|
+
* @param contractAddress Contract address of this token
|
|
479
|
+
* @param asset Asset which this coin represents
|
|
480
|
+
* @param network Optional token network
|
|
481
|
+
* @param coinNames The parent coin names for mainnet and testnet
|
|
482
|
+
* @param features Features of this coin
|
|
483
|
+
* @param prefix Optional token prefix
|
|
484
|
+
* @param suffix Optional token suffix
|
|
485
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
486
|
+
*/
|
|
487
|
+
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
488
|
/**
|
|
253
489
|
* Factory function for erc20 token instances.
|
|
254
490
|
*
|
|
@@ -305,7 +541,7 @@ export declare function erc721(id: string, name: string, fullName: string, contr
|
|
|
305
541
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
306
542
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
307
543
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
308
|
-
* @param network? Optional token network. Defaults to
|
|
544
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
309
545
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
310
546
|
*/
|
|
311
547
|
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 +585,7 @@ export declare function erc1155(id: string, name: string, fullName: string, cont
|
|
|
349
585
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
350
586
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
351
587
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
352
|
-
* @param network? Optional token network. Defaults to
|
|
588
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
353
589
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
354
590
|
*/
|
|
355
591
|
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 +613,11 @@ export declare function erc20CompatibleAccountCoin(id: string, name: string, ful
|
|
|
377
613
|
* @param fullName Complete human-readable name of the token
|
|
378
614
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
379
615
|
* @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
|
|
616
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
617
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
618
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
619
|
+
* @param network ? Optional token network. Defaults to CELO main network.
|
|
620
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
385
621
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
386
622
|
*/
|
|
387
623
|
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 +630,10 @@ export declare function celoToken(id: string, name: string, fullName: string, de
|
|
|
394
630
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
395
631
|
* @param contractAddress Contract address of this token
|
|
396
632
|
* @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
|
|
633
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
634
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
635
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
636
|
+
* @param network ? Optional token network. Defaults to the testnet CELO network.
|
|
401
637
|
*/
|
|
402
638
|
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
639
|
/**
|
|
@@ -511,7 +747,7 @@ export declare function ttronToken(id: string, name: string, fullName: string, d
|
|
|
511
747
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
512
748
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
513
749
|
*/
|
|
514
|
-
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
750
|
+
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
751
|
/**
|
|
516
752
|
* Factory function for Hedera token instances
|
|
517
753
|
*
|
|
@@ -522,13 +758,14 @@ export declare function hederaCoin(id: string, name: string, fullName: string, n
|
|
|
522
758
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
523
759
|
* @param nodeAccountId node account Id from which the transaction will be sent
|
|
524
760
|
* @param tokenId The unique identifier of this token
|
|
761
|
+
* @param contractAddress Contract address of this token, same as tokenId
|
|
525
762
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
526
763
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
527
764
|
* @param network? Optional token network. Defaults to Hedera mainnet.
|
|
528
765
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
529
766
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
530
767
|
*/
|
|
531
|
-
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
768
|
+
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
769
|
/**
|
|
533
770
|
* Factory function for ALGO token instances.
|
|
534
771
|
*
|
|
@@ -539,7 +776,6 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
539
776
|
* @param fullName Complete human-readable name of the token
|
|
540
777
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
541
778
|
* @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
779
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
544
780
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
545
781
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -547,7 +783,7 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
547
783
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
548
784
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
549
785
|
*/
|
|
550
|
-
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
786
|
+
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
787
|
/**
|
|
552
788
|
* Factory function for testnet ALGO token instances.
|
|
553
789
|
*
|
|
@@ -557,14 +793,13 @@ export declare function algoToken(id: string, name: string, alias: string | unde
|
|
|
557
793
|
* @param fullName Complete human-readable name of the token
|
|
558
794
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
559
795
|
* @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
796
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
562
797
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
563
798
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
564
799
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
565
800
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
566
801
|
*/
|
|
567
|
-
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
802
|
+
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
803
|
/**
|
|
569
804
|
* Factory function for eos token instances.
|
|
570
805
|
*
|
|
@@ -573,6 +808,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
573
808
|
* @param fullName Complete human-readable name of the token
|
|
574
809
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
575
810
|
* @param contractName Contract address of this token
|
|
811
|
+
* @param contractAddress Contract address of this token
|
|
576
812
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
577
813
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
578
814
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -580,7 +816,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
580
816
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
581
817
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
582
818
|
*/
|
|
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>;
|
|
819
|
+
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
820
|
/**
|
|
585
821
|
* Factory function for testnet eos token instances.
|
|
586
822
|
*
|
|
@@ -588,14 +824,16 @@ export declare function eosToken(id: string, name: string, fullName: string, dec
|
|
|
588
824
|
* @param name unique identifier of the token
|
|
589
825
|
* @param fullName Complete human-readable name of the token
|
|
590
826
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
827
|
+
* @param contractName Contract address of this token
|
|
591
828
|
* @param contractAddress Contract address of this token
|
|
592
829
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
593
830
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
594
831
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
832
|
+
* @param symbol? token symbol as defined in token contract.
|
|
595
833
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
596
834
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
597
835
|
*/
|
|
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>;
|
|
836
|
+
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
837
|
/**
|
|
600
838
|
* Factory function for sol token instances.
|
|
601
839
|
*
|
|
@@ -604,6 +842,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
604
842
|
* @param fullName Complete human-readable name of the token
|
|
605
843
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
606
844
|
* @param tokenAddress Token address of this token
|
|
845
|
+
* @param contractAddress Contract address of this token
|
|
607
846
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
608
847
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
609
848
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -611,7 +850,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
611
850
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
612
851
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
613
852
|
*/
|
|
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>;
|
|
853
|
+
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
854
|
/**
|
|
616
855
|
* Factory function for testnet solana token instances.
|
|
617
856
|
*
|
|
@@ -626,38 +865,42 @@ export declare function solToken(id: string, name: string, fullName: string, dec
|
|
|
626
865
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
627
866
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
628
867
|
*/
|
|
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>;
|
|
868
|
+
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
869
|
/**
|
|
631
|
-
* Factory function for
|
|
870
|
+
* Factory function for prod cardano token instances.
|
|
632
871
|
*
|
|
633
872
|
* @param id uuid v4
|
|
634
|
-
* @param name
|
|
873
|
+
* @param name Name of the token
|
|
635
874
|
* @param fullName Complete human-readable name of the token
|
|
636
875
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
637
|
-
* @param
|
|
876
|
+
* @param policyId Policy Id
|
|
877
|
+
* @param assetName Asset name -> Policy ID + Asset name is the unique identifier
|
|
878
|
+
* @param contractAddress Fingerprint of this token
|
|
638
879
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
639
880
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
640
881
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
641
|
-
* @param network? Optional token network. Defaults to Cardano
|
|
882
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
642
883
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
643
884
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
644
885
|
*/
|
|
645
|
-
export declare function adaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<
|
|
886
|
+
export declare function adaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AdaToken>;
|
|
646
887
|
/**
|
|
647
888
|
* Factory function for testnet cardano token instances.
|
|
648
889
|
*
|
|
649
890
|
* @param id uuid v4
|
|
650
|
-
* @param name
|
|
891
|
+
* @param name Name of the token
|
|
651
892
|
* @param fullName Complete human-readable name of the token
|
|
652
893
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
653
|
-
* @param
|
|
894
|
+
* @param policyId Policy Id
|
|
895
|
+
* @param assetName Asset name -> Policy ID + Asset name is the unique identifier
|
|
896
|
+
* @param contractAddress Fingerprint of this token
|
|
654
897
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
655
898
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
656
899
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
657
900
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
658
901
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
659
902
|
*/
|
|
660
|
-
export declare function tadaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, asset: UnderlyingAsset, features?: CoinFeature[],
|
|
903
|
+
export declare function tadaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], network?: AccountNetwork, prefix?: string, suffix?: string): Readonly<AdaToken>;
|
|
661
904
|
/**
|
|
662
905
|
* Factory function for avaxErc20 token instances.
|
|
663
906
|
*
|
|
@@ -707,7 +950,7 @@ export declare function tavaxErc20(id: string, name: string, fullName: string, d
|
|
|
707
950
|
*/
|
|
708
951
|
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
952
|
/**
|
|
710
|
-
* Factory function for
|
|
953
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
711
954
|
*
|
|
712
955
|
* @param id uuid v4
|
|
713
956
|
* @param name unique identifier of the token
|
|
@@ -722,6 +965,230 @@ export declare function polygonErc20(id: string, name: string, fullName: string,
|
|
|
722
965
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
723
966
|
*/
|
|
724
967
|
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>;
|
|
968
|
+
/**
|
|
969
|
+
* Factory function for arbethErc20 token instances.
|
|
970
|
+
*
|
|
971
|
+
* @param id uuid v4
|
|
972
|
+
* @param name unique identifier of the token
|
|
973
|
+
* @param fullName Complete human-readable name of the token
|
|
974
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
975
|
+
* @param contractAddress Contract address of this token
|
|
976
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
977
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
978
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
979
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
980
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
981
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
982
|
+
*/
|
|
983
|
+
export declare function 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>;
|
|
984
|
+
/**
|
|
985
|
+
* Factory function for Arbitrum Sepolia testnet arbethErc20 token instances.
|
|
986
|
+
*
|
|
987
|
+
* @param id uuid v4
|
|
988
|
+
* @param name unique identifier of the token
|
|
989
|
+
* @param fullName Complete human-readable name of the token
|
|
990
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
991
|
+
* @param contractAddress Contract address of this token
|
|
992
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
993
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
994
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
995
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
996
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
997
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
998
|
+
*/
|
|
999
|
+
export declare function 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>;
|
|
1000
|
+
/**
|
|
1001
|
+
* Factory function for opethErc20 token instances.
|
|
1002
|
+
*
|
|
1003
|
+
* @param id uuid v4
|
|
1004
|
+
* @param name unique identifier of the token
|
|
1005
|
+
* @param fullName Complete human-readable name of the token
|
|
1006
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1007
|
+
* @param contractAddress Contract address of this token
|
|
1008
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1009
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1010
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1011
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
1012
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1013
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1014
|
+
*/
|
|
1015
|
+
export declare function 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>;
|
|
1016
|
+
/**
|
|
1017
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
1018
|
+
*
|
|
1019
|
+
* @param id uuid v4
|
|
1020
|
+
* @param name unique identifier of the token
|
|
1021
|
+
* @param fullName Complete human-readable name of the token
|
|
1022
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1023
|
+
* @param contractAddress Contract address of this token
|
|
1024
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1025
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1026
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1027
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
1028
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1029
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1030
|
+
*/
|
|
1031
|
+
export declare function 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>;
|
|
1032
|
+
/**
|
|
1033
|
+
* Factory function for zkethErc20 token instances.
|
|
1034
|
+
*
|
|
1035
|
+
* @param id uuid v4
|
|
1036
|
+
* @param name unique identifier of the token
|
|
1037
|
+
* @param fullName Complete human-readable name of the token
|
|
1038
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1039
|
+
* @param contractAddress Contract address of this token
|
|
1040
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1041
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1042
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1043
|
+
* @param network? Optional token network. Defaults to zkSync mainnet network.
|
|
1044
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1045
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1046
|
+
*/
|
|
1047
|
+
export declare function 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>;
|
|
1048
|
+
/**
|
|
1049
|
+
* Factory function for zkSync Sepolia testnet zkethErc20 token instances.
|
|
1050
|
+
*
|
|
1051
|
+
* @param id uuid v4
|
|
1052
|
+
* @param name unique identifier of the token
|
|
1053
|
+
* @param fullName Complete human-readable name of the token
|
|
1054
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1055
|
+
* @param contractAddress Contract address of this token
|
|
1056
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1057
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1058
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1059
|
+
* @param network? Optional token network. Defaults to the zkSync sepolia test network.
|
|
1060
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1061
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1062
|
+
*/
|
|
1063
|
+
export declare function 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>;
|
|
1064
|
+
/**
|
|
1065
|
+
* Factory function for beraErc20 token instances.
|
|
1066
|
+
*
|
|
1067
|
+
* @param id uuid v4
|
|
1068
|
+
* @param name unique identifier of the token
|
|
1069
|
+
* @param fullName Complete human-readable name of the token
|
|
1070
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1071
|
+
* @param contractAddress Contract address of this token
|
|
1072
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1073
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1074
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1075
|
+
* @param network? Optional token network. Defaults to bera mainnet network.
|
|
1076
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1077
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1078
|
+
*/
|
|
1079
|
+
export declare function 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>;
|
|
1080
|
+
/**
|
|
1081
|
+
* Factory function for zkSync Sepolia testnet beraErc20 token instances.
|
|
1082
|
+
*
|
|
1083
|
+
* @param id uuid v4
|
|
1084
|
+
* @param name unique identifier of the token
|
|
1085
|
+
* @param fullName Complete human-readable name of the token
|
|
1086
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1087
|
+
* @param contractAddress Contract address of this token
|
|
1088
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1089
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1090
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1091
|
+
* @param network? Optional token network. Defaults to the bera test network.
|
|
1092
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1093
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1094
|
+
*/
|
|
1095
|
+
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>;
|
|
1096
|
+
/**
|
|
1097
|
+
* Factory function for CoredaoErc20 token instances.
|
|
1098
|
+
*
|
|
1099
|
+
* @param id uuid v4
|
|
1100
|
+
* @param name unique identifier of the token
|
|
1101
|
+
* @param fullName Complete human-readable name of the token
|
|
1102
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1103
|
+
* @param contractAddress Contract address of this token
|
|
1104
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1105
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1106
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1107
|
+
* @param network? Optional token network. Defaults to coredao mainnet network.
|
|
1108
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1109
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1110
|
+
*/
|
|
1111
|
+
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>;
|
|
1112
|
+
/**
|
|
1113
|
+
* Factory function for coredao testnet coredaoErc20 token instances.
|
|
1114
|
+
*
|
|
1115
|
+
* @param id uuid v4
|
|
1116
|
+
* @param name unique identifier of the token
|
|
1117
|
+
* @param fullName Complete human-readable name of the token
|
|
1118
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1119
|
+
* @param contractAddress Contract address of this token
|
|
1120
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1121
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1122
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1123
|
+
* @param network? Optional token network. Defaults to the coredao test network.
|
|
1124
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1125
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1126
|
+
*/
|
|
1127
|
+
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>;
|
|
1128
|
+
/**
|
|
1129
|
+
* Factory function for WorldErc20 token instances.
|
|
1130
|
+
*
|
|
1131
|
+
* @param id uuid v4
|
|
1132
|
+
* @param name unique identifier of the token
|
|
1133
|
+
* @param fullName Complete human-readable name of the token
|
|
1134
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1135
|
+
* @param contractAddress Contract address of this token
|
|
1136
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1137
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1138
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1139
|
+
* @param network? Optional token network. Defaults to World Chain mainnet network.
|
|
1140
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1141
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1142
|
+
*/
|
|
1143
|
+
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>;
|
|
1144
|
+
/**
|
|
1145
|
+
* Factory function for world testnet worldErc20 token instances.
|
|
1146
|
+
*
|
|
1147
|
+
* @param id uuid v4
|
|
1148
|
+
* @param name unique identifier of the token
|
|
1149
|
+
* @param fullName Complete human-readable name of the token
|
|
1150
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1151
|
+
* @param contractAddress Contract address of this token
|
|
1152
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1153
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1154
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1155
|
+
* @param network? Optional token network. Defaults to the World Chain test network.
|
|
1156
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1157
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1158
|
+
*/
|
|
1159
|
+
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>;
|
|
1160
|
+
/**
|
|
1161
|
+
* Factory function for FlrErc20 token instances.
|
|
1162
|
+
*
|
|
1163
|
+
* @param id uuid v4
|
|
1164
|
+
* @param name unique identifier of the token
|
|
1165
|
+
* @param fullName Complete human-readable name of the token
|
|
1166
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1167
|
+
* @param contractAddress Contract address of this token
|
|
1168
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1169
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1170
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1171
|
+
* @param network? Optional token network. Defaults to Flr Chain mainnet network.
|
|
1172
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1173
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1174
|
+
*/
|
|
1175
|
+
export declare function flrErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<FlrERC20Token>;
|
|
1176
|
+
/**
|
|
1177
|
+
* Factory function for Flr testnet FlrErc20 token instances.
|
|
1178
|
+
*
|
|
1179
|
+
* @param id uuid v4
|
|
1180
|
+
* @param name unique identifier of the token
|
|
1181
|
+
* @param fullName Complete human-readable name of the token
|
|
1182
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1183
|
+
* @param contractAddress Contract address of this token
|
|
1184
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1185
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1186
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1187
|
+
* @param network? Optional token network. Defaults to the Flr Chain test network.
|
|
1188
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1189
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1190
|
+
*/
|
|
1191
|
+
export declare function tflrErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<FlrERC20Token>;
|
|
725
1192
|
/**
|
|
726
1193
|
* Factory function for xrp token instances.
|
|
727
1194
|
*
|
|
@@ -731,6 +1198,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
731
1198
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
732
1199
|
* @param issuerAddress: The address of the issuer of the token,
|
|
733
1200
|
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1201
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
734
1202
|
* @param domain? the domain of the issuer of the token,
|
|
735
1203
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
736
1204
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
@@ -739,7 +1207,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
739
1207
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
740
1208
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
741
1209
|
*/
|
|
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>;
|
|
1210
|
+
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
1211
|
/**
|
|
744
1212
|
* Factory function for testnet cardano token instances.
|
|
745
1213
|
*
|
|
@@ -749,6 +1217,7 @@ export declare function xrpToken(id: string, name: string, fullName: string, dec
|
|
|
749
1217
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
750
1218
|
* @param issuerAddress: The address of the issuer of the token,
|
|
751
1219
|
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1220
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
752
1221
|
* @param domain? the domain of the issuer of the token,
|
|
753
1222
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
754
1223
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
@@ -756,7 +1225,107 @@ export declare function xrpToken(id: string, name: string, fullName: string, dec
|
|
|
756
1225
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
757
1226
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
758
1227
|
*/
|
|
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>;
|
|
1228
|
+
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>;
|
|
1229
|
+
/**
|
|
1230
|
+
* Factory function for sui token instances.
|
|
1231
|
+
*
|
|
1232
|
+
* @param id uuid v4
|
|
1233
|
+
* @param name unique identifier of the token
|
|
1234
|
+
* @param fullName Complete human-readable name of the token
|
|
1235
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1236
|
+
* @param packageId PackageId of this token
|
|
1237
|
+
* @param module The module of the package with id `packageId`
|
|
1238
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1239
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1240
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1241
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1242
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1243
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1244
|
+
* @param network? Optional token network. Defaults to SUI main network.
|
|
1245
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1246
|
+
*/
|
|
1247
|
+
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>;
|
|
1248
|
+
/**
|
|
1249
|
+
* Factory function for testnet sui token instances.
|
|
1250
|
+
*
|
|
1251
|
+
* @param id uuid v4
|
|
1252
|
+
* @param name unique identifier of the token
|
|
1253
|
+
* @param fullName Complete human-readable name of the token
|
|
1254
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1255
|
+
* @param packageId PackageId of this token
|
|
1256
|
+
* @param module The module of the package with id `packageId`
|
|
1257
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1258
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1259
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1260
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1261
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1262
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1263
|
+
* @param network? Optional token network. Defaults to SUI test network.
|
|
1264
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1265
|
+
*/
|
|
1266
|
+
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>;
|
|
1267
|
+
/**
|
|
1268
|
+
* Factory function for apt token instances.
|
|
1269
|
+
*
|
|
1270
|
+
* @param id uuid v4
|
|
1271
|
+
* @param name unique identifier of the token
|
|
1272
|
+
* @param fullName Complete human-readable name of the token
|
|
1273
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1274
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1275
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1276
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1277
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1278
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1279
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1280
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1281
|
+
*/
|
|
1282
|
+
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>;
|
|
1283
|
+
/**
|
|
1284
|
+
* Factory function for Apt NFT collections.
|
|
1285
|
+
*
|
|
1286
|
+
* @param id uuid v4
|
|
1287
|
+
* @param name unique identifier of the NFT collection
|
|
1288
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1289
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1290
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1291
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1292
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1293
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1294
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1295
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1296
|
+
*/
|
|
1297
|
+
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>;
|
|
1298
|
+
/**
|
|
1299
|
+
* Factory function for testnet apt token instances.
|
|
1300
|
+
*
|
|
1301
|
+
* @param id uuid v4
|
|
1302
|
+
* @param name unique identifier of the token
|
|
1303
|
+
* @param fullName Complete human-readable name of the token
|
|
1304
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1305
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1306
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1307
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1308
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1309
|
+
* @param network Optional token network. Defaults to the testnet APT network.
|
|
1310
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1311
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1312
|
+
*/
|
|
1313
|
+
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>;
|
|
1314
|
+
/**
|
|
1315
|
+
* Factory function for testnet Apt NFT collections.
|
|
1316
|
+
*
|
|
1317
|
+
* @param id uuid v4
|
|
1318
|
+
* @param name unique identifier of the NFT collection
|
|
1319
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1320
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1321
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1322
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1323
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1324
|
+
* @param network Optional token network. Defaults to APT test network.
|
|
1325
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1326
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1327
|
+
*/
|
|
1328
|
+
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
1329
|
/**
|
|
761
1330
|
* Factory function for fiat coin instances.
|
|
762
1331
|
*
|
|
@@ -773,5 +1342,215 @@ export declare function txrpToken(id: string, name: string, fullName: string, de
|
|
|
773
1342
|
* @param isToken? Whether or not this coin is a token of another coin
|
|
774
1343
|
*/
|
|
775
1344
|
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>;
|
|
1345
|
+
/**
|
|
1346
|
+
* Factory function for sip10 token instances.
|
|
1347
|
+
*
|
|
1348
|
+
* @param id uuid v4
|
|
1349
|
+
* @param name unique identifier of the token
|
|
1350
|
+
* @param fullName Complete human-readable name of the token
|
|
1351
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1352
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1353
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1354
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1355
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1356
|
+
* @param network? Optional token network. Defaults to Stacks main network.
|
|
1357
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1358
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1359
|
+
*/
|
|
1360
|
+
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>;
|
|
1361
|
+
/**
|
|
1362
|
+
* Factory function for testnet sip10 token instances.
|
|
1363
|
+
*
|
|
1364
|
+
* @param id uuid v4
|
|
1365
|
+
* @param name unique identifier of the token
|
|
1366
|
+
* @param fullName Complete human-readable name of the token
|
|
1367
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1368
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1369
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1370
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1371
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1372
|
+
* @param network? Optional token network. Defaults to the testnet Stacks network.
|
|
1373
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1374
|
+
*/
|
|
1375
|
+
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>;
|
|
1376
|
+
/**
|
|
1377
|
+
* Factory function for nep141 token instances.
|
|
1378
|
+
*
|
|
1379
|
+
* @param id uuid v4
|
|
1380
|
+
* @param name unique identifier of the token
|
|
1381
|
+
* @param fullName Complete human-readable name of the token
|
|
1382
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1383
|
+
* @param contractAddress Contract address of this token
|
|
1384
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1385
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1386
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1387
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1388
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1389
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1390
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1391
|
+
*/
|
|
1392
|
+
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>;
|
|
1393
|
+
/**
|
|
1394
|
+
* Factory function for testnet nep141 token instances.
|
|
1395
|
+
*
|
|
1396
|
+
* @param id uuid v4
|
|
1397
|
+
* @param name unique identifier of the token
|
|
1398
|
+
* @param fullName Complete human-readable name of the token
|
|
1399
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1400
|
+
* @param contractAddress Contract address of this token
|
|
1401
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1402
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1403
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1404
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1405
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1406
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1407
|
+
*/
|
|
1408
|
+
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>;
|
|
1409
|
+
/**
|
|
1410
|
+
* Factory function for vet token instances.
|
|
1411
|
+
*
|
|
1412
|
+
* @param id uuid v4
|
|
1413
|
+
* @param name unique identifier of the token
|
|
1414
|
+
* @param fullName Complete human-readable name of the token
|
|
1415
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1416
|
+
* @param contractAddress Contract address of this token
|
|
1417
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1418
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1419
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1420
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1421
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1422
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1423
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1424
|
+
*/
|
|
1425
|
+
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>;
|
|
1426
|
+
/**
|
|
1427
|
+
* Factory function for testnet vet token instances.
|
|
1428
|
+
*
|
|
1429
|
+
* @param id uuid v4
|
|
1430
|
+
* @param name unique identifier of the token
|
|
1431
|
+
* @param fullName Complete human-readable name of the token
|
|
1432
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1433
|
+
* @param contractAddress Contract address of this token
|
|
1434
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1435
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1436
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1437
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1438
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1439
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1440
|
+
*/
|
|
1441
|
+
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>;
|
|
1442
|
+
/**
|
|
1443
|
+
* Factory function for Vet NFT collections.
|
|
1444
|
+
*
|
|
1445
|
+
* @param id uuid v4
|
|
1446
|
+
* @param name unique identifier of the NFT collection
|
|
1447
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1448
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1449
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1450
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1451
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1452
|
+
* @param network Optional token network. Defaults to VET main network.
|
|
1453
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1454
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1455
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1456
|
+
*/
|
|
1457
|
+
export declare function vetNFTCollection(id: string, name: string, fullName: string, nftCollectionId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve, gasTankToken?: string): Readonly<VetNFTCollection>;
|
|
1458
|
+
/**
|
|
1459
|
+
* Factory function for testnet Vet NFT collections.
|
|
1460
|
+
*
|
|
1461
|
+
* @param id uuid v4
|
|
1462
|
+
* @param name unique identifier of the NFT collection
|
|
1463
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1464
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1465
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1466
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1467
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1468
|
+
* @param network Optional token network. Defaults to VET test network.
|
|
1469
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1470
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1471
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1472
|
+
*/
|
|
1473
|
+
export declare function tvetNFTCollection(id: string, name: string, fullName: string, nftCollectionId: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve, gasTankToken?: string): Readonly<VetNFTCollection>;
|
|
1474
|
+
/**
|
|
1475
|
+
* Factory function for Cosmos chain token instances.
|
|
1476
|
+
*
|
|
1477
|
+
* @param id uuid v4
|
|
1478
|
+
* @param name unique identifier of the token
|
|
1479
|
+
* @param fullName Complete human-readable name of the token
|
|
1480
|
+
* @param denom denomination of this token which will act as a unique identifier for the token on chain
|
|
1481
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1482
|
+
* @param network Network (mainnet or testnet) for this token
|
|
1483
|
+
* @param baseUnit Base unit of this token (native asset)
|
|
1484
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1485
|
+
* @param features Features of this coin. Defaults to the COSMOS_SIDECHAIN_FEATURES defined in `coinFeatures.ts`
|
|
1486
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1487
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1488
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1489
|
+
*/
|
|
1490
|
+
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>;
|
|
1491
|
+
/**
|
|
1492
|
+
* Factory function for tao token instances.
|
|
1493
|
+
*
|
|
1494
|
+
* @param id uuid v4
|
|
1495
|
+
* @param name unique identifier of the token
|
|
1496
|
+
* @param fullName Complete human-readable name of the token
|
|
1497
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1498
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1499
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1500
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1501
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1502
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1503
|
+
* @param network? Optional token network. Defaults to TAO main network.
|
|
1504
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1505
|
+
*/
|
|
1506
|
+
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>;
|
|
1507
|
+
/**
|
|
1508
|
+
* Factory function for testnet tao token instances.
|
|
1509
|
+
*
|
|
1510
|
+
* @param id uuid v4
|
|
1511
|
+
* @param name unique identifier of the token
|
|
1512
|
+
* @param fullName Complete human-readable name of the token
|
|
1513
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1514
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1515
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1516
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1517
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1518
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1519
|
+
* @param network? Optional token network. Defaults to TAO test network.
|
|
1520
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1521
|
+
*/
|
|
1522
|
+
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>;
|
|
1523
|
+
/**
|
|
1524
|
+
* Factory function for polyx token instances.
|
|
1525
|
+
*
|
|
1526
|
+
* @param id uuid v4
|
|
1527
|
+
* @param name unique identifier of the token
|
|
1528
|
+
* @param fullName Complete human-readable name of the token
|
|
1529
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1530
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1531
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1532
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1533
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1534
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1535
|
+
* @param network? Optional token network. Defaults to Polyx main network.
|
|
1536
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1537
|
+
*/
|
|
1538
|
+
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>;
|
|
1539
|
+
/**
|
|
1540
|
+
* Factory function for testnet polyx token instances.
|
|
1541
|
+
*
|
|
1542
|
+
* @param id uuid v4
|
|
1543
|
+
* @param name unique identifier of the token
|
|
1544
|
+
* @param fullName Complete human-readable name of the token
|
|
1545
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1546
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1547
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1548
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1549
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1550
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1551
|
+
* @param network? Optional token network. Defaults to Polyx test network.
|
|
1552
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1553
|
+
*/
|
|
1554
|
+
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
1555
|
export {};
|
|
777
1556
|
//# sourceMappingURL=account.d.ts.map
|