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