@bitgo-beta/statics 10.0.1-alpha.46 → 10.0.1-alpha.461
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 +1082 -60
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +1708 -142
- package/dist/src/ada.d.ts.map +1 -1
- package/dist/src/ada.js +9 -3
- package/dist/src/allCoinsAndTokens.d.ts +2 -0
- package/dist/src/allCoinsAndTokens.d.ts.map +1 -0
- package/dist/src/allCoinsAndTokens.js +1193 -0
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +10 -3
- package/dist/src/base.d.ts +2233 -33
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +2346 -49
- 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 +722 -0
- package/dist/src/coins/adaTokens.d.ts +2 -0
- package/dist/src/coins/adaTokens.d.ts.map +1 -0
- package/dist/src/coins/adaTokens.js +18 -0
- package/dist/src/coins/avaxTokens.d.ts +2 -0
- package/dist/src/coins/avaxTokens.d.ts.map +1 -0
- package/dist/src/coins/avaxTokens.js +126 -0
- package/dist/src/coins/botOfcTokens.d.ts +2 -0
- package/dist/src/coins/botOfcTokens.d.ts.map +1 -0
- package/dist/src/coins/botOfcTokens.js +5 -0
- package/dist/src/coins/botTokens.d.ts +3 -0
- package/dist/src/coins/botTokens.d.ts.map +1 -0
- package/dist/src/coins/botTokens.js +43 -0
- package/dist/src/coins/bscTokens.d.ts +2 -0
- package/dist/src/coins/bscTokens.d.ts.map +1 -0
- package/dist/src/coins/bscTokens.js +193 -0
- package/dist/src/coins/cantonTokens.d.ts +2 -0
- package/dist/src/coins/cantonTokens.d.ts.map +1 -0
- package/dist/src/coins/cantonTokens.js +14 -0
- package/dist/src/coins/cosmosTokens.d.ts +2 -0
- package/dist/src/coins/cosmosTokens.d.ts.map +1 -0
- package/dist/src/coins/cosmosTokens.js +14 -0
- package/dist/src/coins/erc20Coins.d.ts +2 -0
- package/dist/src/coins/erc20Coins.d.ts.map +1 -0
- package/dist/src/coins/erc20Coins.js +1973 -0
- package/dist/src/coins/jettonTokens.d.ts +2 -0
- package/dist/src/coins/jettonTokens.d.ts.map +1 -0
- package/dist/src/coins/jettonTokens.js +18 -0
- package/dist/src/coins/nep141Tokens.d.ts +2 -0
- package/dist/src/coins/nep141Tokens.d.ts.map +1 -0
- package/dist/src/coins/nep141Tokens.js +16 -0
- package/dist/src/coins/ofcCoins.d.ts +2 -0
- package/dist/src/coins/ofcCoins.d.ts.map +1 -0
- package/dist/src/coins/ofcCoins.js +864 -0
- package/dist/src/coins/ofcErc20Coins.d.ts +4 -0
- package/dist/src/coins/ofcErc20Coins.d.ts.map +1 -0
- package/dist/src/coins/ofcErc20Coins.js +1688 -0
- package/dist/src/coins/polygonTokens.d.ts +2 -0
- package/dist/src/coins/polygonTokens.d.ts.map +1 -0
- package/dist/src/coins/polygonTokens.js +163 -0
- package/dist/src/coins/polyxTokens.d.ts +2 -0
- package/dist/src/coins/polyxTokens.d.ts.map +1 -0
- package/dist/src/coins/polyxTokens.js +22 -0
- package/dist/src/coins/sip10Tokens.d.ts +2 -0
- package/dist/src/coins/sip10Tokens.d.ts.map +1 -0
- package/dist/src/coins/sip10Tokens.js +25 -0
- package/dist/src/coins/solTokens.d.ts +3 -0
- package/dist/src/coins/solTokens.d.ts.map +1 -0
- package/dist/src/coins/solTokens.js +440 -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 -0
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +367 -1374
- package/dist/src/constants.d.ts +3 -0
- package/dist/src/constants.d.ts.map +1 -0
- package/dist/src/constants.js +6 -0
- package/dist/src/errors.d.ts +3 -0
- package/dist/src/errors.d.ts.map +1 -1
- package/dist/src/errors.js +9 -2
- package/dist/src/flrp.d.ts +40 -0
- package/dist/src/flrp.d.ts.map +1 -0
- package/dist/src/flrp.js +65 -0
- package/dist/src/index.d.ts +3 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +27 -3
- package/dist/src/lightning.d.ts +43 -0
- package/dist/src/lightning.d.ts.map +1 -0
- package/dist/src/lightning.js +60 -0
- package/dist/src/map.d.ts +16 -0
- package/dist/src/map.d.ts.map +1 -1
- package/dist/src/map.js +188 -17
- package/dist/src/networkFeatureMapForTokens.d.ts +3 -0
- package/dist/src/networkFeatureMapForTokens.d.ts.map +1 -0
- package/dist/src/networkFeatureMapForTokens.js +31 -0
- package/dist/src/networks.d.ts +1710 -58
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +2097 -76
- 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 +614 -95
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +1007 -191
- package/dist/src/utxo.d.ts +3 -1
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +85 -3
- package/dist/tsconfig.tsbuildinfo +1 -2737
- package/package.json +6 -3
- package/.mocharc.js +0 -10
- package/.prettierignore +0 -2
- package/CHANGELOG.md +0 -518
- package/dist/resources/dot/index.d.ts +0 -3
- package/dist/resources/dot/index.d.ts.map +0 -1
- package/dist/resources/dot/index.js +0 -15
- package/dist/resources/dot/mainnet.d.ts +0 -2
- package/dist/resources/dot/mainnet.d.ts.map +0 -1
- package/dist/resources/dot/mainnet.js +0 -5
- package/dist/resources/dot/westend.d.ts +0 -2
- package/dist/resources/dot/westend.d.ts.map +0 -1
- package/dist/resources/dot/westend.js +0 -5
- package/resources/dot/index.ts +0 -2
- package/resources/dot/mainnet.ts +0 -2
- package/resources/dot/westend.ts +0 -2
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,31 +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;
|
|
73
|
+
contractAddress: string;
|
|
74
|
+
programId: string;
|
|
53
75
|
}
|
|
54
|
-
export interface
|
|
55
|
-
|
|
56
|
-
|
|
76
|
+
export interface XrpCoinConstructorOptions extends AccountConstructorOptions {
|
|
77
|
+
issuerAddress: string;
|
|
78
|
+
currencyCode: string;
|
|
79
|
+
domain: string;
|
|
80
|
+
contractAddress: string;
|
|
57
81
|
}
|
|
58
|
-
|
|
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}`;
|
|
59
99
|
export interface FiatCoinConstructorOptions extends AccountConstructorOptions {
|
|
60
100
|
name: FiatCoinName;
|
|
61
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
|
+
}
|
|
62
128
|
export interface ContractAddress extends String {
|
|
63
129
|
__contractaddress_phantom__: never;
|
|
64
130
|
}
|
|
65
131
|
export declare class AccountCoinToken extends AccountCoin {
|
|
66
132
|
constructor(options: AccountConstructorOptions);
|
|
67
133
|
}
|
|
134
|
+
export declare class GasTankAccountCoin extends AccountCoin {
|
|
135
|
+
gasTankLowBalanceAlertFactor: number;
|
|
136
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
137
|
+
gasTankToken?: string;
|
|
138
|
+
constructor(options: GasTankAccountConstructorOptions);
|
|
139
|
+
}
|
|
68
140
|
/**
|
|
69
141
|
* Some blockchains support tokens which are defined by an address at which they have a smart contract deployed.
|
|
70
142
|
* Examples are ERC20 tokens, and the equivalent on other chains.
|
|
@@ -73,6 +145,13 @@ export declare class ContractAddressDefinedToken extends AccountCoinToken {
|
|
|
73
145
|
contractAddress: ContractAddress;
|
|
74
146
|
constructor(options: Erc20ConstructorOptions);
|
|
75
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
|
+
}
|
|
76
155
|
/**
|
|
77
156
|
* ERC20 token addresses are Base58 formatted on some blockchains.
|
|
78
157
|
*/
|
|
@@ -150,6 +229,7 @@ export declare class HederaCoin extends AccountCoinToken {
|
|
|
150
229
|
export declare class HederaToken extends AccountCoinToken {
|
|
151
230
|
nodeAccountId: string;
|
|
152
231
|
tokenId: string;
|
|
232
|
+
contractAddress: string;
|
|
153
233
|
constructor(options: HederaTokenConstructorOptions);
|
|
154
234
|
}
|
|
155
235
|
/**
|
|
@@ -159,8 +239,7 @@ export declare class HederaToken extends AccountCoinToken {
|
|
|
159
239
|
*
|
|
160
240
|
*/
|
|
161
241
|
export declare class AlgoCoin extends AccountCoinToken {
|
|
162
|
-
|
|
163
|
-
constructor(options: AlgoCoinConstructorOptions);
|
|
242
|
+
constructor(options: AccountConstructorOptions);
|
|
164
243
|
}
|
|
165
244
|
/**
|
|
166
245
|
* The Eos network supports tokens
|
|
@@ -170,6 +249,8 @@ export declare class AlgoCoin extends AccountCoinToken {
|
|
|
170
249
|
*/
|
|
171
250
|
export declare class EosCoin extends AccountCoinToken {
|
|
172
251
|
contractName: string;
|
|
252
|
+
contractAddress: string;
|
|
253
|
+
symbol: string;
|
|
173
254
|
constructor(options: EosCoinConstructorOptions);
|
|
174
255
|
}
|
|
175
256
|
/**
|
|
@@ -180,17 +261,15 @@ export declare class EosCoin extends AccountCoinToken {
|
|
|
180
261
|
*/
|
|
181
262
|
export declare class SolCoin extends AccountCoinToken {
|
|
182
263
|
tokenAddress: string;
|
|
264
|
+
contractAddress: string;
|
|
265
|
+
programId: string;
|
|
183
266
|
constructor(options: SolCoinConstructorOptions);
|
|
184
267
|
}
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
export declare class AdaCoin extends AccountCoinToken {
|
|
191
|
-
policyId: string;
|
|
192
|
-
assetName: string;
|
|
193
|
-
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);
|
|
194
273
|
}
|
|
195
274
|
/**
|
|
196
275
|
* The AVAX C Chain network support tokens
|
|
@@ -206,6 +285,115 @@ export declare class AvaxERC20Token extends ContractAddressDefinedToken {
|
|
|
206
285
|
export declare class PolygonERC20Token extends ContractAddressDefinedToken {
|
|
207
286
|
constructor(options: Erc20ConstructorOptions);
|
|
208
287
|
}
|
|
288
|
+
/**
|
|
289
|
+
* The Arbitrum Chain network support tokens
|
|
290
|
+
* Arbitrum Chain Tokens are ERC20 tokens
|
|
291
|
+
*/
|
|
292
|
+
export declare class ArbethERC20Token extends ContractAddressDefinedToken {
|
|
293
|
+
constructor(options: Erc20ConstructorOptions);
|
|
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
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* The Xrp network supports tokens
|
|
353
|
+
* Xrp tokens are identified by their issuer address
|
|
354
|
+
* Naming format is similar to XLM
|
|
355
|
+
* <network>:<token>-<issuer>
|
|
356
|
+
*/
|
|
357
|
+
export declare class XrpCoin extends AccountCoinToken {
|
|
358
|
+
issuerAddress: string;
|
|
359
|
+
currencyCode: string;
|
|
360
|
+
domain: string;
|
|
361
|
+
contractAddress: string;
|
|
362
|
+
constructor(options: XrpCoinConstructorOptions);
|
|
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
|
+
}
|
|
209
397
|
/**
|
|
210
398
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
211
399
|
*/
|
|
@@ -216,6 +404,80 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
216
404
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
217
405
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
218
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
|
+
}
|
|
219
481
|
/**
|
|
220
482
|
* Factory function for account coin instances.
|
|
221
483
|
*
|
|
@@ -232,6 +494,56 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
232
494
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
233
495
|
*/
|
|
234
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>;
|
|
235
547
|
/**
|
|
236
548
|
* Factory function for erc20 token instances.
|
|
237
549
|
*
|
|
@@ -288,7 +600,7 @@ export declare function erc721(id: string, name: string, fullName: string, contr
|
|
|
288
600
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
289
601
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
290
602
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
291
|
-
* @param network? Optional token network. Defaults to
|
|
603
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
292
604
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
293
605
|
*/
|
|
294
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>;
|
|
@@ -332,7 +644,7 @@ export declare function erc1155(id: string, name: string, fullName: string, cont
|
|
|
332
644
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
333
645
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
334
646
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
335
|
-
* @param network? Optional token network. Defaults to
|
|
647
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
336
648
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
337
649
|
*/
|
|
338
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>;
|
|
@@ -360,11 +672,11 @@ export declare function erc20CompatibleAccountCoin(id: string, name: string, ful
|
|
|
360
672
|
* @param fullName Complete human-readable name of the token
|
|
361
673
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
362
674
|
* @param contractAddress Contract address of this token
|
|
363
|
-
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
364
|
-
* @param prefix? Optional token prefix. Defaults to empty string
|
|
365
|
-
* @param suffix? Optional token suffix. Defaults to token name.
|
|
366
|
-
* @param network? Optional token network. Defaults to CELO main network.
|
|
367
|
-
* @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
|
|
368
680
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
369
681
|
*/
|
|
370
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>;
|
|
@@ -377,10 +689,10 @@ export declare function celoToken(id: string, name: string, fullName: string, de
|
|
|
377
689
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
378
690
|
* @param contractAddress Contract address of this token
|
|
379
691
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
380
|
-
* @param
|
|
381
|
-
* @param
|
|
382
|
-
* @param
|
|
383
|
-
* @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.
|
|
384
696
|
*/
|
|
385
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>;
|
|
386
698
|
/**
|
|
@@ -494,7 +806,7 @@ export declare function ttronToken(id: string, name: string, fullName: string, d
|
|
|
494
806
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
495
807
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
496
808
|
*/
|
|
497
|
-
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>;
|
|
498
810
|
/**
|
|
499
811
|
* Factory function for Hedera token instances
|
|
500
812
|
*
|
|
@@ -505,13 +817,14 @@ export declare function hederaCoin(id: string, name: string, fullName: string, n
|
|
|
505
817
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
506
818
|
* @param nodeAccountId node account Id from which the transaction will be sent
|
|
507
819
|
* @param tokenId The unique identifier of this token
|
|
820
|
+
* @param contractAddress Contract address of this token, same as tokenId
|
|
508
821
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
509
822
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
510
823
|
* @param network? Optional token network. Defaults to Hedera mainnet.
|
|
511
824
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
512
825
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
513
826
|
*/
|
|
514
|
-
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>;
|
|
515
828
|
/**
|
|
516
829
|
* Factory function for ALGO token instances.
|
|
517
830
|
*
|
|
@@ -522,7 +835,6 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
522
835
|
* @param fullName Complete human-readable name of the token
|
|
523
836
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
524
837
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
525
|
-
* @param tokenURL Optional asset Url for more informationa about the asset
|
|
526
838
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
527
839
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
528
840
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -530,7 +842,7 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
530
842
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
531
843
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
532
844
|
*/
|
|
533
|
-
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>;
|
|
534
846
|
/**
|
|
535
847
|
* Factory function for testnet ALGO token instances.
|
|
536
848
|
*
|
|
@@ -540,14 +852,13 @@ export declare function algoToken(id: string, name: string, alias: string | unde
|
|
|
540
852
|
* @param fullName Complete human-readable name of the token
|
|
541
853
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
542
854
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
543
|
-
* @param tokenURL Optional asset Url for more informationa about the asset
|
|
544
855
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
545
856
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
546
857
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
547
858
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
548
859
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
549
860
|
*/
|
|
550
|
-
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>;
|
|
551
862
|
/**
|
|
552
863
|
* Factory function for eos token instances.
|
|
553
864
|
*
|
|
@@ -556,6 +867,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
556
867
|
* @param fullName Complete human-readable name of the token
|
|
557
868
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
558
869
|
* @param contractName Contract address of this token
|
|
870
|
+
* @param contractAddress Contract address of this token
|
|
559
871
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
560
872
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
561
873
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -563,7 +875,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
563
875
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
564
876
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
565
877
|
*/
|
|
566
|
-
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>;
|
|
567
879
|
/**
|
|
568
880
|
* Factory function for testnet eos token instances.
|
|
569
881
|
*
|
|
@@ -571,14 +883,16 @@ export declare function eosToken(id: string, name: string, fullName: string, dec
|
|
|
571
883
|
* @param name unique identifier of the token
|
|
572
884
|
* @param fullName Complete human-readable name of the token
|
|
573
885
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
886
|
+
* @param contractName Contract address of this token
|
|
574
887
|
* @param contractAddress Contract address of this token
|
|
575
888
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
576
889
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
577
890
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
891
|
+
* @param symbol? token symbol as defined in token contract.
|
|
578
892
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
579
893
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
580
894
|
*/
|
|
581
|
-
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>;
|
|
582
896
|
/**
|
|
583
897
|
* Factory function for sol token instances.
|
|
584
898
|
*
|
|
@@ -587,6 +901,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
587
901
|
* @param fullName Complete human-readable name of the token
|
|
588
902
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
589
903
|
* @param tokenAddress Token address of this token
|
|
904
|
+
* @param contractAddress Contract address of this token
|
|
590
905
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
591
906
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
592
907
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -594,7 +909,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
594
909
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
595
910
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
596
911
|
*/
|
|
597
|
-
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>;
|
|
598
913
|
/**
|
|
599
914
|
* Factory function for testnet solana token instances.
|
|
600
915
|
*
|
|
@@ -609,38 +924,42 @@ export declare function solToken(id: string, name: string, fullName: string, dec
|
|
|
609
924
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
610
925
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
611
926
|
*/
|
|
612
|
-
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>;
|
|
613
928
|
/**
|
|
614
|
-
* Factory function for
|
|
929
|
+
* Factory function for prod cardano token instances.
|
|
615
930
|
*
|
|
616
931
|
* @param id uuid v4
|
|
617
|
-
* @param name
|
|
932
|
+
* @param name Name of the token
|
|
618
933
|
* @param fullName Complete human-readable name of the token
|
|
619
934
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
620
|
-
* @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
|
|
621
938
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
622
939
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
623
940
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
624
|
-
* @param network? Optional token network. Defaults to Cardano
|
|
941
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
625
942
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
626
943
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
627
944
|
*/
|
|
628
|
-
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>;
|
|
629
946
|
/**
|
|
630
947
|
* Factory function for testnet cardano token instances.
|
|
631
948
|
*
|
|
632
949
|
* @param id uuid v4
|
|
633
|
-
* @param name
|
|
950
|
+
* @param name Name of the token
|
|
634
951
|
* @param fullName Complete human-readable name of the token
|
|
635
952
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
636
|
-
* @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
|
|
637
956
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
638
957
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
639
958
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
640
959
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
641
960
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
642
961
|
*/
|
|
643
|
-
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>;
|
|
644
963
|
/**
|
|
645
964
|
* Factory function for avaxErc20 token instances.
|
|
646
965
|
*
|
|
@@ -690,7 +1009,7 @@ export declare function tavaxErc20(id: string, name: string, fullName: string, d
|
|
|
690
1009
|
*/
|
|
691
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>;
|
|
692
1011
|
/**
|
|
693
|
-
* Factory function for
|
|
1012
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
694
1013
|
*
|
|
695
1014
|
* @param id uuid v4
|
|
696
1015
|
* @param name unique identifier of the token
|
|
@@ -706,20 +1025,723 @@ export declare function polygonErc20(id: string, name: string, fullName: string,
|
|
|
706
1025
|
*/
|
|
707
1026
|
export declare function tpolygonErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<PolygonERC20Token>;
|
|
708
1027
|
/**
|
|
709
|
-
* Factory function for
|
|
1028
|
+
* Factory function for arbethErc20 token instances.
|
|
710
1029
|
*
|
|
711
1030
|
* @param id uuid v4
|
|
712
|
-
* @param name unique identifier of the
|
|
713
|
-
* @param fullName Complete human-readable name of the
|
|
714
|
-
* @param
|
|
715
|
-
* @param
|
|
1031
|
+
* @param name unique identifier of the token
|
|
1032
|
+
* @param fullName Complete human-readable name of the token
|
|
1033
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1034
|
+
* @param contractAddress Contract address of this token
|
|
716
1035
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
717
|
-
* @param
|
|
718
|
-
* @param
|
|
719
|
-
* @param
|
|
720
|
-
* @param
|
|
721
|
-
* @param
|
|
1036
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1037
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1038
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
1039
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1040
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
722
1041
|
*/
|
|
723
|
-
export declare function
|
|
1042
|
+
export declare function arbethErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<ArbethERC20Token>;
|
|
1043
|
+
/**
|
|
1044
|
+
* Factory function for Arbitrum Sepolia testnet arbethErc20 token instances.
|
|
1045
|
+
*
|
|
1046
|
+
* @param id uuid v4
|
|
1047
|
+
* @param name unique identifier of the token
|
|
1048
|
+
* @param fullName Complete human-readable name of the token
|
|
1049
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1050
|
+
* @param contractAddress Contract address of this token
|
|
1051
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1052
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1053
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1054
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
1055
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1056
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1057
|
+
*/
|
|
1058
|
+
export declare function 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>;
|
|
1059
|
+
/**
|
|
1060
|
+
* Factory function for opethErc20 token instances.
|
|
1061
|
+
*
|
|
1062
|
+
* @param id uuid v4
|
|
1063
|
+
* @param name unique identifier of the token
|
|
1064
|
+
* @param fullName Complete human-readable name of the token
|
|
1065
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1066
|
+
* @param contractAddress Contract address of this token
|
|
1067
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1068
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1069
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1070
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
1071
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1072
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1073
|
+
*/
|
|
1074
|
+
export declare function 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>;
|
|
1075
|
+
/**
|
|
1076
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
1077
|
+
*
|
|
1078
|
+
* @param id uuid v4
|
|
1079
|
+
* @param name unique identifier of the token
|
|
1080
|
+
* @param fullName Complete human-readable name of the token
|
|
1081
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1082
|
+
* @param contractAddress Contract address of this token
|
|
1083
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1084
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1085
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1086
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
1087
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1088
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1089
|
+
*/
|
|
1090
|
+
export declare function 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>;
|
|
1091
|
+
/**
|
|
1092
|
+
* Factory function for zkethErc20 token instances.
|
|
1093
|
+
*
|
|
1094
|
+
* @param id uuid v4
|
|
1095
|
+
* @param name unique identifier of the token
|
|
1096
|
+
* @param fullName Complete human-readable name of the token
|
|
1097
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1098
|
+
* @param contractAddress Contract address of this token
|
|
1099
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1100
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1101
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1102
|
+
* @param network? Optional token network. Defaults to 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
|
|
1105
|
+
*/
|
|
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>;
|
|
724
1746
|
export {};
|
|
725
1747
|
//# sourceMappingURL=account.d.ts.map
|