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