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