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