@bitgo-beta/statics 10.0.1-alpha.45 → 10.0.1-alpha.451
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 +956 -73
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +1541 -184
- 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 +1110 -0
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +10 -3
- package/dist/src/base.d.ts +2156 -34
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +2258 -50
- 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 +111 -0
- package/dist/src/coinFeatures.d.ts.map +1 -0
- package/dist/src/coinFeatures.js +697 -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 +192 -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 +32 -0
- package/dist/src/coins/erc20Coins.d.ts.map +1 -0
- package/dist/src/coins/erc20Coins.js +155 -0
- package/dist/src/coins/erc20MasterTokens.d.ts +43 -0
- package/dist/src/coins/erc20MasterTokens.d.ts.map +1 -0
- package/dist/src/coins/erc20MasterTokens.js +23904 -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 +831 -0
- package/dist/src/coins/ofcErc20Coins.d.ts +4 -0
- package/dist/src/coins/ofcErc20Coins.d.ts.map +1 -0
- package/dist/src/coins/ofcErc20Coins.js +63 -0
- package/dist/src/coins/polygonTokens.d.ts +2 -0
- package/dist/src/coins/polygonTokens.d.ts.map +1 -0
- package/dist/src/coins/polygonTokens.js +163 -0
- package/dist/src/coins/polyxTokens.d.ts +2 -0
- package/dist/src/coins/polyxTokens.d.ts.map +1 -0
- package/dist/src/coins/polyxTokens.js +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 +431 -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 +364 -1401
- package/dist/src/constants.d.ts +1 -0
- package/dist/src/constants.d.ts.map +1 -1
- package/dist/src/constants.js +3 -2
- package/dist/src/errors.d.ts +3 -0
- package/dist/src/errors.d.ts.map +1 -1
- package/dist/src/errors.js +9 -2
- package/dist/src/flrp.d.ts +40 -0
- package/dist/src/flrp.d.ts.map +1 -0
- package/dist/src/flrp.js +65 -0
- package/dist/src/index.d.ts +3 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +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 +16 -0
- package/dist/src/map.d.ts.map +1 -1
- package/dist/src/map.js +183 -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 +1598 -60
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +1968 -64
- 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 +261 -102
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +971 -201
- 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,62 @@ 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
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* The XDC network supports tokens
|
|
335
|
+
* XDC Tokens are ERC20 tokens
|
|
336
|
+
*/
|
|
337
|
+
export declare class XdcERC20Token extends ContractAddressDefinedToken {
|
|
338
|
+
constructor(options: Erc20ConstructorOptions);
|
|
339
|
+
}
|
|
214
340
|
/**
|
|
215
341
|
* The Xrp network supports tokens
|
|
216
342
|
* Xrp tokens are identified by their issuer address
|
|
@@ -221,8 +347,42 @@ export declare class XrpCoin extends AccountCoinToken {
|
|
|
221
347
|
issuerAddress: string;
|
|
222
348
|
currencyCode: string;
|
|
223
349
|
domain: string;
|
|
350
|
+
contractAddress: string;
|
|
224
351
|
constructor(options: XrpCoinConstructorOptions);
|
|
225
352
|
}
|
|
353
|
+
export declare class SuiCoin extends AccountCoinToken {
|
|
354
|
+
packageId: string;
|
|
355
|
+
module: string;
|
|
356
|
+
symbol: string;
|
|
357
|
+
contractAddress: string;
|
|
358
|
+
constructor(options: SuiCoinConstructorOptions);
|
|
359
|
+
}
|
|
360
|
+
/**
|
|
361
|
+
* The Apt network supports tokens
|
|
362
|
+
* Apt tokens work similar to native Apt coin, but the token name is determined by
|
|
363
|
+
* the tokenAddress on the chain.
|
|
364
|
+
*
|
|
365
|
+
*/
|
|
366
|
+
export declare class AptCoin extends AccountCoinToken {
|
|
367
|
+
assetId: string;
|
|
368
|
+
constructor(options: AptCoinConstructorOptions);
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* The Apt network supports non-fungible tokens (Digital Asset Standard)
|
|
372
|
+
* Every NFT belongs to an NFT collection.
|
|
373
|
+
*/
|
|
374
|
+
export declare class AptNFTCollection extends NFTCollectionIdDefinedToken {
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* The Vechain network supports non-fungible tokens
|
|
378
|
+
* Every NFT belongs to an NFT collection(contract).
|
|
379
|
+
*/
|
|
380
|
+
export declare class VetNFTCollection extends NFTCollectionIdDefinedToken {
|
|
381
|
+
gasTankToken?: string;
|
|
382
|
+
constructor(options: NFTCollectionIdConstructorOptions & {
|
|
383
|
+
gasTankToken?: string;
|
|
384
|
+
});
|
|
385
|
+
}
|
|
226
386
|
/**
|
|
227
387
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
228
388
|
*/
|
|
@@ -233,6 +393,70 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
233
393
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
234
394
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
235
395
|
}
|
|
396
|
+
/**
|
|
397
|
+
* The Stacks network supports tokens
|
|
398
|
+
* Stx tokens work similar to native Stx coin, but the token name is determined by
|
|
399
|
+
* the contractName on the chain.
|
|
400
|
+
*/
|
|
401
|
+
export declare class Sip10Token extends AccountCoinToken {
|
|
402
|
+
assetId: string;
|
|
403
|
+
constructor(options: Sip10TokenConstructorOptions);
|
|
404
|
+
}
|
|
405
|
+
/**
|
|
406
|
+
* The Near network supports tokens
|
|
407
|
+
* Near tokens work similar to native near coin
|
|
408
|
+
*/
|
|
409
|
+
export declare class Nep141Token extends AccountCoinToken {
|
|
410
|
+
contractAddress: string;
|
|
411
|
+
storageDepositAmount: string;
|
|
412
|
+
constructor(options: Nep141TokenConstructorOptions);
|
|
413
|
+
}
|
|
414
|
+
export declare class VetToken extends AccountCoinToken {
|
|
415
|
+
contractAddress: string;
|
|
416
|
+
gasTankToken?: string;
|
|
417
|
+
constructor(options: VetTokenConstructorOptions);
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
* Cosmos network supports tokens
|
|
421
|
+
* Cosmos tokens work similar to native coins, but the token is determined by
|
|
422
|
+
* the denom on chain.
|
|
423
|
+
*
|
|
424
|
+
*/
|
|
425
|
+
export declare class CosmosChainToken extends AccountCoinToken {
|
|
426
|
+
denom: string;
|
|
427
|
+
constructor(options: CosmosTokenConstructorOptions);
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* TON supports tokens and Jetton is a token standard on TON
|
|
431
|
+
* Jetton tokens work similar to native TON coin
|
|
432
|
+
*/
|
|
433
|
+
export declare class JettonToken extends AccountCoinToken {
|
|
434
|
+
contractAddress: string;
|
|
435
|
+
constructor(options: JettonTokenConstructorOptions);
|
|
436
|
+
}
|
|
437
|
+
/**
|
|
438
|
+
* The Bittensor network supports tokens
|
|
439
|
+
* The token name is determined by the subnetId on chain.
|
|
440
|
+
*/
|
|
441
|
+
export declare class TaoCoin extends AccountCoinToken {
|
|
442
|
+
subnetId: string;
|
|
443
|
+
constructor(options: TaoCoinConstructorOptions);
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* The Bittensor network supports tokens
|
|
447
|
+
* The token name is determined by the subnetId on chain.
|
|
448
|
+
*/
|
|
449
|
+
export declare class PolyxCoin extends AccountCoinToken {
|
|
450
|
+
ticker: string;
|
|
451
|
+
assetId: string;
|
|
452
|
+
constructor(options: PolyxCoinConstructorOptions);
|
|
453
|
+
}
|
|
454
|
+
export declare class AdaToken extends AccountCoinToken {
|
|
455
|
+
policyId: string;
|
|
456
|
+
assetName: string;
|
|
457
|
+
contractAddress: string;
|
|
458
|
+
constructor(options: AdaTokenConstructorOptions);
|
|
459
|
+
}
|
|
236
460
|
/**
|
|
237
461
|
* Factory function for account coin instances.
|
|
238
462
|
*
|
|
@@ -249,6 +473,56 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
249
473
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
250
474
|
*/
|
|
251
475
|
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>;
|
|
476
|
+
/**
|
|
477
|
+
* Factory function for gas tank account coin instances.
|
|
478
|
+
*
|
|
479
|
+
* @param id uuid v4
|
|
480
|
+
* @param name unique identifier of the coin
|
|
481
|
+
* @param fullName Complete human-readable name of the coin
|
|
482
|
+
* @param network Network object for this coin
|
|
483
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
484
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
485
|
+
* @param baseUnit
|
|
486
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
487
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
488
|
+
* @param gasTankLowBalanceAlertFactor Low gas tank balance alert threshold = (feeEstimate x gasTankLowBalanceAlertFactor)
|
|
489
|
+
* @param gasTankMinBalanceRecommendationFactor Min gas tank balance recommendation = (feeEstimate x gasTankMinBalanceRecommendationFactor)
|
|
490
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
491
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
492
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
493
|
+
*/
|
|
494
|
+
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>;
|
|
495
|
+
/**
|
|
496
|
+
* Factory function for ethLikeErc20 token instances.
|
|
497
|
+
*
|
|
498
|
+
* @param id uuid v4
|
|
499
|
+
* @param name unique identifier of the token
|
|
500
|
+
* @param fullName Complete human-readable name of the token
|
|
501
|
+
* @param decimalPlaces Number of decimal places this token supports
|
|
502
|
+
* @param contractAddress Contract address of this token
|
|
503
|
+
* @param asset Asset which this coin represents
|
|
504
|
+
* @param network Optional token network
|
|
505
|
+
* @param coinNames The parent coin names for mainnet and testnet
|
|
506
|
+
* @param features Features of this coin
|
|
507
|
+
* @param prefix Optional token prefix
|
|
508
|
+
* @param suffix Optional token suffix
|
|
509
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
510
|
+
*/
|
|
511
|
+
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>;
|
|
512
|
+
/**
|
|
513
|
+
* Factory function for erc721 token instances.
|
|
514
|
+
*
|
|
515
|
+
* @param id uuid v4
|
|
516
|
+
* @param name unique identifier of the token
|
|
517
|
+
* @param fullName Complete human-readable name of the token
|
|
518
|
+
* @param contractAddress Contract address of this token
|
|
519
|
+
* @param network network
|
|
520
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
521
|
+
* @param prefix Optional token prefix
|
|
522
|
+
* @param suffix Optional token suffix
|
|
523
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
524
|
+
*/
|
|
525
|
+
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
526
|
/**
|
|
253
527
|
* Factory function for erc20 token instances.
|
|
254
528
|
*
|
|
@@ -305,7 +579,7 @@ export declare function erc721(id: string, name: string, fullName: string, contr
|
|
|
305
579
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
306
580
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
307
581
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
308
|
-
* @param network? Optional token network. Defaults to
|
|
582
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
309
583
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
310
584
|
*/
|
|
311
585
|
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 +623,7 @@ export declare function erc1155(id: string, name: string, fullName: string, cont
|
|
|
349
623
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
350
624
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
351
625
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
352
|
-
* @param network? Optional token network. Defaults to
|
|
626
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
353
627
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
354
628
|
*/
|
|
355
629
|
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 +651,11 @@ export declare function erc20CompatibleAccountCoin(id: string, name: string, ful
|
|
|
377
651
|
* @param fullName Complete human-readable name of the token
|
|
378
652
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
379
653
|
* @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
|
|
654
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
655
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
656
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
657
|
+
* @param network ? Optional token network. Defaults to CELO main network.
|
|
658
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
385
659
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
386
660
|
*/
|
|
387
661
|
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 +668,10 @@ export declare function celoToken(id: string, name: string, fullName: string, de
|
|
|
394
668
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
395
669
|
* @param contractAddress Contract address of this token
|
|
396
670
|
* @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
|
|
671
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
672
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
673
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
674
|
+
* @param network ? Optional token network. Defaults to the testnet CELO network.
|
|
401
675
|
*/
|
|
402
676
|
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
677
|
/**
|
|
@@ -511,7 +785,7 @@ export declare function ttronToken(id: string, name: string, fullName: string, d
|
|
|
511
785
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
512
786
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
513
787
|
*/
|
|
514
|
-
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
788
|
+
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
789
|
/**
|
|
516
790
|
* Factory function for Hedera token instances
|
|
517
791
|
*
|
|
@@ -522,13 +796,14 @@ export declare function hederaCoin(id: string, name: string, fullName: string, n
|
|
|
522
796
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
523
797
|
* @param nodeAccountId node account Id from which the transaction will be sent
|
|
524
798
|
* @param tokenId The unique identifier of this token
|
|
799
|
+
* @param contractAddress Contract address of this token, same as tokenId
|
|
525
800
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
526
801
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
527
802
|
* @param network? Optional token network. Defaults to Hedera mainnet.
|
|
528
803
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
529
804
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
530
805
|
*/
|
|
531
|
-
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
806
|
+
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
807
|
/**
|
|
533
808
|
* Factory function for ALGO token instances.
|
|
534
809
|
*
|
|
@@ -539,7 +814,6 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
539
814
|
* @param fullName Complete human-readable name of the token
|
|
540
815
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
541
816
|
* @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
817
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
544
818
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
545
819
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -547,7 +821,7 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
547
821
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
548
822
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
549
823
|
*/
|
|
550
|
-
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
824
|
+
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
825
|
/**
|
|
552
826
|
* Factory function for testnet ALGO token instances.
|
|
553
827
|
*
|
|
@@ -557,14 +831,13 @@ export declare function algoToken(id: string, name: string, alias: string | unde
|
|
|
557
831
|
* @param fullName Complete human-readable name of the token
|
|
558
832
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
559
833
|
* @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
834
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
562
835
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
563
836
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
564
837
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
565
838
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
566
839
|
*/
|
|
567
|
-
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
840
|
+
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
841
|
/**
|
|
569
842
|
* Factory function for eos token instances.
|
|
570
843
|
*
|
|
@@ -573,6 +846,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
573
846
|
* @param fullName Complete human-readable name of the token
|
|
574
847
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
575
848
|
* @param contractName Contract address of this token
|
|
849
|
+
* @param contractAddress Contract address of this token
|
|
576
850
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
577
851
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
578
852
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -580,7 +854,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
580
854
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
581
855
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
582
856
|
*/
|
|
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>;
|
|
857
|
+
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
858
|
/**
|
|
585
859
|
* Factory function for testnet eos token instances.
|
|
586
860
|
*
|
|
@@ -588,14 +862,16 @@ export declare function eosToken(id: string, name: string, fullName: string, dec
|
|
|
588
862
|
* @param name unique identifier of the token
|
|
589
863
|
* @param fullName Complete human-readable name of the token
|
|
590
864
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
865
|
+
* @param contractName Contract address of this token
|
|
591
866
|
* @param contractAddress Contract address of this token
|
|
592
867
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
593
868
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
594
869
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
870
|
+
* @param symbol? token symbol as defined in token contract.
|
|
595
871
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
596
872
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
597
873
|
*/
|
|
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>;
|
|
874
|
+
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
875
|
/**
|
|
600
876
|
* Factory function for sol token instances.
|
|
601
877
|
*
|
|
@@ -604,6 +880,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
604
880
|
* @param fullName Complete human-readable name of the token
|
|
605
881
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
606
882
|
* @param tokenAddress Token address of this token
|
|
883
|
+
* @param contractAddress Contract address of this token
|
|
607
884
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
608
885
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
609
886
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -611,7 +888,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
611
888
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
612
889
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
613
890
|
*/
|
|
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>;
|
|
891
|
+
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
892
|
/**
|
|
616
893
|
* Factory function for testnet solana token instances.
|
|
617
894
|
*
|
|
@@ -626,38 +903,42 @@ export declare function solToken(id: string, name: string, fullName: string, dec
|
|
|
626
903
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
627
904
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
628
905
|
*/
|
|
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>;
|
|
906
|
+
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
907
|
/**
|
|
631
|
-
* Factory function for
|
|
908
|
+
* Factory function for prod cardano token instances.
|
|
632
909
|
*
|
|
633
910
|
* @param id uuid v4
|
|
634
|
-
* @param name
|
|
911
|
+
* @param name Name of the token
|
|
635
912
|
* @param fullName Complete human-readable name of the token
|
|
636
913
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
637
|
-
* @param
|
|
914
|
+
* @param policyId Policy Id
|
|
915
|
+
* @param assetName Asset name -> Policy ID + Asset name is the unique identifier
|
|
916
|
+
* @param contractAddress Fingerprint of this token
|
|
638
917
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
639
918
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
640
919
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
641
|
-
* @param network? Optional token network. Defaults to Cardano
|
|
920
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
642
921
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
643
922
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
644
923
|
*/
|
|
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<
|
|
924
|
+
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
925
|
/**
|
|
647
926
|
* Factory function for testnet cardano token instances.
|
|
648
927
|
*
|
|
649
928
|
* @param id uuid v4
|
|
650
|
-
* @param name
|
|
929
|
+
* @param name Name of the token
|
|
651
930
|
* @param fullName Complete human-readable name of the token
|
|
652
931
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
653
|
-
* @param
|
|
932
|
+
* @param policyId Policy Id
|
|
933
|
+
* @param assetName Asset name -> Policy ID + Asset name is the unique identifier
|
|
934
|
+
* @param contractAddress Fingerprint of this token
|
|
654
935
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
655
936
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
656
937
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
657
938
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
658
939
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
659
940
|
*/
|
|
660
|
-
export declare function tadaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, asset: UnderlyingAsset, features?: CoinFeature[],
|
|
941
|
+
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
942
|
/**
|
|
662
943
|
* Factory function for avaxErc20 token instances.
|
|
663
944
|
*
|
|
@@ -707,7 +988,7 @@ export declare function tavaxErc20(id: string, name: string, fullName: string, d
|
|
|
707
988
|
*/
|
|
708
989
|
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
990
|
/**
|
|
710
|
-
* Factory function for
|
|
991
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
711
992
|
*
|
|
712
993
|
* @param id uuid v4
|
|
713
994
|
* @param name unique identifier of the token
|
|
@@ -723,55 +1004,657 @@ export declare function polygonErc20(id: string, name: string, fullName: string,
|
|
|
723
1004
|
*/
|
|
724
1005
|
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
1006
|
/**
|
|
726
|
-
* Factory function for
|
|
1007
|
+
* Factory function for arbethErc20 token instances.
|
|
727
1008
|
*
|
|
728
1009
|
* @param id uuid v4
|
|
729
1010
|
* @param name unique identifier of the token
|
|
730
1011
|
* @param fullName Complete human-readable name of the token
|
|
731
1012
|
* @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,
|
|
1013
|
+
* @param contractAddress Contract address of this token
|
|
735
1014
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
736
1015
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
737
1016
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
738
|
-
* @param network? Optional token network. Defaults to
|
|
1017
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
739
1018
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
740
1019
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
741
1020
|
*/
|
|
742
|
-
export declare function
|
|
1021
|
+
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
1022
|
/**
|
|
744
|
-
* Factory function for testnet
|
|
1023
|
+
* Factory function for Arbitrum Sepolia testnet arbethErc20 token instances.
|
|
745
1024
|
*
|
|
746
1025
|
* @param id uuid v4
|
|
747
1026
|
* @param name unique identifier of the token
|
|
748
1027
|
* @param fullName Complete human-readable name of the token
|
|
749
1028
|
* @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,
|
|
1029
|
+
* @param contractAddress Contract address of this token
|
|
753
1030
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
754
1031
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
755
1032
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
756
|
-
* @param network? Optional token network. Defaults to the
|
|
1033
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
757
1034
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1035
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
758
1036
|
*/
|
|
759
|
-
export declare function
|
|
1037
|
+
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
1038
|
/**
|
|
761
|
-
* Factory function for
|
|
1039
|
+
* Factory function for opethErc20 token instances.
|
|
762
1040
|
*
|
|
763
1041
|
* @param id uuid v4
|
|
764
|
-
* @param name unique identifier of the
|
|
765
|
-
* @param fullName Complete human-readable name of the
|
|
766
|
-
* @param
|
|
767
|
-
* @param
|
|
1042
|
+
* @param name unique identifier of the token
|
|
1043
|
+
* @param fullName Complete human-readable name of the token
|
|
1044
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1045
|
+
* @param contractAddress Contract address of this token
|
|
768
1046
|
* @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
|
|
1047
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1048
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1049
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
1050
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1051
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
774
1052
|
*/
|
|
775
|
-
export declare function
|
|
1053
|
+
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>;
|
|
1054
|
+
/**
|
|
1055
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
1056
|
+
*
|
|
1057
|
+
* @param id uuid v4
|
|
1058
|
+
* @param name unique identifier of the token
|
|
1059
|
+
* @param fullName Complete human-readable name of the token
|
|
1060
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1061
|
+
* @param contractAddress Contract address of this token
|
|
1062
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1063
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1064
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1065
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
1066
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1067
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1068
|
+
*/
|
|
1069
|
+
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>;
|
|
1070
|
+
/**
|
|
1071
|
+
* Factory function for zkethErc20 token instances.
|
|
1072
|
+
*
|
|
1073
|
+
* @param id uuid v4
|
|
1074
|
+
* @param name unique identifier of the token
|
|
1075
|
+
* @param fullName Complete human-readable name of the token
|
|
1076
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1077
|
+
* @param contractAddress Contract address of this token
|
|
1078
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1079
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1080
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1081
|
+
* @param network? Optional token network. Defaults to zkSync mainnet network.
|
|
1082
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1083
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1084
|
+
*/
|
|
1085
|
+
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>;
|
|
1086
|
+
/**
|
|
1087
|
+
* Factory function for zkSync Sepolia testnet zkethErc20 token instances.
|
|
1088
|
+
*
|
|
1089
|
+
* @param id uuid v4
|
|
1090
|
+
* @param name unique identifier of the token
|
|
1091
|
+
* @param fullName Complete human-readable name of the token
|
|
1092
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1093
|
+
* @param contractAddress Contract address of this token
|
|
1094
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1095
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1096
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1097
|
+
* @param network? Optional token network. Defaults to the zkSync sepolia test network.
|
|
1098
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1099
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1100
|
+
*/
|
|
1101
|
+
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>;
|
|
1102
|
+
/**
|
|
1103
|
+
* Factory function for beraErc20 token instances.
|
|
1104
|
+
*
|
|
1105
|
+
* @param id uuid v4
|
|
1106
|
+
* @param name unique identifier of the token
|
|
1107
|
+
* @param fullName Complete human-readable name of the token
|
|
1108
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1109
|
+
* @param contractAddress Contract address of this token
|
|
1110
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1111
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1112
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1113
|
+
* @param network? Optional token network. Defaults to bera mainnet network.
|
|
1114
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1115
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1116
|
+
*/
|
|
1117
|
+
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>;
|
|
1118
|
+
/**
|
|
1119
|
+
* Factory function for zkSync Sepolia testnet beraErc20 token instances.
|
|
1120
|
+
*
|
|
1121
|
+
* @param id uuid v4
|
|
1122
|
+
* @param name unique identifier of the token
|
|
1123
|
+
* @param fullName Complete human-readable name of the token
|
|
1124
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1125
|
+
* @param contractAddress Contract address of this token
|
|
1126
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1127
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1128
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1129
|
+
* @param network? Optional token network. Defaults to the bera test network.
|
|
1130
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1131
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1132
|
+
*/
|
|
1133
|
+
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>;
|
|
1134
|
+
/**
|
|
1135
|
+
* Factory function for CoredaoErc20 token instances.
|
|
1136
|
+
*
|
|
1137
|
+
* @param id uuid v4
|
|
1138
|
+
* @param name unique identifier of the token
|
|
1139
|
+
* @param fullName Complete human-readable name of the token
|
|
1140
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1141
|
+
* @param contractAddress Contract address of this token
|
|
1142
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1143
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1144
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1145
|
+
* @param network? Optional token network. Defaults to coredao mainnet network.
|
|
1146
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1147
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1148
|
+
*/
|
|
1149
|
+
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>;
|
|
1150
|
+
/**
|
|
1151
|
+
* Factory function for coredao testnet coredaoErc20 token instances.
|
|
1152
|
+
*
|
|
1153
|
+
* @param id uuid v4
|
|
1154
|
+
* @param name unique identifier of the token
|
|
1155
|
+
* @param fullName Complete human-readable name of the token
|
|
1156
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1157
|
+
* @param contractAddress Contract address of this token
|
|
1158
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1159
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1160
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1161
|
+
* @param network? Optional token network. Defaults to the coredao test network.
|
|
1162
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1163
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1164
|
+
*/
|
|
1165
|
+
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>;
|
|
1166
|
+
/**
|
|
1167
|
+
* Factory function for WorldErc20 token instances.
|
|
1168
|
+
*
|
|
1169
|
+
* @param id uuid v4
|
|
1170
|
+
* @param name unique identifier of the token
|
|
1171
|
+
* @param fullName Complete human-readable name of the token
|
|
1172
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1173
|
+
* @param contractAddress Contract address of this token
|
|
1174
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1175
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1176
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1177
|
+
* @param network? Optional token network. Defaults to World Chain mainnet network.
|
|
1178
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1179
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1180
|
+
*/
|
|
1181
|
+
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>;
|
|
1182
|
+
/**
|
|
1183
|
+
* Factory function for world testnet worldErc20 token instances.
|
|
1184
|
+
*
|
|
1185
|
+
* @param id uuid v4
|
|
1186
|
+
* @param name unique identifier of the token
|
|
1187
|
+
* @param fullName Complete human-readable name of the token
|
|
1188
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1189
|
+
* @param contractAddress Contract address of this token
|
|
1190
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1191
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1192
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1193
|
+
* @param network? Optional token network. Defaults to the World Chain test network.
|
|
1194
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1195
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1196
|
+
*/
|
|
1197
|
+
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>;
|
|
1198
|
+
/**
|
|
1199
|
+
* Factory function for FlrErc20 token instances.
|
|
1200
|
+
*
|
|
1201
|
+
* @param id uuid v4
|
|
1202
|
+
* @param name unique identifier of the token
|
|
1203
|
+
* @param fullName Complete human-readable name of the token
|
|
1204
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1205
|
+
* @param contractAddress Contract address of this token
|
|
1206
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1207
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1208
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1209
|
+
* @param network? Optional token network. Defaults to Flr Chain mainnet network.
|
|
1210
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1211
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1212
|
+
*/
|
|
1213
|
+
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>;
|
|
1214
|
+
/**
|
|
1215
|
+
* Factory function for Flr testnet FlrErc20 token instances.
|
|
1216
|
+
*
|
|
1217
|
+
* @param id uuid v4
|
|
1218
|
+
* @param name unique identifier of the token
|
|
1219
|
+
* @param fullName Complete human-readable name of the token
|
|
1220
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1221
|
+
* @param contractAddress Contract address of this token
|
|
1222
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1223
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1224
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1225
|
+
* @param network? Optional token network. Defaults to the Flr Chain test network.
|
|
1226
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1227
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1228
|
+
*/
|
|
1229
|
+
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>;
|
|
1230
|
+
/**
|
|
1231
|
+
* Factory function for XdcErc20 token instances.
|
|
1232
|
+
*
|
|
1233
|
+
* @param id uuid v4
|
|
1234
|
+
* @param name unique identifier of the token
|
|
1235
|
+
* @param fullName Complete human-readable name of the token
|
|
1236
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1237
|
+
* @param contractAddress Contract address of this token
|
|
1238
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1239
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1240
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1241
|
+
* @param network? Optional token network. Defaults to XDC mainnet network.
|
|
1242
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1243
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1244
|
+
*/
|
|
1245
|
+
export declare function xdcErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<XdcERC20Token>;
|
|
1246
|
+
/**
|
|
1247
|
+
* Factory function for XDC testnet XdcErc20 token instances.
|
|
1248
|
+
*
|
|
1249
|
+
* @param id uuid v4
|
|
1250
|
+
* @param name unique identifier of the token
|
|
1251
|
+
* @param fullName Complete human-readable name of the token
|
|
1252
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1253
|
+
* @param contractAddress Contract address of this token
|
|
1254
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1255
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1256
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1257
|
+
* @param network? Optional token network. Defaults to the XDC test network.
|
|
1258
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1259
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1260
|
+
*/
|
|
1261
|
+
export declare function txdcErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<XdcERC20Token>;
|
|
1262
|
+
/**
|
|
1263
|
+
* Factory function for xrp token instances.
|
|
1264
|
+
*
|
|
1265
|
+
* @param id uuid v4
|
|
1266
|
+
* @param name unique identifier of the token
|
|
1267
|
+
* @param fullName Complete human-readable name of the token
|
|
1268
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1269
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
1270
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1271
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
1272
|
+
* @param domain? the domain of the issuer of the token,
|
|
1273
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1274
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1275
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1276
|
+
* @param network? Optional token network. Defaults to Cardano main network.
|
|
1277
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1278
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1279
|
+
*/
|
|
1280
|
+
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>;
|
|
1281
|
+
/**
|
|
1282
|
+
* Factory function for testnet cardano token instances.
|
|
1283
|
+
*
|
|
1284
|
+
* @param id uuid v4
|
|
1285
|
+
* @param name unique identifier of the token
|
|
1286
|
+
* @param fullName Complete human-readable name of the token
|
|
1287
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1288
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
1289
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1290
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
1291
|
+
* @param domain? the domain of the issuer of the token,
|
|
1292
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1293
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1294
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1295
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
1296
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1297
|
+
*/
|
|
1298
|
+
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>;
|
|
1299
|
+
/**
|
|
1300
|
+
* Factory function for sui token instances.
|
|
1301
|
+
*
|
|
1302
|
+
* @param id uuid v4
|
|
1303
|
+
* @param name unique identifier of the token
|
|
1304
|
+
* @param fullName Complete human-readable name of the token
|
|
1305
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1306
|
+
* @param packageId PackageId of this token
|
|
1307
|
+
* @param module The module of the package with id `packageId`
|
|
1308
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1309
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1310
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1311
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1312
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1313
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1314
|
+
* @param network? Optional token network. Defaults to SUI main network.
|
|
1315
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1316
|
+
*/
|
|
1317
|
+
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>;
|
|
1318
|
+
/**
|
|
1319
|
+
* Factory function for testnet sui token instances.
|
|
1320
|
+
*
|
|
1321
|
+
* @param id uuid v4
|
|
1322
|
+
* @param name unique identifier of the token
|
|
1323
|
+
* @param fullName Complete human-readable name of the token
|
|
1324
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1325
|
+
* @param packageId PackageId of this token
|
|
1326
|
+
* @param module The module of the package with id `packageId`
|
|
1327
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1328
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1329
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1330
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1331
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1332
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1333
|
+
* @param network? Optional token network. Defaults to SUI test network.
|
|
1334
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1335
|
+
*/
|
|
1336
|
+
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>;
|
|
1337
|
+
/**
|
|
1338
|
+
* Factory function for apt token instances.
|
|
1339
|
+
*
|
|
1340
|
+
* @param id uuid v4
|
|
1341
|
+
* @param name unique identifier of the token
|
|
1342
|
+
* @param fullName Complete human-readable name of the token
|
|
1343
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1344
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1345
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1346
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1347
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1348
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1349
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1350
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1351
|
+
*/
|
|
1352
|
+
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>;
|
|
1353
|
+
/**
|
|
1354
|
+
* Factory function for Apt NFT collections.
|
|
1355
|
+
*
|
|
1356
|
+
* @param id uuid v4
|
|
1357
|
+
* @param name unique identifier of the NFT collection
|
|
1358
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1359
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1360
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1361
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1362
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1363
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1364
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1365
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1366
|
+
*/
|
|
1367
|
+
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>;
|
|
1368
|
+
/**
|
|
1369
|
+
* Factory function for testnet apt token instances.
|
|
1370
|
+
*
|
|
1371
|
+
* @param id uuid v4
|
|
1372
|
+
* @param name unique identifier of the token
|
|
1373
|
+
* @param fullName Complete human-readable name of the token
|
|
1374
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1375
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1376
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1377
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1378
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1379
|
+
* @param network Optional token network. Defaults to the testnet APT network.
|
|
1380
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1381
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1382
|
+
*/
|
|
1383
|
+
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>;
|
|
1384
|
+
/**
|
|
1385
|
+
* Factory function for testnet Apt NFT collections.
|
|
1386
|
+
*
|
|
1387
|
+
* @param id uuid v4
|
|
1388
|
+
* @param name unique identifier of the NFT collection
|
|
1389
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1390
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1391
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1392
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1393
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1394
|
+
* @param network Optional token network. Defaults to APT test network.
|
|
1395
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1396
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1397
|
+
*/
|
|
1398
|
+
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>;
|
|
1399
|
+
/**
|
|
1400
|
+
* Factory function for fiat coin instances.
|
|
1401
|
+
*
|
|
1402
|
+
* @param id uuid v4
|
|
1403
|
+
* @param name unique identifier of the coin, should start with 'fiat' or 'tfiat' followed by the 3-char ISO-4217 alphabetical code
|
|
1404
|
+
* @param fullName Complete human-readable name of the coin
|
|
1405
|
+
* @param network Network object for this coin
|
|
1406
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
1407
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1408
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `FiatCoin`
|
|
1409
|
+
* @param primaryKeyCurve? The elliptic curve for this chain/token
|
|
1410
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
1411
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
1412
|
+
* @param isToken? Whether or not this coin is a token of another coin
|
|
1413
|
+
*/
|
|
1414
|
+
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>;
|
|
1415
|
+
/**
|
|
1416
|
+
* Factory function for sip10 token instances.
|
|
1417
|
+
*
|
|
1418
|
+
* @param id uuid v4
|
|
1419
|
+
* @param name unique identifier of the token
|
|
1420
|
+
* @param fullName Complete human-readable name of the token
|
|
1421
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1422
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1423
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1424
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1425
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1426
|
+
* @param network? Optional token network. Defaults to Stacks main network.
|
|
1427
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1428
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1429
|
+
*/
|
|
1430
|
+
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>;
|
|
1431
|
+
/**
|
|
1432
|
+
* Factory function for testnet sip10 token instances.
|
|
1433
|
+
*
|
|
1434
|
+
* @param id uuid v4
|
|
1435
|
+
* @param name unique identifier of the token
|
|
1436
|
+
* @param fullName Complete human-readable name of the token
|
|
1437
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1438
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1439
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1440
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1441
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1442
|
+
* @param network? Optional token network. Defaults to the testnet Stacks network.
|
|
1443
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1444
|
+
*/
|
|
1445
|
+
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>;
|
|
1446
|
+
/**
|
|
1447
|
+
* Factory function for nep141 token instances.
|
|
1448
|
+
*
|
|
1449
|
+
* @param id uuid v4
|
|
1450
|
+
* @param name unique identifier of the token
|
|
1451
|
+
* @param fullName Complete human-readable name of the token
|
|
1452
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1453
|
+
* @param contractAddress Contract address of this token
|
|
1454
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1455
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1456
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1457
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1458
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1459
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1460
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1461
|
+
*/
|
|
1462
|
+
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>;
|
|
1463
|
+
/**
|
|
1464
|
+
* Factory function for testnet nep141 token instances.
|
|
1465
|
+
*
|
|
1466
|
+
* @param id uuid v4
|
|
1467
|
+
* @param name unique identifier of the token
|
|
1468
|
+
* @param fullName Complete human-readable name of the token
|
|
1469
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1470
|
+
* @param contractAddress Contract address of this token
|
|
1471
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1472
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1473
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1474
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1475
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1476
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1477
|
+
*/
|
|
1478
|
+
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>;
|
|
1479
|
+
/**
|
|
1480
|
+
* Factory function for vet token instances.
|
|
1481
|
+
*
|
|
1482
|
+
* @param id uuid v4
|
|
1483
|
+
* @param name unique identifier of the token
|
|
1484
|
+
* @param fullName Complete human-readable name of the token
|
|
1485
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1486
|
+
* @param contractAddress Contract address of this token
|
|
1487
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1488
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1489
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1490
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1491
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1492
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1493
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1494
|
+
*/
|
|
1495
|
+
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>;
|
|
1496
|
+
/**
|
|
1497
|
+
* Factory function for testnet vet token instances.
|
|
1498
|
+
*
|
|
1499
|
+
* @param id uuid v4
|
|
1500
|
+
* @param name unique identifier of the token
|
|
1501
|
+
* @param fullName Complete human-readable name of the token
|
|
1502
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1503
|
+
* @param contractAddress Contract address of this token
|
|
1504
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1505
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1506
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1507
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1508
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1509
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1510
|
+
*/
|
|
1511
|
+
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>;
|
|
1512
|
+
/**
|
|
1513
|
+
* Factory function for Vet NFT collections.
|
|
1514
|
+
*
|
|
1515
|
+
* @param id uuid v4
|
|
1516
|
+
* @param name unique identifier of the NFT collection
|
|
1517
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1518
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1519
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1520
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1521
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1522
|
+
* @param network Optional token network. Defaults to VET main network.
|
|
1523
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1524
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1525
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1526
|
+
*/
|
|
1527
|
+
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>;
|
|
1528
|
+
/**
|
|
1529
|
+
* Factory function for testnet Vet NFT collections.
|
|
1530
|
+
*
|
|
1531
|
+
* @param id uuid v4
|
|
1532
|
+
* @param name unique identifier of the NFT collection
|
|
1533
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1534
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1535
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1536
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1537
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1538
|
+
* @param network Optional token network. Defaults to VET test network.
|
|
1539
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1540
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1541
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1542
|
+
*/
|
|
1543
|
+
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>;
|
|
1544
|
+
/**
|
|
1545
|
+
* Factory function for Cosmos chain token instances.
|
|
1546
|
+
*
|
|
1547
|
+
* @param id uuid v4
|
|
1548
|
+
* @param name unique identifier of the token
|
|
1549
|
+
* @param fullName Complete human-readable name of the token
|
|
1550
|
+
* @param denom denomination of this token which will act as a unique identifier for the token on chain
|
|
1551
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1552
|
+
* @param network Network (mainnet or testnet) for this token
|
|
1553
|
+
* @param baseUnit Base unit of this token (native asset)
|
|
1554
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1555
|
+
* @param features Features of this coin. Defaults to the COSMOS_SIDECHAIN_FEATURES defined in `coinFeatures.ts`
|
|
1556
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1557
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1558
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1559
|
+
*/
|
|
1560
|
+
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>;
|
|
1561
|
+
/**
|
|
1562
|
+
* Factory function for tao token instances.
|
|
1563
|
+
*
|
|
1564
|
+
* @param id uuid v4
|
|
1565
|
+
* @param name unique identifier of the token
|
|
1566
|
+
* @param fullName Complete human-readable name of the token
|
|
1567
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1568
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1569
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1570
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1571
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1572
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1573
|
+
* @param network? Optional token network. Defaults to TAO main network.
|
|
1574
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1575
|
+
*/
|
|
1576
|
+
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>;
|
|
1577
|
+
/**
|
|
1578
|
+
* Factory function for testnet tao token instances.
|
|
1579
|
+
*
|
|
1580
|
+
* @param id uuid v4
|
|
1581
|
+
* @param name unique identifier of the token
|
|
1582
|
+
* @param fullName Complete human-readable name of the token
|
|
1583
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1584
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1585
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1586
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1587
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1588
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1589
|
+
* @param network? Optional token network. Defaults to TAO test network.
|
|
1590
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1591
|
+
*/
|
|
1592
|
+
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>;
|
|
1593
|
+
/**
|
|
1594
|
+
* Factory function for polyx token instances.
|
|
1595
|
+
*
|
|
1596
|
+
* @param id uuid v4
|
|
1597
|
+
* @param name unique identifier of the token
|
|
1598
|
+
* @param fullName Complete human-readable name of the token
|
|
1599
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1600
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1601
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1602
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1603
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1604
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1605
|
+
* @param network? Optional token network. Defaults to Polyx main network.
|
|
1606
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1607
|
+
*/
|
|
1608
|
+
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>;
|
|
1609
|
+
/**
|
|
1610
|
+
* Factory function for testnet polyx token instances.
|
|
1611
|
+
*
|
|
1612
|
+
* @param id uuid v4
|
|
1613
|
+
* @param name unique identifier of the token
|
|
1614
|
+
* @param fullName Complete human-readable name of the token
|
|
1615
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1616
|
+
* @param ticker The ticker symbol of the token
|
|
1617
|
+
* @param assetId The unique asset identifier for this token
|
|
1618
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1619
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1620
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1621
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1622
|
+
* @param network? Optional token network. Defaults to Polyx test network.
|
|
1623
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1624
|
+
*/
|
|
1625
|
+
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>;
|
|
1626
|
+
/**
|
|
1627
|
+
* Factory function for Jetton token instances.
|
|
1628
|
+
* Jetton is the token standard on TON blockchain.
|
|
1629
|
+
*
|
|
1630
|
+
* @param id uuid v4
|
|
1631
|
+
* @param name unique identifier of the token
|
|
1632
|
+
* @param fullName Complete human-readable name of the token
|
|
1633
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1634
|
+
* @param contractAddress Contract address of this token
|
|
1635
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1636
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1637
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1638
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1639
|
+
* @param network Optional token network. Defaults to TON main network.
|
|
1640
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1641
|
+
*/
|
|
1642
|
+
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>;
|
|
1643
|
+
/**
|
|
1644
|
+
* Factory function for testnet jetton token instances.
|
|
1645
|
+
* Jetton is the token standard on TON blockchain.
|
|
1646
|
+
*
|
|
1647
|
+
* @param id uuid v4
|
|
1648
|
+
* @param name unique identifier of the token
|
|
1649
|
+
* @param fullName Complete human-readable name of the token
|
|
1650
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1651
|
+
* @param contractAddress Contract address of this token
|
|
1652
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1653
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1654
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1655
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1656
|
+
* @param network Optional token network. Defaults to the testnet TON network.
|
|
1657
|
+
*/
|
|
1658
|
+
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
1659
|
export {};
|
|
777
1660
|
//# sourceMappingURL=account.d.ts.map
|