@bitgo-beta/statics 15.1.1-beta.115 → 15.1.1-beta.1150
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 +790 -52
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +1277 -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 +720 -0
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +8 -3
- package/dist/src/base.d.ts +1688 -40
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +1754 -50
- package/dist/src/coinFeatures.d.ts +100 -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 +11 -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 +1652 -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 +684 -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 +1448 -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 +310 -1574
- 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 +117 -17
- package/dist/src/networkFeatureMapForTokens.d.ts +3 -0
- package/dist/src/networkFeatureMapForTokens.d.ts.map +1 -0
- package/dist/src/networkFeatureMapForTokens.js +31 -0
- package/dist/src/networks.d.ts +1091 -1
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +1367 -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 +212 -14
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +794 -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;
|
|
84
|
+
}
|
|
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;
|
|
62
94
|
}
|
|
63
|
-
|
|
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
|
+
uniqueAssetId: string;
|
|
115
|
+
policyId: string;
|
|
116
|
+
assetName: 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,48 @@ 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
|
+
}
|
|
214
317
|
/**
|
|
215
318
|
* The Xrp network supports tokens
|
|
216
319
|
* Xrp tokens are identified by their issuer address
|
|
@@ -221,8 +324,42 @@ export declare class XrpCoin extends AccountCoinToken {
|
|
|
221
324
|
issuerAddress: string;
|
|
222
325
|
currencyCode: string;
|
|
223
326
|
domain: string;
|
|
327
|
+
contractAddress: string;
|
|
224
328
|
constructor(options: XrpCoinConstructorOptions);
|
|
225
329
|
}
|
|
330
|
+
export declare class SuiCoin extends AccountCoinToken {
|
|
331
|
+
packageId: string;
|
|
332
|
+
module: string;
|
|
333
|
+
symbol: string;
|
|
334
|
+
contractAddress: string;
|
|
335
|
+
constructor(options: SuiCoinConstructorOptions);
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* The Apt network supports tokens
|
|
339
|
+
* Apt tokens work similar to native Apt coin, but the token name is determined by
|
|
340
|
+
* the tokenAddress on the chain.
|
|
341
|
+
*
|
|
342
|
+
*/
|
|
343
|
+
export declare class AptCoin extends AccountCoinToken {
|
|
344
|
+
assetId: string;
|
|
345
|
+
constructor(options: AptCoinConstructorOptions);
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* The Apt network supports non-fungible tokens (Digital Asset Standard)
|
|
349
|
+
* Every NFT belongs to an NFT collection.
|
|
350
|
+
*/
|
|
351
|
+
export declare class AptNFTCollection extends NFTCollectionIdDefinedToken {
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* The Vechain network supports non-fungible tokens
|
|
355
|
+
* Every NFT belongs to an NFT collection(contract).
|
|
356
|
+
*/
|
|
357
|
+
export declare class VetNFTCollection extends NFTCollectionIdDefinedToken {
|
|
358
|
+
gasTankToken?: string;
|
|
359
|
+
constructor(options: NFTCollectionIdConstructorOptions & {
|
|
360
|
+
gasTankToken?: string;
|
|
361
|
+
});
|
|
362
|
+
}
|
|
226
363
|
/**
|
|
227
364
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
228
365
|
*/
|
|
@@ -233,6 +370,62 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
233
370
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
234
371
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
235
372
|
}
|
|
373
|
+
/**
|
|
374
|
+
* The Stacks network supports tokens
|
|
375
|
+
* Stx tokens work similar to native Stx coin, but the token name is determined by
|
|
376
|
+
* the contractName on the chain.
|
|
377
|
+
*/
|
|
378
|
+
export declare class Sip10Token extends AccountCoinToken {
|
|
379
|
+
assetId: string;
|
|
380
|
+
constructor(options: Sip10TokenConstructorOptions);
|
|
381
|
+
}
|
|
382
|
+
/**
|
|
383
|
+
* The Near network supports tokens
|
|
384
|
+
* Near tokens work similar to native near coin
|
|
385
|
+
*/
|
|
386
|
+
export declare class Nep141Token extends AccountCoinToken {
|
|
387
|
+
contractAddress: string;
|
|
388
|
+
storageDepositAmount: string;
|
|
389
|
+
constructor(options: Nep141TokenConstructorOptions);
|
|
390
|
+
}
|
|
391
|
+
export declare class VetToken extends AccountCoinToken {
|
|
392
|
+
contractAddress: string;
|
|
393
|
+
gasTankToken?: string;
|
|
394
|
+
constructor(options: VetTokenConstructorOptions);
|
|
395
|
+
}
|
|
396
|
+
/**
|
|
397
|
+
* Cosmos network supports tokens
|
|
398
|
+
* Cosmos tokens work similar to native coins, but the token is determined by
|
|
399
|
+
* the denom on chain.
|
|
400
|
+
*
|
|
401
|
+
*/
|
|
402
|
+
export declare class CosmosChainToken extends AccountCoinToken {
|
|
403
|
+
denom: string;
|
|
404
|
+
constructor(options: CosmosTokenConstructorOptions);
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* The Bittensor network supports tokens
|
|
408
|
+
* The token name is determined by the subnetId on chain.
|
|
409
|
+
*/
|
|
410
|
+
export declare class TaoCoin extends AccountCoinToken {
|
|
411
|
+
subnetId: string;
|
|
412
|
+
constructor(options: TaoCoinConstructorOptions);
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
* The Bittensor network supports tokens
|
|
416
|
+
* The token name is determined by the subnetId on chain.
|
|
417
|
+
*/
|
|
418
|
+
export declare class PolyxCoin extends AccountCoinToken {
|
|
419
|
+
ticker: string;
|
|
420
|
+
assetId: string;
|
|
421
|
+
constructor(options: PolyxCoinConstructorOptions);
|
|
422
|
+
}
|
|
423
|
+
export declare class AdaToken extends AccountCoinToken {
|
|
424
|
+
uniqueAssetId: string;
|
|
425
|
+
policyId: string;
|
|
426
|
+
assetName: string;
|
|
427
|
+
constructor(options: AdaTokenConstructorOptions);
|
|
428
|
+
}
|
|
236
429
|
/**
|
|
237
430
|
* Factory function for account coin instances.
|
|
238
431
|
*
|
|
@@ -249,6 +442,42 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
249
442
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
250
443
|
*/
|
|
251
444
|
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>;
|
|
445
|
+
/**
|
|
446
|
+
* Factory function for gas tank account coin instances.
|
|
447
|
+
*
|
|
448
|
+
* @param id uuid v4
|
|
449
|
+
* @param name unique identifier of the coin
|
|
450
|
+
* @param fullName Complete human-readable name of the coin
|
|
451
|
+
* @param network Network object for this coin
|
|
452
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
453
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
454
|
+
* @param baseUnit
|
|
455
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
456
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
457
|
+
* @param gasTankLowBalanceAlertFactor Low gas tank balance alert threshold = (feeEstimate x gasTankLowBalanceAlertFactor)
|
|
458
|
+
* @param gasTankMinBalanceRecommendationFactor Min gas tank balance recommendation = (feeEstimate x gasTankMinBalanceRecommendationFactor)
|
|
459
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
460
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
461
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
462
|
+
*/
|
|
463
|
+
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>;
|
|
464
|
+
/**
|
|
465
|
+
* Factory function for ethLikeErc20 token instances.
|
|
466
|
+
*
|
|
467
|
+
* @param id uuid v4
|
|
468
|
+
* @param name unique identifier of the token
|
|
469
|
+
* @param fullName Complete human-readable name of the token
|
|
470
|
+
* @param decimalPlaces Number of decimal places this token supports
|
|
471
|
+
* @param contractAddress Contract address of this token
|
|
472
|
+
* @param asset Asset which this coin represents
|
|
473
|
+
* @param network Optional token network
|
|
474
|
+
* @param coinNames The parent coin names for mainnet and testnet
|
|
475
|
+
* @param features Features of this coin
|
|
476
|
+
* @param prefix Optional token prefix
|
|
477
|
+
* @param suffix Optional token suffix
|
|
478
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
479
|
+
*/
|
|
480
|
+
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
481
|
/**
|
|
253
482
|
* Factory function for erc20 token instances.
|
|
254
483
|
*
|
|
@@ -305,7 +534,7 @@ export declare function erc721(id: string, name: string, fullName: string, contr
|
|
|
305
534
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
306
535
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
307
536
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
308
|
-
* @param network? Optional token network. Defaults to
|
|
537
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
309
538
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
310
539
|
*/
|
|
311
540
|
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 +578,7 @@ export declare function erc1155(id: string, name: string, fullName: string, cont
|
|
|
349
578
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
350
579
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
351
580
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
352
|
-
* @param network? Optional token network. Defaults to
|
|
581
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
353
582
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
354
583
|
*/
|
|
355
584
|
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 +606,11 @@ export declare function erc20CompatibleAccountCoin(id: string, name: string, ful
|
|
|
377
606
|
* @param fullName Complete human-readable name of the token
|
|
378
607
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
379
608
|
* @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
|
|
609
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
610
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
611
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
612
|
+
* @param network ? Optional token network. Defaults to CELO main network.
|
|
613
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
385
614
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
386
615
|
*/
|
|
387
616
|
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 +623,10 @@ export declare function celoToken(id: string, name: string, fullName: string, de
|
|
|
394
623
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
395
624
|
* @param contractAddress Contract address of this token
|
|
396
625
|
* @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
|
|
626
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
627
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
628
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
629
|
+
* @param network ? Optional token network. Defaults to the testnet CELO network.
|
|
401
630
|
*/
|
|
402
631
|
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
632
|
/**
|
|
@@ -511,7 +740,7 @@ export declare function ttronToken(id: string, name: string, fullName: string, d
|
|
|
511
740
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
512
741
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
513
742
|
*/
|
|
514
|
-
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
743
|
+
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
744
|
/**
|
|
516
745
|
* Factory function for Hedera token instances
|
|
517
746
|
*
|
|
@@ -522,13 +751,14 @@ export declare function hederaCoin(id: string, name: string, fullName: string, n
|
|
|
522
751
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
523
752
|
* @param nodeAccountId node account Id from which the transaction will be sent
|
|
524
753
|
* @param tokenId The unique identifier of this token
|
|
754
|
+
* @param contractAddress Contract address of this token, same as tokenId
|
|
525
755
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
526
756
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
527
757
|
* @param network? Optional token network. Defaults to Hedera mainnet.
|
|
528
758
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
529
759
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
530
760
|
*/
|
|
531
|
-
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
761
|
+
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
762
|
/**
|
|
533
763
|
* Factory function for ALGO token instances.
|
|
534
764
|
*
|
|
@@ -539,7 +769,6 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
539
769
|
* @param fullName Complete human-readable name of the token
|
|
540
770
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
541
771
|
* @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
772
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
544
773
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
545
774
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -547,7 +776,7 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
547
776
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
548
777
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
549
778
|
*/
|
|
550
|
-
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
779
|
+
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
780
|
/**
|
|
552
781
|
* Factory function for testnet ALGO token instances.
|
|
553
782
|
*
|
|
@@ -557,14 +786,13 @@ export declare function algoToken(id: string, name: string, alias: string | unde
|
|
|
557
786
|
* @param fullName Complete human-readable name of the token
|
|
558
787
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
559
788
|
* @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
789
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
562
790
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
563
791
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
564
792
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
565
793
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
566
794
|
*/
|
|
567
|
-
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
795
|
+
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
796
|
/**
|
|
569
797
|
* Factory function for eos token instances.
|
|
570
798
|
*
|
|
@@ -573,6 +801,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
573
801
|
* @param fullName Complete human-readable name of the token
|
|
574
802
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
575
803
|
* @param contractName Contract address of this token
|
|
804
|
+
* @param contractAddress Contract address of this token
|
|
576
805
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
577
806
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
578
807
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -580,7 +809,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
580
809
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
581
810
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
582
811
|
*/
|
|
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>;
|
|
812
|
+
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
813
|
/**
|
|
585
814
|
* Factory function for testnet eos token instances.
|
|
586
815
|
*
|
|
@@ -588,14 +817,16 @@ export declare function eosToken(id: string, name: string, fullName: string, dec
|
|
|
588
817
|
* @param name unique identifier of the token
|
|
589
818
|
* @param fullName Complete human-readable name of the token
|
|
590
819
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
820
|
+
* @param contractName Contract address of this token
|
|
591
821
|
* @param contractAddress Contract address of this token
|
|
592
822
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
593
823
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
594
824
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
825
|
+
* @param symbol? token symbol as defined in token contract.
|
|
595
826
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
596
827
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
597
828
|
*/
|
|
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>;
|
|
829
|
+
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
830
|
/**
|
|
600
831
|
* Factory function for sol token instances.
|
|
601
832
|
*
|
|
@@ -604,6 +835,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
604
835
|
* @param fullName Complete human-readable name of the token
|
|
605
836
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
606
837
|
* @param tokenAddress Token address of this token
|
|
838
|
+
* @param contractAddress Contract address of this token
|
|
607
839
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
608
840
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
609
841
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -611,7 +843,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
611
843
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
612
844
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
613
845
|
*/
|
|
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>;
|
|
846
|
+
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
847
|
/**
|
|
616
848
|
* Factory function for testnet solana token instances.
|
|
617
849
|
*
|
|
@@ -626,38 +858,40 @@ export declare function solToken(id: string, name: string, fullName: string, dec
|
|
|
626
858
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
627
859
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
628
860
|
*/
|
|
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>;
|
|
861
|
+
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
862
|
/**
|
|
631
|
-
* Factory function for
|
|
863
|
+
* Factory function for prod cardano token instances.
|
|
632
864
|
*
|
|
633
865
|
* @param id uuid v4
|
|
634
|
-
* @param name
|
|
866
|
+
* @param name Name of the token
|
|
635
867
|
* @param fullName Complete human-readable name of the token
|
|
636
868
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
637
|
-
* @param
|
|
869
|
+
* @param policyId Policy Id
|
|
870
|
+
* @param assetName Asset name -> Policy ID + Asset name is the unique identifier
|
|
638
871
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
639
872
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
640
873
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
641
|
-
* @param network? Optional token network. Defaults to Cardano
|
|
874
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
642
875
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
643
876
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
644
877
|
*/
|
|
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<
|
|
878
|
+
export declare function adaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, encodedAssetName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AdaToken>;
|
|
646
879
|
/**
|
|
647
880
|
* Factory function for testnet cardano token instances.
|
|
648
881
|
*
|
|
649
882
|
* @param id uuid v4
|
|
650
|
-
* @param name
|
|
883
|
+
* @param name Name of the token
|
|
651
884
|
* @param fullName Complete human-readable name of the token
|
|
652
885
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
653
|
-
* @param
|
|
886
|
+
* @param policyId Policy Id
|
|
887
|
+
* @param assetName Asset name -> Policy ID + Asset name is the unique identifier
|
|
654
888
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
655
889
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
656
890
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
657
891
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
658
892
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
659
893
|
*/
|
|
660
|
-
export declare function tadaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, asset: UnderlyingAsset, features?: CoinFeature[],
|
|
894
|
+
export declare function tadaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, encodedAssetName: string, asset: UnderlyingAsset, features?: CoinFeature[], network?: AccountNetwork, prefix?: string, suffix?: string): Readonly<AdaToken>;
|
|
661
895
|
/**
|
|
662
896
|
* Factory function for avaxErc20 token instances.
|
|
663
897
|
*
|
|
@@ -707,7 +941,7 @@ export declare function tavaxErc20(id: string, name: string, fullName: string, d
|
|
|
707
941
|
*/
|
|
708
942
|
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
943
|
/**
|
|
710
|
-
* Factory function for
|
|
944
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
711
945
|
*
|
|
712
946
|
* @param id uuid v4
|
|
713
947
|
* @param name unique identifier of the token
|
|
@@ -722,6 +956,198 @@ export declare function polygonErc20(id: string, name: string, fullName: string,
|
|
|
722
956
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
723
957
|
*/
|
|
724
958
|
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>;
|
|
959
|
+
/**
|
|
960
|
+
* Factory function for arbethErc20 token instances.
|
|
961
|
+
*
|
|
962
|
+
* @param id uuid v4
|
|
963
|
+
* @param name unique identifier of the token
|
|
964
|
+
* @param fullName Complete human-readable name of the token
|
|
965
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
966
|
+
* @param contractAddress Contract address of this token
|
|
967
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
968
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
969
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
970
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
971
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
972
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
973
|
+
*/
|
|
974
|
+
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>;
|
|
975
|
+
/**
|
|
976
|
+
* Factory function for Arbitrum Sepolia testnet arbethErc20 token instances.
|
|
977
|
+
*
|
|
978
|
+
* @param id uuid v4
|
|
979
|
+
* @param name unique identifier of the token
|
|
980
|
+
* @param fullName Complete human-readable name of the token
|
|
981
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
982
|
+
* @param contractAddress Contract address of this token
|
|
983
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
984
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
985
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
986
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
987
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
988
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
989
|
+
*/
|
|
990
|
+
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>;
|
|
991
|
+
/**
|
|
992
|
+
* Factory function for opethErc20 token instances.
|
|
993
|
+
*
|
|
994
|
+
* @param id uuid v4
|
|
995
|
+
* @param name unique identifier of the token
|
|
996
|
+
* @param fullName Complete human-readable name of the token
|
|
997
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
998
|
+
* @param contractAddress Contract address of this token
|
|
999
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1000
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1001
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1002
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
1003
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1004
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1005
|
+
*/
|
|
1006
|
+
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>;
|
|
1007
|
+
/**
|
|
1008
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
1009
|
+
*
|
|
1010
|
+
* @param id uuid v4
|
|
1011
|
+
* @param name unique identifier of the token
|
|
1012
|
+
* @param fullName Complete human-readable name of the token
|
|
1013
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1014
|
+
* @param contractAddress Contract address of this token
|
|
1015
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1016
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1017
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1018
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
1019
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1020
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1021
|
+
*/
|
|
1022
|
+
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>;
|
|
1023
|
+
/**
|
|
1024
|
+
* Factory function for zkethErc20 token instances.
|
|
1025
|
+
*
|
|
1026
|
+
* @param id uuid v4
|
|
1027
|
+
* @param name unique identifier of the token
|
|
1028
|
+
* @param fullName Complete human-readable name of the token
|
|
1029
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1030
|
+
* @param contractAddress Contract address of this token
|
|
1031
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1032
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1033
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1034
|
+
* @param network? Optional token network. Defaults to zkSync mainnet network.
|
|
1035
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1036
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1037
|
+
*/
|
|
1038
|
+
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>;
|
|
1039
|
+
/**
|
|
1040
|
+
* Factory function for zkSync Sepolia testnet zkethErc20 token instances.
|
|
1041
|
+
*
|
|
1042
|
+
* @param id uuid v4
|
|
1043
|
+
* @param name unique identifier of the token
|
|
1044
|
+
* @param fullName Complete human-readable name of the token
|
|
1045
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1046
|
+
* @param contractAddress Contract address of this token
|
|
1047
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1048
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1049
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1050
|
+
* @param network? Optional token network. Defaults to the zkSync sepolia test network.
|
|
1051
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1052
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1053
|
+
*/
|
|
1054
|
+
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>;
|
|
1055
|
+
/**
|
|
1056
|
+
* Factory function for beraErc20 token instances.
|
|
1057
|
+
*
|
|
1058
|
+
* @param id uuid v4
|
|
1059
|
+
* @param name unique identifier of the token
|
|
1060
|
+
* @param fullName Complete human-readable name of the token
|
|
1061
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1062
|
+
* @param contractAddress Contract address of this token
|
|
1063
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1064
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1065
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1066
|
+
* @param network? Optional token network. Defaults to bera mainnet network.
|
|
1067
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1068
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1069
|
+
*/
|
|
1070
|
+
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>;
|
|
1071
|
+
/**
|
|
1072
|
+
* Factory function for zkSync Sepolia testnet beraErc20 token instances.
|
|
1073
|
+
*
|
|
1074
|
+
* @param id uuid v4
|
|
1075
|
+
* @param name unique identifier of the token
|
|
1076
|
+
* @param fullName Complete human-readable name of the token
|
|
1077
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1078
|
+
* @param contractAddress Contract address of this token
|
|
1079
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1080
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1081
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1082
|
+
* @param network? Optional token network. Defaults to the bera test network.
|
|
1083
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1084
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1085
|
+
*/
|
|
1086
|
+
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>;
|
|
1087
|
+
/**
|
|
1088
|
+
* Factory function for CoredaoErc20 token instances.
|
|
1089
|
+
*
|
|
1090
|
+
* @param id uuid v4
|
|
1091
|
+
* @param name unique identifier of the token
|
|
1092
|
+
* @param fullName Complete human-readable name of the token
|
|
1093
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1094
|
+
* @param contractAddress Contract address of this token
|
|
1095
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1096
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1097
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1098
|
+
* @param network? Optional token network. Defaults to coredao mainnet network.
|
|
1099
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1100
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1101
|
+
*/
|
|
1102
|
+
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>;
|
|
1103
|
+
/**
|
|
1104
|
+
* Factory function for coredao testnet coredaoErc20 token instances.
|
|
1105
|
+
*
|
|
1106
|
+
* @param id uuid v4
|
|
1107
|
+
* @param name unique identifier of the token
|
|
1108
|
+
* @param fullName Complete human-readable name of the token
|
|
1109
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1110
|
+
* @param contractAddress Contract address of this token
|
|
1111
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1112
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1113
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1114
|
+
* @param network? Optional token network. Defaults to the coredao test network.
|
|
1115
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1116
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1117
|
+
*/
|
|
1118
|
+
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>;
|
|
1119
|
+
/**
|
|
1120
|
+
* Factory function for WorldErc20 token instances.
|
|
1121
|
+
*
|
|
1122
|
+
* @param id uuid v4
|
|
1123
|
+
* @param name unique identifier of the token
|
|
1124
|
+
* @param fullName Complete human-readable name of the token
|
|
1125
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1126
|
+
* @param contractAddress Contract address of this token
|
|
1127
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1128
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1129
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1130
|
+
* @param network? Optional token network. Defaults to World Chain mainnet network.
|
|
1131
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1132
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1133
|
+
*/
|
|
1134
|
+
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>;
|
|
1135
|
+
/**
|
|
1136
|
+
* Factory function for world testnet worldErc20 token instances.
|
|
1137
|
+
*
|
|
1138
|
+
* @param id uuid v4
|
|
1139
|
+
* @param name unique identifier of the token
|
|
1140
|
+
* @param fullName Complete human-readable name of the token
|
|
1141
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1142
|
+
* @param contractAddress Contract address of this token
|
|
1143
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1144
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1145
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1146
|
+
* @param network? Optional token network. Defaults to the World Chain test network.
|
|
1147
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1148
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1149
|
+
*/
|
|
1150
|
+
export declare function tworldErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<WorldERC20Token>;
|
|
725
1151
|
/**
|
|
726
1152
|
* Factory function for xrp token instances.
|
|
727
1153
|
*
|
|
@@ -731,6 +1157,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
731
1157
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
732
1158
|
* @param issuerAddress: The address of the issuer of the token,
|
|
733
1159
|
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1160
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
734
1161
|
* @param domain? the domain of the issuer of the token,
|
|
735
1162
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
736
1163
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
@@ -739,7 +1166,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
739
1166
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
740
1167
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
741
1168
|
*/
|
|
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>;
|
|
1169
|
+
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
1170
|
/**
|
|
744
1171
|
* Factory function for testnet cardano token instances.
|
|
745
1172
|
*
|
|
@@ -749,6 +1176,7 @@ export declare function xrpToken(id: string, name: string, fullName: string, dec
|
|
|
749
1176
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
750
1177
|
* @param issuerAddress: The address of the issuer of the token,
|
|
751
1178
|
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1179
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
752
1180
|
* @param domain? the domain of the issuer of the token,
|
|
753
1181
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
754
1182
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
@@ -756,7 +1184,107 @@ export declare function xrpToken(id: string, name: string, fullName: string, dec
|
|
|
756
1184
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
757
1185
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
758
1186
|
*/
|
|
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>;
|
|
1187
|
+
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>;
|
|
1188
|
+
/**
|
|
1189
|
+
* Factory function for sui token instances.
|
|
1190
|
+
*
|
|
1191
|
+
* @param id uuid v4
|
|
1192
|
+
* @param name unique identifier of the token
|
|
1193
|
+
* @param fullName Complete human-readable name of the token
|
|
1194
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1195
|
+
* @param packageId PackageId of this token
|
|
1196
|
+
* @param module The module of the package with id `packageId`
|
|
1197
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1198
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1199
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1200
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1201
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1202
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1203
|
+
* @param network? Optional token network. Defaults to SUI main network.
|
|
1204
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1205
|
+
*/
|
|
1206
|
+
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>;
|
|
1207
|
+
/**
|
|
1208
|
+
* Factory function for testnet sui token instances.
|
|
1209
|
+
*
|
|
1210
|
+
* @param id uuid v4
|
|
1211
|
+
* @param name unique identifier of the token
|
|
1212
|
+
* @param fullName Complete human-readable name of the token
|
|
1213
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1214
|
+
* @param packageId PackageId of this token
|
|
1215
|
+
* @param module The module of the package with id `packageId`
|
|
1216
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1217
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1218
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1219
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1220
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1221
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1222
|
+
* @param network? Optional token network. Defaults to SUI test network.
|
|
1223
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1224
|
+
*/
|
|
1225
|
+
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>;
|
|
1226
|
+
/**
|
|
1227
|
+
* Factory function for apt token instances.
|
|
1228
|
+
*
|
|
1229
|
+
* @param id uuid v4
|
|
1230
|
+
* @param name unique identifier of the token
|
|
1231
|
+
* @param fullName Complete human-readable name of the token
|
|
1232
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1233
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1234
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1235
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1236
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1237
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1238
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1239
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1240
|
+
*/
|
|
1241
|
+
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>;
|
|
1242
|
+
/**
|
|
1243
|
+
* Factory function for Apt NFT collections.
|
|
1244
|
+
*
|
|
1245
|
+
* @param id uuid v4
|
|
1246
|
+
* @param name unique identifier of the NFT collection
|
|
1247
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1248
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1249
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1250
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1251
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1252
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1253
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1254
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1255
|
+
*/
|
|
1256
|
+
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>;
|
|
1257
|
+
/**
|
|
1258
|
+
* Factory function for testnet apt token instances.
|
|
1259
|
+
*
|
|
1260
|
+
* @param id uuid v4
|
|
1261
|
+
* @param name unique identifier of the token
|
|
1262
|
+
* @param fullName Complete human-readable name of the token
|
|
1263
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1264
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1265
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1266
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1267
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1268
|
+
* @param network Optional token network. Defaults to the testnet APT network.
|
|
1269
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1270
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1271
|
+
*/
|
|
1272
|
+
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>;
|
|
1273
|
+
/**
|
|
1274
|
+
* Factory function for testnet Apt NFT collections.
|
|
1275
|
+
*
|
|
1276
|
+
* @param id uuid v4
|
|
1277
|
+
* @param name unique identifier of the NFT collection
|
|
1278
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1279
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1280
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1281
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1282
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1283
|
+
* @param network Optional token network. Defaults to APT test network.
|
|
1284
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1285
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1286
|
+
*/
|
|
1287
|
+
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
1288
|
/**
|
|
761
1289
|
* Factory function for fiat coin instances.
|
|
762
1290
|
*
|
|
@@ -773,5 +1301,215 @@ export declare function txrpToken(id: string, name: string, fullName: string, de
|
|
|
773
1301
|
* @param isToken? Whether or not this coin is a token of another coin
|
|
774
1302
|
*/
|
|
775
1303
|
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>;
|
|
1304
|
+
/**
|
|
1305
|
+
* Factory function for sip10 token instances.
|
|
1306
|
+
*
|
|
1307
|
+
* @param id uuid v4
|
|
1308
|
+
* @param name unique identifier of the token
|
|
1309
|
+
* @param fullName Complete human-readable name of the token
|
|
1310
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1311
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1312
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1313
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1314
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1315
|
+
* @param network? Optional token network. Defaults to Stacks main network.
|
|
1316
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1317
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1318
|
+
*/
|
|
1319
|
+
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>;
|
|
1320
|
+
/**
|
|
1321
|
+
* Factory function for testnet sip10 token instances.
|
|
1322
|
+
*
|
|
1323
|
+
* @param id uuid v4
|
|
1324
|
+
* @param name unique identifier of the token
|
|
1325
|
+
* @param fullName Complete human-readable name of the token
|
|
1326
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1327
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1328
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1329
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1330
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1331
|
+
* @param network? Optional token network. Defaults to the testnet Stacks network.
|
|
1332
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1333
|
+
*/
|
|
1334
|
+
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>;
|
|
1335
|
+
/**
|
|
1336
|
+
* Factory function for nep141 token instances.
|
|
1337
|
+
*
|
|
1338
|
+
* @param id uuid v4
|
|
1339
|
+
* @param name unique identifier of the token
|
|
1340
|
+
* @param fullName Complete human-readable name of the token
|
|
1341
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1342
|
+
* @param contractAddress Contract address of this token
|
|
1343
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1344
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1345
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1346
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1347
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1348
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1349
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1350
|
+
*/
|
|
1351
|
+
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>;
|
|
1352
|
+
/**
|
|
1353
|
+
* Factory function for testnet nep141 token instances.
|
|
1354
|
+
*
|
|
1355
|
+
* @param id uuid v4
|
|
1356
|
+
* @param name unique identifier of the token
|
|
1357
|
+
* @param fullName Complete human-readable name of the token
|
|
1358
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1359
|
+
* @param contractAddress Contract address of this token
|
|
1360
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1361
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1362
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1363
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1364
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1365
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1366
|
+
*/
|
|
1367
|
+
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>;
|
|
1368
|
+
/**
|
|
1369
|
+
* Factory function for vet token instances.
|
|
1370
|
+
*
|
|
1371
|
+
* @param id uuid v4
|
|
1372
|
+
* @param name unique identifier of the token
|
|
1373
|
+
* @param fullName Complete human-readable name of the token
|
|
1374
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1375
|
+
* @param contractAddress Contract address of this token
|
|
1376
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1377
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1378
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1379
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1380
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1381
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1382
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1383
|
+
*/
|
|
1384
|
+
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>;
|
|
1385
|
+
/**
|
|
1386
|
+
* Factory function for testnet vet token instances.
|
|
1387
|
+
*
|
|
1388
|
+
* @param id uuid v4
|
|
1389
|
+
* @param name unique identifier of the token
|
|
1390
|
+
* @param fullName Complete human-readable name of the token
|
|
1391
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1392
|
+
* @param contractAddress Contract address of this token
|
|
1393
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1394
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1395
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1396
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1397
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1398
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1399
|
+
*/
|
|
1400
|
+
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>;
|
|
1401
|
+
/**
|
|
1402
|
+
* Factory function for Vet NFT collections.
|
|
1403
|
+
*
|
|
1404
|
+
* @param id uuid v4
|
|
1405
|
+
* @param name unique identifier of the NFT collection
|
|
1406
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1407
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1408
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1409
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1410
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1411
|
+
* @param network Optional token network. Defaults to VET main network.
|
|
1412
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1413
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1414
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1415
|
+
*/
|
|
1416
|
+
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>;
|
|
1417
|
+
/**
|
|
1418
|
+
* Factory function for testnet Vet NFT collections.
|
|
1419
|
+
*
|
|
1420
|
+
* @param id uuid v4
|
|
1421
|
+
* @param name unique identifier of the NFT collection
|
|
1422
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1423
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1424
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1425
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1426
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1427
|
+
* @param network Optional token network. Defaults to VET test network.
|
|
1428
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1429
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1430
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1431
|
+
*/
|
|
1432
|
+
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>;
|
|
1433
|
+
/**
|
|
1434
|
+
* Factory function for Cosmos chain token instances.
|
|
1435
|
+
*
|
|
1436
|
+
* @param id uuid v4
|
|
1437
|
+
* @param name unique identifier of the token
|
|
1438
|
+
* @param fullName Complete human-readable name of the token
|
|
1439
|
+
* @param denom denomination of this token which will act as a unique identifier for the token on chain
|
|
1440
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1441
|
+
* @param network Network (mainnet or testnet) for this token
|
|
1442
|
+
* @param baseUnit Base unit of this token (native asset)
|
|
1443
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1444
|
+
* @param features Features of this coin. Defaults to the COSMOS_SIDECHAIN_FEATURES defined in `coinFeatures.ts`
|
|
1445
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1446
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1447
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1448
|
+
*/
|
|
1449
|
+
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>;
|
|
1450
|
+
/**
|
|
1451
|
+
* Factory function for tao token instances.
|
|
1452
|
+
*
|
|
1453
|
+
* @param id uuid v4
|
|
1454
|
+
* @param name unique identifier of the token
|
|
1455
|
+
* @param fullName Complete human-readable name of the token
|
|
1456
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1457
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1458
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1459
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1460
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1461
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1462
|
+
* @param network? Optional token network. Defaults to TAO main network.
|
|
1463
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1464
|
+
*/
|
|
1465
|
+
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>;
|
|
1466
|
+
/**
|
|
1467
|
+
* Factory function for testnet tao token instances.
|
|
1468
|
+
*
|
|
1469
|
+
* @param id uuid v4
|
|
1470
|
+
* @param name unique identifier of the token
|
|
1471
|
+
* @param fullName Complete human-readable name of the token
|
|
1472
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1473
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1474
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1475
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1476
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1477
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1478
|
+
* @param network? Optional token network. Defaults to TAO test network.
|
|
1479
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1480
|
+
*/
|
|
1481
|
+
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>;
|
|
1482
|
+
/**
|
|
1483
|
+
* Factory function for polyx token instances.
|
|
1484
|
+
*
|
|
1485
|
+
* @param id uuid v4
|
|
1486
|
+
* @param name unique identifier of the token
|
|
1487
|
+
* @param fullName Complete human-readable name of the token
|
|
1488
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1489
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1490
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1491
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1492
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1493
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1494
|
+
* @param network? Optional token network. Defaults to Polyx main network.
|
|
1495
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1496
|
+
*/
|
|
1497
|
+
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>;
|
|
1498
|
+
/**
|
|
1499
|
+
* Factory function for testnet polyx token instances.
|
|
1500
|
+
*
|
|
1501
|
+
* @param id uuid v4
|
|
1502
|
+
* @param name unique identifier of the token
|
|
1503
|
+
* @param fullName Complete human-readable name of the token
|
|
1504
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1505
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1506
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1507
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1508
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1509
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1510
|
+
* @param network? Optional token network. Defaults to Polyx test network.
|
|
1511
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1512
|
+
*/
|
|
1513
|
+
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
1514
|
export {};
|
|
777
1515
|
//# sourceMappingURL=account.d.ts.map
|