@bitgo-beta/statics 15.1.1-beta.145 → 15.1.1-beta.1450
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 +897 -73
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +1407 -149
- package/dist/src/ada.d.ts.map +1 -1
- package/dist/src/ada.js +7 -3
- package/dist/src/allCoinsAndTokens.d.ts +2 -0
- package/dist/src/allCoinsAndTokens.d.ts.map +1 -0
- package/dist/src/allCoinsAndTokens.js +1038 -0
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +8 -3
- package/dist/src/base.d.ts +1946 -48
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +2030 -58
- 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 +110 -0
- package/dist/src/coinFeatures.d.ts.map +1 -0
- package/dist/src/coinFeatures.js +701 -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 +125 -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 +189 -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 +1946 -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 +17 -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 +801 -0
- package/dist/src/coins/ofcErc20Coins.d.ts +3 -0
- package/dist/src/coins/ofcErc20Coins.d.ts.map +1 -0
- package/dist/src/coins/ofcErc20Coins.js +1612 -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 +159 -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 +21 -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 +426 -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 +354 -1674
- package/dist/src/constants.d.ts +1 -0
- package/dist/src/constants.d.ts.map +1 -1
- package/dist/src/constants.js +3 -2
- package/dist/src/flrp.d.ts +40 -0
- package/dist/src/flrp.d.ts.map +1 -0
- package/dist/src/flrp.js +65 -0
- package/dist/src/index.d.ts +3 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +26 -3
- package/dist/src/lightning.d.ts +43 -0
- package/dist/src/lightning.d.ts.map +1 -0
- package/dist/src/lightning.js +62 -0
- package/dist/src/map.d.ts +10 -0
- package/dist/src/map.d.ts.map +1 -1
- package/dist/src/map.js +146 -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 +1289 -15
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +1622 -96
- 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 +250 -102
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +900 -205
- 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 -838
package/dist/src/account.d.ts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { BaseCoin, BaseUnit, CoinFeature, KeyCurve, UnderlyingAsset } from './base';
|
|
2
2
|
import { AccountNetwork, BaseNetwork, EthereumNetwork, TronNetwork } from './networks';
|
|
3
|
+
/**
|
|
4
|
+
* This is the program id against sol token program.
|
|
5
|
+
*/
|
|
6
|
+
export declare enum ProgramID {
|
|
7
|
+
TokenProgramId = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
|
|
8
|
+
Token2022ProgramId = "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"
|
|
9
|
+
}
|
|
3
10
|
export interface AccountConstructorOptions {
|
|
4
11
|
id: string;
|
|
5
12
|
fullName: string;
|
|
@@ -24,14 +31,25 @@ export interface AccountConstructorOptions {
|
|
|
24
31
|
*/
|
|
25
32
|
export declare class AccountCoin extends BaseCoin {
|
|
26
33
|
static readonly DEFAULT_FEATURES: CoinFeature[];
|
|
34
|
+
static readonly DEFAULT_FEATURES_EXCLUDE_SINGAPORE: (CoinFeature.EVM_WALLET | CoinFeature.METAMASK_INSTITUTIONAL | CoinFeature.VALUELESS_TRANSFER | CoinFeature.TRANSACTION_DATA | CoinFeature.REQUIRES_BIG_NUMBER | CoinFeature.REQUIRES_KRS_BACKUP_KEY | CoinFeature.PAYGO | CoinFeature.UNSPENT_MODEL | CoinFeature.LIGHTNING_MODEL | CoinFeature.ACCOUNT_MODEL | CoinFeature.CHILD_PAYS_FOR_PARENT | CoinFeature.SUPPORTS_TOKENS | CoinFeature.ENTERPRISE_PAYS_FEES | CoinFeature.REQUIRES_RESERVE | CoinFeature.CUSTODY | CoinFeature.TSS | CoinFeature.STAKING | CoinFeature.LIQUID_STAKING | CoinFeature.DEPRECATED | CoinFeature.GENERIC_TOKEN | CoinFeature.CUSTODY_BITGO_TRUST | CoinFeature.CUSTODY_BITGO_NEW_YORK | CoinFeature.CUSTODY_BITGO_GERMANY | CoinFeature.CUSTODY_BITGO_SWITZERLAND | CoinFeature.CUSTODY_BITGO_FRANKFURT | CoinFeature.CUSTODY_BITGO_SISTER_TRUST_ONE | CoinFeature.CUSTODY_BITGO_KOREA | CoinFeature.CUSTODY_BITGO_EUROPE_APS | CoinFeature.CUSTODY_BITGO_MENA_FZE | CoinFeature.CUSTODY_BITGO_CUSTODY_MENA_FZE | CoinFeature.CUSTODY_BITGO_INDIA | CoinFeature.EXPIRING_TRANSACTIONS | CoinFeature.MULTISIG_COLD | CoinFeature.TSS_COLD | CoinFeature.SHA256_WITH_ECDSA_TSS | CoinFeature.COSMOS_LIKE_COINS | CoinFeature.REBUILD_ON_CUSTODY_SIGNING | CoinFeature.INCREASED_TX_REQUEST_REBUILD_LIMIT | CoinFeature.BULK_TRANSACTION | CoinFeature.ERC20_BULK_TRANSACTION | CoinFeature.CUSTODY_BULK_TRANSACTION | CoinFeature.DISTRIBUTED_CUSTODY | CoinFeature.BULK_STAKING_TRANSACTION | CoinFeature.USES_NON_PACKED_ENCODING_FOR_TXDATA | CoinFeature.MPCV2 | CoinFeature.STUCK_TRANSACTION_MANAGEMENT_TSS | CoinFeature.STUCK_TRANSACTION_MANAGEMENT_ONCHAIN | CoinFeature.ETH_ROLLUP_CHAIN | CoinFeature.EIP1559 | CoinFeature.TSS_ENTERPRISE_PAYS_FEES | CoinFeature.FEES_PAID_WITH_TOKEN | CoinFeature.ALPHANUMERIC_MEMO_ID | CoinFeature.WALLET_CONNECT_DEFI | CoinFeature.TSS_SUPPORT_GATED | CoinFeature.MULTISIG_SUPPORT_GATED | CoinFeature.SHARED_EVM_SIGNING | CoinFeature.SHARED_EVM_SDK | CoinFeature.SUPPORTS_ERC20 | CoinFeature.SHARED_COSMOS_SDK | CoinFeature.SHARED_COSMOS_WP | CoinFeature.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 NFTCollectionIdConstructorOptions extends AccountConstructorOptions {
|
|
51
|
+
nftCollectionId: string;
|
|
52
|
+
}
|
|
35
53
|
export interface StellarCoinConstructorOptions extends AccountConstructorOptions {
|
|
36
54
|
domain: string;
|
|
37
55
|
}
|
|
@@ -40,36 +58,78 @@ export interface HederaCoinConstructorOptions extends AccountConstructorOptions
|
|
|
40
58
|
}
|
|
41
59
|
export interface HederaTokenConstructorOptions extends AccountConstructorOptions {
|
|
42
60
|
nodeAccountId: string;
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
export interface AlgoCoinConstructorOptions extends AccountConstructorOptions {
|
|
46
|
-
tokenURL: string;
|
|
61
|
+
contractAddress: string;
|
|
47
62
|
}
|
|
48
63
|
export interface EosCoinConstructorOptions extends AccountConstructorOptions {
|
|
49
64
|
contractName: string;
|
|
65
|
+
contractAddress: string;
|
|
66
|
+
symbol?: string;
|
|
50
67
|
}
|
|
51
68
|
export interface SolCoinConstructorOptions extends AccountConstructorOptions {
|
|
52
69
|
tokenAddress: string;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
policyId: string;
|
|
56
|
-
assetName: string;
|
|
70
|
+
contractAddress: string;
|
|
71
|
+
programId: string;
|
|
57
72
|
}
|
|
58
73
|
export interface XrpCoinConstructorOptions extends AccountConstructorOptions {
|
|
59
74
|
issuerAddress: string;
|
|
60
75
|
currencyCode: string;
|
|
61
76
|
domain: string;
|
|
77
|
+
contractAddress: string;
|
|
78
|
+
}
|
|
79
|
+
export interface SuiCoinConstructorOptions extends AccountConstructorOptions {
|
|
80
|
+
packageId: string;
|
|
81
|
+
module: string;
|
|
82
|
+
symbol: string;
|
|
83
|
+
contractAddress: string;
|
|
62
84
|
}
|
|
63
|
-
|
|
85
|
+
export interface AptCoinConstructorOptions extends AccountConstructorOptions {
|
|
86
|
+
assetId: string;
|
|
87
|
+
}
|
|
88
|
+
export interface TaoCoinConstructorOptions extends AccountConstructorOptions {
|
|
89
|
+
subnetId: string;
|
|
90
|
+
}
|
|
91
|
+
export interface PolyxCoinConstructorOptions extends AccountConstructorOptions {
|
|
92
|
+
ticker: string;
|
|
93
|
+
assetId: string;
|
|
94
|
+
}
|
|
95
|
+
type FiatCoinName = `fiat${string}` | `tfiat${string}`;
|
|
64
96
|
export interface FiatCoinConstructorOptions extends AccountConstructorOptions {
|
|
65
97
|
name: FiatCoinName;
|
|
66
98
|
}
|
|
99
|
+
export interface Sip10TokenConstructorOptions extends AccountConstructorOptions {
|
|
100
|
+
assetId: string;
|
|
101
|
+
}
|
|
102
|
+
export interface Nep141TokenConstructorOptions extends AccountConstructorOptions {
|
|
103
|
+
contractAddress: string;
|
|
104
|
+
storageDepositAmount: string;
|
|
105
|
+
}
|
|
106
|
+
export interface VetTokenConstructorOptions extends AccountConstructorOptions {
|
|
107
|
+
contractAddress: string;
|
|
108
|
+
gasTankToken?: string;
|
|
109
|
+
}
|
|
110
|
+
export interface CosmosTokenConstructorOptions extends AccountConstructorOptions {
|
|
111
|
+
denom: string;
|
|
112
|
+
}
|
|
113
|
+
export interface JettonTokenConstructorOptions extends AccountConstructorOptions {
|
|
114
|
+
contractAddress: string;
|
|
115
|
+
}
|
|
116
|
+
export interface AdaTokenConstructorOptions extends AccountConstructorOptions {
|
|
117
|
+
policyId: string;
|
|
118
|
+
assetName: string;
|
|
119
|
+
contractAddress: string;
|
|
120
|
+
}
|
|
67
121
|
export interface ContractAddress extends String {
|
|
68
122
|
__contractaddress_phantom__: never;
|
|
69
123
|
}
|
|
70
124
|
export declare class AccountCoinToken extends AccountCoin {
|
|
71
125
|
constructor(options: AccountConstructorOptions);
|
|
72
126
|
}
|
|
127
|
+
export declare class GasTankAccountCoin extends AccountCoin {
|
|
128
|
+
gasTankLowBalanceAlertFactor: number;
|
|
129
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
130
|
+
gasTankToken?: string;
|
|
131
|
+
constructor(options: GasTankAccountConstructorOptions);
|
|
132
|
+
}
|
|
73
133
|
/**
|
|
74
134
|
* Some blockchains support tokens which are defined by an address at which they have a smart contract deployed.
|
|
75
135
|
* Examples are ERC20 tokens, and the equivalent on other chains.
|
|
@@ -78,6 +138,13 @@ export declare class ContractAddressDefinedToken extends AccountCoinToken {
|
|
|
78
138
|
contractAddress: ContractAddress;
|
|
79
139
|
constructor(options: Erc20ConstructorOptions);
|
|
80
140
|
}
|
|
141
|
+
/**
|
|
142
|
+
* Used for blockchains that support NFT collections.
|
|
143
|
+
*/
|
|
144
|
+
export declare class NFTCollectionIdDefinedToken extends AccountCoinToken {
|
|
145
|
+
nftCollectionId: string;
|
|
146
|
+
constructor(options: NFTCollectionIdConstructorOptions);
|
|
147
|
+
}
|
|
81
148
|
/**
|
|
82
149
|
* ERC20 token addresses are Base58 formatted on some blockchains.
|
|
83
150
|
*/
|
|
@@ -155,6 +222,7 @@ export declare class HederaCoin extends AccountCoinToken {
|
|
|
155
222
|
export declare class HederaToken extends AccountCoinToken {
|
|
156
223
|
nodeAccountId: string;
|
|
157
224
|
tokenId: string;
|
|
225
|
+
contractAddress: string;
|
|
158
226
|
constructor(options: HederaTokenConstructorOptions);
|
|
159
227
|
}
|
|
160
228
|
/**
|
|
@@ -164,8 +232,7 @@ export declare class HederaToken extends AccountCoinToken {
|
|
|
164
232
|
*
|
|
165
233
|
*/
|
|
166
234
|
export declare class AlgoCoin extends AccountCoinToken {
|
|
167
|
-
|
|
168
|
-
constructor(options: AlgoCoinConstructorOptions);
|
|
235
|
+
constructor(options: AccountConstructorOptions);
|
|
169
236
|
}
|
|
170
237
|
/**
|
|
171
238
|
* The Eos network supports tokens
|
|
@@ -175,6 +242,8 @@ export declare class AlgoCoin extends AccountCoinToken {
|
|
|
175
242
|
*/
|
|
176
243
|
export declare class EosCoin extends AccountCoinToken {
|
|
177
244
|
contractName: string;
|
|
245
|
+
contractAddress: string;
|
|
246
|
+
symbol: string;
|
|
178
247
|
constructor(options: EosCoinConstructorOptions);
|
|
179
248
|
}
|
|
180
249
|
/**
|
|
@@ -185,17 +254,12 @@ export declare class EosCoin extends AccountCoinToken {
|
|
|
185
254
|
*/
|
|
186
255
|
export declare class SolCoin extends AccountCoinToken {
|
|
187
256
|
tokenAddress: string;
|
|
257
|
+
contractAddress: string;
|
|
258
|
+
programId: string;
|
|
188
259
|
constructor(options: SolCoinConstructorOptions);
|
|
189
260
|
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
* Ada tokens are identified by their policy ID and asset name
|
|
193
|
-
*
|
|
194
|
-
*/
|
|
195
|
-
export declare class AdaCoin extends AccountCoinToken {
|
|
196
|
-
policyId: string;
|
|
197
|
-
assetName: string;
|
|
198
|
-
constructor(options: AdaCoinConstructorOptions);
|
|
261
|
+
export declare class EthLikeERC20Token extends ContractAddressDefinedToken {
|
|
262
|
+
constructor(options: Erc20ConstructorOptions);
|
|
199
263
|
}
|
|
200
264
|
/**
|
|
201
265
|
* The AVAX C Chain network support tokens
|
|
@@ -211,6 +275,55 @@ export declare class AvaxERC20Token extends ContractAddressDefinedToken {
|
|
|
211
275
|
export declare class PolygonERC20Token extends ContractAddressDefinedToken {
|
|
212
276
|
constructor(options: Erc20ConstructorOptions);
|
|
213
277
|
}
|
|
278
|
+
/**
|
|
279
|
+
* The Arbitrum Chain network support tokens
|
|
280
|
+
* Arbitrum Chain Tokens are ERC20 tokens
|
|
281
|
+
*/
|
|
282
|
+
export declare class ArbethERC20Token extends ContractAddressDefinedToken {
|
|
283
|
+
constructor(options: Erc20ConstructorOptions);
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* The Optimism Chain network support tokens
|
|
287
|
+
* Optimism Chain Tokens are ERC20 tokens
|
|
288
|
+
*/
|
|
289
|
+
export declare class OpethERC20Token extends ContractAddressDefinedToken {
|
|
290
|
+
constructor(options: Erc20ConstructorOptions);
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* The zkSync network support tokens
|
|
294
|
+
* zkSync Tokens are ERC20 tokens
|
|
295
|
+
*/
|
|
296
|
+
export declare class ZkethERC20Token extends ContractAddressDefinedToken {
|
|
297
|
+
constructor(options: Erc20ConstructorOptions);
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* The Bera Chain network support tokens
|
|
301
|
+
* Bera Chain Tokens are ERC20 tokens
|
|
302
|
+
*/
|
|
303
|
+
export declare class BeraERC20Token extends ContractAddressDefinedToken {
|
|
304
|
+
constructor(options: Erc20ConstructorOptions);
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* The Coredao Chain network support tokens
|
|
308
|
+
* Coredao Chain Tokens are ERC20 tokens
|
|
309
|
+
*/
|
|
310
|
+
export declare class CoredaoERC20Token extends ContractAddressDefinedToken {
|
|
311
|
+
constructor(options: Erc20ConstructorOptions);
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* The World Chain network supports tokens
|
|
315
|
+
* World Chain Tokens are ERC20 tokens
|
|
316
|
+
*/
|
|
317
|
+
export declare class WorldERC20Token extends ContractAddressDefinedToken {
|
|
318
|
+
constructor(options: Erc20ConstructorOptions);
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* The Flr Chain network supports tokens
|
|
322
|
+
* Flr Chain Tokens are ERC20 tokens
|
|
323
|
+
*/
|
|
324
|
+
export declare class FlrERC20Token extends ContractAddressDefinedToken {
|
|
325
|
+
constructor(options: Erc20ConstructorOptions);
|
|
326
|
+
}
|
|
214
327
|
/**
|
|
215
328
|
* The Xrp network supports tokens
|
|
216
329
|
* Xrp tokens are identified by their issuer address
|
|
@@ -221,8 +334,42 @@ export declare class XrpCoin extends AccountCoinToken {
|
|
|
221
334
|
issuerAddress: string;
|
|
222
335
|
currencyCode: string;
|
|
223
336
|
domain: string;
|
|
337
|
+
contractAddress: string;
|
|
224
338
|
constructor(options: XrpCoinConstructorOptions);
|
|
225
339
|
}
|
|
340
|
+
export declare class SuiCoin extends AccountCoinToken {
|
|
341
|
+
packageId: string;
|
|
342
|
+
module: string;
|
|
343
|
+
symbol: string;
|
|
344
|
+
contractAddress: string;
|
|
345
|
+
constructor(options: SuiCoinConstructorOptions);
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* The Apt network supports tokens
|
|
349
|
+
* Apt tokens work similar to native Apt coin, but the token name is determined by
|
|
350
|
+
* the tokenAddress on the chain.
|
|
351
|
+
*
|
|
352
|
+
*/
|
|
353
|
+
export declare class AptCoin extends AccountCoinToken {
|
|
354
|
+
assetId: string;
|
|
355
|
+
constructor(options: AptCoinConstructorOptions);
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* The Apt network supports non-fungible tokens (Digital Asset Standard)
|
|
359
|
+
* Every NFT belongs to an NFT collection.
|
|
360
|
+
*/
|
|
361
|
+
export declare class AptNFTCollection extends NFTCollectionIdDefinedToken {
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* The Vechain network supports non-fungible tokens
|
|
365
|
+
* Every NFT belongs to an NFT collection(contract).
|
|
366
|
+
*/
|
|
367
|
+
export declare class VetNFTCollection extends NFTCollectionIdDefinedToken {
|
|
368
|
+
gasTankToken?: string;
|
|
369
|
+
constructor(options: NFTCollectionIdConstructorOptions & {
|
|
370
|
+
gasTankToken?: string;
|
|
371
|
+
});
|
|
372
|
+
}
|
|
226
373
|
/**
|
|
227
374
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
228
375
|
*/
|
|
@@ -233,6 +380,70 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
233
380
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
234
381
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
235
382
|
}
|
|
383
|
+
/**
|
|
384
|
+
* The Stacks network supports tokens
|
|
385
|
+
* Stx tokens work similar to native Stx coin, but the token name is determined by
|
|
386
|
+
* the contractName on the chain.
|
|
387
|
+
*/
|
|
388
|
+
export declare class Sip10Token extends AccountCoinToken {
|
|
389
|
+
assetId: string;
|
|
390
|
+
constructor(options: Sip10TokenConstructorOptions);
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* The Near network supports tokens
|
|
394
|
+
* Near tokens work similar to native near coin
|
|
395
|
+
*/
|
|
396
|
+
export declare class Nep141Token extends AccountCoinToken {
|
|
397
|
+
contractAddress: string;
|
|
398
|
+
storageDepositAmount: string;
|
|
399
|
+
constructor(options: Nep141TokenConstructorOptions);
|
|
400
|
+
}
|
|
401
|
+
export declare class VetToken extends AccountCoinToken {
|
|
402
|
+
contractAddress: string;
|
|
403
|
+
gasTankToken?: string;
|
|
404
|
+
constructor(options: VetTokenConstructorOptions);
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* Cosmos network supports tokens
|
|
408
|
+
* Cosmos tokens work similar to native coins, but the token is determined by
|
|
409
|
+
* the denom on chain.
|
|
410
|
+
*
|
|
411
|
+
*/
|
|
412
|
+
export declare class CosmosChainToken extends AccountCoinToken {
|
|
413
|
+
denom: string;
|
|
414
|
+
constructor(options: CosmosTokenConstructorOptions);
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* TON supports tokens and Jetton is a token standard on TON
|
|
418
|
+
* Jetton tokens work similar to native TON coin
|
|
419
|
+
*/
|
|
420
|
+
export declare class JettonToken extends AccountCoinToken {
|
|
421
|
+
contractAddress: string;
|
|
422
|
+
constructor(options: JettonTokenConstructorOptions);
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* The Bittensor network supports tokens
|
|
426
|
+
* The token name is determined by the subnetId on chain.
|
|
427
|
+
*/
|
|
428
|
+
export declare class TaoCoin extends AccountCoinToken {
|
|
429
|
+
subnetId: string;
|
|
430
|
+
constructor(options: TaoCoinConstructorOptions);
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* The Bittensor network supports tokens
|
|
434
|
+
* The token name is determined by the subnetId on chain.
|
|
435
|
+
*/
|
|
436
|
+
export declare class PolyxCoin extends AccountCoinToken {
|
|
437
|
+
ticker: string;
|
|
438
|
+
assetId: string;
|
|
439
|
+
constructor(options: PolyxCoinConstructorOptions);
|
|
440
|
+
}
|
|
441
|
+
export declare class AdaToken extends AccountCoinToken {
|
|
442
|
+
policyId: string;
|
|
443
|
+
assetName: string;
|
|
444
|
+
contractAddress: string;
|
|
445
|
+
constructor(options: AdaTokenConstructorOptions);
|
|
446
|
+
}
|
|
236
447
|
/**
|
|
237
448
|
* Factory function for account coin instances.
|
|
238
449
|
*
|
|
@@ -249,6 +460,42 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
249
460
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
250
461
|
*/
|
|
251
462
|
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>;
|
|
463
|
+
/**
|
|
464
|
+
* Factory function for gas tank account coin instances.
|
|
465
|
+
*
|
|
466
|
+
* @param id uuid v4
|
|
467
|
+
* @param name unique identifier of the coin
|
|
468
|
+
* @param fullName Complete human-readable name of the coin
|
|
469
|
+
* @param network Network object for this coin
|
|
470
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
471
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
472
|
+
* @param baseUnit
|
|
473
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
474
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
475
|
+
* @param gasTankLowBalanceAlertFactor Low gas tank balance alert threshold = (feeEstimate x gasTankLowBalanceAlertFactor)
|
|
476
|
+
* @param gasTankMinBalanceRecommendationFactor Min gas tank balance recommendation = (feeEstimate x gasTankMinBalanceRecommendationFactor)
|
|
477
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
478
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
479
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
480
|
+
*/
|
|
481
|
+
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>;
|
|
482
|
+
/**
|
|
483
|
+
* Factory function for ethLikeErc20 token instances.
|
|
484
|
+
*
|
|
485
|
+
* @param id uuid v4
|
|
486
|
+
* @param name unique identifier of the token
|
|
487
|
+
* @param fullName Complete human-readable name of the token
|
|
488
|
+
* @param decimalPlaces Number of decimal places this token supports
|
|
489
|
+
* @param contractAddress Contract address of this token
|
|
490
|
+
* @param asset Asset which this coin represents
|
|
491
|
+
* @param network Optional token network
|
|
492
|
+
* @param coinNames The parent coin names for mainnet and testnet
|
|
493
|
+
* @param features Features of this coin
|
|
494
|
+
* @param prefix Optional token prefix
|
|
495
|
+
* @param suffix Optional token suffix
|
|
496
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
497
|
+
*/
|
|
498
|
+
export declare function erc20Token(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, network: AccountNetwork, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<EthLikeERC20Token>;
|
|
252
499
|
/**
|
|
253
500
|
* Factory function for erc20 token instances.
|
|
254
501
|
*
|
|
@@ -305,7 +552,7 @@ export declare function erc721(id: string, name: string, fullName: string, contr
|
|
|
305
552
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
306
553
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
307
554
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
308
|
-
* @param network? Optional token network. Defaults to
|
|
555
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
309
556
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
310
557
|
*/
|
|
311
558
|
export declare function terc721(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
@@ -349,7 +596,7 @@ export declare function erc1155(id: string, name: string, fullName: string, cont
|
|
|
349
596
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
350
597
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
351
598
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
352
|
-
* @param network? Optional token network. Defaults to
|
|
599
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
353
600
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
354
601
|
*/
|
|
355
602
|
export declare function terc1155(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
@@ -377,11 +624,11 @@ export declare function erc20CompatibleAccountCoin(id: string, name: string, ful
|
|
|
377
624
|
* @param fullName Complete human-readable name of the token
|
|
378
625
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
379
626
|
* @param contractAddress Contract address of this token
|
|
380
|
-
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
381
|
-
* @param prefix? Optional token prefix. Defaults to empty string
|
|
382
|
-
* @param suffix? Optional token suffix. Defaults to token name.
|
|
383
|
-
* @param network? Optional token network. Defaults to CELO main network.
|
|
384
|
-
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
627
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
628
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
629
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
630
|
+
* @param network ? Optional token network. Defaults to CELO main network.
|
|
631
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
385
632
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
386
633
|
*/
|
|
387
634
|
export declare function celoToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<CeloCoin>;
|
|
@@ -394,10 +641,10 @@ export declare function celoToken(id: string, name: string, fullName: string, de
|
|
|
394
641
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
395
642
|
* @param contractAddress Contract address of this token
|
|
396
643
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
397
|
-
* @param
|
|
398
|
-
* @param
|
|
399
|
-
* @param
|
|
400
|
-
* @param
|
|
644
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
645
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
646
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
647
|
+
* @param network ? Optional token network. Defaults to the testnet CELO network.
|
|
401
648
|
*/
|
|
402
649
|
export declare function tceloToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork): Readonly<CeloCoin>;
|
|
403
650
|
/**
|
|
@@ -511,7 +758,7 @@ export declare function ttronToken(id: string, name: string, fullName: string, d
|
|
|
511
758
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
512
759
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
513
760
|
*/
|
|
514
|
-
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
761
|
+
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<HederaCoin>;
|
|
515
762
|
/**
|
|
516
763
|
* Factory function for Hedera token instances
|
|
517
764
|
*
|
|
@@ -522,13 +769,14 @@ export declare function hederaCoin(id: string, name: string, fullName: string, n
|
|
|
522
769
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
523
770
|
* @param nodeAccountId node account Id from which the transaction will be sent
|
|
524
771
|
* @param tokenId The unique identifier of this token
|
|
772
|
+
* @param contractAddress Contract address of this token, same as tokenId
|
|
525
773
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
526
774
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
527
775
|
* @param network? Optional token network. Defaults to Hedera mainnet.
|
|
528
776
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
529
777
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
530
778
|
*/
|
|
531
|
-
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
779
|
+
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<HederaToken>;
|
|
532
780
|
/**
|
|
533
781
|
* Factory function for ALGO token instances.
|
|
534
782
|
*
|
|
@@ -539,7 +787,6 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
539
787
|
* @param fullName Complete human-readable name of the token
|
|
540
788
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
541
789
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
542
|
-
* @param tokenURL Optional asset Url for more informationa about the asset
|
|
543
790
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
544
791
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
545
792
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -547,7 +794,7 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
547
794
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
548
795
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
549
796
|
*/
|
|
550
|
-
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
797
|
+
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AlgoCoin>;
|
|
551
798
|
/**
|
|
552
799
|
* Factory function for testnet ALGO token instances.
|
|
553
800
|
*
|
|
@@ -557,14 +804,13 @@ export declare function algoToken(id: string, name: string, alias: string | unde
|
|
|
557
804
|
* @param fullName Complete human-readable name of the token
|
|
558
805
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
559
806
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
560
|
-
* @param tokenURL Optional asset Url for more informationa about the asset
|
|
561
807
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
562
808
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
563
809
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
564
810
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
565
811
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
566
812
|
*/
|
|
567
|
-
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
813
|
+
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<AlgoCoin>;
|
|
568
814
|
/**
|
|
569
815
|
* Factory function for eos token instances.
|
|
570
816
|
*
|
|
@@ -573,6 +819,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
573
819
|
* @param fullName Complete human-readable name of the token
|
|
574
820
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
575
821
|
* @param contractName Contract address of this token
|
|
822
|
+
* @param contractAddress Contract address of this token
|
|
576
823
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
577
824
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
578
825
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -580,7 +827,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
580
827
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
581
828
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
582
829
|
*/
|
|
583
|
-
export declare function eosToken(id: string, name: string, fullName: string, decimalPlaces: number, contractName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<EosCoin>;
|
|
830
|
+
export declare function eosToken(id: string, name: string, fullName: string, decimalPlaces: number, contractName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, symbol?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<EosCoin>;
|
|
584
831
|
/**
|
|
585
832
|
* Factory function for testnet eos token instances.
|
|
586
833
|
*
|
|
@@ -588,14 +835,16 @@ export declare function eosToken(id: string, name: string, fullName: string, dec
|
|
|
588
835
|
* @param name unique identifier of the token
|
|
589
836
|
* @param fullName Complete human-readable name of the token
|
|
590
837
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
838
|
+
* @param contractName Contract address of this token
|
|
591
839
|
* @param contractAddress Contract address of this token
|
|
592
840
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
593
841
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
594
842
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
843
|
+
* @param symbol? token symbol as defined in token contract.
|
|
595
844
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
596
845
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
597
846
|
*/
|
|
598
|
-
export declare function teosToken(id: string, name: string, fullName: string, decimalPlaces: number, contractName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<EosCoin>;
|
|
847
|
+
export declare function teosToken(id: string, name: string, fullName: string, decimalPlaces: number, contractName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, symbol?: string, network?: AccountNetwork): Readonly<EosCoin>;
|
|
599
848
|
/**
|
|
600
849
|
* Factory function for sol token instances.
|
|
601
850
|
*
|
|
@@ -604,6 +853,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
604
853
|
* @param fullName Complete human-readable name of the token
|
|
605
854
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
606
855
|
* @param tokenAddress Token address of this token
|
|
856
|
+
* @param contractAddress Contract address of this token
|
|
607
857
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
608
858
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
609
859
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -611,7 +861,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
611
861
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
612
862
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
613
863
|
*/
|
|
614
|
-
export declare function solToken(id: string, name: string, fullName: string, decimalPlaces: number, tokenAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<SolCoin>;
|
|
864
|
+
export declare function solToken(id: string, name: string, fullName: string, decimalPlaces: number, tokenAddress: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], programId?: ProgramID, prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<SolCoin>;
|
|
615
865
|
/**
|
|
616
866
|
* Factory function for testnet solana token instances.
|
|
617
867
|
*
|
|
@@ -626,38 +876,42 @@ export declare function solToken(id: string, name: string, fullName: string, dec
|
|
|
626
876
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
627
877
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
628
878
|
*/
|
|
629
|
-
export declare function tsolToken(id: string, name: string, fullName: string, decimalPlaces: number, tokenAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<SolCoin>;
|
|
879
|
+
export declare function tsolToken(id: string, name: string, fullName: string, decimalPlaces: number, tokenAddress: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], programId?: ProgramID, prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<SolCoin>;
|
|
630
880
|
/**
|
|
631
|
-
* Factory function for
|
|
881
|
+
* Factory function for prod cardano token instances.
|
|
632
882
|
*
|
|
633
883
|
* @param id uuid v4
|
|
634
|
-
* @param name
|
|
884
|
+
* @param name Name of the token
|
|
635
885
|
* @param fullName Complete human-readable name of the token
|
|
636
886
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
637
|
-
* @param
|
|
887
|
+
* @param policyId Policy Id
|
|
888
|
+
* @param assetName Asset name -> Policy ID + Asset name is the unique identifier
|
|
889
|
+
* @param contractAddress Fingerprint of this token
|
|
638
890
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
639
891
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
640
892
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
641
|
-
* @param network? Optional token network. Defaults to Cardano
|
|
893
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
642
894
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
643
895
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
644
896
|
*/
|
|
645
|
-
export declare function adaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<
|
|
897
|
+
export declare function adaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AdaToken>;
|
|
646
898
|
/**
|
|
647
899
|
* Factory function for testnet cardano token instances.
|
|
648
900
|
*
|
|
649
901
|
* @param id uuid v4
|
|
650
|
-
* @param name
|
|
902
|
+
* @param name Name of the token
|
|
651
903
|
* @param fullName Complete human-readable name of the token
|
|
652
904
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
653
|
-
* @param
|
|
905
|
+
* @param policyId Policy Id
|
|
906
|
+
* @param assetName Asset name -> Policy ID + Asset name is the unique identifier
|
|
907
|
+
* @param contractAddress Fingerprint of this token
|
|
654
908
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
655
909
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
656
910
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
657
911
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
658
912
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
659
913
|
*/
|
|
660
|
-
export declare function tadaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, asset: UnderlyingAsset, features?: CoinFeature[],
|
|
914
|
+
export declare function tadaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], network?: AccountNetwork, prefix?: string, suffix?: string): Readonly<AdaToken>;
|
|
661
915
|
/**
|
|
662
916
|
* Factory function for avaxErc20 token instances.
|
|
663
917
|
*
|
|
@@ -707,7 +961,7 @@ export declare function tavaxErc20(id: string, name: string, fullName: string, d
|
|
|
707
961
|
*/
|
|
708
962
|
export declare function polygonErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<PolygonERC20Token>;
|
|
709
963
|
/**
|
|
710
|
-
* Factory function for
|
|
964
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
711
965
|
*
|
|
712
966
|
* @param id uuid v4
|
|
713
967
|
* @param name unique identifier of the token
|
|
@@ -723,55 +977,625 @@ export declare function polygonErc20(id: string, name: string, fullName: string,
|
|
|
723
977
|
*/
|
|
724
978
|
export declare function tpolygonErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<PolygonERC20Token>;
|
|
725
979
|
/**
|
|
726
|
-
* Factory function for
|
|
980
|
+
* Factory function for arbethErc20 token instances.
|
|
727
981
|
*
|
|
728
982
|
* @param id uuid v4
|
|
729
983
|
* @param name unique identifier of the token
|
|
730
984
|
* @param fullName Complete human-readable name of the token
|
|
731
985
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
732
|
-
* @param
|
|
733
|
-
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
734
|
-
* @param domain? the domain of the issuer of the token,
|
|
986
|
+
* @param contractAddress Contract address of this token
|
|
735
987
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
736
988
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
737
989
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
738
|
-
* @param network? Optional token network. Defaults to
|
|
990
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
739
991
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
740
992
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
741
993
|
*/
|
|
742
|
-
export declare function
|
|
994
|
+
export declare function arbethErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<ArbethERC20Token>;
|
|
743
995
|
/**
|
|
744
|
-
* Factory function for testnet
|
|
996
|
+
* Factory function for Arbitrum Sepolia testnet arbethErc20 token instances.
|
|
745
997
|
*
|
|
746
998
|
* @param id uuid v4
|
|
747
999
|
* @param name unique identifier of the token
|
|
748
1000
|
* @param fullName Complete human-readable name of the token
|
|
749
1001
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
750
|
-
* @param
|
|
751
|
-
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
752
|
-
* @param domain? the domain of the issuer of the token,
|
|
1002
|
+
* @param contractAddress Contract address of this token
|
|
753
1003
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
754
1004
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
755
1005
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
756
|
-
* @param network? Optional token network. Defaults to the
|
|
1006
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
1007
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1008
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1009
|
+
*/
|
|
1010
|
+
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>;
|
|
1011
|
+
/**
|
|
1012
|
+
* Factory function for opethErc20 token instances.
|
|
1013
|
+
*
|
|
1014
|
+
* @param id uuid v4
|
|
1015
|
+
* @param name unique identifier of the token
|
|
1016
|
+
* @param fullName Complete human-readable name of the token
|
|
1017
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1018
|
+
* @param contractAddress Contract address of this token
|
|
1019
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1020
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1021
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1022
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
757
1023
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1024
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
758
1025
|
*/
|
|
759
|
-
export declare function
|
|
1026
|
+
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>;
|
|
760
1027
|
/**
|
|
761
|
-
* Factory function for
|
|
1028
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
762
1029
|
*
|
|
763
1030
|
* @param id uuid v4
|
|
764
|
-
* @param name unique identifier of the
|
|
765
|
-
* @param fullName Complete human-readable name of the
|
|
766
|
-
* @param
|
|
767
|
-
* @param
|
|
1031
|
+
* @param name unique identifier of the token
|
|
1032
|
+
* @param fullName Complete human-readable name of the token
|
|
1033
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1034
|
+
* @param contractAddress Contract address of this token
|
|
768
1035
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
769
|
-
* @param
|
|
770
|
-
* @param
|
|
771
|
-
* @param
|
|
772
|
-
* @param
|
|
773
|
-
* @param
|
|
1036
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1037
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1038
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
1039
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1040
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
774
1041
|
*/
|
|
775
|
-
export declare function
|
|
1042
|
+
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>;
|
|
1043
|
+
/**
|
|
1044
|
+
* Factory function for zkethErc20 token instances.
|
|
1045
|
+
*
|
|
1046
|
+
* @param id uuid v4
|
|
1047
|
+
* @param name unique identifier of the token
|
|
1048
|
+
* @param fullName Complete human-readable name of the token
|
|
1049
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1050
|
+
* @param contractAddress Contract address of this token
|
|
1051
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1052
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1053
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1054
|
+
* @param network? Optional token network. Defaults to zkSync mainnet network.
|
|
1055
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1056
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1057
|
+
*/
|
|
1058
|
+
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>;
|
|
1059
|
+
/**
|
|
1060
|
+
* Factory function for zkSync Sepolia testnet zkethErc20 token instances.
|
|
1061
|
+
*
|
|
1062
|
+
* @param id uuid v4
|
|
1063
|
+
* @param name unique identifier of the token
|
|
1064
|
+
* @param fullName Complete human-readable name of the token
|
|
1065
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1066
|
+
* @param contractAddress Contract address of this token
|
|
1067
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1068
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1069
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1070
|
+
* @param network? Optional token network. Defaults to the zkSync sepolia test network.
|
|
1071
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1072
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1073
|
+
*/
|
|
1074
|
+
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>;
|
|
1075
|
+
/**
|
|
1076
|
+
* Factory function for beraErc20 token instances.
|
|
1077
|
+
*
|
|
1078
|
+
* @param id uuid v4
|
|
1079
|
+
* @param name unique identifier of the token
|
|
1080
|
+
* @param fullName Complete human-readable name of the token
|
|
1081
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1082
|
+
* @param contractAddress Contract address of this token
|
|
1083
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1084
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1085
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1086
|
+
* @param network? Optional token network. Defaults to bera mainnet network.
|
|
1087
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1088
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1089
|
+
*/
|
|
1090
|
+
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>;
|
|
1091
|
+
/**
|
|
1092
|
+
* Factory function for zkSync Sepolia testnet beraErc20 token instances.
|
|
1093
|
+
*
|
|
1094
|
+
* @param id uuid v4
|
|
1095
|
+
* @param name unique identifier of the token
|
|
1096
|
+
* @param fullName Complete human-readable name of the token
|
|
1097
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1098
|
+
* @param contractAddress Contract address of this token
|
|
1099
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1100
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1101
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1102
|
+
* @param network? Optional token network. Defaults to the bera test network.
|
|
1103
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1104
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1105
|
+
*/
|
|
1106
|
+
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>;
|
|
1107
|
+
/**
|
|
1108
|
+
* Factory function for CoredaoErc20 token instances.
|
|
1109
|
+
*
|
|
1110
|
+
* @param id uuid v4
|
|
1111
|
+
* @param name unique identifier of the token
|
|
1112
|
+
* @param fullName Complete human-readable name of the token
|
|
1113
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1114
|
+
* @param contractAddress Contract address of this token
|
|
1115
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1116
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1117
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1118
|
+
* @param network? Optional token network. Defaults to coredao mainnet network.
|
|
1119
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1120
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1121
|
+
*/
|
|
1122
|
+
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>;
|
|
1123
|
+
/**
|
|
1124
|
+
* Factory function for coredao testnet coredaoErc20 token instances.
|
|
1125
|
+
*
|
|
1126
|
+
* @param id uuid v4
|
|
1127
|
+
* @param name unique identifier of the token
|
|
1128
|
+
* @param fullName Complete human-readable name of the token
|
|
1129
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1130
|
+
* @param contractAddress Contract address of this token
|
|
1131
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1132
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1133
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1134
|
+
* @param network? Optional token network. Defaults to the coredao test network.
|
|
1135
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1136
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1137
|
+
*/
|
|
1138
|
+
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>;
|
|
1139
|
+
/**
|
|
1140
|
+
* Factory function for WorldErc20 token instances.
|
|
1141
|
+
*
|
|
1142
|
+
* @param id uuid v4
|
|
1143
|
+
* @param name unique identifier of the token
|
|
1144
|
+
* @param fullName Complete human-readable name of the token
|
|
1145
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1146
|
+
* @param contractAddress Contract address of this token
|
|
1147
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1148
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1149
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1150
|
+
* @param network? Optional token network. Defaults to World Chain mainnet network.
|
|
1151
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1152
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1153
|
+
*/
|
|
1154
|
+
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>;
|
|
1155
|
+
/**
|
|
1156
|
+
* Factory function for world testnet worldErc20 token instances.
|
|
1157
|
+
*
|
|
1158
|
+
* @param id uuid v4
|
|
1159
|
+
* @param name unique identifier of the token
|
|
1160
|
+
* @param fullName Complete human-readable name of the token
|
|
1161
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1162
|
+
* @param contractAddress Contract address of this token
|
|
1163
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1164
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1165
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1166
|
+
* @param network? Optional token network. Defaults to the World Chain test network.
|
|
1167
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1168
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1169
|
+
*/
|
|
1170
|
+
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>;
|
|
1171
|
+
/**
|
|
1172
|
+
* Factory function for FlrErc20 token instances.
|
|
1173
|
+
*
|
|
1174
|
+
* @param id uuid v4
|
|
1175
|
+
* @param name unique identifier of the token
|
|
1176
|
+
* @param fullName Complete human-readable name of the token
|
|
1177
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1178
|
+
* @param contractAddress Contract address of this token
|
|
1179
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1180
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1181
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1182
|
+
* @param network? Optional token network. Defaults to Flr Chain mainnet network.
|
|
1183
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1184
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1185
|
+
*/
|
|
1186
|
+
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>;
|
|
1187
|
+
/**
|
|
1188
|
+
* Factory function for Flr testnet FlrErc20 token instances.
|
|
1189
|
+
*
|
|
1190
|
+
* @param id uuid v4
|
|
1191
|
+
* @param name unique identifier of the token
|
|
1192
|
+
* @param fullName Complete human-readable name of the token
|
|
1193
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1194
|
+
* @param contractAddress Contract address of this token
|
|
1195
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1196
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1197
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1198
|
+
* @param network? Optional token network. Defaults to the Flr Chain test network.
|
|
1199
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1200
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1201
|
+
*/
|
|
1202
|
+
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>;
|
|
1203
|
+
/**
|
|
1204
|
+
* Factory function for xrp token instances.
|
|
1205
|
+
*
|
|
1206
|
+
* @param id uuid v4
|
|
1207
|
+
* @param name unique identifier of the token
|
|
1208
|
+
* @param fullName Complete human-readable name of the token
|
|
1209
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1210
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
1211
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1212
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
1213
|
+
* @param domain? the domain of the issuer of the token,
|
|
1214
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1215
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1216
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1217
|
+
* @param network? Optional token network. Defaults to Cardano main network.
|
|
1218
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1219
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1220
|
+
*/
|
|
1221
|
+
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>;
|
|
1222
|
+
/**
|
|
1223
|
+
* Factory function for testnet cardano token instances.
|
|
1224
|
+
*
|
|
1225
|
+
* @param id uuid v4
|
|
1226
|
+
* @param name unique identifier of the token
|
|
1227
|
+
* @param fullName Complete human-readable name of the token
|
|
1228
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1229
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
1230
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1231
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
1232
|
+
* @param domain? the domain of the issuer of the token,
|
|
1233
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1234
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1235
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1236
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
1237
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1238
|
+
*/
|
|
1239
|
+
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>;
|
|
1240
|
+
/**
|
|
1241
|
+
* Factory function for sui token instances.
|
|
1242
|
+
*
|
|
1243
|
+
* @param id uuid v4
|
|
1244
|
+
* @param name unique identifier of the token
|
|
1245
|
+
* @param fullName Complete human-readable name of the token
|
|
1246
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1247
|
+
* @param packageId PackageId of this token
|
|
1248
|
+
* @param module The module of the package with id `packageId`
|
|
1249
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1250
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1251
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1252
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1253
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1254
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1255
|
+
* @param network? Optional token network. Defaults to SUI main network.
|
|
1256
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1257
|
+
*/
|
|
1258
|
+
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>;
|
|
1259
|
+
/**
|
|
1260
|
+
* Factory function for testnet sui token instances.
|
|
1261
|
+
*
|
|
1262
|
+
* @param id uuid v4
|
|
1263
|
+
* @param name unique identifier of the token
|
|
1264
|
+
* @param fullName Complete human-readable name of the token
|
|
1265
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1266
|
+
* @param packageId PackageId of this token
|
|
1267
|
+
* @param module The module of the package with id `packageId`
|
|
1268
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1269
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1270
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1271
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1272
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1273
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1274
|
+
* @param network? Optional token network. Defaults to SUI test network.
|
|
1275
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1276
|
+
*/
|
|
1277
|
+
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>;
|
|
1278
|
+
/**
|
|
1279
|
+
* Factory function for apt token instances.
|
|
1280
|
+
*
|
|
1281
|
+
* @param id uuid v4
|
|
1282
|
+
* @param name unique identifier of the token
|
|
1283
|
+
* @param fullName Complete human-readable name of the token
|
|
1284
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1285
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1286
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1287
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1288
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1289
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1290
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1291
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1292
|
+
*/
|
|
1293
|
+
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>;
|
|
1294
|
+
/**
|
|
1295
|
+
* Factory function for Apt NFT collections.
|
|
1296
|
+
*
|
|
1297
|
+
* @param id uuid v4
|
|
1298
|
+
* @param name unique identifier of the NFT collection
|
|
1299
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1300
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1301
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1302
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1303
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1304
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1305
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1306
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1307
|
+
*/
|
|
1308
|
+
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>;
|
|
1309
|
+
/**
|
|
1310
|
+
* Factory function for testnet apt token instances.
|
|
1311
|
+
*
|
|
1312
|
+
* @param id uuid v4
|
|
1313
|
+
* @param name unique identifier of the token
|
|
1314
|
+
* @param fullName Complete human-readable name of the token
|
|
1315
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1316
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1317
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1318
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1319
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1320
|
+
* @param network Optional token network. Defaults to the testnet APT network.
|
|
1321
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1322
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1323
|
+
*/
|
|
1324
|
+
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>;
|
|
1325
|
+
/**
|
|
1326
|
+
* Factory function for testnet Apt NFT collections.
|
|
1327
|
+
*
|
|
1328
|
+
* @param id uuid v4
|
|
1329
|
+
* @param name unique identifier of the NFT collection
|
|
1330
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1331
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1332
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1333
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1334
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1335
|
+
* @param network Optional token network. Defaults to APT test network.
|
|
1336
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1337
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1338
|
+
*/
|
|
1339
|
+
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>;
|
|
1340
|
+
/**
|
|
1341
|
+
* Factory function for fiat coin instances.
|
|
1342
|
+
*
|
|
1343
|
+
* @param id uuid v4
|
|
1344
|
+
* @param name unique identifier of the coin, should start with 'fiat' or 'tfiat' followed by the 3-char ISO-4217 alphabetical code
|
|
1345
|
+
* @param fullName Complete human-readable name of the coin
|
|
1346
|
+
* @param network Network object for this coin
|
|
1347
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
1348
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1349
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `FiatCoin`
|
|
1350
|
+
* @param primaryKeyCurve? The elliptic curve for this chain/token
|
|
1351
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
1352
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
1353
|
+
* @param isToken? Whether or not this coin is a token of another coin
|
|
1354
|
+
*/
|
|
1355
|
+
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>;
|
|
1356
|
+
/**
|
|
1357
|
+
* Factory function for sip10 token instances.
|
|
1358
|
+
*
|
|
1359
|
+
* @param id uuid v4
|
|
1360
|
+
* @param name unique identifier of the token
|
|
1361
|
+
* @param fullName Complete human-readable name of the token
|
|
1362
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1363
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1364
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1365
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1366
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1367
|
+
* @param network? Optional token network. Defaults to Stacks main network.
|
|
1368
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1369
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1370
|
+
*/
|
|
1371
|
+
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>;
|
|
1372
|
+
/**
|
|
1373
|
+
* Factory function for testnet sip10 token instances.
|
|
1374
|
+
*
|
|
1375
|
+
* @param id uuid v4
|
|
1376
|
+
* @param name unique identifier of the token
|
|
1377
|
+
* @param fullName Complete human-readable name of the token
|
|
1378
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1379
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1380
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1381
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1382
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1383
|
+
* @param network? Optional token network. Defaults to the testnet Stacks network.
|
|
1384
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1385
|
+
*/
|
|
1386
|
+
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>;
|
|
1387
|
+
/**
|
|
1388
|
+
* Factory function for nep141 token instances.
|
|
1389
|
+
*
|
|
1390
|
+
* @param id uuid v4
|
|
1391
|
+
* @param name unique identifier of the token
|
|
1392
|
+
* @param fullName Complete human-readable name of the token
|
|
1393
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1394
|
+
* @param contractAddress Contract address of this token
|
|
1395
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1396
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1397
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1398
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1399
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1400
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1401
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1402
|
+
*/
|
|
1403
|
+
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>;
|
|
1404
|
+
/**
|
|
1405
|
+
* Factory function for testnet nep141 token instances.
|
|
1406
|
+
*
|
|
1407
|
+
* @param id uuid v4
|
|
1408
|
+
* @param name unique identifier of the token
|
|
1409
|
+
* @param fullName Complete human-readable name of the token
|
|
1410
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1411
|
+
* @param contractAddress Contract address of this token
|
|
1412
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1413
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1414
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1415
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1416
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1417
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1418
|
+
*/
|
|
1419
|
+
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>;
|
|
1420
|
+
/**
|
|
1421
|
+
* Factory function for vet token instances.
|
|
1422
|
+
*
|
|
1423
|
+
* @param id uuid v4
|
|
1424
|
+
* @param name unique identifier of the token
|
|
1425
|
+
* @param fullName Complete human-readable name of the token
|
|
1426
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1427
|
+
* @param contractAddress Contract address of this token
|
|
1428
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1429
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1430
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1431
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1432
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1433
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1434
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1435
|
+
*/
|
|
1436
|
+
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>;
|
|
1437
|
+
/**
|
|
1438
|
+
* Factory function for testnet vet token instances.
|
|
1439
|
+
*
|
|
1440
|
+
* @param id uuid v4
|
|
1441
|
+
* @param name unique identifier of the token
|
|
1442
|
+
* @param fullName Complete human-readable name of the token
|
|
1443
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1444
|
+
* @param contractAddress Contract address of this token
|
|
1445
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1446
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1447
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1448
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1449
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1450
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1451
|
+
*/
|
|
1452
|
+
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>;
|
|
1453
|
+
/**
|
|
1454
|
+
* Factory function for Vet NFT collections.
|
|
1455
|
+
*
|
|
1456
|
+
* @param id uuid v4
|
|
1457
|
+
* @param name unique identifier of the NFT collection
|
|
1458
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1459
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1460
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1461
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1462
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1463
|
+
* @param network Optional token network. Defaults to VET main network.
|
|
1464
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1465
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1466
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1467
|
+
*/
|
|
1468
|
+
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>;
|
|
1469
|
+
/**
|
|
1470
|
+
* Factory function for testnet Vet NFT collections.
|
|
1471
|
+
*
|
|
1472
|
+
* @param id uuid v4
|
|
1473
|
+
* @param name unique identifier of the NFT collection
|
|
1474
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1475
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1476
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1477
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1478
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1479
|
+
* @param network Optional token network. Defaults to VET test network.
|
|
1480
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1481
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1482
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1483
|
+
*/
|
|
1484
|
+
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>;
|
|
1485
|
+
/**
|
|
1486
|
+
* Factory function for Cosmos chain 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 denom denomination of this token which will act as a unique identifier for the token on chain
|
|
1492
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1493
|
+
* @param network Network (mainnet or testnet) for this token
|
|
1494
|
+
* @param baseUnit Base unit of this token (native asset)
|
|
1495
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1496
|
+
* @param features Features of this coin. Defaults to the COSMOS_SIDECHAIN_FEATURES defined in `coinFeatures.ts`
|
|
1497
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1498
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1499
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1500
|
+
*/
|
|
1501
|
+
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>;
|
|
1502
|
+
/**
|
|
1503
|
+
* Factory function for tao 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 subnetId The uid of the subnet this token belongs to, numerical string
|
|
1510
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1511
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1512
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1513
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1514
|
+
* @param network? Optional token network. Defaults to TAO main network.
|
|
1515
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1516
|
+
*/
|
|
1517
|
+
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>;
|
|
1518
|
+
/**
|
|
1519
|
+
* Factory function for testnet tao 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 subnetId The uid of the subnet this token belongs to, numerical string
|
|
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
|
|
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 TAO test network.
|
|
1531
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1532
|
+
*/
|
|
1533
|
+
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>;
|
|
1534
|
+
/**
|
|
1535
|
+
* Factory function for polyx token instances.
|
|
1536
|
+
*
|
|
1537
|
+
* @param id uuid v4
|
|
1538
|
+
* @param name unique identifier of the token
|
|
1539
|
+
* @param fullName Complete human-readable name of the token
|
|
1540
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1541
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1542
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1543
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1544
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1545
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1546
|
+
* @param network? Optional token network. Defaults to Polyx main network.
|
|
1547
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1548
|
+
*/
|
|
1549
|
+
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>;
|
|
1550
|
+
/**
|
|
1551
|
+
* Factory function for testnet polyx token instances.
|
|
1552
|
+
*
|
|
1553
|
+
* @param id uuid v4
|
|
1554
|
+
* @param name unique identifier of the token
|
|
1555
|
+
* @param fullName Complete human-readable name of the token
|
|
1556
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1557
|
+
* @param ticker The ticker symbol of the token
|
|
1558
|
+
* @param assetId The unique asset identifier for this token
|
|
1559
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1560
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1561
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1562
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1563
|
+
* @param network? Optional token network. Defaults to Polyx test network.
|
|
1564
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1565
|
+
*/
|
|
1566
|
+
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>;
|
|
1567
|
+
/**
|
|
1568
|
+
* Factory function for Jetton token instances.
|
|
1569
|
+
* Jetton is the token standard on TON blockchain.
|
|
1570
|
+
*
|
|
1571
|
+
* @param id uuid v4
|
|
1572
|
+
* @param name unique identifier of the token
|
|
1573
|
+
* @param fullName Complete human-readable name of the token
|
|
1574
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1575
|
+
* @param contractAddress Contract address of this token
|
|
1576
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1577
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1578
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1579
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1580
|
+
* @param network Optional token network. Defaults to TON main network.
|
|
1581
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1582
|
+
*/
|
|
1583
|
+
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>;
|
|
1584
|
+
/**
|
|
1585
|
+
* Factory function for testnet jetton token instances.
|
|
1586
|
+
* Jetton is the token standard on TON blockchain.
|
|
1587
|
+
*
|
|
1588
|
+
* @param id uuid v4
|
|
1589
|
+
* @param name unique identifier of the token
|
|
1590
|
+
* @param fullName Complete human-readable name of the token
|
|
1591
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1592
|
+
* @param contractAddress Contract address of this token
|
|
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 DEFAULT_FEATURES defined in `AccountCoin`
|
|
1595
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1596
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1597
|
+
* @param network Optional token network. Defaults to the testnet TON network.
|
|
1598
|
+
*/
|
|
1599
|
+
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>;
|
|
776
1600
|
export {};
|
|
777
1601
|
//# sourceMappingURL=account.d.ts.map
|