@bitgo-beta/statics 15.1.1-beta.153 → 15.1.1-beta.1530
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/dist/src/account.d.ts +958 -75
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +1543 -186
- 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 +1131 -0
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +8 -3
- package/dist/src/base.d.ts +2012 -49
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +2105 -59
- package/dist/src/canton.d.ts +34 -0
- package/dist/src/canton.d.ts.map +1 -0
- package/dist/src/canton.js +51 -0
- package/dist/src/coinFeatures.d.ts +111 -0
- package/dist/src/coinFeatures.d.ts.map +1 -0
- package/dist/src/coinFeatures.js +697 -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 +18 -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 +126 -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 +3 -0
- package/dist/src/coins/botTokens.d.ts.map +1 -0
- package/dist/src/coins/botTokens.js +43 -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 +192 -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 +1957 -0
- package/dist/src/coins/jettonTokens.d.ts +2 -0
- package/dist/src/coins/jettonTokens.d.ts.map +1 -0
- package/dist/src/coins/jettonTokens.js +18 -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 +16 -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 +835 -0
- package/dist/src/coins/ofcErc20Coins.d.ts +4 -0
- package/dist/src/coins/ofcErc20Coins.d.ts.map +1 -0
- package/dist/src/coins/ofcErc20Coins.js +1657 -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 +163 -0
- package/dist/src/coins/polyxTokens.d.ts +2 -0
- package/dist/src/coins/polyxTokens.d.ts.map +1 -0
- package/dist/src/coins/polyxTokens.js +22 -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 +431 -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 +366 -1687
- 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/errors.d.ts +3 -0
- package/dist/src/errors.d.ts.map +1 -1
- package/dist/src/errors.js +9 -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 +26 -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 +16 -0
- package/dist/src/map.d.ts.map +1 -1
- package/dist/src/map.js +188 -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 +1396 -15
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +1743 -98
- package/dist/src/ofc.d.ts +597 -3
- package/dist/src/ofc.d.ts.map +1 -1
- package/dist/src/ofc.js +1419 -28
- package/dist/src/tokenConfig.d.ts +261 -108
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +965 -217
- package/dist/src/utxo.d.ts +3 -1
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +84 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -3
- package/.mocharc.js +0 -10
- package/.prettierignore +0 -2
- package/CHANGELOG.md +0 -913
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,28 @@ 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.SUPPORTS_ERC721 | CoinFeature.SHARED_COSMOS_SDK | CoinFeature.SHARED_COSMOS_WP | CoinFeature.COSMOS_COMMON_BGA | 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 | CoinFeature.ALTERNATIVE_ADDRESS_IDENTIFIER | CoinFeature.SUPPORTS_ONE_STEP_DEPOSIT | CoinFeature.REQUIRES_WALLET_INITIALIZATION_TRANSACTION | CoinFeature.REQUIRES_DEPOSIT_ACCEPTANCE_TRANSACTION | CoinFeature.ALLOWS_NEGATIVE_FEE)[];
|
|
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 Erc721ConstructorOptions extends AccountConstructorOptions {
|
|
51
|
+
contractAddress: string;
|
|
52
|
+
}
|
|
53
|
+
export interface NFTCollectionIdConstructorOptions extends AccountConstructorOptions {
|
|
54
|
+
nftCollectionId: string;
|
|
55
|
+
}
|
|
35
56
|
export interface StellarCoinConstructorOptions extends AccountConstructorOptions {
|
|
36
57
|
domain: string;
|
|
37
58
|
}
|
|
@@ -40,36 +61,78 @@ export interface HederaCoinConstructorOptions extends AccountConstructorOptions
|
|
|
40
61
|
}
|
|
41
62
|
export interface HederaTokenConstructorOptions extends AccountConstructorOptions {
|
|
42
63
|
nodeAccountId: string;
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
export interface AlgoCoinConstructorOptions extends AccountConstructorOptions {
|
|
46
|
-
tokenURL: string;
|
|
64
|
+
contractAddress: string;
|
|
47
65
|
}
|
|
48
66
|
export interface EosCoinConstructorOptions extends AccountConstructorOptions {
|
|
49
67
|
contractName: string;
|
|
68
|
+
contractAddress: string;
|
|
69
|
+
symbol?: string;
|
|
50
70
|
}
|
|
51
71
|
export interface SolCoinConstructorOptions extends AccountConstructorOptions {
|
|
52
72
|
tokenAddress: string;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
policyId: string;
|
|
56
|
-
assetName: string;
|
|
73
|
+
contractAddress: string;
|
|
74
|
+
programId: string;
|
|
57
75
|
}
|
|
58
76
|
export interface XrpCoinConstructorOptions extends AccountConstructorOptions {
|
|
59
77
|
issuerAddress: string;
|
|
60
78
|
currencyCode: string;
|
|
61
79
|
domain: string;
|
|
80
|
+
contractAddress: string;
|
|
62
81
|
}
|
|
63
|
-
|
|
82
|
+
export interface SuiCoinConstructorOptions extends AccountConstructorOptions {
|
|
83
|
+
packageId: string;
|
|
84
|
+
module: string;
|
|
85
|
+
symbol: string;
|
|
86
|
+
contractAddress: string;
|
|
87
|
+
}
|
|
88
|
+
export interface AptCoinConstructorOptions extends AccountConstructorOptions {
|
|
89
|
+
assetId: string;
|
|
90
|
+
}
|
|
91
|
+
export interface TaoCoinConstructorOptions extends AccountConstructorOptions {
|
|
92
|
+
subnetId: string;
|
|
93
|
+
}
|
|
94
|
+
export interface PolyxCoinConstructorOptions extends AccountConstructorOptions {
|
|
95
|
+
ticker: string;
|
|
96
|
+
assetId: string;
|
|
97
|
+
}
|
|
98
|
+
type FiatCoinName = `fiat${string}` | `tfiat${string}`;
|
|
64
99
|
export interface FiatCoinConstructorOptions extends AccountConstructorOptions {
|
|
65
100
|
name: FiatCoinName;
|
|
66
101
|
}
|
|
102
|
+
export interface Sip10TokenConstructorOptions extends AccountConstructorOptions {
|
|
103
|
+
assetId: string;
|
|
104
|
+
}
|
|
105
|
+
export interface Nep141TokenConstructorOptions extends AccountConstructorOptions {
|
|
106
|
+
contractAddress: string;
|
|
107
|
+
storageDepositAmount: string;
|
|
108
|
+
}
|
|
109
|
+
export interface VetTokenConstructorOptions extends AccountConstructorOptions {
|
|
110
|
+
contractAddress: string;
|
|
111
|
+
gasTankToken?: string;
|
|
112
|
+
}
|
|
113
|
+
export interface CosmosTokenConstructorOptions extends AccountConstructorOptions {
|
|
114
|
+
denom: string;
|
|
115
|
+
}
|
|
116
|
+
export interface JettonTokenConstructorOptions extends AccountConstructorOptions {
|
|
117
|
+
contractAddress: string;
|
|
118
|
+
}
|
|
119
|
+
export interface AdaTokenConstructorOptions extends AccountConstructorOptions {
|
|
120
|
+
policyId: string;
|
|
121
|
+
assetName: string;
|
|
122
|
+
contractAddress: string;
|
|
123
|
+
}
|
|
67
124
|
export interface ContractAddress extends String {
|
|
68
125
|
__contractaddress_phantom__: never;
|
|
69
126
|
}
|
|
70
127
|
export declare class AccountCoinToken extends AccountCoin {
|
|
71
128
|
constructor(options: AccountConstructorOptions);
|
|
72
129
|
}
|
|
130
|
+
export declare class GasTankAccountCoin extends AccountCoin {
|
|
131
|
+
gasTankLowBalanceAlertFactor: number;
|
|
132
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
133
|
+
gasTankToken?: string;
|
|
134
|
+
constructor(options: GasTankAccountConstructorOptions);
|
|
135
|
+
}
|
|
73
136
|
/**
|
|
74
137
|
* Some blockchains support tokens which are defined by an address at which they have a smart contract deployed.
|
|
75
138
|
* Examples are ERC20 tokens, and the equivalent on other chains.
|
|
@@ -78,6 +141,13 @@ export declare class ContractAddressDefinedToken extends AccountCoinToken {
|
|
|
78
141
|
contractAddress: ContractAddress;
|
|
79
142
|
constructor(options: Erc20ConstructorOptions);
|
|
80
143
|
}
|
|
144
|
+
/**
|
|
145
|
+
* Used for blockchains that support NFT collections.
|
|
146
|
+
*/
|
|
147
|
+
export declare class NFTCollectionIdDefinedToken extends AccountCoinToken {
|
|
148
|
+
nftCollectionId: string;
|
|
149
|
+
constructor(options: NFTCollectionIdConstructorOptions);
|
|
150
|
+
}
|
|
81
151
|
/**
|
|
82
152
|
* ERC20 token addresses are Base58 formatted on some blockchains.
|
|
83
153
|
*/
|
|
@@ -155,6 +225,7 @@ export declare class HederaCoin extends AccountCoinToken {
|
|
|
155
225
|
export declare class HederaToken extends AccountCoinToken {
|
|
156
226
|
nodeAccountId: string;
|
|
157
227
|
tokenId: string;
|
|
228
|
+
contractAddress: string;
|
|
158
229
|
constructor(options: HederaTokenConstructorOptions);
|
|
159
230
|
}
|
|
160
231
|
/**
|
|
@@ -164,8 +235,7 @@ export declare class HederaToken extends AccountCoinToken {
|
|
|
164
235
|
*
|
|
165
236
|
*/
|
|
166
237
|
export declare class AlgoCoin extends AccountCoinToken {
|
|
167
|
-
|
|
168
|
-
constructor(options: AlgoCoinConstructorOptions);
|
|
238
|
+
constructor(options: AccountConstructorOptions);
|
|
169
239
|
}
|
|
170
240
|
/**
|
|
171
241
|
* The Eos network supports tokens
|
|
@@ -175,6 +245,8 @@ export declare class AlgoCoin extends AccountCoinToken {
|
|
|
175
245
|
*/
|
|
176
246
|
export declare class EosCoin extends AccountCoinToken {
|
|
177
247
|
contractName: string;
|
|
248
|
+
contractAddress: string;
|
|
249
|
+
symbol: string;
|
|
178
250
|
constructor(options: EosCoinConstructorOptions);
|
|
179
251
|
}
|
|
180
252
|
/**
|
|
@@ -185,17 +257,15 @@ export declare class EosCoin extends AccountCoinToken {
|
|
|
185
257
|
*/
|
|
186
258
|
export declare class SolCoin extends AccountCoinToken {
|
|
187
259
|
tokenAddress: string;
|
|
260
|
+
contractAddress: string;
|
|
261
|
+
programId: string;
|
|
188
262
|
constructor(options: SolCoinConstructorOptions);
|
|
189
263
|
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
export declare class AdaCoin extends AccountCoinToken {
|
|
196
|
-
policyId: string;
|
|
197
|
-
assetName: string;
|
|
198
|
-
constructor(options: AdaCoinConstructorOptions);
|
|
264
|
+
export declare class EthLikeERC20Token extends ContractAddressDefinedToken {
|
|
265
|
+
constructor(options: Erc20ConstructorOptions);
|
|
266
|
+
}
|
|
267
|
+
export declare class EthLikeERC721Token extends ContractAddressDefinedToken {
|
|
268
|
+
constructor(options: Erc721ConstructorOptions);
|
|
199
269
|
}
|
|
200
270
|
/**
|
|
201
271
|
* The AVAX C Chain network support tokens
|
|
@@ -218,6 +288,62 @@ export declare class PolygonERC20Token extends ContractAddressDefinedToken {
|
|
|
218
288
|
export declare class ArbethERC20Token extends ContractAddressDefinedToken {
|
|
219
289
|
constructor(options: Erc20ConstructorOptions);
|
|
220
290
|
}
|
|
291
|
+
/**
|
|
292
|
+
* The Optimism Chain network support tokens
|
|
293
|
+
* Optimism Chain Tokens are ERC20 tokens
|
|
294
|
+
*/
|
|
295
|
+
export declare class OpethERC20Token extends ContractAddressDefinedToken {
|
|
296
|
+
constructor(options: Erc20ConstructorOptions);
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* The zkSync network support tokens
|
|
300
|
+
* zkSync Tokens are ERC20 tokens
|
|
301
|
+
*/
|
|
302
|
+
export declare class ZkethERC20Token extends ContractAddressDefinedToken {
|
|
303
|
+
constructor(options: Erc20ConstructorOptions);
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* The Bera Chain network support tokens
|
|
307
|
+
* Bera Chain Tokens are ERC20 tokens
|
|
308
|
+
*/
|
|
309
|
+
export declare class BeraERC20Token extends ContractAddressDefinedToken {
|
|
310
|
+
constructor(options: Erc20ConstructorOptions);
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* The Coredao Chain network support tokens
|
|
314
|
+
* Coredao Chain Tokens are ERC20 tokens
|
|
315
|
+
*/
|
|
316
|
+
export declare class CoredaoERC20Token extends ContractAddressDefinedToken {
|
|
317
|
+
constructor(options: Erc20ConstructorOptions);
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* The World Chain network supports tokens
|
|
321
|
+
* World Chain Tokens are ERC20 tokens
|
|
322
|
+
*/
|
|
323
|
+
export declare class WorldERC20Token extends ContractAddressDefinedToken {
|
|
324
|
+
constructor(options: Erc20ConstructorOptions);
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* The Flr Chain network supports tokens
|
|
328
|
+
* Flr Chain Tokens are ERC20 tokens
|
|
329
|
+
*/
|
|
330
|
+
export declare class FlrERC20Token extends ContractAddressDefinedToken {
|
|
331
|
+
constructor(options: Erc20ConstructorOptions);
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* The XDC network supports tokens
|
|
335
|
+
* XDC Tokens are ERC20 tokens
|
|
336
|
+
*/
|
|
337
|
+
export declare class XdcERC20Token extends ContractAddressDefinedToken {
|
|
338
|
+
constructor(options: Erc20ConstructorOptions);
|
|
339
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* The Mon network supports tokens
|
|
342
|
+
* Mon Tokens are ERC20 tokens
|
|
343
|
+
*/
|
|
344
|
+
export declare class MonERC20Token extends ContractAddressDefinedToken {
|
|
345
|
+
constructor(options: Erc20ConstructorOptions);
|
|
346
|
+
}
|
|
221
347
|
/**
|
|
222
348
|
* The Xrp network supports tokens
|
|
223
349
|
* Xrp tokens are identified by their issuer address
|
|
@@ -228,8 +354,42 @@ export declare class XrpCoin extends AccountCoinToken {
|
|
|
228
354
|
issuerAddress: string;
|
|
229
355
|
currencyCode: string;
|
|
230
356
|
domain: string;
|
|
357
|
+
contractAddress: string;
|
|
231
358
|
constructor(options: XrpCoinConstructorOptions);
|
|
232
359
|
}
|
|
360
|
+
export declare class SuiCoin extends AccountCoinToken {
|
|
361
|
+
packageId: string;
|
|
362
|
+
module: string;
|
|
363
|
+
symbol: string;
|
|
364
|
+
contractAddress: string;
|
|
365
|
+
constructor(options: SuiCoinConstructorOptions);
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* The Apt network supports tokens
|
|
369
|
+
* Apt tokens work similar to native Apt coin, but the token name is determined by
|
|
370
|
+
* the tokenAddress on the chain.
|
|
371
|
+
*
|
|
372
|
+
*/
|
|
373
|
+
export declare class AptCoin extends AccountCoinToken {
|
|
374
|
+
assetId: string;
|
|
375
|
+
constructor(options: AptCoinConstructorOptions);
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* The Apt network supports non-fungible tokens (Digital Asset Standard)
|
|
379
|
+
* Every NFT belongs to an NFT collection.
|
|
380
|
+
*/
|
|
381
|
+
export declare class AptNFTCollection extends NFTCollectionIdDefinedToken {
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* The Vechain network supports non-fungible tokens
|
|
385
|
+
* Every NFT belongs to an NFT collection(contract).
|
|
386
|
+
*/
|
|
387
|
+
export declare class VetNFTCollection extends NFTCollectionIdDefinedToken {
|
|
388
|
+
gasTankToken?: string;
|
|
389
|
+
constructor(options: NFTCollectionIdConstructorOptions & {
|
|
390
|
+
gasTankToken?: string;
|
|
391
|
+
});
|
|
392
|
+
}
|
|
233
393
|
/**
|
|
234
394
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
235
395
|
*/
|
|
@@ -240,6 +400,70 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
240
400
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
241
401
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
242
402
|
}
|
|
403
|
+
/**
|
|
404
|
+
* The Stacks network supports tokens
|
|
405
|
+
* Stx tokens work similar to native Stx coin, but the token name is determined by
|
|
406
|
+
* the contractName on the chain.
|
|
407
|
+
*/
|
|
408
|
+
export declare class Sip10Token extends AccountCoinToken {
|
|
409
|
+
assetId: string;
|
|
410
|
+
constructor(options: Sip10TokenConstructorOptions);
|
|
411
|
+
}
|
|
412
|
+
/**
|
|
413
|
+
* The Near network supports tokens
|
|
414
|
+
* Near tokens work similar to native near coin
|
|
415
|
+
*/
|
|
416
|
+
export declare class Nep141Token extends AccountCoinToken {
|
|
417
|
+
contractAddress: string;
|
|
418
|
+
storageDepositAmount: string;
|
|
419
|
+
constructor(options: Nep141TokenConstructorOptions);
|
|
420
|
+
}
|
|
421
|
+
export declare class VetToken extends AccountCoinToken {
|
|
422
|
+
contractAddress: string;
|
|
423
|
+
gasTankToken?: string;
|
|
424
|
+
constructor(options: VetTokenConstructorOptions);
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* Cosmos network supports tokens
|
|
428
|
+
* Cosmos tokens work similar to native coins, but the token is determined by
|
|
429
|
+
* the denom on chain.
|
|
430
|
+
*
|
|
431
|
+
*/
|
|
432
|
+
export declare class CosmosChainToken extends AccountCoinToken {
|
|
433
|
+
denom: string;
|
|
434
|
+
constructor(options: CosmosTokenConstructorOptions);
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
* TON supports tokens and Jetton is a token standard on TON
|
|
438
|
+
* Jetton tokens work similar to native TON coin
|
|
439
|
+
*/
|
|
440
|
+
export declare class JettonToken extends AccountCoinToken {
|
|
441
|
+
contractAddress: string;
|
|
442
|
+
constructor(options: JettonTokenConstructorOptions);
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* The Bittensor network supports tokens
|
|
446
|
+
* The token name is determined by the subnetId on chain.
|
|
447
|
+
*/
|
|
448
|
+
export declare class TaoCoin extends AccountCoinToken {
|
|
449
|
+
subnetId: string;
|
|
450
|
+
constructor(options: TaoCoinConstructorOptions);
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* The Bittensor network supports tokens
|
|
454
|
+
* The token name is determined by the subnetId on chain.
|
|
455
|
+
*/
|
|
456
|
+
export declare class PolyxCoin extends AccountCoinToken {
|
|
457
|
+
ticker: string;
|
|
458
|
+
assetId: string;
|
|
459
|
+
constructor(options: PolyxCoinConstructorOptions);
|
|
460
|
+
}
|
|
461
|
+
export declare class AdaToken extends AccountCoinToken {
|
|
462
|
+
policyId: string;
|
|
463
|
+
assetName: string;
|
|
464
|
+
contractAddress: string;
|
|
465
|
+
constructor(options: AdaTokenConstructorOptions);
|
|
466
|
+
}
|
|
243
467
|
/**
|
|
244
468
|
* Factory function for account coin instances.
|
|
245
469
|
*
|
|
@@ -256,6 +480,56 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
256
480
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
257
481
|
*/
|
|
258
482
|
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>;
|
|
483
|
+
/**
|
|
484
|
+
* Factory function for gas tank account coin instances.
|
|
485
|
+
*
|
|
486
|
+
* @param id uuid v4
|
|
487
|
+
* @param name unique identifier of the coin
|
|
488
|
+
* @param fullName Complete human-readable name of the coin
|
|
489
|
+
* @param network Network object for this coin
|
|
490
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
491
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
492
|
+
* @param baseUnit
|
|
493
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
494
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
495
|
+
* @param gasTankLowBalanceAlertFactor Low gas tank balance alert threshold = (feeEstimate x gasTankLowBalanceAlertFactor)
|
|
496
|
+
* @param gasTankMinBalanceRecommendationFactor Min gas tank balance recommendation = (feeEstimate x gasTankMinBalanceRecommendationFactor)
|
|
497
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
498
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
499
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
500
|
+
*/
|
|
501
|
+
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>;
|
|
502
|
+
/**
|
|
503
|
+
* Factory function for ethLikeErc20 token instances.
|
|
504
|
+
*
|
|
505
|
+
* @param id uuid v4
|
|
506
|
+
* @param name unique identifier of the token
|
|
507
|
+
* @param fullName Complete human-readable name of the token
|
|
508
|
+
* @param decimalPlaces Number of decimal places this token supports
|
|
509
|
+
* @param contractAddress Contract address of this token
|
|
510
|
+
* @param asset Asset which this coin represents
|
|
511
|
+
* @param network Optional token network
|
|
512
|
+
* @param coinNames The parent coin names for mainnet and testnet
|
|
513
|
+
* @param features Features of this coin
|
|
514
|
+
* @param prefix Optional token prefix
|
|
515
|
+
* @param suffix Optional token suffix
|
|
516
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
517
|
+
*/
|
|
518
|
+
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>;
|
|
519
|
+
/**
|
|
520
|
+
* Factory function for erc721 token instances.
|
|
521
|
+
*
|
|
522
|
+
* @param id uuid v4
|
|
523
|
+
* @param name unique identifier of the token
|
|
524
|
+
* @param fullName Complete human-readable name of the token
|
|
525
|
+
* @param contractAddress Contract address of this token
|
|
526
|
+
* @param network network
|
|
527
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
528
|
+
* @param prefix Optional token prefix
|
|
529
|
+
* @param suffix Optional token suffix
|
|
530
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
531
|
+
*/
|
|
532
|
+
export declare function erc721Token(id: string, name: string, fullName: string, contractAddress: string, network: AccountNetwork, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<EthLikeERC721Token>;
|
|
259
533
|
/**
|
|
260
534
|
* Factory function for erc20 token instances.
|
|
261
535
|
*
|
|
@@ -312,7 +586,7 @@ export declare function erc721(id: string, name: string, fullName: string, contr
|
|
|
312
586
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
313
587
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
314
588
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
315
|
-
* @param network? Optional token network. Defaults to
|
|
589
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
316
590
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
317
591
|
*/
|
|
318
592
|
export declare function terc721(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
@@ -356,7 +630,7 @@ export declare function erc1155(id: string, name: string, fullName: string, cont
|
|
|
356
630
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
357
631
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
358
632
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
359
|
-
* @param network? Optional token network. Defaults to
|
|
633
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
360
634
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
361
635
|
*/
|
|
362
636
|
export declare function terc1155(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
@@ -384,11 +658,11 @@ export declare function erc20CompatibleAccountCoin(id: string, name: string, ful
|
|
|
384
658
|
* @param fullName Complete human-readable name of the token
|
|
385
659
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
386
660
|
* @param contractAddress Contract address of this token
|
|
387
|
-
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
388
|
-
* @param prefix? Optional token prefix. Defaults to empty string
|
|
389
|
-
* @param suffix? Optional token suffix. Defaults to token name.
|
|
390
|
-
* @param network? Optional token network. Defaults to CELO main network.
|
|
391
|
-
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
661
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
662
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
663
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
664
|
+
* @param network ? Optional token network. Defaults to CELO main network.
|
|
665
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
392
666
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
393
667
|
*/
|
|
394
668
|
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>;
|
|
@@ -401,10 +675,10 @@ export declare function celoToken(id: string, name: string, fullName: string, de
|
|
|
401
675
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
402
676
|
* @param contractAddress Contract address of this token
|
|
403
677
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
404
|
-
* @param
|
|
405
|
-
* @param
|
|
406
|
-
* @param
|
|
407
|
-
* @param
|
|
678
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
679
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
680
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
681
|
+
* @param network ? Optional token network. Defaults to the testnet CELO network.
|
|
408
682
|
*/
|
|
409
683
|
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>;
|
|
410
684
|
/**
|
|
@@ -518,7 +792,7 @@ export declare function ttronToken(id: string, name: string, fullName: string, d
|
|
|
518
792
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
519
793
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
520
794
|
*/
|
|
521
|
-
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
795
|
+
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>;
|
|
522
796
|
/**
|
|
523
797
|
* Factory function for Hedera token instances
|
|
524
798
|
*
|
|
@@ -529,13 +803,14 @@ export declare function hederaCoin(id: string, name: string, fullName: string, n
|
|
|
529
803
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
530
804
|
* @param nodeAccountId node account Id from which the transaction will be sent
|
|
531
805
|
* @param tokenId The unique identifier of this token
|
|
806
|
+
* @param contractAddress Contract address of this token, same as tokenId
|
|
532
807
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
533
808
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
534
809
|
* @param network? Optional token network. Defaults to Hedera mainnet.
|
|
535
810
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
536
811
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
537
812
|
*/
|
|
538
|
-
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
813
|
+
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>;
|
|
539
814
|
/**
|
|
540
815
|
* Factory function for ALGO token instances.
|
|
541
816
|
*
|
|
@@ -546,7 +821,6 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
546
821
|
* @param fullName Complete human-readable name of the token
|
|
547
822
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
548
823
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
549
|
-
* @param tokenURL Optional asset Url for more informationa about the asset
|
|
550
824
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
551
825
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
552
826
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -554,7 +828,7 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
554
828
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
555
829
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
556
830
|
*/
|
|
557
|
-
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
831
|
+
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>;
|
|
558
832
|
/**
|
|
559
833
|
* Factory function for testnet ALGO token instances.
|
|
560
834
|
*
|
|
@@ -564,14 +838,13 @@ export declare function algoToken(id: string, name: string, alias: string | unde
|
|
|
564
838
|
* @param fullName Complete human-readable name of the token
|
|
565
839
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
566
840
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
567
|
-
* @param tokenURL Optional asset Url for more informationa about the asset
|
|
568
841
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
569
842
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
570
843
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
571
844
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
572
845
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
573
846
|
*/
|
|
574
|
-
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
847
|
+
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>;
|
|
575
848
|
/**
|
|
576
849
|
* Factory function for eos token instances.
|
|
577
850
|
*
|
|
@@ -580,6 +853,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
580
853
|
* @param fullName Complete human-readable name of the token
|
|
581
854
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
582
855
|
* @param contractName Contract address of this token
|
|
856
|
+
* @param contractAddress Contract address of this token
|
|
583
857
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
584
858
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
585
859
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -587,7 +861,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
587
861
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
588
862
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
589
863
|
*/
|
|
590
|
-
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>;
|
|
864
|
+
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>;
|
|
591
865
|
/**
|
|
592
866
|
* Factory function for testnet eos token instances.
|
|
593
867
|
*
|
|
@@ -595,14 +869,16 @@ export declare function eosToken(id: string, name: string, fullName: string, dec
|
|
|
595
869
|
* @param name unique identifier of the token
|
|
596
870
|
* @param fullName Complete human-readable name of the token
|
|
597
871
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
872
|
+
* @param contractName Contract address of this token
|
|
598
873
|
* @param contractAddress Contract address of this token
|
|
599
874
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
600
875
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
601
876
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
877
|
+
* @param symbol? token symbol as defined in token contract.
|
|
602
878
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
603
879
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
604
880
|
*/
|
|
605
|
-
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>;
|
|
881
|
+
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>;
|
|
606
882
|
/**
|
|
607
883
|
* Factory function for sol token instances.
|
|
608
884
|
*
|
|
@@ -611,6 +887,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
611
887
|
* @param fullName Complete human-readable name of the token
|
|
612
888
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
613
889
|
* @param tokenAddress Token address of this token
|
|
890
|
+
* @param contractAddress Contract address of this token
|
|
614
891
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
615
892
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
616
893
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -618,7 +895,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
618
895
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
619
896
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
620
897
|
*/
|
|
621
|
-
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>;
|
|
898
|
+
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>;
|
|
622
899
|
/**
|
|
623
900
|
* Factory function for testnet solana token instances.
|
|
624
901
|
*
|
|
@@ -633,38 +910,42 @@ export declare function solToken(id: string, name: string, fullName: string, dec
|
|
|
633
910
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
634
911
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
635
912
|
*/
|
|
636
|
-
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>;
|
|
913
|
+
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>;
|
|
637
914
|
/**
|
|
638
|
-
* Factory function for
|
|
915
|
+
* Factory function for prod cardano token instances.
|
|
639
916
|
*
|
|
640
917
|
* @param id uuid v4
|
|
641
|
-
* @param name
|
|
918
|
+
* @param name Name of the token
|
|
642
919
|
* @param fullName Complete human-readable name of the token
|
|
643
920
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
644
|
-
* @param
|
|
921
|
+
* @param policyId Policy Id
|
|
922
|
+
* @param assetName Asset name -> Policy ID + Asset name is the unique identifier
|
|
923
|
+
* @param contractAddress Fingerprint of this token
|
|
645
924
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
646
925
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
647
926
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
648
|
-
* @param network? Optional token network. Defaults to Cardano
|
|
927
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
649
928
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
650
929
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
651
930
|
*/
|
|
652
|
-
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<
|
|
931
|
+
export declare function adaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AdaToken>;
|
|
653
932
|
/**
|
|
654
933
|
* Factory function for testnet cardano token instances.
|
|
655
934
|
*
|
|
656
935
|
* @param id uuid v4
|
|
657
|
-
* @param name
|
|
936
|
+
* @param name Name of the token
|
|
658
937
|
* @param fullName Complete human-readable name of the token
|
|
659
938
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
660
|
-
* @param
|
|
939
|
+
* @param policyId Policy Id
|
|
940
|
+
* @param assetName Asset name -> Policy ID + Asset name is the unique identifier
|
|
941
|
+
* @param contractAddress Fingerprint of this token
|
|
661
942
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
662
943
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
663
944
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
664
945
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
665
946
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
666
947
|
*/
|
|
667
|
-
export declare function tadaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, asset: UnderlyingAsset, features?: CoinFeature[],
|
|
948
|
+
export declare function tadaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], network?: AccountNetwork, prefix?: string, suffix?: string): Readonly<AdaToken>;
|
|
668
949
|
/**
|
|
669
950
|
* Factory function for avaxErc20 token instances.
|
|
670
951
|
*
|
|
@@ -714,7 +995,7 @@ export declare function tavaxErc20(id: string, name: string, fullName: string, d
|
|
|
714
995
|
*/
|
|
715
996
|
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>;
|
|
716
997
|
/**
|
|
717
|
-
* Factory function for
|
|
998
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
718
999
|
*
|
|
719
1000
|
* @param id uuid v4
|
|
720
1001
|
* @param name unique identifier of the token
|
|
@@ -740,7 +1021,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
740
1021
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
741
1022
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
742
1023
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
743
|
-
* @param network? Optional token network. Defaults to
|
|
1024
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
744
1025
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
745
1026
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
746
1027
|
*/
|
|
@@ -756,61 +1037,663 @@ export declare function arbethErc20(id: string, name: string, fullName: string,
|
|
|
756
1037
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
757
1038
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
758
1039
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
759
|
-
* @param network? Optional token network. Defaults to the
|
|
1040
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
760
1041
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
761
1042
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
762
1043
|
*/
|
|
763
1044
|
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>;
|
|
764
1045
|
/**
|
|
765
|
-
* Factory function for
|
|
1046
|
+
* Factory function for opethErc20 token instances.
|
|
766
1047
|
*
|
|
767
1048
|
* @param id uuid v4
|
|
768
1049
|
* @param name unique identifier of the token
|
|
769
1050
|
* @param fullName Complete human-readable name of the token
|
|
770
1051
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
771
|
-
* @param
|
|
772
|
-
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
773
|
-
* @param domain? the domain of the issuer of the token,
|
|
1052
|
+
* @param contractAddress Contract address of this token
|
|
774
1053
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
775
1054
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
776
1055
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
777
|
-
* @param network? Optional token network. Defaults to
|
|
1056
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
778
1057
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
779
1058
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
780
1059
|
*/
|
|
781
|
-
export declare function
|
|
1060
|
+
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>;
|
|
782
1061
|
/**
|
|
783
|
-
* Factory function for testnet
|
|
1062
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
784
1063
|
*
|
|
785
1064
|
* @param id uuid v4
|
|
786
1065
|
* @param name unique identifier of the token
|
|
787
1066
|
* @param fullName Complete human-readable name of the token
|
|
788
1067
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
789
|
-
* @param
|
|
790
|
-
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
791
|
-
* @param domain? the domain of the issuer of the token,
|
|
1068
|
+
* @param contractAddress Contract address of this token
|
|
792
1069
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
793
1070
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
794
1071
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
795
|
-
* @param network? Optional token network. Defaults to the
|
|
1072
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
796
1073
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1074
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
797
1075
|
*/
|
|
798
|
-
export declare function
|
|
1076
|
+
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>;
|
|
799
1077
|
/**
|
|
800
|
-
* Factory function for
|
|
1078
|
+
* Factory function for zkethErc20 token instances.
|
|
801
1079
|
*
|
|
802
1080
|
* @param id uuid v4
|
|
803
|
-
* @param name unique identifier of the
|
|
804
|
-
* @param fullName Complete human-readable name of the
|
|
805
|
-
* @param
|
|
806
|
-
* @param
|
|
1081
|
+
* @param name unique identifier of the token
|
|
1082
|
+
* @param fullName Complete human-readable name of the token
|
|
1083
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1084
|
+
* @param contractAddress Contract address of this token
|
|
807
1085
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
808
|
-
* @param
|
|
809
|
-
* @param
|
|
810
|
-
* @param
|
|
811
|
-
* @param
|
|
812
|
-
* @param
|
|
1086
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1087
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1088
|
+
* @param network? Optional token network. Defaults to zkSync mainnet network.
|
|
1089
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1090
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
813
1091
|
*/
|
|
814
|
-
export declare function
|
|
1092
|
+
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>;
|
|
1093
|
+
/**
|
|
1094
|
+
* Factory function for zkSync Sepolia testnet zkethErc20 token instances.
|
|
1095
|
+
*
|
|
1096
|
+
* @param id uuid v4
|
|
1097
|
+
* @param name unique identifier of the token
|
|
1098
|
+
* @param fullName Complete human-readable name of the token
|
|
1099
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1100
|
+
* @param contractAddress Contract address of this token
|
|
1101
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1102
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1103
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1104
|
+
* @param network? Optional token network. Defaults to the zkSync sepolia test network.
|
|
1105
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1106
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1107
|
+
*/
|
|
1108
|
+
export declare function 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>;
|
|
1109
|
+
/**
|
|
1110
|
+
* Factory function for beraErc20 token instances.
|
|
1111
|
+
*
|
|
1112
|
+
* @param id uuid v4
|
|
1113
|
+
* @param name unique identifier of the token
|
|
1114
|
+
* @param fullName Complete human-readable name of the token
|
|
1115
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1116
|
+
* @param contractAddress Contract address of this token
|
|
1117
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1118
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1119
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1120
|
+
* @param network? Optional token network. Defaults to bera mainnet network.
|
|
1121
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1122
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1123
|
+
*/
|
|
1124
|
+
export declare function 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>;
|
|
1125
|
+
/**
|
|
1126
|
+
* Factory function for zkSync Sepolia testnet beraErc20 token instances.
|
|
1127
|
+
*
|
|
1128
|
+
* @param id uuid v4
|
|
1129
|
+
* @param name unique identifier of the token
|
|
1130
|
+
* @param fullName Complete human-readable name of the token
|
|
1131
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1132
|
+
* @param contractAddress Contract address of this token
|
|
1133
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1134
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1135
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1136
|
+
* @param network? Optional token network. Defaults to the bera test network.
|
|
1137
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1138
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1139
|
+
*/
|
|
1140
|
+
export declare function 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>;
|
|
1141
|
+
/**
|
|
1142
|
+
* Factory function for CoredaoErc20 token instances.
|
|
1143
|
+
*
|
|
1144
|
+
* @param id uuid v4
|
|
1145
|
+
* @param name unique identifier of the token
|
|
1146
|
+
* @param fullName Complete human-readable name of the token
|
|
1147
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1148
|
+
* @param contractAddress Contract address of this token
|
|
1149
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1150
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1151
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1152
|
+
* @param network? Optional token network. Defaults to coredao mainnet network.
|
|
1153
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1154
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1155
|
+
*/
|
|
1156
|
+
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>;
|
|
1157
|
+
/**
|
|
1158
|
+
* Factory function for coredao testnet coredaoErc20 token instances.
|
|
1159
|
+
*
|
|
1160
|
+
* @param id uuid v4
|
|
1161
|
+
* @param name unique identifier of the token
|
|
1162
|
+
* @param fullName Complete human-readable name of the token
|
|
1163
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1164
|
+
* @param contractAddress Contract address of this token
|
|
1165
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1166
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1167
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1168
|
+
* @param network? Optional token network. Defaults to the coredao test network.
|
|
1169
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1170
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1171
|
+
*/
|
|
1172
|
+
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>;
|
|
1173
|
+
/**
|
|
1174
|
+
* Factory function for WorldErc20 token instances.
|
|
1175
|
+
*
|
|
1176
|
+
* @param id uuid v4
|
|
1177
|
+
* @param name unique identifier of the token
|
|
1178
|
+
* @param fullName Complete human-readable name of the token
|
|
1179
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1180
|
+
* @param contractAddress Contract address of this token
|
|
1181
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1182
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1183
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1184
|
+
* @param network? Optional token network. Defaults to World Chain mainnet network.
|
|
1185
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1186
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1187
|
+
*/
|
|
1188
|
+
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>;
|
|
1189
|
+
/**
|
|
1190
|
+
* Factory function for world testnet worldErc20 token instances.
|
|
1191
|
+
*
|
|
1192
|
+
* @param id uuid v4
|
|
1193
|
+
* @param name unique identifier of the token
|
|
1194
|
+
* @param fullName Complete human-readable name of the token
|
|
1195
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1196
|
+
* @param contractAddress Contract address of this token
|
|
1197
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1198
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1199
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1200
|
+
* @param network? Optional token network. Defaults to the World Chain test network.
|
|
1201
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1202
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1203
|
+
*/
|
|
1204
|
+
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>;
|
|
1205
|
+
/**
|
|
1206
|
+
* Factory function for FlrErc20 token instances.
|
|
1207
|
+
*
|
|
1208
|
+
* @param id uuid v4
|
|
1209
|
+
* @param name unique identifier of the token
|
|
1210
|
+
* @param fullName Complete human-readable name of the token
|
|
1211
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1212
|
+
* @param contractAddress Contract address of this token
|
|
1213
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1214
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1215
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1216
|
+
* @param network? Optional token network. Defaults to Flr Chain mainnet network.
|
|
1217
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1218
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1219
|
+
*/
|
|
1220
|
+
export declare function flrErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<FlrERC20Token>;
|
|
1221
|
+
/**
|
|
1222
|
+
* Factory function for Flr testnet FlrErc20 token instances.
|
|
1223
|
+
*
|
|
1224
|
+
* @param id uuid v4
|
|
1225
|
+
* @param name unique identifier of the token
|
|
1226
|
+
* @param fullName Complete human-readable name of the token
|
|
1227
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1228
|
+
* @param contractAddress Contract address of this token
|
|
1229
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1230
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1231
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1232
|
+
* @param network? Optional token network. Defaults to the Flr Chain test network.
|
|
1233
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1234
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1235
|
+
*/
|
|
1236
|
+
export declare function tflrErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<FlrERC20Token>;
|
|
1237
|
+
/**
|
|
1238
|
+
* Factory function for XdcErc20 token instances.
|
|
1239
|
+
*
|
|
1240
|
+
* @param id uuid v4
|
|
1241
|
+
* @param name unique identifier of the token
|
|
1242
|
+
* @param fullName Complete human-readable name of the token
|
|
1243
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1244
|
+
* @param contractAddress Contract address of this token
|
|
1245
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1246
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1247
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1248
|
+
* @param network? Optional token network. Defaults to XDC mainnet network.
|
|
1249
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1250
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1251
|
+
*/
|
|
1252
|
+
export declare function xdcErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<XdcERC20Token>;
|
|
1253
|
+
/**
|
|
1254
|
+
* Factory function for XDC testnet XdcErc20 token instances.
|
|
1255
|
+
*
|
|
1256
|
+
* @param id uuid v4
|
|
1257
|
+
* @param name unique identifier of the token
|
|
1258
|
+
* @param fullName Complete human-readable name of the token
|
|
1259
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1260
|
+
* @param contractAddress Contract address of this token
|
|
1261
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1262
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1263
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1264
|
+
* @param network? Optional token network. Defaults to the XDC test network.
|
|
1265
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1266
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1267
|
+
*/
|
|
1268
|
+
export declare function txdcErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<XdcERC20Token>;
|
|
1269
|
+
/**
|
|
1270
|
+
* Factory function for MonErc20 token instances.
|
|
1271
|
+
*
|
|
1272
|
+
* @param id uuid v4
|
|
1273
|
+
* @param name unique identifier of the token
|
|
1274
|
+
* @param fullName Complete human-readable name of the token
|
|
1275
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1276
|
+
* @param contractAddress Contract address of this token
|
|
1277
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1278
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1279
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1280
|
+
* @param network? Optional token network. Defaults to Mon mainnet network.
|
|
1281
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1282
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1283
|
+
*/
|
|
1284
|
+
export declare function monErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<MonERC20Token>;
|
|
1285
|
+
/**
|
|
1286
|
+
* Factory function for Mon testnet MonErc20 token instances.
|
|
1287
|
+
*
|
|
1288
|
+
* @param id uuid v4
|
|
1289
|
+
* @param name unique identifier of the token
|
|
1290
|
+
* @param fullName Complete human-readable name of the token
|
|
1291
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1292
|
+
* @param contractAddress Contract address of this token
|
|
1293
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1294
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1295
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1296
|
+
* @param network? Optional token network. Defaults to the Mon test network.
|
|
1297
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1298
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1299
|
+
*/
|
|
1300
|
+
export declare function tmonErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<MonERC20Token>;
|
|
1301
|
+
/**
|
|
1302
|
+
* Factory function for xrp token instances.
|
|
1303
|
+
*
|
|
1304
|
+
* @param id uuid v4
|
|
1305
|
+
* @param name unique identifier of the token
|
|
1306
|
+
* @param fullName Complete human-readable name of the token
|
|
1307
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1308
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
1309
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1310
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
1311
|
+
* @param domain? the domain of the issuer of the token,
|
|
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 Cardano 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 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>;
|
|
1320
|
+
/**
|
|
1321
|
+
* Factory function for testnet cardano 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 issuerAddress: The address of the issuer of the token,
|
|
1328
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1329
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
1330
|
+
* @param domain? the domain of the issuer of the token,
|
|
1331
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1332
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1333
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1334
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
1335
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1336
|
+
*/
|
|
1337
|
+
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>;
|
|
1338
|
+
/**
|
|
1339
|
+
* Factory function for sui token instances.
|
|
1340
|
+
*
|
|
1341
|
+
* @param id uuid v4
|
|
1342
|
+
* @param name unique identifier of the token
|
|
1343
|
+
* @param fullName Complete human-readable name of the token
|
|
1344
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1345
|
+
* @param packageId PackageId of this token
|
|
1346
|
+
* @param module The module of the package with id `packageId`
|
|
1347
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1348
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1349
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1350
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1351
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1352
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1353
|
+
* @param network? Optional token network. Defaults to SUI main network.
|
|
1354
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1355
|
+
*/
|
|
1356
|
+
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>;
|
|
1357
|
+
/**
|
|
1358
|
+
* Factory function for testnet sui token instances.
|
|
1359
|
+
*
|
|
1360
|
+
* @param id uuid v4
|
|
1361
|
+
* @param name unique identifier of the token
|
|
1362
|
+
* @param fullName Complete human-readable name of the token
|
|
1363
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1364
|
+
* @param packageId PackageId of this token
|
|
1365
|
+
* @param module The module of the package with id `packageId`
|
|
1366
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1367
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1368
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1369
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1370
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1371
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1372
|
+
* @param network? Optional token network. Defaults to SUI test network.
|
|
1373
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1374
|
+
*/
|
|
1375
|
+
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>;
|
|
1376
|
+
/**
|
|
1377
|
+
* Factory function for apt token instances.
|
|
1378
|
+
*
|
|
1379
|
+
* @param id uuid v4
|
|
1380
|
+
* @param name unique identifier of the token
|
|
1381
|
+
* @param fullName Complete human-readable name of the token
|
|
1382
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1383
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1384
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1385
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1386
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1387
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1388
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1389
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1390
|
+
*/
|
|
1391
|
+
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>;
|
|
1392
|
+
/**
|
|
1393
|
+
* Factory function for Apt NFT collections.
|
|
1394
|
+
*
|
|
1395
|
+
* @param id uuid v4
|
|
1396
|
+
* @param name unique identifier of the NFT collection
|
|
1397
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1398
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1399
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1400
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1401
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1402
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1403
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1404
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1405
|
+
*/
|
|
1406
|
+
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>;
|
|
1407
|
+
/**
|
|
1408
|
+
* Factory function for testnet apt token instances.
|
|
1409
|
+
*
|
|
1410
|
+
* @param id uuid v4
|
|
1411
|
+
* @param name unique identifier of the token
|
|
1412
|
+
* @param fullName Complete human-readable name of the token
|
|
1413
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1414
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1415
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1416
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1417
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1418
|
+
* @param network Optional token network. Defaults to the testnet APT network.
|
|
1419
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1420
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1421
|
+
*/
|
|
1422
|
+
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>;
|
|
1423
|
+
/**
|
|
1424
|
+
* Factory function for testnet Apt NFT collections.
|
|
1425
|
+
*
|
|
1426
|
+
* @param id uuid v4
|
|
1427
|
+
* @param name unique identifier of the NFT collection
|
|
1428
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1429
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1430
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1431
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1432
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1433
|
+
* @param network Optional token network. Defaults to APT test network.
|
|
1434
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1435
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1436
|
+
*/
|
|
1437
|
+
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>;
|
|
1438
|
+
/**
|
|
1439
|
+
* Factory function for fiat coin instances.
|
|
1440
|
+
*
|
|
1441
|
+
* @param id uuid v4
|
|
1442
|
+
* @param name unique identifier of the coin, should start with 'fiat' or 'tfiat' followed by the 3-char ISO-4217 alphabetical code
|
|
1443
|
+
* @param fullName Complete human-readable name of the coin
|
|
1444
|
+
* @param network Network object for this coin
|
|
1445
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
1446
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1447
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `FiatCoin`
|
|
1448
|
+
* @param primaryKeyCurve? The elliptic curve for this chain/token
|
|
1449
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
1450
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
1451
|
+
* @param isToken? Whether or not this coin is a token of another coin
|
|
1452
|
+
*/
|
|
1453
|
+
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>;
|
|
1454
|
+
/**
|
|
1455
|
+
* Factory function for sip10 token instances.
|
|
1456
|
+
*
|
|
1457
|
+
* @param id uuid v4
|
|
1458
|
+
* @param name unique identifier of the token
|
|
1459
|
+
* @param fullName Complete human-readable name of the token
|
|
1460
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1461
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1462
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1463
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1464
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1465
|
+
* @param network? Optional token network. Defaults to Stacks main network.
|
|
1466
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1467
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1468
|
+
*/
|
|
1469
|
+
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>;
|
|
1470
|
+
/**
|
|
1471
|
+
* Factory function for testnet sip10 token instances.
|
|
1472
|
+
*
|
|
1473
|
+
* @param id uuid v4
|
|
1474
|
+
* @param name unique identifier of the token
|
|
1475
|
+
* @param fullName Complete human-readable name of the token
|
|
1476
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1477
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1478
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1479
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1480
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1481
|
+
* @param network? Optional token network. Defaults to the testnet Stacks network.
|
|
1482
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1483
|
+
*/
|
|
1484
|
+
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>;
|
|
1485
|
+
/**
|
|
1486
|
+
* Factory function for nep141 token instances.
|
|
1487
|
+
*
|
|
1488
|
+
* @param id uuid v4
|
|
1489
|
+
* @param name unique identifier of the token
|
|
1490
|
+
* @param fullName Complete human-readable name of the token
|
|
1491
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1492
|
+
* @param contractAddress Contract address of this token
|
|
1493
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1494
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1495
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1496
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1497
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1498
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1499
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1500
|
+
*/
|
|
1501
|
+
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>;
|
|
1502
|
+
/**
|
|
1503
|
+
* Factory function for testnet nep141 token instances.
|
|
1504
|
+
*
|
|
1505
|
+
* @param id uuid v4
|
|
1506
|
+
* @param name unique identifier of the token
|
|
1507
|
+
* @param fullName Complete human-readable name of the token
|
|
1508
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1509
|
+
* @param contractAddress Contract address of this token
|
|
1510
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1511
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1512
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1513
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1514
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1515
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1516
|
+
*/
|
|
1517
|
+
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>;
|
|
1518
|
+
/**
|
|
1519
|
+
* Factory function for vet token instances.
|
|
1520
|
+
*
|
|
1521
|
+
* @param id uuid v4
|
|
1522
|
+
* @param name unique identifier of the token
|
|
1523
|
+
* @param fullName Complete human-readable name of the token
|
|
1524
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1525
|
+
* @param contractAddress Contract address of this token
|
|
1526
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1527
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1528
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1529
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1530
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1531
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1532
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1533
|
+
*/
|
|
1534
|
+
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>;
|
|
1535
|
+
/**
|
|
1536
|
+
* Factory function for testnet vet token instances.
|
|
1537
|
+
*
|
|
1538
|
+
* @param id uuid v4
|
|
1539
|
+
* @param name unique identifier of the token
|
|
1540
|
+
* @param fullName Complete human-readable name of the token
|
|
1541
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1542
|
+
* @param contractAddress Contract address of this token
|
|
1543
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1544
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1545
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1546
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1547
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1548
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1549
|
+
*/
|
|
1550
|
+
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>;
|
|
1551
|
+
/**
|
|
1552
|
+
* Factory function for Vet NFT collections.
|
|
1553
|
+
*
|
|
1554
|
+
* @param id uuid v4
|
|
1555
|
+
* @param name unique identifier of the NFT collection
|
|
1556
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1557
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1558
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1559
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1560
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1561
|
+
* @param network Optional token network. Defaults to VET main network.
|
|
1562
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1563
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1564
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1565
|
+
*/
|
|
1566
|
+
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>;
|
|
1567
|
+
/**
|
|
1568
|
+
* Factory function for testnet Vet NFT collections.
|
|
1569
|
+
*
|
|
1570
|
+
* @param id uuid v4
|
|
1571
|
+
* @param name unique identifier of the NFT collection
|
|
1572
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1573
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1574
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1575
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1576
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1577
|
+
* @param network Optional token network. Defaults to VET test network.
|
|
1578
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1579
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1580
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1581
|
+
*/
|
|
1582
|
+
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>;
|
|
1583
|
+
/**
|
|
1584
|
+
* Factory function for Cosmos chain token instances.
|
|
1585
|
+
*
|
|
1586
|
+
* @param id uuid v4
|
|
1587
|
+
* @param name unique identifier of the token
|
|
1588
|
+
* @param fullName Complete human-readable name of the token
|
|
1589
|
+
* @param denom denomination of this token which will act as a unique identifier for the token on chain
|
|
1590
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1591
|
+
* @param network Network (mainnet or testnet) for this token
|
|
1592
|
+
* @param baseUnit Base unit of this token (native asset)
|
|
1593
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1594
|
+
* @param features Features of this coin. Defaults to the COSMOS_SIDECHAIN_FEATURES defined in `coinFeatures.ts`
|
|
1595
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1596
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1597
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1598
|
+
*/
|
|
1599
|
+
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>;
|
|
1600
|
+
/**
|
|
1601
|
+
* Factory function for tao token instances.
|
|
1602
|
+
*
|
|
1603
|
+
* @param id uuid v4
|
|
1604
|
+
* @param name unique identifier of the token
|
|
1605
|
+
* @param fullName Complete human-readable name of the token
|
|
1606
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1607
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1608
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1609
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1610
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1611
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1612
|
+
* @param network? Optional token network. Defaults to TAO main network.
|
|
1613
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1614
|
+
*/
|
|
1615
|
+
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>;
|
|
1616
|
+
/**
|
|
1617
|
+
* Factory function for testnet tao token instances.
|
|
1618
|
+
*
|
|
1619
|
+
* @param id uuid v4
|
|
1620
|
+
* @param name unique identifier of the token
|
|
1621
|
+
* @param fullName Complete human-readable name of the token
|
|
1622
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1623
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1624
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1625
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1626
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1627
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1628
|
+
* @param network? Optional token network. Defaults to TAO test network.
|
|
1629
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1630
|
+
*/
|
|
1631
|
+
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>;
|
|
1632
|
+
/**
|
|
1633
|
+
* Factory function for polyx token instances.
|
|
1634
|
+
*
|
|
1635
|
+
* @param id uuid v4
|
|
1636
|
+
* @param name unique identifier of the token
|
|
1637
|
+
* @param fullName Complete human-readable name of the token
|
|
1638
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1639
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1640
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1641
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1642
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1643
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1644
|
+
* @param network? Optional token network. Defaults to Polyx main network.
|
|
1645
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1646
|
+
*/
|
|
1647
|
+
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>;
|
|
1648
|
+
/**
|
|
1649
|
+
* Factory function for testnet polyx token instances.
|
|
1650
|
+
*
|
|
1651
|
+
* @param id uuid v4
|
|
1652
|
+
* @param name unique identifier of the token
|
|
1653
|
+
* @param fullName Complete human-readable name of the token
|
|
1654
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1655
|
+
* @param ticker The ticker symbol of the token
|
|
1656
|
+
* @param assetId The unique asset identifier for this token
|
|
1657
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1658
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1659
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1660
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1661
|
+
* @param network? Optional token network. Defaults to Polyx test network.
|
|
1662
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1663
|
+
*/
|
|
1664
|
+
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>;
|
|
1665
|
+
/**
|
|
1666
|
+
* Factory function for Jetton token instances.
|
|
1667
|
+
* Jetton is the token standard on TON blockchain.
|
|
1668
|
+
*
|
|
1669
|
+
* @param id uuid v4
|
|
1670
|
+
* @param name unique identifier of the token
|
|
1671
|
+
* @param fullName Complete human-readable name of the token
|
|
1672
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1673
|
+
* @param contractAddress Contract address of this token
|
|
1674
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1675
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1676
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1677
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1678
|
+
* @param network Optional token network. Defaults to TON main network.
|
|
1679
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1680
|
+
*/
|
|
1681
|
+
export declare function jettonToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<JettonToken>;
|
|
1682
|
+
/**
|
|
1683
|
+
* Factory function for testnet jetton token instances.
|
|
1684
|
+
* Jetton is the token standard on TON blockchain.
|
|
1685
|
+
*
|
|
1686
|
+
* @param id uuid v4
|
|
1687
|
+
* @param name unique identifier of the token
|
|
1688
|
+
* @param fullName Complete human-readable name of the token
|
|
1689
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1690
|
+
* @param contractAddress Contract address of this token
|
|
1691
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1692
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1693
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1694
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1695
|
+
* @param network Optional token network. Defaults to the testnet TON network.
|
|
1696
|
+
*/
|
|
1697
|
+
export declare function tjettonToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<JettonToken>;
|
|
815
1698
|
export {};
|
|
816
1699
|
//# sourceMappingURL=account.d.ts.map
|