@bitgo-beta/statics 10.0.1-alpha.46 → 10.0.1-alpha.460
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 +1034 -60
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +1645 -149
- 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 +1151 -0
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +10 -3
- package/dist/src/base.d.ts +2210 -34
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +2321 -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 +112 -0
- package/dist/src/coinFeatures.d.ts.map +1 -0
- package/dist/src/coinFeatures.js +712 -0
- package/dist/src/coins/adaTokens.d.ts +2 -0
- package/dist/src/coins/adaTokens.d.ts.map +1 -0
- package/dist/src/coins/adaTokens.js +18 -0
- package/dist/src/coins/avaxTokens.d.ts +2 -0
- package/dist/src/coins/avaxTokens.d.ts.map +1 -0
- package/dist/src/coins/avaxTokens.js +126 -0
- package/dist/src/coins/botOfcTokens.d.ts +2 -0
- package/dist/src/coins/botOfcTokens.d.ts.map +1 -0
- package/dist/src/coins/botOfcTokens.js +5 -0
- package/dist/src/coins/botTokens.d.ts +3 -0
- package/dist/src/coins/botTokens.d.ts.map +1 -0
- package/dist/src/coins/botTokens.js +43 -0
- package/dist/src/coins/bscTokens.d.ts +2 -0
- package/dist/src/coins/bscTokens.d.ts.map +1 -0
- package/dist/src/coins/bscTokens.js +193 -0
- package/dist/src/coins/cosmosTokens.d.ts +2 -0
- package/dist/src/coins/cosmosTokens.d.ts.map +1 -0
- package/dist/src/coins/cosmosTokens.js +14 -0
- package/dist/src/coins/erc20Coins.d.ts +2 -0
- package/dist/src/coins/erc20Coins.d.ts.map +1 -0
- package/dist/src/coins/erc20Coins.js +1967 -0
- package/dist/src/coins/jettonTokens.d.ts +2 -0
- package/dist/src/coins/jettonTokens.d.ts.map +1 -0
- package/dist/src/coins/jettonTokens.js +18 -0
- package/dist/src/coins/nep141Tokens.d.ts +2 -0
- package/dist/src/coins/nep141Tokens.d.ts.map +1 -0
- package/dist/src/coins/nep141Tokens.js +16 -0
- package/dist/src/coins/ofcCoins.d.ts +2 -0
- package/dist/src/coins/ofcCoins.d.ts.map +1 -0
- package/dist/src/coins/ofcCoins.js +858 -0
- package/dist/src/coins/ofcErc20Coins.d.ts +4 -0
- package/dist/src/coins/ofcErc20Coins.d.ts.map +1 -0
- package/dist/src/coins/ofcErc20Coins.js +1678 -0
- package/dist/src/coins/polygonTokens.d.ts +2 -0
- package/dist/src/coins/polygonTokens.d.ts.map +1 -0
- package/dist/src/coins/polygonTokens.js +163 -0
- package/dist/src/coins/polyxTokens.d.ts +2 -0
- package/dist/src/coins/polyxTokens.d.ts.map +1 -0
- package/dist/src/coins/polyxTokens.js +22 -0
- package/dist/src/coins/sip10Tokens.d.ts +2 -0
- package/dist/src/coins/sip10Tokens.d.ts.map +1 -0
- package/dist/src/coins/sip10Tokens.js +25 -0
- package/dist/src/coins/solTokens.d.ts +3 -0
- package/dist/src/coins/solTokens.d.ts.map +1 -0
- package/dist/src/coins/solTokens.js +436 -0
- package/dist/src/coins/vetTokens.d.ts +2 -0
- package/dist/src/coins/vetTokens.d.ts.map +1 -0
- package/dist/src/coins/vetTokens.js +11 -0
- package/dist/src/coins.d.ts +11 -0
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +367 -1374
- package/dist/src/constants.d.ts +3 -0
- package/dist/src/constants.d.ts.map +1 -0
- package/dist/src/constants.js +6 -0
- package/dist/src/errors.d.ts +3 -0
- package/dist/src/errors.d.ts.map +1 -1
- package/dist/src/errors.js +9 -2
- package/dist/src/flrp.d.ts +40 -0
- package/dist/src/flrp.d.ts.map +1 -0
- package/dist/src/flrp.js +65 -0
- package/dist/src/index.d.ts +3 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +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 +188 -17
- package/dist/src/networkFeatureMapForTokens.d.ts +3 -0
- package/dist/src/networkFeatureMapForTokens.d.ts.map +1 -0
- package/dist/src/networkFeatureMapForTokens.js +31 -0
- package/dist/src/networks.d.ts +1656 -58
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +2031 -76
- package/dist/src/ofc.d.ts +597 -3
- package/dist/src/ofc.d.ts.map +1 -1
- package/dist/src/ofc.js +1419 -28
- package/dist/src/tokenConfig.d.ts +601 -95
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +984 -191
- package/dist/src/utxo.d.ts +3 -1
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +85 -3
- package/dist/tsconfig.tsbuildinfo +1 -2737
- package/package.json +6 -3
- package/.mocharc.js +0 -10
- package/.prettierignore +0 -2
- package/CHANGELOG.md +0 -518
- package/dist/resources/dot/index.d.ts +0 -3
- package/dist/resources/dot/index.d.ts.map +0 -1
- package/dist/resources/dot/index.js +0 -15
- package/dist/resources/dot/mainnet.d.ts +0 -2
- package/dist/resources/dot/mainnet.d.ts.map +0 -1
- package/dist/resources/dot/mainnet.js +0 -5
- package/dist/resources/dot/westend.d.ts +0 -2
- package/dist/resources/dot/westend.d.ts.map +0 -1
- package/dist/resources/dot/westend.js +0 -5
- package/resources/dot/index.ts +0 -2
- package/resources/dot/mainnet.ts +0 -2
- package/resources/dot/westend.ts +0 -2
package/dist/src/account.d.ts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { BaseCoin, BaseUnit, CoinFeature, KeyCurve, UnderlyingAsset } from './base';
|
|
2
2
|
import { AccountNetwork, BaseNetwork, EthereumNetwork, TronNetwork } from './networks';
|
|
3
|
+
/**
|
|
4
|
+
* This is the program id against sol token program.
|
|
5
|
+
*/
|
|
6
|
+
export declare enum ProgramID {
|
|
7
|
+
TokenProgramId = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
|
|
8
|
+
Token2022ProgramId = "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"
|
|
9
|
+
}
|
|
3
10
|
export interface AccountConstructorOptions {
|
|
4
11
|
id: string;
|
|
5
12
|
fullName: string;
|
|
@@ -24,14 +31,28 @@ export interface AccountConstructorOptions {
|
|
|
24
31
|
*/
|
|
25
32
|
export declare class AccountCoin extends BaseCoin {
|
|
26
33
|
static readonly DEFAULT_FEATURES: CoinFeature[];
|
|
34
|
+
static readonly DEFAULT_FEATURES_EXCLUDE_SINGAPORE: (CoinFeature.EVM_WALLET | CoinFeature.METAMASK_INSTITUTIONAL | CoinFeature.VALUELESS_TRANSFER | CoinFeature.TRANSACTION_DATA | CoinFeature.REQUIRES_BIG_NUMBER | CoinFeature.REQUIRES_KRS_BACKUP_KEY | CoinFeature.PAYGO | CoinFeature.UNSPENT_MODEL | CoinFeature.LIGHTNING_MODEL | CoinFeature.ACCOUNT_MODEL | CoinFeature.CHILD_PAYS_FOR_PARENT | CoinFeature.SUPPORTS_TOKENS | CoinFeature.ENTERPRISE_PAYS_FEES | CoinFeature.REQUIRES_RESERVE | CoinFeature.CUSTODY | CoinFeature.TSS | CoinFeature.STAKING | CoinFeature.LIQUID_STAKING | CoinFeature.DEPRECATED | CoinFeature.GENERIC_TOKEN | CoinFeature.CUSTODY_BITGO_TRUST | CoinFeature.CUSTODY_BITGO_NEW_YORK | CoinFeature.CUSTODY_BITGO_GERMANY | CoinFeature.CUSTODY_BITGO_SWITZERLAND | CoinFeature.CUSTODY_BITGO_FRANKFURT | CoinFeature.CUSTODY_BITGO_SISTER_TRUST_ONE | CoinFeature.CUSTODY_BITGO_KOREA | CoinFeature.CUSTODY_BITGO_EUROPE_APS | CoinFeature.CUSTODY_BITGO_MENA_FZE | CoinFeature.CUSTODY_BITGO_CUSTODY_MENA_FZE | CoinFeature.CUSTODY_BITGO_INDIA | CoinFeature.EXPIRING_TRANSACTIONS | CoinFeature.MULTISIG_COLD | CoinFeature.TSS_COLD | CoinFeature.SHA256_WITH_ECDSA_TSS | CoinFeature.COSMOS_LIKE_COINS | CoinFeature.REBUILD_ON_CUSTODY_SIGNING | CoinFeature.INCREASED_TX_REQUEST_REBUILD_LIMIT | CoinFeature.BULK_TRANSACTION | CoinFeature.ERC20_BULK_TRANSACTION | CoinFeature.CUSTODY_BULK_TRANSACTION | CoinFeature.DISTRIBUTED_CUSTODY | CoinFeature.BULK_STAKING_TRANSACTION | CoinFeature.USES_NON_PACKED_ENCODING_FOR_TXDATA | CoinFeature.MPCV2 | CoinFeature.STUCK_TRANSACTION_MANAGEMENT_TSS | CoinFeature.STUCK_TRANSACTION_MANAGEMENT_ONCHAIN | CoinFeature.ETH_ROLLUP_CHAIN | CoinFeature.EIP1559 | CoinFeature.TSS_ENTERPRISE_PAYS_FEES | CoinFeature.FEES_PAID_WITH_TOKEN | CoinFeature.ALPHANUMERIC_MEMO_ID | CoinFeature.WALLET_CONNECT_DEFI | CoinFeature.TSS_SUPPORT_GATED | CoinFeature.MULTISIG_SUPPORT_GATED | CoinFeature.SHARED_EVM_SIGNING | CoinFeature.SHARED_EVM_SDK | CoinFeature.SUPPORTS_ERC20 | CoinFeature.SUPPORTS_ERC721 | CoinFeature.SHARED_COSMOS_SDK | CoinFeature.SHARED_COSMOS_WP | CoinFeature.COSMOS_COMMON_BGA | CoinFeature.EVM_COIN | CoinFeature.MULTISIG | CoinFeature.EVM_COMPATIBLE_IMS | CoinFeature.EVM_COMPATIBLE_UI | CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY | CoinFeature.EVM_NON_BITGO_RECOVERY | CoinFeature.REBASE_TOKEN | CoinFeature.EVM_COMPATIBLE_WP | CoinFeature.RESTRICTED | CoinFeature.SHARED_EVM_MESSAGE_SIGNING | CoinFeature.STABLECOIN | CoinFeature.ALTERNATIVE_ADDRESS_IDENTIFIER | CoinFeature.SUPPORTS_ONE_STEP_DEPOSIT | CoinFeature.REQUIRES_WALLET_INITIALIZATION_TRANSACTION | CoinFeature.REQUIRES_DEPOSIT_ACCEPTANCE_TRANSACTION | CoinFeature.ALLOWS_NEGATIVE_FEE)[];
|
|
27
35
|
readonly network: AccountNetwork;
|
|
28
36
|
constructor(options: AccountConstructorOptions);
|
|
29
37
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
30
38
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
39
|
+
static getFeaturesExcluding(excludedFeatures: CoinFeature[]): CoinFeature[];
|
|
40
|
+
static getFeaturesByTypeExcluding(excludedFeatures: CoinFeature[], baseFeatures?: CoinFeature[]): CoinFeature[];
|
|
41
|
+
}
|
|
42
|
+
export interface GasTankAccountConstructorOptions extends AccountConstructorOptions {
|
|
43
|
+
gasTankLowBalanceAlertFactor: number;
|
|
44
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
45
|
+
gasTankToken?: string;
|
|
31
46
|
}
|
|
32
47
|
export interface Erc20ConstructorOptions extends AccountConstructorOptions {
|
|
33
48
|
contractAddress: string;
|
|
34
49
|
}
|
|
50
|
+
export interface Erc721ConstructorOptions extends AccountConstructorOptions {
|
|
51
|
+
contractAddress: string;
|
|
52
|
+
}
|
|
53
|
+
export interface NFTCollectionIdConstructorOptions extends AccountConstructorOptions {
|
|
54
|
+
nftCollectionId: string;
|
|
55
|
+
}
|
|
35
56
|
export interface StellarCoinConstructorOptions extends AccountConstructorOptions {
|
|
36
57
|
domain: string;
|
|
37
58
|
}
|
|
@@ -40,31 +61,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;
|
|
73
|
+
contractAddress: string;
|
|
74
|
+
programId: string;
|
|
53
75
|
}
|
|
54
|
-
export interface
|
|
55
|
-
|
|
56
|
-
|
|
76
|
+
export interface XrpCoinConstructorOptions extends AccountConstructorOptions {
|
|
77
|
+
issuerAddress: string;
|
|
78
|
+
currencyCode: string;
|
|
79
|
+
domain: string;
|
|
80
|
+
contractAddress: string;
|
|
57
81
|
}
|
|
58
|
-
|
|
82
|
+
export interface SuiCoinConstructorOptions extends AccountConstructorOptions {
|
|
83
|
+
packageId: string;
|
|
84
|
+
module: string;
|
|
85
|
+
symbol: string;
|
|
86
|
+
contractAddress: string;
|
|
87
|
+
}
|
|
88
|
+
export interface AptCoinConstructorOptions extends AccountConstructorOptions {
|
|
89
|
+
assetId: string;
|
|
90
|
+
}
|
|
91
|
+
export interface TaoCoinConstructorOptions extends AccountConstructorOptions {
|
|
92
|
+
subnetId: string;
|
|
93
|
+
}
|
|
94
|
+
export interface PolyxCoinConstructorOptions extends AccountConstructorOptions {
|
|
95
|
+
ticker: string;
|
|
96
|
+
assetId: string;
|
|
97
|
+
}
|
|
98
|
+
type FiatCoinName = `fiat${string}` | `tfiat${string}`;
|
|
59
99
|
export interface FiatCoinConstructorOptions extends AccountConstructorOptions {
|
|
60
100
|
name: FiatCoinName;
|
|
61
101
|
}
|
|
102
|
+
export interface Sip10TokenConstructorOptions extends AccountConstructorOptions {
|
|
103
|
+
assetId: string;
|
|
104
|
+
}
|
|
105
|
+
export interface Nep141TokenConstructorOptions extends AccountConstructorOptions {
|
|
106
|
+
contractAddress: string;
|
|
107
|
+
storageDepositAmount: string;
|
|
108
|
+
}
|
|
109
|
+
export interface VetTokenConstructorOptions extends AccountConstructorOptions {
|
|
110
|
+
contractAddress: string;
|
|
111
|
+
gasTankToken?: string;
|
|
112
|
+
}
|
|
113
|
+
export interface CosmosTokenConstructorOptions extends AccountConstructorOptions {
|
|
114
|
+
denom: string;
|
|
115
|
+
}
|
|
116
|
+
export interface JettonTokenConstructorOptions extends AccountConstructorOptions {
|
|
117
|
+
contractAddress: string;
|
|
118
|
+
}
|
|
119
|
+
export interface AdaTokenConstructorOptions extends AccountConstructorOptions {
|
|
120
|
+
policyId: string;
|
|
121
|
+
assetName: string;
|
|
122
|
+
contractAddress: string;
|
|
123
|
+
}
|
|
62
124
|
export interface ContractAddress extends String {
|
|
63
125
|
__contractaddress_phantom__: never;
|
|
64
126
|
}
|
|
65
127
|
export declare class AccountCoinToken extends AccountCoin {
|
|
66
128
|
constructor(options: AccountConstructorOptions);
|
|
67
129
|
}
|
|
130
|
+
export declare class GasTankAccountCoin extends AccountCoin {
|
|
131
|
+
gasTankLowBalanceAlertFactor: number;
|
|
132
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
133
|
+
gasTankToken?: string;
|
|
134
|
+
constructor(options: GasTankAccountConstructorOptions);
|
|
135
|
+
}
|
|
68
136
|
/**
|
|
69
137
|
* Some blockchains support tokens which are defined by an address at which they have a smart contract deployed.
|
|
70
138
|
* Examples are ERC20 tokens, and the equivalent on other chains.
|
|
@@ -73,6 +141,13 @@ export declare class ContractAddressDefinedToken extends AccountCoinToken {
|
|
|
73
141
|
contractAddress: ContractAddress;
|
|
74
142
|
constructor(options: Erc20ConstructorOptions);
|
|
75
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
|
+
}
|
|
76
151
|
/**
|
|
77
152
|
* ERC20 token addresses are Base58 formatted on some blockchains.
|
|
78
153
|
*/
|
|
@@ -150,6 +225,7 @@ export declare class HederaCoin extends AccountCoinToken {
|
|
|
150
225
|
export declare class HederaToken extends AccountCoinToken {
|
|
151
226
|
nodeAccountId: string;
|
|
152
227
|
tokenId: string;
|
|
228
|
+
contractAddress: string;
|
|
153
229
|
constructor(options: HederaTokenConstructorOptions);
|
|
154
230
|
}
|
|
155
231
|
/**
|
|
@@ -159,8 +235,7 @@ export declare class HederaToken extends AccountCoinToken {
|
|
|
159
235
|
*
|
|
160
236
|
*/
|
|
161
237
|
export declare class AlgoCoin extends AccountCoinToken {
|
|
162
|
-
|
|
163
|
-
constructor(options: AlgoCoinConstructorOptions);
|
|
238
|
+
constructor(options: AccountConstructorOptions);
|
|
164
239
|
}
|
|
165
240
|
/**
|
|
166
241
|
* The Eos network supports tokens
|
|
@@ -170,6 +245,8 @@ export declare class AlgoCoin extends AccountCoinToken {
|
|
|
170
245
|
*/
|
|
171
246
|
export declare class EosCoin extends AccountCoinToken {
|
|
172
247
|
contractName: string;
|
|
248
|
+
contractAddress: string;
|
|
249
|
+
symbol: string;
|
|
173
250
|
constructor(options: EosCoinConstructorOptions);
|
|
174
251
|
}
|
|
175
252
|
/**
|
|
@@ -180,17 +257,15 @@ export declare class EosCoin extends AccountCoinToken {
|
|
|
180
257
|
*/
|
|
181
258
|
export declare class SolCoin extends AccountCoinToken {
|
|
182
259
|
tokenAddress: string;
|
|
260
|
+
contractAddress: string;
|
|
261
|
+
programId: string;
|
|
183
262
|
constructor(options: SolCoinConstructorOptions);
|
|
184
263
|
}
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
export declare class AdaCoin extends AccountCoinToken {
|
|
191
|
-
policyId: string;
|
|
192
|
-
assetName: string;
|
|
193
|
-
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);
|
|
194
269
|
}
|
|
195
270
|
/**
|
|
196
271
|
* The AVAX C Chain network support tokens
|
|
@@ -206,6 +281,115 @@ export declare class AvaxERC20Token extends ContractAddressDefinedToken {
|
|
|
206
281
|
export declare class PolygonERC20Token extends ContractAddressDefinedToken {
|
|
207
282
|
constructor(options: Erc20ConstructorOptions);
|
|
208
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
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* The Mon network supports tokens
|
|
342
|
+
* Mon Tokens are ERC20 tokens
|
|
343
|
+
*/
|
|
344
|
+
export declare class MonERC20Token extends ContractAddressDefinedToken {
|
|
345
|
+
constructor(options: Erc20ConstructorOptions);
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* The Xrp network supports tokens
|
|
349
|
+
* Xrp tokens are identified by their issuer address
|
|
350
|
+
* Naming format is similar to XLM
|
|
351
|
+
* <network>:<token>-<issuer>
|
|
352
|
+
*/
|
|
353
|
+
export declare class XrpCoin extends AccountCoinToken {
|
|
354
|
+
issuerAddress: string;
|
|
355
|
+
currencyCode: string;
|
|
356
|
+
domain: string;
|
|
357
|
+
contractAddress: string;
|
|
358
|
+
constructor(options: XrpCoinConstructorOptions);
|
|
359
|
+
}
|
|
360
|
+
export declare class SuiCoin extends AccountCoinToken {
|
|
361
|
+
packageId: string;
|
|
362
|
+
module: string;
|
|
363
|
+
symbol: string;
|
|
364
|
+
contractAddress: string;
|
|
365
|
+
constructor(options: SuiCoinConstructorOptions);
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* The Apt network supports tokens
|
|
369
|
+
* Apt tokens work similar to native Apt coin, but the token name is determined by
|
|
370
|
+
* the tokenAddress on the chain.
|
|
371
|
+
*
|
|
372
|
+
*/
|
|
373
|
+
export declare class AptCoin extends AccountCoinToken {
|
|
374
|
+
assetId: string;
|
|
375
|
+
constructor(options: AptCoinConstructorOptions);
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* The Apt network supports non-fungible tokens (Digital Asset Standard)
|
|
379
|
+
* Every NFT belongs to an NFT collection.
|
|
380
|
+
*/
|
|
381
|
+
export declare class AptNFTCollection extends NFTCollectionIdDefinedToken {
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* The Vechain network supports non-fungible tokens
|
|
385
|
+
* Every NFT belongs to an NFT collection(contract).
|
|
386
|
+
*/
|
|
387
|
+
export declare class VetNFTCollection extends NFTCollectionIdDefinedToken {
|
|
388
|
+
gasTankToken?: string;
|
|
389
|
+
constructor(options: NFTCollectionIdConstructorOptions & {
|
|
390
|
+
gasTankToken?: string;
|
|
391
|
+
});
|
|
392
|
+
}
|
|
209
393
|
/**
|
|
210
394
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
211
395
|
*/
|
|
@@ -216,6 +400,70 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
216
400
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
217
401
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
218
402
|
}
|
|
403
|
+
/**
|
|
404
|
+
* The Stacks network supports tokens
|
|
405
|
+
* Stx tokens work similar to native Stx coin, but the token name is determined by
|
|
406
|
+
* the contractName on the chain.
|
|
407
|
+
*/
|
|
408
|
+
export declare class Sip10Token extends AccountCoinToken {
|
|
409
|
+
assetId: string;
|
|
410
|
+
constructor(options: Sip10TokenConstructorOptions);
|
|
411
|
+
}
|
|
412
|
+
/**
|
|
413
|
+
* The Near network supports tokens
|
|
414
|
+
* Near tokens work similar to native near coin
|
|
415
|
+
*/
|
|
416
|
+
export declare class Nep141Token extends AccountCoinToken {
|
|
417
|
+
contractAddress: string;
|
|
418
|
+
storageDepositAmount: string;
|
|
419
|
+
constructor(options: Nep141TokenConstructorOptions);
|
|
420
|
+
}
|
|
421
|
+
export declare class VetToken extends AccountCoinToken {
|
|
422
|
+
contractAddress: string;
|
|
423
|
+
gasTankToken?: string;
|
|
424
|
+
constructor(options: VetTokenConstructorOptions);
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* Cosmos network supports tokens
|
|
428
|
+
* Cosmos tokens work similar to native coins, but the token is determined by
|
|
429
|
+
* the denom on chain.
|
|
430
|
+
*
|
|
431
|
+
*/
|
|
432
|
+
export declare class CosmosChainToken extends AccountCoinToken {
|
|
433
|
+
denom: string;
|
|
434
|
+
constructor(options: CosmosTokenConstructorOptions);
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
* TON supports tokens and Jetton is a token standard on TON
|
|
438
|
+
* Jetton tokens work similar to native TON coin
|
|
439
|
+
*/
|
|
440
|
+
export declare class JettonToken extends AccountCoinToken {
|
|
441
|
+
contractAddress: string;
|
|
442
|
+
constructor(options: JettonTokenConstructorOptions);
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* The Bittensor network supports tokens
|
|
446
|
+
* The token name is determined by the subnetId on chain.
|
|
447
|
+
*/
|
|
448
|
+
export declare class TaoCoin extends AccountCoinToken {
|
|
449
|
+
subnetId: string;
|
|
450
|
+
constructor(options: TaoCoinConstructorOptions);
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* The Bittensor network supports tokens
|
|
454
|
+
* The token name is determined by the subnetId on chain.
|
|
455
|
+
*/
|
|
456
|
+
export declare class PolyxCoin extends AccountCoinToken {
|
|
457
|
+
ticker: string;
|
|
458
|
+
assetId: string;
|
|
459
|
+
constructor(options: PolyxCoinConstructorOptions);
|
|
460
|
+
}
|
|
461
|
+
export declare class AdaToken extends AccountCoinToken {
|
|
462
|
+
policyId: string;
|
|
463
|
+
assetName: string;
|
|
464
|
+
contractAddress: string;
|
|
465
|
+
constructor(options: AdaTokenConstructorOptions);
|
|
466
|
+
}
|
|
219
467
|
/**
|
|
220
468
|
* Factory function for account coin instances.
|
|
221
469
|
*
|
|
@@ -232,6 +480,56 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
232
480
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
233
481
|
*/
|
|
234
482
|
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>;
|
|
483
|
+
/**
|
|
484
|
+
* Factory function for gas tank account coin instances.
|
|
485
|
+
*
|
|
486
|
+
* @param id uuid v4
|
|
487
|
+
* @param name unique identifier of the coin
|
|
488
|
+
* @param fullName Complete human-readable name of the coin
|
|
489
|
+
* @param network Network object for this coin
|
|
490
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
491
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
492
|
+
* @param baseUnit
|
|
493
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
494
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
495
|
+
* @param gasTankLowBalanceAlertFactor Low gas tank balance alert threshold = (feeEstimate x gasTankLowBalanceAlertFactor)
|
|
496
|
+
* @param gasTankMinBalanceRecommendationFactor Min gas tank balance recommendation = (feeEstimate x gasTankMinBalanceRecommendationFactor)
|
|
497
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
498
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
499
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
500
|
+
*/
|
|
501
|
+
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>;
|
|
502
|
+
/**
|
|
503
|
+
* Factory function for ethLikeErc20 token instances.
|
|
504
|
+
*
|
|
505
|
+
* @param id uuid v4
|
|
506
|
+
* @param name unique identifier of the token
|
|
507
|
+
* @param fullName Complete human-readable name of the token
|
|
508
|
+
* @param decimalPlaces Number of decimal places this token supports
|
|
509
|
+
* @param contractAddress Contract address of this token
|
|
510
|
+
* @param asset Asset which this coin represents
|
|
511
|
+
* @param network Optional token network
|
|
512
|
+
* @param coinNames The parent coin names for mainnet and testnet
|
|
513
|
+
* @param features Features of this coin
|
|
514
|
+
* @param prefix Optional token prefix
|
|
515
|
+
* @param suffix Optional token suffix
|
|
516
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
517
|
+
*/
|
|
518
|
+
export declare function 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>;
|
|
519
|
+
/**
|
|
520
|
+
* Factory function for erc721 token instances.
|
|
521
|
+
*
|
|
522
|
+
* @param id uuid v4
|
|
523
|
+
* @param name unique identifier of the token
|
|
524
|
+
* @param fullName Complete human-readable name of the token
|
|
525
|
+
* @param contractAddress Contract address of this token
|
|
526
|
+
* @param network network
|
|
527
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
528
|
+
* @param prefix Optional token prefix
|
|
529
|
+
* @param suffix Optional token suffix
|
|
530
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
531
|
+
*/
|
|
532
|
+
export declare function erc721Token(id: string, name: string, fullName: string, contractAddress: string, network: AccountNetwork, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<EthLikeERC721Token>;
|
|
235
533
|
/**
|
|
236
534
|
* Factory function for erc20 token instances.
|
|
237
535
|
*
|
|
@@ -288,7 +586,7 @@ export declare function erc721(id: string, name: string, fullName: string, contr
|
|
|
288
586
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
289
587
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
290
588
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
291
|
-
* @param network? Optional token network. Defaults to
|
|
589
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
292
590
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
293
591
|
*/
|
|
294
592
|
export declare function terc721(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
@@ -332,7 +630,7 @@ export declare function erc1155(id: string, name: string, fullName: string, cont
|
|
|
332
630
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
333
631
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
334
632
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
335
|
-
* @param network? Optional token network. Defaults to
|
|
633
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
336
634
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
337
635
|
*/
|
|
338
636
|
export declare function terc1155(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
@@ -360,11 +658,11 @@ export declare function erc20CompatibleAccountCoin(id: string, name: string, ful
|
|
|
360
658
|
* @param fullName Complete human-readable name of the token
|
|
361
659
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
362
660
|
* @param contractAddress Contract address of this token
|
|
363
|
-
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
364
|
-
* @param prefix? Optional token prefix. Defaults to empty string
|
|
365
|
-
* @param suffix? Optional token suffix. Defaults to token name.
|
|
366
|
-
* @param network? Optional token network. Defaults to CELO main network.
|
|
367
|
-
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
661
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
662
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
663
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
664
|
+
* @param network ? Optional token network. Defaults to CELO main network.
|
|
665
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
368
666
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
369
667
|
*/
|
|
370
668
|
export declare function celoToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<CeloCoin>;
|
|
@@ -377,10 +675,10 @@ export declare function celoToken(id: string, name: string, fullName: string, de
|
|
|
377
675
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
378
676
|
* @param contractAddress Contract address of this token
|
|
379
677
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
380
|
-
* @param
|
|
381
|
-
* @param
|
|
382
|
-
* @param
|
|
383
|
-
* @param
|
|
678
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
679
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
680
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
681
|
+
* @param network ? Optional token network. Defaults to the testnet CELO network.
|
|
384
682
|
*/
|
|
385
683
|
export declare function tceloToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork): Readonly<CeloCoin>;
|
|
386
684
|
/**
|
|
@@ -494,7 +792,7 @@ export declare function ttronToken(id: string, name: string, fullName: string, d
|
|
|
494
792
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
495
793
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
496
794
|
*/
|
|
497
|
-
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
795
|
+
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<HederaCoin>;
|
|
498
796
|
/**
|
|
499
797
|
* Factory function for Hedera token instances
|
|
500
798
|
*
|
|
@@ -505,13 +803,14 @@ export declare function hederaCoin(id: string, name: string, fullName: string, n
|
|
|
505
803
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
506
804
|
* @param nodeAccountId node account Id from which the transaction will be sent
|
|
507
805
|
* @param tokenId The unique identifier of this token
|
|
806
|
+
* @param contractAddress Contract address of this token, same as tokenId
|
|
508
807
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
509
808
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
510
809
|
* @param network? Optional token network. Defaults to Hedera mainnet.
|
|
511
810
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
512
811
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
513
812
|
*/
|
|
514
|
-
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
813
|
+
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<HederaToken>;
|
|
515
814
|
/**
|
|
516
815
|
* Factory function for ALGO token instances.
|
|
517
816
|
*
|
|
@@ -522,7 +821,6 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
522
821
|
* @param fullName Complete human-readable name of the token
|
|
523
822
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
524
823
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
525
|
-
* @param tokenURL Optional asset Url for more informationa about the asset
|
|
526
824
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
527
825
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
528
826
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -530,7 +828,7 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
530
828
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
531
829
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
532
830
|
*/
|
|
533
|
-
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
831
|
+
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AlgoCoin>;
|
|
534
832
|
/**
|
|
535
833
|
* Factory function for testnet ALGO token instances.
|
|
536
834
|
*
|
|
@@ -540,14 +838,13 @@ export declare function algoToken(id: string, name: string, alias: string | unde
|
|
|
540
838
|
* @param fullName Complete human-readable name of the token
|
|
541
839
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
542
840
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
543
|
-
* @param tokenURL Optional asset Url for more informationa about the asset
|
|
544
841
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
545
842
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
546
843
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
547
844
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
548
845
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
549
846
|
*/
|
|
550
|
-
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
847
|
+
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<AlgoCoin>;
|
|
551
848
|
/**
|
|
552
849
|
* Factory function for eos token instances.
|
|
553
850
|
*
|
|
@@ -556,6 +853,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
556
853
|
* @param fullName Complete human-readable name of the token
|
|
557
854
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
558
855
|
* @param contractName Contract address of this token
|
|
856
|
+
* @param contractAddress Contract address of this token
|
|
559
857
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
560
858
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
561
859
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -563,7 +861,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
563
861
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
564
862
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
565
863
|
*/
|
|
566
|
-
export declare function eosToken(id: string, name: string, fullName: string, decimalPlaces: number, contractName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<EosCoin>;
|
|
864
|
+
export declare function eosToken(id: string, name: string, fullName: string, decimalPlaces: number, contractName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, symbol?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<EosCoin>;
|
|
567
865
|
/**
|
|
568
866
|
* Factory function for testnet eos token instances.
|
|
569
867
|
*
|
|
@@ -571,14 +869,16 @@ export declare function eosToken(id: string, name: string, fullName: string, dec
|
|
|
571
869
|
* @param name unique identifier of the token
|
|
572
870
|
* @param fullName Complete human-readable name of the token
|
|
573
871
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
872
|
+
* @param contractName Contract address of this token
|
|
574
873
|
* @param contractAddress Contract address of this token
|
|
575
874
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
576
875
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
577
876
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
877
|
+
* @param symbol? token symbol as defined in token contract.
|
|
578
878
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
579
879
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
580
880
|
*/
|
|
581
|
-
export declare function teosToken(id: string, name: string, fullName: string, decimalPlaces: number, contractName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<EosCoin>;
|
|
881
|
+
export declare function teosToken(id: string, name: string, fullName: string, decimalPlaces: number, contractName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, symbol?: string, network?: AccountNetwork): Readonly<EosCoin>;
|
|
582
882
|
/**
|
|
583
883
|
* Factory function for sol token instances.
|
|
584
884
|
*
|
|
@@ -587,6 +887,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
587
887
|
* @param fullName Complete human-readable name of the token
|
|
588
888
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
589
889
|
* @param tokenAddress Token address of this token
|
|
890
|
+
* @param contractAddress Contract address of this token
|
|
590
891
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
591
892
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
592
893
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -594,7 +895,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
594
895
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
595
896
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
596
897
|
*/
|
|
597
|
-
export declare function solToken(id: string, name: string, fullName: string, decimalPlaces: number, tokenAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<SolCoin>;
|
|
898
|
+
export declare function solToken(id: string, name: string, fullName: string, decimalPlaces: number, tokenAddress: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], programId?: ProgramID, prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<SolCoin>;
|
|
598
899
|
/**
|
|
599
900
|
* Factory function for testnet solana token instances.
|
|
600
901
|
*
|
|
@@ -609,38 +910,42 @@ export declare function solToken(id: string, name: string, fullName: string, dec
|
|
|
609
910
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
610
911
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
611
912
|
*/
|
|
612
|
-
export declare function tsolToken(id: string, name: string, fullName: string, decimalPlaces: number, tokenAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<SolCoin>;
|
|
913
|
+
export declare function tsolToken(id: string, name: string, fullName: string, decimalPlaces: number, tokenAddress: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], programId?: ProgramID, prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<SolCoin>;
|
|
613
914
|
/**
|
|
614
|
-
* Factory function for
|
|
915
|
+
* Factory function for prod cardano token instances.
|
|
615
916
|
*
|
|
616
917
|
* @param id uuid v4
|
|
617
|
-
* @param name
|
|
918
|
+
* @param name Name of the token
|
|
618
919
|
* @param fullName Complete human-readable name of the token
|
|
619
920
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
620
|
-
* @param
|
|
921
|
+
* @param policyId Policy Id
|
|
922
|
+
* @param assetName Asset name -> Policy ID + Asset name is the unique identifier
|
|
923
|
+
* @param contractAddress Fingerprint of this token
|
|
621
924
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
622
925
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
623
926
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
624
|
-
* @param network? Optional token network. Defaults to Cardano
|
|
927
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
625
928
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
626
929
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
627
930
|
*/
|
|
628
|
-
export declare function adaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<
|
|
931
|
+
export declare function adaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AdaToken>;
|
|
629
932
|
/**
|
|
630
933
|
* Factory function for testnet cardano token instances.
|
|
631
934
|
*
|
|
632
935
|
* @param id uuid v4
|
|
633
|
-
* @param name
|
|
936
|
+
* @param name Name of the token
|
|
634
937
|
* @param fullName Complete human-readable name of the token
|
|
635
938
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
636
|
-
* @param
|
|
939
|
+
* @param policyId Policy Id
|
|
940
|
+
* @param assetName Asset name -> Policy ID + Asset name is the unique identifier
|
|
941
|
+
* @param contractAddress Fingerprint of this token
|
|
637
942
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
638
943
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
639
944
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
640
945
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
641
946
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
642
947
|
*/
|
|
643
|
-
export declare function tadaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, asset: UnderlyingAsset, features?: CoinFeature[],
|
|
948
|
+
export declare function tadaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], network?: AccountNetwork, prefix?: string, suffix?: string): Readonly<AdaToken>;
|
|
644
949
|
/**
|
|
645
950
|
* Factory function for avaxErc20 token instances.
|
|
646
951
|
*
|
|
@@ -690,7 +995,7 @@ export declare function tavaxErc20(id: string, name: string, fullName: string, d
|
|
|
690
995
|
*/
|
|
691
996
|
export declare function polygonErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<PolygonERC20Token>;
|
|
692
997
|
/**
|
|
693
|
-
* Factory function for
|
|
998
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
694
999
|
*
|
|
695
1000
|
* @param id uuid v4
|
|
696
1001
|
* @param name unique identifier of the token
|
|
@@ -706,20 +1011,689 @@ export declare function polygonErc20(id: string, name: string, fullName: string,
|
|
|
706
1011
|
*/
|
|
707
1012
|
export declare function tpolygonErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<PolygonERC20Token>;
|
|
708
1013
|
/**
|
|
709
|
-
* Factory function for
|
|
1014
|
+
* Factory function for arbethErc20 token instances.
|
|
710
1015
|
*
|
|
711
1016
|
* @param id uuid v4
|
|
712
|
-
* @param name unique identifier of the
|
|
713
|
-
* @param fullName Complete human-readable name of the
|
|
714
|
-
* @param
|
|
715
|
-
* @param
|
|
1017
|
+
* @param name unique identifier of the token
|
|
1018
|
+
* @param fullName Complete human-readable name of the token
|
|
1019
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1020
|
+
* @param contractAddress Contract address of this token
|
|
716
1021
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
717
|
-
* @param
|
|
718
|
-
* @param
|
|
719
|
-
* @param
|
|
720
|
-
* @param
|
|
721
|
-
* @param
|
|
1022
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1023
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1024
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
1025
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1026
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
722
1027
|
*/
|
|
723
|
-
export declare function
|
|
1028
|
+
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>;
|
|
1029
|
+
/**
|
|
1030
|
+
* Factory function for Arbitrum Sepolia testnet arbethErc20 token instances.
|
|
1031
|
+
*
|
|
1032
|
+
* @param id uuid v4
|
|
1033
|
+
* @param name unique identifier of the token
|
|
1034
|
+
* @param fullName Complete human-readable name of the token
|
|
1035
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1036
|
+
* @param contractAddress Contract address of this token
|
|
1037
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1038
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1039
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1040
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
1041
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1042
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1043
|
+
*/
|
|
1044
|
+
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>;
|
|
1045
|
+
/**
|
|
1046
|
+
* Factory function for opethErc20 token instances.
|
|
1047
|
+
*
|
|
1048
|
+
* @param id uuid v4
|
|
1049
|
+
* @param name unique identifier of the token
|
|
1050
|
+
* @param fullName Complete human-readable name of the token
|
|
1051
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1052
|
+
* @param contractAddress Contract address of this token
|
|
1053
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1054
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1055
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1056
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
1057
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1058
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1059
|
+
*/
|
|
1060
|
+
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>;
|
|
1061
|
+
/**
|
|
1062
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
1063
|
+
*
|
|
1064
|
+
* @param id uuid v4
|
|
1065
|
+
* @param name unique identifier of the token
|
|
1066
|
+
* @param fullName Complete human-readable name of the token
|
|
1067
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1068
|
+
* @param contractAddress Contract address of this token
|
|
1069
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1070
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1071
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1072
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
1073
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1074
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1075
|
+
*/
|
|
1076
|
+
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>;
|
|
1077
|
+
/**
|
|
1078
|
+
* Factory function for zkethErc20 token instances.
|
|
1079
|
+
*
|
|
1080
|
+
* @param id uuid v4
|
|
1081
|
+
* @param name unique identifier of the token
|
|
1082
|
+
* @param fullName Complete human-readable name of the token
|
|
1083
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1084
|
+
* @param contractAddress Contract address of this token
|
|
1085
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1086
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1087
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1088
|
+
* @param network? Optional token network. Defaults to zkSync mainnet network.
|
|
1089
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1090
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1091
|
+
*/
|
|
1092
|
+
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>;
|
|
1093
|
+
/**
|
|
1094
|
+
* Factory function for zkSync Sepolia testnet zkethErc20 token instances.
|
|
1095
|
+
*
|
|
1096
|
+
* @param id uuid v4
|
|
1097
|
+
* @param name unique identifier of the token
|
|
1098
|
+
* @param fullName Complete human-readable name of the token
|
|
1099
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1100
|
+
* @param contractAddress Contract address of this token
|
|
1101
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1102
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1103
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1104
|
+
* @param network? Optional token network. Defaults to the zkSync sepolia test network.
|
|
1105
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1106
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1107
|
+
*/
|
|
1108
|
+
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>;
|
|
1109
|
+
/**
|
|
1110
|
+
* Factory function for beraErc20 token instances.
|
|
1111
|
+
*
|
|
1112
|
+
* @param id uuid v4
|
|
1113
|
+
* @param name unique identifier of the token
|
|
1114
|
+
* @param fullName Complete human-readable name of the token
|
|
1115
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1116
|
+
* @param contractAddress Contract address of this token
|
|
1117
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1118
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1119
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1120
|
+
* @param network? Optional token network. Defaults to bera mainnet network.
|
|
1121
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1122
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1123
|
+
*/
|
|
1124
|
+
export declare function 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>;
|
|
1125
|
+
/**
|
|
1126
|
+
* Factory function for zkSync Sepolia testnet beraErc20 token instances.
|
|
1127
|
+
*
|
|
1128
|
+
* @param id uuid v4
|
|
1129
|
+
* @param name unique identifier of the token
|
|
1130
|
+
* @param fullName Complete human-readable name of the token
|
|
1131
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1132
|
+
* @param contractAddress Contract address of this token
|
|
1133
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1134
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1135
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1136
|
+
* @param network? Optional token network. Defaults to the bera test network.
|
|
1137
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1138
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1139
|
+
*/
|
|
1140
|
+
export declare function 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>;
|
|
1141
|
+
/**
|
|
1142
|
+
* Factory function for CoredaoErc20 token instances.
|
|
1143
|
+
*
|
|
1144
|
+
* @param id uuid v4
|
|
1145
|
+
* @param name unique identifier of the token
|
|
1146
|
+
* @param fullName Complete human-readable name of the token
|
|
1147
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1148
|
+
* @param contractAddress Contract address of this token
|
|
1149
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1150
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1151
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1152
|
+
* @param network? Optional token network. Defaults to coredao mainnet network.
|
|
1153
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1154
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1155
|
+
*/
|
|
1156
|
+
export declare function 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>;
|
|
1157
|
+
/**
|
|
1158
|
+
* Factory function for coredao testnet coredaoErc20 token instances.
|
|
1159
|
+
*
|
|
1160
|
+
* @param id uuid v4
|
|
1161
|
+
* @param name unique identifier of the token
|
|
1162
|
+
* @param fullName Complete human-readable name of the token
|
|
1163
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1164
|
+
* @param contractAddress Contract address of this token
|
|
1165
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1166
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1167
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1168
|
+
* @param network? Optional token network. Defaults to the coredao test network.
|
|
1169
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1170
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1171
|
+
*/
|
|
1172
|
+
export declare function 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>;
|
|
1173
|
+
/**
|
|
1174
|
+
* Factory function for WorldErc20 token instances.
|
|
1175
|
+
*
|
|
1176
|
+
* @param id uuid v4
|
|
1177
|
+
* @param name unique identifier of the token
|
|
1178
|
+
* @param fullName Complete human-readable name of the token
|
|
1179
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1180
|
+
* @param contractAddress Contract address of this token
|
|
1181
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1182
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1183
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1184
|
+
* @param network? Optional token network. Defaults to World Chain mainnet network.
|
|
1185
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1186
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1187
|
+
*/
|
|
1188
|
+
export declare function 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>;
|
|
1189
|
+
/**
|
|
1190
|
+
* Factory function for world testnet worldErc20 token instances.
|
|
1191
|
+
*
|
|
1192
|
+
* @param id uuid v4
|
|
1193
|
+
* @param name unique identifier of the token
|
|
1194
|
+
* @param fullName Complete human-readable name of the token
|
|
1195
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1196
|
+
* @param contractAddress Contract address of this token
|
|
1197
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1198
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1199
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1200
|
+
* @param network? Optional token network. Defaults to the World Chain test network.
|
|
1201
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1202
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1203
|
+
*/
|
|
1204
|
+
export declare function 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>;
|
|
1205
|
+
/**
|
|
1206
|
+
* Factory function for FlrErc20 token instances.
|
|
1207
|
+
*
|
|
1208
|
+
* @param id uuid v4
|
|
1209
|
+
* @param name unique identifier of the token
|
|
1210
|
+
* @param fullName Complete human-readable name of the token
|
|
1211
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1212
|
+
* @param contractAddress Contract address of this token
|
|
1213
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1214
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1215
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1216
|
+
* @param network? Optional token network. Defaults to Flr Chain mainnet network.
|
|
1217
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1218
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1219
|
+
*/
|
|
1220
|
+
export declare function 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>;
|
|
1221
|
+
/**
|
|
1222
|
+
* Factory function for Flr testnet FlrErc20 token instances.
|
|
1223
|
+
*
|
|
1224
|
+
* @param id uuid v4
|
|
1225
|
+
* @param name unique identifier of the token
|
|
1226
|
+
* @param fullName Complete human-readable name of the token
|
|
1227
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1228
|
+
* @param contractAddress Contract address of this token
|
|
1229
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1230
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1231
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1232
|
+
* @param network? Optional token network. Defaults to the Flr Chain test network.
|
|
1233
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1234
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1235
|
+
*/
|
|
1236
|
+
export declare function 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>;
|
|
1237
|
+
/**
|
|
1238
|
+
* Factory function for XdcErc20 token instances.
|
|
1239
|
+
*
|
|
1240
|
+
* @param id uuid v4
|
|
1241
|
+
* @param name unique identifier of the token
|
|
1242
|
+
* @param fullName Complete human-readable name of the token
|
|
1243
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1244
|
+
* @param contractAddress Contract address of this token
|
|
1245
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1246
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1247
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1248
|
+
* @param network? Optional token network. Defaults to XDC mainnet network.
|
|
1249
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1250
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1251
|
+
*/
|
|
1252
|
+
export declare function 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>;
|
|
1253
|
+
/**
|
|
1254
|
+
* Factory function for XDC testnet XdcErc20 token instances.
|
|
1255
|
+
*
|
|
1256
|
+
* @param id uuid v4
|
|
1257
|
+
* @param name unique identifier of the token
|
|
1258
|
+
* @param fullName Complete human-readable name of the token
|
|
1259
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1260
|
+
* @param contractAddress Contract address of this token
|
|
1261
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1262
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1263
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1264
|
+
* @param network? Optional token network. Defaults to the XDC test network.
|
|
1265
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1266
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1267
|
+
*/
|
|
1268
|
+
export declare function 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>;
|
|
1269
|
+
/**
|
|
1270
|
+
* Factory function for MonErc20 token instances.
|
|
1271
|
+
*
|
|
1272
|
+
* @param id uuid v4
|
|
1273
|
+
* @param name unique identifier of the token
|
|
1274
|
+
* @param fullName Complete human-readable name of the token
|
|
1275
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1276
|
+
* @param contractAddress Contract address of this token
|
|
1277
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1278
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1279
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1280
|
+
* @param network? Optional token network. Defaults to Mon mainnet network.
|
|
1281
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1282
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1283
|
+
*/
|
|
1284
|
+
export declare function monErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<MonERC20Token>;
|
|
1285
|
+
/**
|
|
1286
|
+
* Factory function for Mon testnet MonErc20 token instances.
|
|
1287
|
+
*
|
|
1288
|
+
* @param id uuid v4
|
|
1289
|
+
* @param name unique identifier of the token
|
|
1290
|
+
* @param fullName Complete human-readable name of the token
|
|
1291
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1292
|
+
* @param contractAddress Contract address of this token
|
|
1293
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1294
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1295
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1296
|
+
* @param network? Optional token network. Defaults to the Mon test network.
|
|
1297
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1298
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1299
|
+
*/
|
|
1300
|
+
export declare function tmonErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<MonERC20Token>;
|
|
1301
|
+
/**
|
|
1302
|
+
* Factory function for xrp token instances.
|
|
1303
|
+
*
|
|
1304
|
+
* @param id uuid v4
|
|
1305
|
+
* @param name unique identifier of the token
|
|
1306
|
+
* @param fullName Complete human-readable name of the token
|
|
1307
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1308
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
1309
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1310
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
1311
|
+
* @param domain? the domain of the issuer of the token,
|
|
1312
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1313
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1314
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1315
|
+
* @param network? Optional token network. Defaults to Cardano main network.
|
|
1316
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1317
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1318
|
+
*/
|
|
1319
|
+
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>;
|
|
1320
|
+
/**
|
|
1321
|
+
* Factory function for testnet cardano token instances.
|
|
1322
|
+
*
|
|
1323
|
+
* @param id uuid v4
|
|
1324
|
+
* @param name unique identifier of the token
|
|
1325
|
+
* @param fullName Complete human-readable name of the token
|
|
1326
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1327
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
1328
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1329
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
1330
|
+
* @param domain? the domain of the issuer of the token,
|
|
1331
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1332
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1333
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1334
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
1335
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1336
|
+
*/
|
|
1337
|
+
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>;
|
|
1338
|
+
/**
|
|
1339
|
+
* Factory function for sui token instances.
|
|
1340
|
+
*
|
|
1341
|
+
* @param id uuid v4
|
|
1342
|
+
* @param name unique identifier of the token
|
|
1343
|
+
* @param fullName Complete human-readable name of the token
|
|
1344
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1345
|
+
* @param packageId PackageId of this token
|
|
1346
|
+
* @param module The module of the package with id `packageId`
|
|
1347
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1348
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1349
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1350
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1351
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1352
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1353
|
+
* @param network? Optional token network. Defaults to SUI main network.
|
|
1354
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1355
|
+
*/
|
|
1356
|
+
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>;
|
|
1357
|
+
/**
|
|
1358
|
+
* Factory function for testnet sui token instances.
|
|
1359
|
+
*
|
|
1360
|
+
* @param id uuid v4
|
|
1361
|
+
* @param name unique identifier of the token
|
|
1362
|
+
* @param fullName Complete human-readable name of the token
|
|
1363
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1364
|
+
* @param packageId PackageId of this token
|
|
1365
|
+
* @param module The module of the package with id `packageId`
|
|
1366
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1367
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1368
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1369
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1370
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1371
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1372
|
+
* @param network? Optional token network. Defaults to SUI test network.
|
|
1373
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1374
|
+
*/
|
|
1375
|
+
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>;
|
|
1376
|
+
/**
|
|
1377
|
+
* Factory function for apt token instances.
|
|
1378
|
+
*
|
|
1379
|
+
* @param id uuid v4
|
|
1380
|
+
* @param name unique identifier of the token
|
|
1381
|
+
* @param fullName Complete human-readable name of the token
|
|
1382
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1383
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1384
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1385
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1386
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1387
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1388
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1389
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1390
|
+
*/
|
|
1391
|
+
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>;
|
|
1392
|
+
/**
|
|
1393
|
+
* Factory function for Apt NFT collections.
|
|
1394
|
+
*
|
|
1395
|
+
* @param id uuid v4
|
|
1396
|
+
* @param name unique identifier of the NFT collection
|
|
1397
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1398
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1399
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1400
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1401
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1402
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1403
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1404
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1405
|
+
*/
|
|
1406
|
+
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>;
|
|
1407
|
+
/**
|
|
1408
|
+
* Factory function for testnet apt token instances.
|
|
1409
|
+
*
|
|
1410
|
+
* @param id uuid v4
|
|
1411
|
+
* @param name unique identifier of the token
|
|
1412
|
+
* @param fullName Complete human-readable name of the token
|
|
1413
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1414
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1415
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1416
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1417
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1418
|
+
* @param network Optional token network. Defaults to the testnet APT network.
|
|
1419
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1420
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1421
|
+
*/
|
|
1422
|
+
export declare function 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>;
|
|
1423
|
+
/**
|
|
1424
|
+
* Factory function for testnet Apt NFT collections.
|
|
1425
|
+
*
|
|
1426
|
+
* @param id uuid v4
|
|
1427
|
+
* @param name unique identifier of the NFT collection
|
|
1428
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1429
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1430
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1431
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1432
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1433
|
+
* @param network Optional token network. Defaults to APT test network.
|
|
1434
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1435
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1436
|
+
*/
|
|
1437
|
+
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>;
|
|
1438
|
+
/**
|
|
1439
|
+
* Factory function for fiat coin instances.
|
|
1440
|
+
*
|
|
1441
|
+
* @param id uuid v4
|
|
1442
|
+
* @param name unique identifier of the coin, should start with 'fiat' or 'tfiat' followed by the 3-char ISO-4217 alphabetical code
|
|
1443
|
+
* @param fullName Complete human-readable name of the coin
|
|
1444
|
+
* @param network Network object for this coin
|
|
1445
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
1446
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1447
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `FiatCoin`
|
|
1448
|
+
* @param primaryKeyCurve? The elliptic curve for this chain/token
|
|
1449
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
1450
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
1451
|
+
* @param isToken? Whether or not this coin is a token of another coin
|
|
1452
|
+
*/
|
|
1453
|
+
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>;
|
|
1454
|
+
/**
|
|
1455
|
+
* Factory function for sip10 token instances.
|
|
1456
|
+
*
|
|
1457
|
+
* @param id uuid v4
|
|
1458
|
+
* @param name unique identifier of the token
|
|
1459
|
+
* @param fullName Complete human-readable name of the token
|
|
1460
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1461
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1462
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1463
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1464
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1465
|
+
* @param network? Optional token network. Defaults to Stacks main network.
|
|
1466
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1467
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1468
|
+
*/
|
|
1469
|
+
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>;
|
|
1470
|
+
/**
|
|
1471
|
+
* Factory function for testnet sip10 token instances.
|
|
1472
|
+
*
|
|
1473
|
+
* @param id uuid v4
|
|
1474
|
+
* @param name unique identifier of the token
|
|
1475
|
+
* @param fullName Complete human-readable name of the token
|
|
1476
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1477
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1478
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1479
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1480
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1481
|
+
* @param network? Optional token network. Defaults to the testnet Stacks network.
|
|
1482
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1483
|
+
*/
|
|
1484
|
+
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>;
|
|
1485
|
+
/**
|
|
1486
|
+
* Factory function for nep141 token instances.
|
|
1487
|
+
*
|
|
1488
|
+
* @param id uuid v4
|
|
1489
|
+
* @param name unique identifier of the token
|
|
1490
|
+
* @param fullName Complete human-readable name of the token
|
|
1491
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1492
|
+
* @param contractAddress Contract address of this token
|
|
1493
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1494
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1495
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1496
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1497
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1498
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1499
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1500
|
+
*/
|
|
1501
|
+
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>;
|
|
1502
|
+
/**
|
|
1503
|
+
* Factory function for testnet nep141 token instances.
|
|
1504
|
+
*
|
|
1505
|
+
* @param id uuid v4
|
|
1506
|
+
* @param name unique identifier of the token
|
|
1507
|
+
* @param fullName Complete human-readable name of the token
|
|
1508
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1509
|
+
* @param contractAddress Contract address of this token
|
|
1510
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1511
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1512
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1513
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1514
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1515
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1516
|
+
*/
|
|
1517
|
+
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>;
|
|
1518
|
+
/**
|
|
1519
|
+
* Factory function for vet token instances.
|
|
1520
|
+
*
|
|
1521
|
+
* @param id uuid v4
|
|
1522
|
+
* @param name unique identifier of the token
|
|
1523
|
+
* @param fullName Complete human-readable name of the token
|
|
1524
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1525
|
+
* @param contractAddress Contract address of this token
|
|
1526
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1527
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1528
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1529
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1530
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1531
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1532
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1533
|
+
*/
|
|
1534
|
+
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>;
|
|
1535
|
+
/**
|
|
1536
|
+
* Factory function for testnet vet token instances.
|
|
1537
|
+
*
|
|
1538
|
+
* @param id uuid v4
|
|
1539
|
+
* @param name unique identifier of the token
|
|
1540
|
+
* @param fullName Complete human-readable name of the token
|
|
1541
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1542
|
+
* @param contractAddress Contract address of this token
|
|
1543
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1544
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1545
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1546
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1547
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1548
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1549
|
+
*/
|
|
1550
|
+
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>;
|
|
1551
|
+
/**
|
|
1552
|
+
* Factory function for Vet NFT collections.
|
|
1553
|
+
*
|
|
1554
|
+
* @param id uuid v4
|
|
1555
|
+
* @param name unique identifier of the NFT collection
|
|
1556
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1557
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1558
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1559
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1560
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1561
|
+
* @param network Optional token network. Defaults to VET main network.
|
|
1562
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1563
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1564
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1565
|
+
*/
|
|
1566
|
+
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>;
|
|
1567
|
+
/**
|
|
1568
|
+
* Factory function for testnet Vet NFT collections.
|
|
1569
|
+
*
|
|
1570
|
+
* @param id uuid v4
|
|
1571
|
+
* @param name unique identifier of the NFT collection
|
|
1572
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1573
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1574
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1575
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1576
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1577
|
+
* @param network Optional token network. Defaults to VET test network.
|
|
1578
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1579
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1580
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1581
|
+
*/
|
|
1582
|
+
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>;
|
|
1583
|
+
/**
|
|
1584
|
+
* Factory function for Cosmos chain token instances.
|
|
1585
|
+
*
|
|
1586
|
+
* @param id uuid v4
|
|
1587
|
+
* @param name unique identifier of the token
|
|
1588
|
+
* @param fullName Complete human-readable name of the token
|
|
1589
|
+
* @param denom denomination of this token which will act as a unique identifier for the token on chain
|
|
1590
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1591
|
+
* @param network Network (mainnet or testnet) for this token
|
|
1592
|
+
* @param baseUnit Base unit of this token (native asset)
|
|
1593
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1594
|
+
* @param features Features of this coin. Defaults to the COSMOS_SIDECHAIN_FEATURES defined in `coinFeatures.ts`
|
|
1595
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1596
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1597
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1598
|
+
*/
|
|
1599
|
+
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>;
|
|
1600
|
+
/**
|
|
1601
|
+
* Factory function for tao token instances.
|
|
1602
|
+
*
|
|
1603
|
+
* @param id uuid v4
|
|
1604
|
+
* @param name unique identifier of the token
|
|
1605
|
+
* @param fullName Complete human-readable name of the token
|
|
1606
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1607
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1608
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1609
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1610
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1611
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1612
|
+
* @param network? Optional token network. Defaults to TAO main network.
|
|
1613
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1614
|
+
*/
|
|
1615
|
+
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>;
|
|
1616
|
+
/**
|
|
1617
|
+
* Factory function for testnet tao token instances.
|
|
1618
|
+
*
|
|
1619
|
+
* @param id uuid v4
|
|
1620
|
+
* @param name unique identifier of the token
|
|
1621
|
+
* @param fullName Complete human-readable name of the token
|
|
1622
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1623
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1624
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1625
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1626
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1627
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1628
|
+
* @param network? Optional token network. Defaults to TAO test network.
|
|
1629
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1630
|
+
*/
|
|
1631
|
+
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>;
|
|
1632
|
+
/**
|
|
1633
|
+
* Factory function for polyx token instances.
|
|
1634
|
+
*
|
|
1635
|
+
* @param id uuid v4
|
|
1636
|
+
* @param name unique identifier of the token
|
|
1637
|
+
* @param fullName Complete human-readable name of the token
|
|
1638
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1639
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1640
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1641
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1642
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1643
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1644
|
+
* @param network? Optional token network. Defaults to Polyx main network.
|
|
1645
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1646
|
+
*/
|
|
1647
|
+
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>;
|
|
1648
|
+
/**
|
|
1649
|
+
* Factory function for testnet polyx token instances.
|
|
1650
|
+
*
|
|
1651
|
+
* @param id uuid v4
|
|
1652
|
+
* @param name unique identifier of the token
|
|
1653
|
+
* @param fullName Complete human-readable name of the token
|
|
1654
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1655
|
+
* @param ticker The ticker symbol of the token
|
|
1656
|
+
* @param assetId The unique asset identifier for this token
|
|
1657
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1658
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1659
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1660
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1661
|
+
* @param network? Optional token network. Defaults to Polyx test network.
|
|
1662
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1663
|
+
*/
|
|
1664
|
+
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>;
|
|
1665
|
+
/**
|
|
1666
|
+
* Factory function for Jetton token instances.
|
|
1667
|
+
* Jetton is the token standard on TON blockchain.
|
|
1668
|
+
*
|
|
1669
|
+
* @param id uuid v4
|
|
1670
|
+
* @param name unique identifier of the token
|
|
1671
|
+
* @param fullName Complete human-readable name of the token
|
|
1672
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1673
|
+
* @param contractAddress Contract address of this token
|
|
1674
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1675
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1676
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1677
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1678
|
+
* @param network Optional token network. Defaults to TON main network.
|
|
1679
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1680
|
+
*/
|
|
1681
|
+
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>;
|
|
1682
|
+
/**
|
|
1683
|
+
* Factory function for testnet jetton token instances.
|
|
1684
|
+
* Jetton is the token standard on TON blockchain.
|
|
1685
|
+
*
|
|
1686
|
+
* @param id uuid v4
|
|
1687
|
+
* @param name unique identifier of the token
|
|
1688
|
+
* @param fullName Complete human-readable name of the token
|
|
1689
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1690
|
+
* @param contractAddress Contract address of this token
|
|
1691
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1692
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1693
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1694
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1695
|
+
* @param network Optional token network. Defaults to the testnet TON network.
|
|
1696
|
+
*/
|
|
1697
|
+
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>;
|
|
724
1698
|
export {};
|
|
725
1699
|
//# sourceMappingURL=account.d.ts.map
|