@bitgo-beta/statics 15.1.1-beta.158 → 15.1.1-beta.1581
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 +1045 -75
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +1662 -173
- 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 +1219 -0
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +9 -3
- package/dist/src/base.d.ts +2066 -44
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +2161 -53
- 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 +113 -0
- package/dist/src/coinFeatures.d.ts.map +1 -0
- package/dist/src/coinFeatures.js +729 -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 +193 -0
- package/dist/src/coins/cantonTokens.d.ts +2 -0
- package/dist/src/coins/cantonTokens.d.ts.map +1 -0
- package/dist/src/coins/cantonTokens.js +14 -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 +14 -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 +1979 -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 +868 -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 +1688 -0
- package/dist/src/coins/polygonTokens.d.ts +2 -0
- package/dist/src/coins/polygonTokens.d.ts.map +1 -0
- package/dist/src/coins/polygonTokens.js +163 -0
- package/dist/src/coins/polyxTokens.d.ts +2 -0
- package/dist/src/coins/polyxTokens.d.ts.map +1 -0
- package/dist/src/coins/polyxTokens.js +22 -0
- package/dist/src/coins/sip10Tokens.d.ts +2 -0
- package/dist/src/coins/sip10Tokens.d.ts.map +1 -0
- package/dist/src/coins/sip10Tokens.js +25 -0
- package/dist/src/coins/solTokens.d.ts +3 -0
- package/dist/src/coins/solTokens.d.ts.map +1 -0
- package/dist/src/coins/solTokens.js +441 -0
- package/dist/src/coins/vetTokens.d.ts +2 -0
- package/dist/src/coins/vetTokens.d.ts.map +1 -0
- package/dist/src/coins/vetTokens.js +11 -0
- package/dist/src/coins.d.ts +11 -1
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +366 -1687
- package/dist/src/constants.d.ts +1 -0
- package/dist/src/constants.d.ts.map +1 -1
- package/dist/src/constants.js +3 -2
- package/dist/src/errors.d.ts +3 -0
- package/dist/src/errors.d.ts.map +1 -1
- package/dist/src/errors.js +9 -2
- package/dist/src/flrp.d.ts +40 -0
- package/dist/src/flrp.d.ts.map +1 -0
- package/dist/src/flrp.js +65 -0
- package/dist/src/index.d.ts +3 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +27 -3
- package/dist/src/lightning.d.ts +43 -0
- package/dist/src/lightning.d.ts.map +1 -0
- package/dist/src/lightning.js +60 -0
- package/dist/src/map.d.ts +16 -0
- package/dist/src/map.d.ts.map +1 -1
- package/dist/src/map.js +188 -17
- package/dist/src/networkFeatureMapForTokens.d.ts +3 -0
- package/dist/src/networkFeatureMapForTokens.d.ts.map +1 -0
- package/dist/src/networkFeatureMapForTokens.js +31 -0
- package/dist/src/networks.d.ts +1497 -13
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +1865 -94
- 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 +613 -108
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +993 -220
- package/dist/src/utxo.d.ts +3 -1
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +84 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -3
- package/.mocharc.js +0 -10
- package/.prettierignore +0 -2
- package/CHANGELOG.md +0 -913
package/dist/src/account.d.ts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { BaseCoin, BaseUnit, CoinFeature, KeyCurve, UnderlyingAsset } from './base';
|
|
2
2
|
import { AccountNetwork, BaseNetwork, EthereumNetwork, TronNetwork } from './networks';
|
|
3
|
+
/**
|
|
4
|
+
* This is the program id against sol token program.
|
|
5
|
+
*/
|
|
6
|
+
export declare enum ProgramID {
|
|
7
|
+
TokenProgramId = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
|
|
8
|
+
Token2022ProgramId = "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"
|
|
9
|
+
}
|
|
3
10
|
export interface AccountConstructorOptions {
|
|
4
11
|
id: string;
|
|
5
12
|
fullName: string;
|
|
@@ -24,14 +31,28 @@ export interface AccountConstructorOptions {
|
|
|
24
31
|
*/
|
|
25
32
|
export declare class AccountCoin extends BaseCoin {
|
|
26
33
|
static readonly DEFAULT_FEATURES: CoinFeature[];
|
|
34
|
+
static readonly DEFAULT_FEATURES_EXCLUDE_SINGAPORE: (CoinFeature.EVM_WALLET | CoinFeature.METAMASK_INSTITUTIONAL | CoinFeature.VALUELESS_TRANSFER | CoinFeature.TRANSACTION_DATA | CoinFeature.REQUIRES_BIG_NUMBER | CoinFeature.REQUIRES_KRS_BACKUP_KEY | CoinFeature.PAYGO | CoinFeature.UNSPENT_MODEL | CoinFeature.LIGHTNING_MODEL | CoinFeature.ACCOUNT_MODEL | CoinFeature.CHILD_PAYS_FOR_PARENT | CoinFeature.SUPPORTS_TOKENS | CoinFeature.ENTERPRISE_PAYS_FEES | CoinFeature.REQUIRES_RESERVE | CoinFeature.CUSTODY | CoinFeature.TSS | CoinFeature.STAKING | CoinFeature.LIQUID_STAKING | CoinFeature.DEPRECATED | CoinFeature.GENERIC_TOKEN | CoinFeature.CUSTODY_BITGO_TRUST | CoinFeature.CUSTODY_BITGO_NEW_YORK | CoinFeature.CUSTODY_BITGO_GERMANY | CoinFeature.CUSTODY_BITGO_SWITZERLAND | CoinFeature.CUSTODY_BITGO_FRANKFURT | CoinFeature.CUSTODY_BITGO_SISTER_TRUST_ONE | CoinFeature.CUSTODY_BITGO_KOREA | CoinFeature.CUSTODY_BITGO_EUROPE_APS | CoinFeature.CUSTODY_BITGO_MENA_FZE | CoinFeature.CUSTODY_BITGO_CUSTODY_MENA_FZE | CoinFeature.CUSTODY_BITGO_INDIA | CoinFeature.EXPIRING_TRANSACTIONS | CoinFeature.MULTISIG_COLD | CoinFeature.TSS_COLD | CoinFeature.SHA256_WITH_ECDSA_TSS | CoinFeature.COSMOS_LIKE_COINS | CoinFeature.REBUILD_ON_CUSTODY_SIGNING | CoinFeature.INCREASED_TX_REQUEST_REBUILD_LIMIT | CoinFeature.BULK_TRANSACTION | CoinFeature.ERC20_BULK_TRANSACTION | CoinFeature.CUSTODY_BULK_TRANSACTION | CoinFeature.DISTRIBUTED_CUSTODY | CoinFeature.BULK_STAKING_TRANSACTION | CoinFeature.USES_NON_PACKED_ENCODING_FOR_TXDATA | CoinFeature.MPCV2 | CoinFeature.STUCK_TRANSACTION_MANAGEMENT_TSS | CoinFeature.STUCK_TRANSACTION_MANAGEMENT_ONCHAIN | CoinFeature.ETH_ROLLUP_CHAIN | CoinFeature.EIP1559 | CoinFeature.TSS_ENTERPRISE_PAYS_FEES | CoinFeature.FEES_PAID_WITH_TOKEN | CoinFeature.ALPHANUMERIC_MEMO_ID | CoinFeature.WALLET_CONNECT_DEFI | CoinFeature.TSS_SUPPORT_GATED | CoinFeature.MULTISIG_SUPPORT_GATED | CoinFeature.SHARED_EVM_SIGNING | CoinFeature.SHARED_EVM_SDK | CoinFeature.SUPPORTS_ERC20 | CoinFeature.SUPPORTS_ERC721 | CoinFeature.SHARED_COSMOS_SDK | CoinFeature.SHARED_COSMOS_WP | CoinFeature.COSMOS_COMMON_BGA | CoinFeature.EVM_COIN | CoinFeature.MULTISIG | CoinFeature.EVM_COMPATIBLE_IMS | CoinFeature.EVM_COMPATIBLE_UI | CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY | CoinFeature.EVM_NON_BITGO_RECOVERY | CoinFeature.REBASE_TOKEN | CoinFeature.EVM_COMPATIBLE_WP | CoinFeature.RESTRICTED | CoinFeature.SHARED_EVM_MESSAGE_SIGNING | CoinFeature.STABLECOIN | CoinFeature.ALTERNATIVE_ADDRESS_IDENTIFIER | CoinFeature.TOKEN_STANDARD_USES_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,82 @@ 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
|
+
}
|
|
124
|
+
export interface CantonTokenConstructorOptions extends AccountConstructorOptions {
|
|
125
|
+
baseUrl: string;
|
|
126
|
+
contractAddress: string;
|
|
127
|
+
}
|
|
67
128
|
export interface ContractAddress extends String {
|
|
68
129
|
__contractaddress_phantom__: never;
|
|
69
130
|
}
|
|
70
131
|
export declare class AccountCoinToken extends AccountCoin {
|
|
71
132
|
constructor(options: AccountConstructorOptions);
|
|
72
133
|
}
|
|
134
|
+
export declare class GasTankAccountCoin extends AccountCoin {
|
|
135
|
+
gasTankLowBalanceAlertFactor: number;
|
|
136
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
137
|
+
gasTankToken?: string;
|
|
138
|
+
constructor(options: GasTankAccountConstructorOptions);
|
|
139
|
+
}
|
|
73
140
|
/**
|
|
74
141
|
* Some blockchains support tokens which are defined by an address at which they have a smart contract deployed.
|
|
75
142
|
* Examples are ERC20 tokens, and the equivalent on other chains.
|
|
@@ -78,6 +145,13 @@ export declare class ContractAddressDefinedToken extends AccountCoinToken {
|
|
|
78
145
|
contractAddress: ContractAddress;
|
|
79
146
|
constructor(options: Erc20ConstructorOptions);
|
|
80
147
|
}
|
|
148
|
+
/**
|
|
149
|
+
* Used for blockchains that support NFT collections.
|
|
150
|
+
*/
|
|
151
|
+
export declare class NFTCollectionIdDefinedToken extends AccountCoinToken {
|
|
152
|
+
nftCollectionId: string;
|
|
153
|
+
constructor(options: NFTCollectionIdConstructorOptions);
|
|
154
|
+
}
|
|
81
155
|
/**
|
|
82
156
|
* ERC20 token addresses are Base58 formatted on some blockchains.
|
|
83
157
|
*/
|
|
@@ -155,6 +229,7 @@ export declare class HederaCoin extends AccountCoinToken {
|
|
|
155
229
|
export declare class HederaToken extends AccountCoinToken {
|
|
156
230
|
nodeAccountId: string;
|
|
157
231
|
tokenId: string;
|
|
232
|
+
contractAddress: string;
|
|
158
233
|
constructor(options: HederaTokenConstructorOptions);
|
|
159
234
|
}
|
|
160
235
|
/**
|
|
@@ -164,8 +239,7 @@ export declare class HederaToken extends AccountCoinToken {
|
|
|
164
239
|
*
|
|
165
240
|
*/
|
|
166
241
|
export declare class AlgoCoin extends AccountCoinToken {
|
|
167
|
-
|
|
168
|
-
constructor(options: AlgoCoinConstructorOptions);
|
|
242
|
+
constructor(options: AccountConstructorOptions);
|
|
169
243
|
}
|
|
170
244
|
/**
|
|
171
245
|
* The Eos network supports tokens
|
|
@@ -175,6 +249,8 @@ export declare class AlgoCoin extends AccountCoinToken {
|
|
|
175
249
|
*/
|
|
176
250
|
export declare class EosCoin extends AccountCoinToken {
|
|
177
251
|
contractName: string;
|
|
252
|
+
contractAddress: string;
|
|
253
|
+
symbol: string;
|
|
178
254
|
constructor(options: EosCoinConstructorOptions);
|
|
179
255
|
}
|
|
180
256
|
/**
|
|
@@ -185,17 +261,15 @@ export declare class EosCoin extends AccountCoinToken {
|
|
|
185
261
|
*/
|
|
186
262
|
export declare class SolCoin extends AccountCoinToken {
|
|
187
263
|
tokenAddress: string;
|
|
264
|
+
contractAddress: string;
|
|
265
|
+
programId: string;
|
|
188
266
|
constructor(options: SolCoinConstructorOptions);
|
|
189
267
|
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
export declare class AdaCoin extends AccountCoinToken {
|
|
196
|
-
policyId: string;
|
|
197
|
-
assetName: string;
|
|
198
|
-
constructor(options: AdaCoinConstructorOptions);
|
|
268
|
+
export declare class EthLikeERC20Token extends ContractAddressDefinedToken {
|
|
269
|
+
constructor(options: Erc20ConstructorOptions);
|
|
270
|
+
}
|
|
271
|
+
export declare class EthLikeERC721Token extends ContractAddressDefinedToken {
|
|
272
|
+
constructor(options: Erc721ConstructorOptions);
|
|
199
273
|
}
|
|
200
274
|
/**
|
|
201
275
|
* The AVAX C Chain network support tokens
|
|
@@ -218,6 +292,69 @@ export declare class PolygonERC20Token extends ContractAddressDefinedToken {
|
|
|
218
292
|
export declare class ArbethERC20Token extends ContractAddressDefinedToken {
|
|
219
293
|
constructor(options: Erc20ConstructorOptions);
|
|
220
294
|
}
|
|
295
|
+
/**
|
|
296
|
+
* The Optimism Chain network support tokens
|
|
297
|
+
* Optimism Chain Tokens are ERC20 tokens
|
|
298
|
+
*/
|
|
299
|
+
export declare class OpethERC20Token extends ContractAddressDefinedToken {
|
|
300
|
+
constructor(options: Erc20ConstructorOptions);
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* The zkSync network support tokens
|
|
304
|
+
* zkSync Tokens are ERC20 tokens
|
|
305
|
+
*/
|
|
306
|
+
export declare class ZkethERC20Token extends ContractAddressDefinedToken {
|
|
307
|
+
constructor(options: Erc20ConstructorOptions);
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* The Bera Chain network support tokens
|
|
311
|
+
* Bera Chain Tokens are ERC20 tokens
|
|
312
|
+
*/
|
|
313
|
+
export declare class BeraERC20Token extends ContractAddressDefinedToken {
|
|
314
|
+
constructor(options: Erc20ConstructorOptions);
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* The Coredao Chain network support tokens
|
|
318
|
+
* Coredao Chain Tokens are ERC20 tokens
|
|
319
|
+
*/
|
|
320
|
+
export declare class CoredaoERC20Token extends ContractAddressDefinedToken {
|
|
321
|
+
constructor(options: Erc20ConstructorOptions);
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* The Chiliz Chain network supports tokens
|
|
325
|
+
* Chiliz Chain Tokens are ERC20 tokens
|
|
326
|
+
*/
|
|
327
|
+
export declare class ChilizERC20Token extends ContractAddressDefinedToken {
|
|
328
|
+
constructor(options: Erc20ConstructorOptions);
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* The World Chain network supports tokens
|
|
332
|
+
* World Chain Tokens are ERC20 tokens
|
|
333
|
+
*/
|
|
334
|
+
export declare class WorldERC20Token extends ContractAddressDefinedToken {
|
|
335
|
+
constructor(options: Erc20ConstructorOptions);
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* The Flr Chain network supports tokens
|
|
339
|
+
* Flr Chain Tokens are ERC20 tokens
|
|
340
|
+
*/
|
|
341
|
+
export declare class FlrERC20Token extends ContractAddressDefinedToken {
|
|
342
|
+
constructor(options: Erc20ConstructorOptions);
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* The XDC network supports tokens
|
|
346
|
+
* XDC Tokens are ERC20 tokens
|
|
347
|
+
*/
|
|
348
|
+
export declare class XdcERC20Token extends ContractAddressDefinedToken {
|
|
349
|
+
constructor(options: Erc20ConstructorOptions);
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* The Mon network supports tokens
|
|
353
|
+
* Mon Tokens are ERC20 tokens
|
|
354
|
+
*/
|
|
355
|
+
export declare class MonERC20Token extends ContractAddressDefinedToken {
|
|
356
|
+
constructor(options: Erc20ConstructorOptions);
|
|
357
|
+
}
|
|
221
358
|
/**
|
|
222
359
|
* The Xrp network supports tokens
|
|
223
360
|
* Xrp tokens are identified by their issuer address
|
|
@@ -228,8 +365,42 @@ export declare class XrpCoin extends AccountCoinToken {
|
|
|
228
365
|
issuerAddress: string;
|
|
229
366
|
currencyCode: string;
|
|
230
367
|
domain: string;
|
|
368
|
+
contractAddress: string;
|
|
231
369
|
constructor(options: XrpCoinConstructorOptions);
|
|
232
370
|
}
|
|
371
|
+
export declare class SuiCoin extends AccountCoinToken {
|
|
372
|
+
packageId: string;
|
|
373
|
+
module: string;
|
|
374
|
+
symbol: string;
|
|
375
|
+
contractAddress: string;
|
|
376
|
+
constructor(options: SuiCoinConstructorOptions);
|
|
377
|
+
}
|
|
378
|
+
/**
|
|
379
|
+
* The Apt network supports tokens
|
|
380
|
+
* Apt tokens work similar to native Apt coin, but the token name is determined by
|
|
381
|
+
* the tokenAddress on the chain.
|
|
382
|
+
*
|
|
383
|
+
*/
|
|
384
|
+
export declare class AptCoin extends AccountCoinToken {
|
|
385
|
+
assetId: string;
|
|
386
|
+
constructor(options: AptCoinConstructorOptions);
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* The Apt network supports non-fungible tokens (Digital Asset Standard)
|
|
390
|
+
* Every NFT belongs to an NFT collection.
|
|
391
|
+
*/
|
|
392
|
+
export declare class AptNFTCollection extends NFTCollectionIdDefinedToken {
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* The Vechain network supports non-fungible tokens
|
|
396
|
+
* Every NFT belongs to an NFT collection(contract).
|
|
397
|
+
*/
|
|
398
|
+
export declare class VetNFTCollection extends NFTCollectionIdDefinedToken {
|
|
399
|
+
gasTankToken?: string;
|
|
400
|
+
constructor(options: NFTCollectionIdConstructorOptions & {
|
|
401
|
+
gasTankToken?: string;
|
|
402
|
+
});
|
|
403
|
+
}
|
|
233
404
|
/**
|
|
234
405
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
235
406
|
*/
|
|
@@ -240,6 +411,80 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
240
411
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
241
412
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
242
413
|
}
|
|
414
|
+
/**
|
|
415
|
+
* The Stacks network supports tokens
|
|
416
|
+
* Stx tokens work similar to native Stx coin, but the token name is determined by
|
|
417
|
+
* the contractName on the chain.
|
|
418
|
+
*/
|
|
419
|
+
export declare class Sip10Token extends AccountCoinToken {
|
|
420
|
+
assetId: string;
|
|
421
|
+
constructor(options: Sip10TokenConstructorOptions);
|
|
422
|
+
}
|
|
423
|
+
/**
|
|
424
|
+
* The Near network supports tokens
|
|
425
|
+
* Near tokens work similar to native near coin
|
|
426
|
+
*/
|
|
427
|
+
export declare class Nep141Token extends AccountCoinToken {
|
|
428
|
+
contractAddress: string;
|
|
429
|
+
storageDepositAmount: string;
|
|
430
|
+
constructor(options: Nep141TokenConstructorOptions);
|
|
431
|
+
}
|
|
432
|
+
export declare class VetToken extends AccountCoinToken {
|
|
433
|
+
contractAddress: string;
|
|
434
|
+
gasTankToken?: string;
|
|
435
|
+
constructor(options: VetTokenConstructorOptions);
|
|
436
|
+
}
|
|
437
|
+
/**
|
|
438
|
+
* Cosmos network supports tokens
|
|
439
|
+
* Cosmos tokens work similar to native coins, but the token is determined by
|
|
440
|
+
* the denom on chain.
|
|
441
|
+
*
|
|
442
|
+
*/
|
|
443
|
+
export declare class CosmosChainToken extends AccountCoinToken {
|
|
444
|
+
denom: string;
|
|
445
|
+
constructor(options: CosmosTokenConstructorOptions);
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
* TON supports tokens and Jetton is a token standard on TON
|
|
449
|
+
* Jetton tokens work similar to native TON coin
|
|
450
|
+
*/
|
|
451
|
+
export declare class JettonToken extends AccountCoinToken {
|
|
452
|
+
contractAddress: string;
|
|
453
|
+
constructor(options: JettonTokenConstructorOptions);
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
* The Bittensor network supports tokens
|
|
457
|
+
* The token name is determined by the subnetId on chain.
|
|
458
|
+
*/
|
|
459
|
+
export declare class TaoCoin extends AccountCoinToken {
|
|
460
|
+
subnetId: string;
|
|
461
|
+
constructor(options: TaoCoinConstructorOptions);
|
|
462
|
+
}
|
|
463
|
+
/**
|
|
464
|
+
* The Bittensor network supports tokens
|
|
465
|
+
* The token name is determined by the subnetId on chain.
|
|
466
|
+
*/
|
|
467
|
+
export declare class PolyxCoin extends AccountCoinToken {
|
|
468
|
+
ticker: string;
|
|
469
|
+
assetId: string;
|
|
470
|
+
constructor(options: PolyxCoinConstructorOptions);
|
|
471
|
+
}
|
|
472
|
+
export declare class AdaToken extends AccountCoinToken {
|
|
473
|
+
policyId: string;
|
|
474
|
+
assetName: string;
|
|
475
|
+
contractAddress: string;
|
|
476
|
+
constructor(options: AdaTokenConstructorOptions);
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
* The canton network supports tokens
|
|
480
|
+
* Canton tokens work similar to Canton coin,
|
|
481
|
+
* but they will have their own token standard base url and instrument admin
|
|
482
|
+
*/
|
|
483
|
+
export declare class CantonToken extends AccountCoinToken {
|
|
484
|
+
baseUrl: string;
|
|
485
|
+
contractAddress: string;
|
|
486
|
+
constructor(options: CantonTokenConstructorOptions);
|
|
487
|
+
}
|
|
243
488
|
/**
|
|
244
489
|
* Factory function for account coin instances.
|
|
245
490
|
*
|
|
@@ -256,6 +501,56 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
256
501
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
257
502
|
*/
|
|
258
503
|
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>;
|
|
504
|
+
/**
|
|
505
|
+
* Factory function for gas tank account coin instances.
|
|
506
|
+
*
|
|
507
|
+
* @param id uuid v4
|
|
508
|
+
* @param name unique identifier of the coin
|
|
509
|
+
* @param fullName Complete human-readable name of the coin
|
|
510
|
+
* @param network Network object for this coin
|
|
511
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
512
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
513
|
+
* @param baseUnit
|
|
514
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
515
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
516
|
+
* @param gasTankLowBalanceAlertFactor Low gas tank balance alert threshold = (feeEstimate x gasTankLowBalanceAlertFactor)
|
|
517
|
+
* @param gasTankMinBalanceRecommendationFactor Min gas tank balance recommendation = (feeEstimate x gasTankMinBalanceRecommendationFactor)
|
|
518
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
519
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
520
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
521
|
+
*/
|
|
522
|
+
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>;
|
|
523
|
+
/**
|
|
524
|
+
* Factory function for ethLikeErc20 token instances.
|
|
525
|
+
*
|
|
526
|
+
* @param id uuid v4
|
|
527
|
+
* @param name unique identifier of the token
|
|
528
|
+
* @param fullName Complete human-readable name of the token
|
|
529
|
+
* @param decimalPlaces Number of decimal places this token supports
|
|
530
|
+
* @param contractAddress Contract address of this token
|
|
531
|
+
* @param asset Asset which this coin represents
|
|
532
|
+
* @param network Optional token network
|
|
533
|
+
* @param coinNames The parent coin names for mainnet and testnet
|
|
534
|
+
* @param features Features of this coin
|
|
535
|
+
* @param prefix Optional token prefix
|
|
536
|
+
* @param suffix Optional token suffix
|
|
537
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
538
|
+
*/
|
|
539
|
+
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>;
|
|
540
|
+
/**
|
|
541
|
+
* Factory function for erc721 token instances.
|
|
542
|
+
*
|
|
543
|
+
* @param id uuid v4
|
|
544
|
+
* @param name unique identifier of the token
|
|
545
|
+
* @param fullName Complete human-readable name of the token
|
|
546
|
+
* @param contractAddress Contract address of this token
|
|
547
|
+
* @param network network
|
|
548
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
549
|
+
* @param prefix Optional token prefix
|
|
550
|
+
* @param suffix Optional token suffix
|
|
551
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
552
|
+
*/
|
|
553
|
+
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
554
|
/**
|
|
260
555
|
* Factory function for erc20 token instances.
|
|
261
556
|
*
|
|
@@ -312,7 +607,7 @@ export declare function erc721(id: string, name: string, fullName: string, contr
|
|
|
312
607
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
313
608
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
314
609
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
315
|
-
* @param network? Optional token network. Defaults to
|
|
610
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
316
611
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
317
612
|
*/
|
|
318
613
|
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 +651,7 @@ export declare function erc1155(id: string, name: string, fullName: string, cont
|
|
|
356
651
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
357
652
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
358
653
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
359
|
-
* @param network? Optional token network. Defaults to
|
|
654
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
360
655
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
361
656
|
*/
|
|
362
657
|
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 +679,11 @@ export declare function erc20CompatibleAccountCoin(id: string, name: string, ful
|
|
|
384
679
|
* @param fullName Complete human-readable name of the token
|
|
385
680
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
386
681
|
* @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
|
|
682
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
683
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
684
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
685
|
+
* @param network ? Optional token network. Defaults to CELO main network.
|
|
686
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
392
687
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
393
688
|
*/
|
|
394
689
|
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 +696,10 @@ export declare function celoToken(id: string, name: string, fullName: string, de
|
|
|
401
696
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
402
697
|
* @param contractAddress Contract address of this token
|
|
403
698
|
* @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
|
|
699
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
700
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
701
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
702
|
+
* @param network ? Optional token network. Defaults to the testnet CELO network.
|
|
408
703
|
*/
|
|
409
704
|
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
705
|
/**
|
|
@@ -518,7 +813,7 @@ export declare function ttronToken(id: string, name: string, fullName: string, d
|
|
|
518
813
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
519
814
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
520
815
|
*/
|
|
521
|
-
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
816
|
+
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
817
|
/**
|
|
523
818
|
* Factory function for Hedera token instances
|
|
524
819
|
*
|
|
@@ -529,13 +824,14 @@ export declare function hederaCoin(id: string, name: string, fullName: string, n
|
|
|
529
824
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
530
825
|
* @param nodeAccountId node account Id from which the transaction will be sent
|
|
531
826
|
* @param tokenId The unique identifier of this token
|
|
827
|
+
* @param contractAddress Contract address of this token, same as tokenId
|
|
532
828
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
533
829
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
534
830
|
* @param network? Optional token network. Defaults to Hedera mainnet.
|
|
535
831
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
536
832
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
537
833
|
*/
|
|
538
|
-
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
834
|
+
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
835
|
/**
|
|
540
836
|
* Factory function for ALGO token instances.
|
|
541
837
|
*
|
|
@@ -546,7 +842,6 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
546
842
|
* @param fullName Complete human-readable name of the token
|
|
547
843
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
548
844
|
* @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
845
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
551
846
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
552
847
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -554,7 +849,7 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
554
849
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
555
850
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
556
851
|
*/
|
|
557
|
-
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
852
|
+
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
853
|
/**
|
|
559
854
|
* Factory function for testnet ALGO token instances.
|
|
560
855
|
*
|
|
@@ -564,14 +859,13 @@ export declare function algoToken(id: string, name: string, alias: string | unde
|
|
|
564
859
|
* @param fullName Complete human-readable name of the token
|
|
565
860
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
566
861
|
* @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
862
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
569
863
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
570
864
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
571
865
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
572
866
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
573
867
|
*/
|
|
574
|
-
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
868
|
+
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
869
|
/**
|
|
576
870
|
* Factory function for eos token instances.
|
|
577
871
|
*
|
|
@@ -580,6 +874,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
580
874
|
* @param fullName Complete human-readable name of the token
|
|
581
875
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
582
876
|
* @param contractName Contract address of this token
|
|
877
|
+
* @param contractAddress Contract address of this token
|
|
583
878
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
584
879
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
585
880
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -587,7 +882,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
587
882
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
588
883
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
589
884
|
*/
|
|
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>;
|
|
885
|
+
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
886
|
/**
|
|
592
887
|
* Factory function for testnet eos token instances.
|
|
593
888
|
*
|
|
@@ -595,14 +890,16 @@ export declare function eosToken(id: string, name: string, fullName: string, dec
|
|
|
595
890
|
* @param name unique identifier of the token
|
|
596
891
|
* @param fullName Complete human-readable name of the token
|
|
597
892
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
893
|
+
* @param contractName Contract address of this token
|
|
598
894
|
* @param contractAddress Contract address of this token
|
|
599
895
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
600
896
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
601
897
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
898
|
+
* @param symbol? token symbol as defined in token contract.
|
|
602
899
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
603
900
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
604
901
|
*/
|
|
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>;
|
|
902
|
+
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
903
|
/**
|
|
607
904
|
* Factory function for sol token instances.
|
|
608
905
|
*
|
|
@@ -611,6 +908,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
611
908
|
* @param fullName Complete human-readable name of the token
|
|
612
909
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
613
910
|
* @param tokenAddress Token address of this token
|
|
911
|
+
* @param contractAddress Contract address of this token
|
|
614
912
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
615
913
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
616
914
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -618,7 +916,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
618
916
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
619
917
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
620
918
|
*/
|
|
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>;
|
|
919
|
+
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
920
|
/**
|
|
623
921
|
* Factory function for testnet solana token instances.
|
|
624
922
|
*
|
|
@@ -633,38 +931,42 @@ export declare function solToken(id: string, name: string, fullName: string, dec
|
|
|
633
931
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
634
932
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
635
933
|
*/
|
|
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>;
|
|
934
|
+
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
935
|
/**
|
|
638
|
-
* Factory function for
|
|
936
|
+
* Factory function for prod cardano token instances.
|
|
639
937
|
*
|
|
640
938
|
* @param id uuid v4
|
|
641
|
-
* @param name
|
|
939
|
+
* @param name Name of the token
|
|
642
940
|
* @param fullName Complete human-readable name of the token
|
|
643
941
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
644
|
-
* @param
|
|
942
|
+
* @param policyId Policy Id
|
|
943
|
+
* @param assetName Asset name -> Policy ID + Asset name is the unique identifier
|
|
944
|
+
* @param contractAddress Fingerprint of this token
|
|
645
945
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
646
946
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
647
947
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
648
|
-
* @param network? Optional token network. Defaults to Cardano
|
|
948
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
649
949
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
650
950
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
651
951
|
*/
|
|
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<
|
|
952
|
+
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
953
|
/**
|
|
654
954
|
* Factory function for testnet cardano token instances.
|
|
655
955
|
*
|
|
656
956
|
* @param id uuid v4
|
|
657
|
-
* @param name
|
|
957
|
+
* @param name Name of the token
|
|
658
958
|
* @param fullName Complete human-readable name of the token
|
|
659
959
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
660
|
-
* @param
|
|
960
|
+
* @param policyId Policy Id
|
|
961
|
+
* @param assetName Asset name -> Policy ID + Asset name is the unique identifier
|
|
962
|
+
* @param contractAddress Fingerprint of this token
|
|
661
963
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
662
964
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
663
965
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
664
966
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
665
967
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
666
968
|
*/
|
|
667
|
-
export declare function tadaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, asset: UnderlyingAsset, features?: CoinFeature[],
|
|
969
|
+
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
970
|
/**
|
|
669
971
|
* Factory function for avaxErc20 token instances.
|
|
670
972
|
*
|
|
@@ -714,7 +1016,7 @@ export declare function tavaxErc20(id: string, name: string, fullName: string, d
|
|
|
714
1016
|
*/
|
|
715
1017
|
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
1018
|
/**
|
|
717
|
-
* Factory function for
|
|
1019
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
718
1020
|
*
|
|
719
1021
|
* @param id uuid v4
|
|
720
1022
|
* @param name unique identifier of the token
|
|
@@ -740,7 +1042,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
740
1042
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
741
1043
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
742
1044
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
743
|
-
* @param network? Optional token network. Defaults to
|
|
1045
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
744
1046
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
745
1047
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
746
1048
|
*/
|
|
@@ -756,61 +1058,729 @@ export declare function arbethErc20(id: string, name: string, fullName: string,
|
|
|
756
1058
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
757
1059
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
758
1060
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
759
|
-
* @param network? Optional token network. Defaults to the
|
|
1061
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
760
1062
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
761
1063
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
762
1064
|
*/
|
|
763
1065
|
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
1066
|
/**
|
|
765
|
-
* Factory function for
|
|
1067
|
+
* Factory function for opethErc20 token instances.
|
|
766
1068
|
*
|
|
767
1069
|
* @param id uuid v4
|
|
768
1070
|
* @param name unique identifier of the token
|
|
769
1071
|
* @param fullName Complete human-readable name of the token
|
|
770
1072
|
* @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,
|
|
1073
|
+
* @param contractAddress Contract address of this token
|
|
774
1074
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
775
1075
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
776
1076
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
777
|
-
* @param network? Optional token network. Defaults to
|
|
1077
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
778
1078
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
779
1079
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
780
1080
|
*/
|
|
781
|
-
export declare function
|
|
1081
|
+
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
1082
|
/**
|
|
783
|
-
* Factory function for testnet
|
|
1083
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
784
1084
|
*
|
|
785
1085
|
* @param id uuid v4
|
|
786
1086
|
* @param name unique identifier of the token
|
|
787
1087
|
* @param fullName Complete human-readable name of the token
|
|
788
1088
|
* @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,
|
|
1089
|
+
* @param contractAddress Contract address of this token
|
|
792
1090
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
793
1091
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
794
1092
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
795
|
-
* @param network? Optional token network. Defaults to the
|
|
1093
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
796
1094
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1095
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
797
1096
|
*/
|
|
798
|
-
export declare function
|
|
1097
|
+
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
1098
|
/**
|
|
800
|
-
* Factory function for
|
|
1099
|
+
* Factory function for zkethErc20 token instances.
|
|
801
1100
|
*
|
|
802
1101
|
* @param id uuid v4
|
|
803
|
-
* @param name unique identifier of the
|
|
804
|
-
* @param fullName Complete human-readable name of the
|
|
805
|
-
* @param
|
|
806
|
-
* @param
|
|
1102
|
+
* @param name unique identifier of the token
|
|
1103
|
+
* @param fullName Complete human-readable name of the token
|
|
1104
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1105
|
+
* @param contractAddress Contract address of this token
|
|
807
1106
|
* @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
|
|
1107
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1108
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1109
|
+
* @param network? Optional token network. Defaults to zkSync mainnet network.
|
|
1110
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1111
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
813
1112
|
*/
|
|
814
|
-
export declare function
|
|
1113
|
+
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>;
|
|
1114
|
+
/**
|
|
1115
|
+
* Factory function for zkSync Sepolia testnet zkethErc20 token instances.
|
|
1116
|
+
*
|
|
1117
|
+
* @param id uuid v4
|
|
1118
|
+
* @param name unique identifier of the token
|
|
1119
|
+
* @param fullName Complete human-readable name of the token
|
|
1120
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1121
|
+
* @param contractAddress Contract address of this token
|
|
1122
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1123
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1124
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1125
|
+
* @param network? Optional token network. Defaults to the zkSync sepolia test network.
|
|
1126
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1127
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1128
|
+
*/
|
|
1129
|
+
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>;
|
|
1130
|
+
/**
|
|
1131
|
+
* Factory function for beraErc20 token instances.
|
|
1132
|
+
*
|
|
1133
|
+
* @param id uuid v4
|
|
1134
|
+
* @param name unique identifier of the token
|
|
1135
|
+
* @param fullName Complete human-readable name of the token
|
|
1136
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1137
|
+
* @param contractAddress Contract address of this token
|
|
1138
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1139
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1140
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1141
|
+
* @param network? Optional token network. Defaults to bera mainnet network.
|
|
1142
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1143
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1144
|
+
*/
|
|
1145
|
+
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>;
|
|
1146
|
+
/**
|
|
1147
|
+
* Factory function for zkSync Sepolia testnet beraErc20 token instances.
|
|
1148
|
+
*
|
|
1149
|
+
* @param id uuid v4
|
|
1150
|
+
* @param name unique identifier of the token
|
|
1151
|
+
* @param fullName Complete human-readable name of the token
|
|
1152
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1153
|
+
* @param contractAddress Contract address of this token
|
|
1154
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1155
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1156
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1157
|
+
* @param network? Optional token network. Defaults to the bera test network.
|
|
1158
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1159
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1160
|
+
*/
|
|
1161
|
+
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>;
|
|
1162
|
+
/**
|
|
1163
|
+
* Factory function for CoredaoErc20 token instances.
|
|
1164
|
+
*
|
|
1165
|
+
* @param id uuid v4
|
|
1166
|
+
* @param name unique identifier of the token
|
|
1167
|
+
* @param fullName Complete human-readable name of the token
|
|
1168
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1169
|
+
* @param contractAddress Contract address of this token
|
|
1170
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1171
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1172
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1173
|
+
* @param network? Optional token network. Defaults to coredao mainnet network.
|
|
1174
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1175
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1176
|
+
*/
|
|
1177
|
+
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>;
|
|
1178
|
+
/**
|
|
1179
|
+
* Factory function for coredao testnet coredaoErc20 token instances.
|
|
1180
|
+
*
|
|
1181
|
+
* @param id uuid v4
|
|
1182
|
+
* @param name unique identifier of the token
|
|
1183
|
+
* @param fullName Complete human-readable name of the token
|
|
1184
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1185
|
+
* @param contractAddress Contract address of this token
|
|
1186
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1187
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1188
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1189
|
+
* @param network? Optional token network. Defaults to the coredao test network.
|
|
1190
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1191
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1192
|
+
*/
|
|
1193
|
+
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>;
|
|
1194
|
+
/**
|
|
1195
|
+
* Factory function for ChilizErc20 token instances.
|
|
1196
|
+
*
|
|
1197
|
+
* @param id uuid v4
|
|
1198
|
+
* @param name unique identifier of the token
|
|
1199
|
+
* @param fullName Complete human-readable name of the token
|
|
1200
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1201
|
+
* @param contractAddress Contract address of this token
|
|
1202
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1203
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1204
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1205
|
+
* @param network? Optional token network. Defaults to Chiliz Chain mainnet network.
|
|
1206
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1207
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1208
|
+
*/
|
|
1209
|
+
export declare function chilizErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<ChilizERC20Token>;
|
|
1210
|
+
/**
|
|
1211
|
+
* Factory function for Chiliz testnet ChilizErc20 token instances.
|
|
1212
|
+
*
|
|
1213
|
+
* @param id uuid v4
|
|
1214
|
+
* @param name unique identifier of the token
|
|
1215
|
+
* @param fullName Complete human-readable name of the token
|
|
1216
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1217
|
+
* @param contractAddress Contract address of this token
|
|
1218
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1219
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1220
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1221
|
+
* @param network? Optional token network. Defaults to the Chiliz Chain test network.
|
|
1222
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1223
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1224
|
+
*/
|
|
1225
|
+
export declare function tchilizErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<ChilizERC20Token>;
|
|
1226
|
+
/**
|
|
1227
|
+
* Factory function for WorldErc20 token instances.
|
|
1228
|
+
*
|
|
1229
|
+
* @param id uuid v4
|
|
1230
|
+
* @param name unique identifier of the token
|
|
1231
|
+
* @param fullName Complete human-readable name of the token
|
|
1232
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1233
|
+
* @param contractAddress Contract address of this token
|
|
1234
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1235
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1236
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1237
|
+
* @param network? Optional token network. Defaults to World Chain mainnet network.
|
|
1238
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1239
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1240
|
+
*/
|
|
1241
|
+
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>;
|
|
1242
|
+
/**
|
|
1243
|
+
* Factory function for world testnet worldErc20 token instances.
|
|
1244
|
+
*
|
|
1245
|
+
* @param id uuid v4
|
|
1246
|
+
* @param name unique identifier of the token
|
|
1247
|
+
* @param fullName Complete human-readable name of the token
|
|
1248
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1249
|
+
* @param contractAddress Contract address of this token
|
|
1250
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1251
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1252
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1253
|
+
* @param network? Optional token network. Defaults to the World Chain test network.
|
|
1254
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1255
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1256
|
+
*/
|
|
1257
|
+
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>;
|
|
1258
|
+
/**
|
|
1259
|
+
* Factory function for FlrErc20 token instances.
|
|
1260
|
+
*
|
|
1261
|
+
* @param id uuid v4
|
|
1262
|
+
* @param name unique identifier of the token
|
|
1263
|
+
* @param fullName Complete human-readable name of the token
|
|
1264
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1265
|
+
* @param contractAddress Contract address of this token
|
|
1266
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1267
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1268
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1269
|
+
* @param network? Optional token network. Defaults to Flr Chain mainnet network.
|
|
1270
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1271
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1272
|
+
*/
|
|
1273
|
+
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>;
|
|
1274
|
+
/**
|
|
1275
|
+
* Factory function for Flr testnet FlrErc20 token instances.
|
|
1276
|
+
*
|
|
1277
|
+
* @param id uuid v4
|
|
1278
|
+
* @param name unique identifier of the token
|
|
1279
|
+
* @param fullName Complete human-readable name of the token
|
|
1280
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1281
|
+
* @param contractAddress Contract address of this token
|
|
1282
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1283
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1284
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1285
|
+
* @param network? Optional token network. Defaults to the Flr Chain test network.
|
|
1286
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1287
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1288
|
+
*/
|
|
1289
|
+
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>;
|
|
1290
|
+
/**
|
|
1291
|
+
* Factory function for XdcErc20 token instances.
|
|
1292
|
+
*
|
|
1293
|
+
* @param id uuid v4
|
|
1294
|
+
* @param name unique identifier of the token
|
|
1295
|
+
* @param fullName Complete human-readable name of the token
|
|
1296
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1297
|
+
* @param contractAddress Contract address of this token
|
|
1298
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1299
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1300
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1301
|
+
* @param network? Optional token network. Defaults to XDC mainnet network.
|
|
1302
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1303
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1304
|
+
*/
|
|
1305
|
+
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>;
|
|
1306
|
+
/**
|
|
1307
|
+
* Factory function for XDC testnet XdcErc20 token instances.
|
|
1308
|
+
*
|
|
1309
|
+
* @param id uuid v4
|
|
1310
|
+
* @param name unique identifier of the token
|
|
1311
|
+
* @param fullName Complete human-readable name of the token
|
|
1312
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1313
|
+
* @param contractAddress Contract address of this token
|
|
1314
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1315
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1316
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1317
|
+
* @param network? Optional token network. Defaults to the XDC test network.
|
|
1318
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1319
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1320
|
+
*/
|
|
1321
|
+
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>;
|
|
1322
|
+
/**
|
|
1323
|
+
* Factory function for MonErc20 token instances.
|
|
1324
|
+
*
|
|
1325
|
+
* @param id uuid v4
|
|
1326
|
+
* @param name unique identifier of the token
|
|
1327
|
+
* @param fullName Complete human-readable name of the token
|
|
1328
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1329
|
+
* @param contractAddress Contract address of this token
|
|
1330
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
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 Mon mainnet network.
|
|
1334
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1335
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1336
|
+
*/
|
|
1337
|
+
export declare function monErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<MonERC20Token>;
|
|
1338
|
+
/**
|
|
1339
|
+
* Factory function for Mon testnet MonErc20 token instances.
|
|
1340
|
+
*
|
|
1341
|
+
* @param id uuid v4
|
|
1342
|
+
* @param name unique identifier of the token
|
|
1343
|
+
* @param fullName Complete human-readable name of the token
|
|
1344
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1345
|
+
* @param contractAddress Contract address of this token
|
|
1346
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1347
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1348
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1349
|
+
* @param network? Optional token network. Defaults to the Mon test network.
|
|
1350
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1351
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1352
|
+
*/
|
|
1353
|
+
export declare function tmonErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<MonERC20Token>;
|
|
1354
|
+
/**
|
|
1355
|
+
* Factory function for xrp token instances.
|
|
1356
|
+
*
|
|
1357
|
+
* @param id uuid v4
|
|
1358
|
+
* @param name unique identifier of the token
|
|
1359
|
+
* @param fullName Complete human-readable name of the token
|
|
1360
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1361
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
1362
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1363
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
1364
|
+
* @param domain? the domain of the issuer of the token,
|
|
1365
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1366
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1367
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1368
|
+
* @param network? Optional token network. Defaults to Cardano main network.
|
|
1369
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1370
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1371
|
+
*/
|
|
1372
|
+
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>;
|
|
1373
|
+
/**
|
|
1374
|
+
* Factory function for testnet cardano token instances.
|
|
1375
|
+
*
|
|
1376
|
+
* @param id uuid v4
|
|
1377
|
+
* @param name unique identifier of the token
|
|
1378
|
+
* @param fullName Complete human-readable name of the token
|
|
1379
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1380
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
1381
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1382
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
1383
|
+
* @param domain? the domain of the issuer of the token,
|
|
1384
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1385
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1386
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1387
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
1388
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1389
|
+
*/
|
|
1390
|
+
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>;
|
|
1391
|
+
/**
|
|
1392
|
+
* Factory function for sui token instances.
|
|
1393
|
+
*
|
|
1394
|
+
* @param id uuid v4
|
|
1395
|
+
* @param name unique identifier of the token
|
|
1396
|
+
* @param fullName Complete human-readable name of the token
|
|
1397
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1398
|
+
* @param packageId PackageId of this token
|
|
1399
|
+
* @param module The module of the package with id `packageId`
|
|
1400
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1401
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1402
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1403
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1404
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1405
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1406
|
+
* @param network? Optional token network. Defaults to SUI main network.
|
|
1407
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1408
|
+
*/
|
|
1409
|
+
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>;
|
|
1410
|
+
/**
|
|
1411
|
+
* Factory function for testnet sui token instances.
|
|
1412
|
+
*
|
|
1413
|
+
* @param id uuid v4
|
|
1414
|
+
* @param name unique identifier of the token
|
|
1415
|
+
* @param fullName Complete human-readable name of the token
|
|
1416
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1417
|
+
* @param packageId PackageId of this token
|
|
1418
|
+
* @param module The module of the package with id `packageId`
|
|
1419
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1420
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1421
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1422
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1423
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1424
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1425
|
+
* @param network? Optional token network. Defaults to SUI test network.
|
|
1426
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1427
|
+
*/
|
|
1428
|
+
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>;
|
|
1429
|
+
/**
|
|
1430
|
+
* Factory function for apt token instances.
|
|
1431
|
+
*
|
|
1432
|
+
* @param id uuid v4
|
|
1433
|
+
* @param name unique identifier of the token
|
|
1434
|
+
* @param fullName Complete human-readable name of the token
|
|
1435
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1436
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1437
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1438
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1439
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1440
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1441
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1442
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1443
|
+
*/
|
|
1444
|
+
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>;
|
|
1445
|
+
/**
|
|
1446
|
+
* Factory function for Apt NFT collections.
|
|
1447
|
+
*
|
|
1448
|
+
* @param id uuid v4
|
|
1449
|
+
* @param name unique identifier of the NFT collection
|
|
1450
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1451
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1452
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1453
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1454
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1455
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1456
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1457
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1458
|
+
*/
|
|
1459
|
+
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>;
|
|
1460
|
+
/**
|
|
1461
|
+
* Factory function for testnet apt token instances.
|
|
1462
|
+
*
|
|
1463
|
+
* @param id uuid v4
|
|
1464
|
+
* @param name unique identifier of the token
|
|
1465
|
+
* @param fullName Complete human-readable name of the token
|
|
1466
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1467
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1468
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1469
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1470
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1471
|
+
* @param network Optional token network. Defaults to the testnet APT network.
|
|
1472
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1473
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1474
|
+
*/
|
|
1475
|
+
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>;
|
|
1476
|
+
/**
|
|
1477
|
+
* Factory function for testnet Apt NFT collections.
|
|
1478
|
+
*
|
|
1479
|
+
* @param id uuid v4
|
|
1480
|
+
* @param name unique identifier of the NFT collection
|
|
1481
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1482
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1483
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1484
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1485
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1486
|
+
* @param network Optional token network. Defaults to APT test network.
|
|
1487
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1488
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1489
|
+
*/
|
|
1490
|
+
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>;
|
|
1491
|
+
/**
|
|
1492
|
+
* Factory function for fiat coin instances.
|
|
1493
|
+
*
|
|
1494
|
+
* @param id uuid v4
|
|
1495
|
+
* @param name unique identifier of the coin, should start with 'fiat' or 'tfiat' followed by the 3-char ISO-4217 alphabetical code
|
|
1496
|
+
* @param fullName Complete human-readable name of the coin
|
|
1497
|
+
* @param network Network object for this coin
|
|
1498
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
1499
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1500
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `FiatCoin`
|
|
1501
|
+
* @param primaryKeyCurve? The elliptic curve for this chain/token
|
|
1502
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
1503
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
1504
|
+
* @param isToken? Whether or not this coin is a token of another coin
|
|
1505
|
+
*/
|
|
1506
|
+
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>;
|
|
1507
|
+
/**
|
|
1508
|
+
* Factory function for sip10 token instances.
|
|
1509
|
+
*
|
|
1510
|
+
* @param id uuid v4
|
|
1511
|
+
* @param name unique identifier of the token
|
|
1512
|
+
* @param fullName Complete human-readable name of the token
|
|
1513
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1514
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1515
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1516
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1517
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1518
|
+
* @param network? Optional token network. Defaults to Stacks main network.
|
|
1519
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1520
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1521
|
+
*/
|
|
1522
|
+
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>;
|
|
1523
|
+
/**
|
|
1524
|
+
* Factory function for testnet sip10 token instances.
|
|
1525
|
+
*
|
|
1526
|
+
* @param id uuid v4
|
|
1527
|
+
* @param name unique identifier of the token
|
|
1528
|
+
* @param fullName Complete human-readable name of the token
|
|
1529
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1530
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1531
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1532
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1533
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1534
|
+
* @param network? Optional token network. Defaults to the testnet Stacks network.
|
|
1535
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1536
|
+
*/
|
|
1537
|
+
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>;
|
|
1538
|
+
/**
|
|
1539
|
+
* Factory function for nep141 token instances.
|
|
1540
|
+
*
|
|
1541
|
+
* @param id uuid v4
|
|
1542
|
+
* @param name unique identifier of the token
|
|
1543
|
+
* @param fullName Complete human-readable name of the token
|
|
1544
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1545
|
+
* @param contractAddress Contract address of this token
|
|
1546
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1547
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1548
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1549
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1550
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1551
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1552
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1553
|
+
*/
|
|
1554
|
+
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>;
|
|
1555
|
+
/**
|
|
1556
|
+
* Factory function for testnet nep141 token instances.
|
|
1557
|
+
*
|
|
1558
|
+
* @param id uuid v4
|
|
1559
|
+
* @param name unique identifier of the token
|
|
1560
|
+
* @param fullName Complete human-readable name of the token
|
|
1561
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1562
|
+
* @param contractAddress Contract address of this token
|
|
1563
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1564
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1565
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1566
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1567
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1568
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1569
|
+
*/
|
|
1570
|
+
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>;
|
|
1571
|
+
/**
|
|
1572
|
+
* Factory function for vet token instances.
|
|
1573
|
+
*
|
|
1574
|
+
* @param id uuid v4
|
|
1575
|
+
* @param name unique identifier of the token
|
|
1576
|
+
* @param fullName Complete human-readable name of the token
|
|
1577
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1578
|
+
* @param contractAddress Contract address of this token
|
|
1579
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1580
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1581
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1582
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1583
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1584
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1585
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1586
|
+
*/
|
|
1587
|
+
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>;
|
|
1588
|
+
/**
|
|
1589
|
+
* Factory function for testnet vet token instances.
|
|
1590
|
+
*
|
|
1591
|
+
* @param id uuid v4
|
|
1592
|
+
* @param name unique identifier of the token
|
|
1593
|
+
* @param fullName Complete human-readable name of the token
|
|
1594
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1595
|
+
* @param contractAddress Contract address of this token
|
|
1596
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1597
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1598
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1599
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1600
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1601
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1602
|
+
*/
|
|
1603
|
+
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>;
|
|
1604
|
+
/**
|
|
1605
|
+
* Factory function for Vet NFT collections.
|
|
1606
|
+
*
|
|
1607
|
+
* @param id uuid v4
|
|
1608
|
+
* @param name unique identifier of the NFT collection
|
|
1609
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1610
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1611
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1612
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1613
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1614
|
+
* @param network Optional token network. Defaults to VET main network.
|
|
1615
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1616
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1617
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1618
|
+
*/
|
|
1619
|
+
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>;
|
|
1620
|
+
/**
|
|
1621
|
+
* Factory function for testnet Vet NFT collections.
|
|
1622
|
+
*
|
|
1623
|
+
* @param id uuid v4
|
|
1624
|
+
* @param name unique identifier of the NFT collection
|
|
1625
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1626
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1627
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1628
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1629
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1630
|
+
* @param network Optional token network. Defaults to VET test network.
|
|
1631
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1632
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1633
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1634
|
+
*/
|
|
1635
|
+
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>;
|
|
1636
|
+
/**
|
|
1637
|
+
* Factory function for Cosmos chain token instances.
|
|
1638
|
+
*
|
|
1639
|
+
* @param id uuid v4
|
|
1640
|
+
* @param name unique identifier of the token
|
|
1641
|
+
* @param fullName Complete human-readable name of the token
|
|
1642
|
+
* @param denom denomination of this token which will act as a unique identifier for the token on chain
|
|
1643
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1644
|
+
* @param network Network (mainnet or testnet) for this token
|
|
1645
|
+
* @param baseUnit Base unit of this token (native asset)
|
|
1646
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1647
|
+
* @param features Features of this coin. Defaults to the COSMOS_SIDECHAIN_FEATURES defined in `coinFeatures.ts`
|
|
1648
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1649
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1650
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1651
|
+
*/
|
|
1652
|
+
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>;
|
|
1653
|
+
/**
|
|
1654
|
+
* Factory function for tao token instances.
|
|
1655
|
+
*
|
|
1656
|
+
* @param id uuid v4
|
|
1657
|
+
* @param name unique identifier of the token
|
|
1658
|
+
* @param fullName Complete human-readable name of the token
|
|
1659
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1660
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1661
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1662
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1663
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1664
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1665
|
+
* @param network? Optional token network. Defaults to TAO main network.
|
|
1666
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1667
|
+
*/
|
|
1668
|
+
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>;
|
|
1669
|
+
/**
|
|
1670
|
+
* Factory function for testnet tao token instances.
|
|
1671
|
+
*
|
|
1672
|
+
* @param id uuid v4
|
|
1673
|
+
* @param name unique identifier of the token
|
|
1674
|
+
* @param fullName Complete human-readable name of the token
|
|
1675
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1676
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1677
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1678
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1679
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1680
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1681
|
+
* @param network? Optional token network. Defaults to TAO test network.
|
|
1682
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1683
|
+
*/
|
|
1684
|
+
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>;
|
|
1685
|
+
/**
|
|
1686
|
+
* Factory function for polyx token instances.
|
|
1687
|
+
*
|
|
1688
|
+
* @param id uuid v4
|
|
1689
|
+
* @param name unique identifier of the token
|
|
1690
|
+
* @param fullName Complete human-readable name of the token
|
|
1691
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1692
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1693
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1694
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1695
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1696
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1697
|
+
* @param network? Optional token network. Defaults to Polyx main network.
|
|
1698
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1699
|
+
*/
|
|
1700
|
+
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>;
|
|
1701
|
+
/**
|
|
1702
|
+
* Factory function for testnet polyx token instances.
|
|
1703
|
+
*
|
|
1704
|
+
* @param id uuid v4
|
|
1705
|
+
* @param name unique identifier of the token
|
|
1706
|
+
* @param fullName Complete human-readable name of the token
|
|
1707
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1708
|
+
* @param ticker The ticker symbol of the token
|
|
1709
|
+
* @param assetId The unique asset identifier for this token
|
|
1710
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1711
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1712
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1713
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1714
|
+
* @param network? Optional token network. Defaults to Polyx test network.
|
|
1715
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1716
|
+
*/
|
|
1717
|
+
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>;
|
|
1718
|
+
/**
|
|
1719
|
+
* Factory function for Jetton token instances.
|
|
1720
|
+
* Jetton is the token standard on TON blockchain.
|
|
1721
|
+
*
|
|
1722
|
+
* @param id uuid v4
|
|
1723
|
+
* @param name unique identifier of the token
|
|
1724
|
+
* @param fullName Complete human-readable name of the token
|
|
1725
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1726
|
+
* @param contractAddress Contract address of this token
|
|
1727
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1728
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1729
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1730
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1731
|
+
* @param network Optional token network. Defaults to TON main network.
|
|
1732
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1733
|
+
*/
|
|
1734
|
+
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>;
|
|
1735
|
+
/**
|
|
1736
|
+
* Factory function for testnet jetton token instances.
|
|
1737
|
+
* Jetton is the token standard on TON blockchain.
|
|
1738
|
+
*
|
|
1739
|
+
* @param id uuid v4
|
|
1740
|
+
* @param name unique identifier of the token
|
|
1741
|
+
* @param fullName Complete human-readable name of the token
|
|
1742
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1743
|
+
* @param contractAddress Contract address of this token
|
|
1744
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1745
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1746
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1747
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1748
|
+
* @param network Optional token network. Defaults to the testnet TON network.
|
|
1749
|
+
*/
|
|
1750
|
+
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>;
|
|
1751
|
+
/**
|
|
1752
|
+
* Factory function for prod canton token instances.
|
|
1753
|
+
*
|
|
1754
|
+
* @param id uuid v4
|
|
1755
|
+
* @param name Name of the token
|
|
1756
|
+
* @param fullName Complete human-readable name of the token
|
|
1757
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1758
|
+
* @param baseUrl token standard base url, ref: https://docs.digitalasset.com/utilities/devnet/overview/registry-user-guide/token-standard.html#token-standard-endpoints
|
|
1759
|
+
* @param contractAddress the contract address of the token in the form `instrumentAdmin:instrumentId`
|
|
1760
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1761
|
+
* @param features Features of this coin. Defaults to CANTON_FEATURES
|
|
1762
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1763
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1764
|
+
* @param network Optional token network. Defaults to the mainnet canton network.
|
|
1765
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1766
|
+
*/
|
|
1767
|
+
export declare function cantonToken(id: string, name: string, fullName: string, decimalPlaces: number, baseUrl: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<CantonToken>;
|
|
1768
|
+
/**
|
|
1769
|
+
* Factory function for testnet canton token instances.
|
|
1770
|
+
*
|
|
1771
|
+
* @param id uuid v4
|
|
1772
|
+
* @param name unique identifier of the token
|
|
1773
|
+
* @param fullName Complete human-readable name of the token
|
|
1774
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1775
|
+
* @param baseUrl token standard base url
|
|
1776
|
+
* @param contractAddress the contract address of the token in the form `instrumentAdmin:instrumentId`
|
|
1777
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1778
|
+
* @param features Features of this coin. Defaults to the CANTON_FEATURES
|
|
1779
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1780
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1781
|
+
* @param network Optional token network. Defaults to the testnet Canton network.
|
|
1782
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1783
|
+
*/
|
|
1784
|
+
export declare function tcantonToken(id: string, name: string, fullName: string, decimalPlaces: number, baseUrl: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<CantonToken>;
|
|
815
1785
|
export {};
|
|
816
1786
|
//# sourceMappingURL=account.d.ts.map
|