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