@bitgo-beta/statics 10.0.1-alpha.5 → 10.0.1-alpha.500
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 +1193 -80
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +1872 -157
- package/dist/src/ada.d.ts +3 -1
- package/dist/src/ada.d.ts.map +1 -1
- package/dist/src/ada.js +13 -4
- package/dist/src/allCoinsAndTokens.d.ts +2 -0
- package/dist/src/allCoinsAndTokens.d.ts.map +1 -0
- package/dist/src/allCoinsAndTokens.js +1526 -0
- package/dist/src/avaxp.d.ts +3 -1
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +19 -5
- package/dist/src/base.d.ts +2763 -34
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +2921 -52
- 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 +114 -0
- package/dist/src/coinFeatures.d.ts.map +1 -0
- package/dist/src/coinFeatures.js +746 -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 +22 -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 +128 -0
- package/dist/src/coins/botOfcTokens.d.ts +3 -0
- package/dist/src/coins/botOfcTokens.d.ts.map +1 -0
- package/dist/src/coins/botOfcTokens.js +108 -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 +110 -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 +206 -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 +18 -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 +2033 -0
- package/dist/src/coins/generateERC20.d.ts +36 -0
- package/dist/src/coins/generateERC20.d.ts.map +1 -0
- package/dist/src/coins/generateERC20.js +46 -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 +19 -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 +1049 -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 +1785 -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 +167 -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 +476 -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 +22 -0
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +443 -1019
- package/dist/src/constants.d.ts +3 -0
- package/dist/src/constants.d.ts.map +1 -0
- package/dist/src/constants.js +6 -0
- package/dist/src/errors.d.ts +9 -0
- package/dist/src/errors.d.ts.map +1 -1
- package/dist/src/errors.js +23 -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 +5 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +37 -3
- package/dist/src/kaspa.d.ts +35 -0
- package/dist/src/kaspa.d.ts.map +1 -0
- package/dist/src/kaspa.js +63 -0
- package/dist/src/lightning.d.ts +43 -0
- package/dist/src/lightning.d.ts.map +1 -0
- package/dist/src/lightning.js +65 -0
- package/dist/src/map.d.ts +17 -0
- package/dist/src/map.d.ts.map +1 -1
- package/dist/src/map.js +197 -14
- package/dist/src/networkFeatureMapForTokens.d.ts +10 -0
- package/dist/src/networkFeatureMapForTokens.d.ts.map +1 -0
- package/dist/src/networkFeatureMapForTokens.js +54 -0
- package/dist/src/networks.d.ts +2107 -80
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +2657 -156
- package/dist/src/ofc.d.ts +804 -5
- package/dist/src/ofc.d.ts.map +1 -1
- package/dist/src/ofc.js +1863 -19
- package/dist/src/tokenConfig.d.ts +671 -88
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +1032 -179
- package/dist/src/utxo.d.ts +6 -2
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +89 -4
- package/dist/tsconfig.tsbuildinfo +1 -2717
- package/package.json +6 -3
- package/.mocharc.js +0 -10
- package/.prettierignore +0 -2
- package/CHANGELOG.md +0 -400
- package/dist/resources/dot/index.d.ts +0 -3
- package/dist/resources/dot/index.d.ts.map +0 -1
- package/dist/resources/dot/index.js +0 -15
- package/dist/resources/dot/mainnet.d.ts +0 -2
- package/dist/resources/dot/mainnet.d.ts.map +0 -1
- package/dist/resources/dot/mainnet.js +0 -5
- package/dist/resources/dot/westend.d.ts +0 -2
- package/dist/resources/dot/westend.d.ts.map +0 -1
- package/dist/resources/dot/westend.js +0 -5
- package/resources/dot/index.ts +0 -2
- package/resources/dot/mainnet.ts +0 -2
- package/resources/dot/westend.ts +0 -2
package/dist/src/account.d.ts
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
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 {
|
|
11
|
+
id: string;
|
|
4
12
|
fullName: string;
|
|
5
13
|
name: string;
|
|
6
14
|
alias?: string;
|
|
@@ -23,14 +31,28 @@ export interface AccountConstructorOptions {
|
|
|
23
31
|
*/
|
|
24
32
|
export declare class AccountCoin extends BaseCoin {
|
|
25
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.TSS_SUPPORT_IN_PROGRESS | 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.EVM_KEYRING_UNSUPPORTED | 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)[];
|
|
26
35
|
readonly network: AccountNetwork;
|
|
27
36
|
constructor(options: AccountConstructorOptions);
|
|
28
37
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
29
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;
|
|
30
46
|
}
|
|
31
47
|
export interface Erc20ConstructorOptions extends AccountConstructorOptions {
|
|
32
48
|
contractAddress: string;
|
|
33
49
|
}
|
|
50
|
+
export interface Erc721ConstructorOptions extends AccountConstructorOptions {
|
|
51
|
+
contractAddress: string;
|
|
52
|
+
}
|
|
53
|
+
export interface NFTCollectionIdConstructorOptions extends AccountConstructorOptions {
|
|
54
|
+
nftCollectionId: string;
|
|
55
|
+
}
|
|
34
56
|
export interface StellarCoinConstructorOptions extends AccountConstructorOptions {
|
|
35
57
|
domain: string;
|
|
36
58
|
}
|
|
@@ -39,31 +61,85 @@ export interface HederaCoinConstructorOptions extends AccountConstructorOptions
|
|
|
39
61
|
}
|
|
40
62
|
export interface HederaTokenConstructorOptions extends AccountConstructorOptions {
|
|
41
63
|
nodeAccountId: string;
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
export interface AlgoCoinConstructorOptions extends AccountConstructorOptions {
|
|
45
|
-
tokenURL: string;
|
|
64
|
+
contractAddress: string;
|
|
46
65
|
}
|
|
47
66
|
export interface EosCoinConstructorOptions extends AccountConstructorOptions {
|
|
48
67
|
contractName: string;
|
|
68
|
+
contractAddress: string;
|
|
69
|
+
symbol?: string;
|
|
49
70
|
}
|
|
50
71
|
export interface SolCoinConstructorOptions extends AccountConstructorOptions {
|
|
51
72
|
tokenAddress: string;
|
|
73
|
+
contractAddress: string;
|
|
74
|
+
programId: string;
|
|
52
75
|
}
|
|
53
|
-
export interface
|
|
54
|
-
|
|
55
|
-
|
|
76
|
+
export interface XrpCoinConstructorOptions extends AccountConstructorOptions {
|
|
77
|
+
issuerAddress: string;
|
|
78
|
+
currencyCode: string;
|
|
79
|
+
domain: string;
|
|
80
|
+
contractAddress: string;
|
|
56
81
|
}
|
|
57
|
-
|
|
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}`;
|
|
58
99
|
export interface FiatCoinConstructorOptions extends AccountConstructorOptions {
|
|
59
100
|
name: FiatCoinName;
|
|
60
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
|
+
}
|
|
61
131
|
export interface ContractAddress extends String {
|
|
62
132
|
__contractaddress_phantom__: never;
|
|
63
133
|
}
|
|
64
134
|
export declare class AccountCoinToken extends AccountCoin {
|
|
65
135
|
constructor(options: AccountConstructorOptions);
|
|
66
136
|
}
|
|
137
|
+
export declare class GasTankAccountCoin extends AccountCoin {
|
|
138
|
+
gasTankLowBalanceAlertFactor: number;
|
|
139
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
140
|
+
gasTankToken?: string;
|
|
141
|
+
constructor(options: GasTankAccountConstructorOptions);
|
|
142
|
+
}
|
|
67
143
|
/**
|
|
68
144
|
* Some blockchains support tokens which are defined by an address at which they have a smart contract deployed.
|
|
69
145
|
* Examples are ERC20 tokens, and the equivalent on other chains.
|
|
@@ -72,6 +148,13 @@ export declare class ContractAddressDefinedToken extends AccountCoinToken {
|
|
|
72
148
|
contractAddress: ContractAddress;
|
|
73
149
|
constructor(options: Erc20ConstructorOptions);
|
|
74
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
|
+
}
|
|
75
158
|
/**
|
|
76
159
|
* ERC20 token addresses are Base58 formatted on some blockchains.
|
|
77
160
|
*/
|
|
@@ -149,6 +232,7 @@ export declare class HederaCoin extends AccountCoinToken {
|
|
|
149
232
|
export declare class HederaToken extends AccountCoinToken {
|
|
150
233
|
nodeAccountId: string;
|
|
151
234
|
tokenId: string;
|
|
235
|
+
contractAddress: string;
|
|
152
236
|
constructor(options: HederaTokenConstructorOptions);
|
|
153
237
|
}
|
|
154
238
|
/**
|
|
@@ -158,8 +242,7 @@ export declare class HederaToken extends AccountCoinToken {
|
|
|
158
242
|
*
|
|
159
243
|
*/
|
|
160
244
|
export declare class AlgoCoin extends AccountCoinToken {
|
|
161
|
-
|
|
162
|
-
constructor(options: AlgoCoinConstructorOptions);
|
|
245
|
+
constructor(options: AccountConstructorOptions);
|
|
163
246
|
}
|
|
164
247
|
/**
|
|
165
248
|
* The Eos network supports tokens
|
|
@@ -169,6 +252,8 @@ export declare class AlgoCoin extends AccountCoinToken {
|
|
|
169
252
|
*/
|
|
170
253
|
export declare class EosCoin extends AccountCoinToken {
|
|
171
254
|
contractName: string;
|
|
255
|
+
contractAddress: string;
|
|
256
|
+
symbol: string;
|
|
172
257
|
constructor(options: EosCoinConstructorOptions);
|
|
173
258
|
}
|
|
174
259
|
/**
|
|
@@ -179,17 +264,15 @@ export declare class EosCoin extends AccountCoinToken {
|
|
|
179
264
|
*/
|
|
180
265
|
export declare class SolCoin extends AccountCoinToken {
|
|
181
266
|
tokenAddress: string;
|
|
267
|
+
contractAddress: string;
|
|
268
|
+
programId: string;
|
|
182
269
|
constructor(options: SolCoinConstructorOptions);
|
|
183
270
|
}
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
export declare class AdaCoin extends AccountCoinToken {
|
|
190
|
-
policyId: string;
|
|
191
|
-
assetName: string;
|
|
192
|
-
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);
|
|
193
276
|
}
|
|
194
277
|
/**
|
|
195
278
|
* The AVAX C Chain network support tokens
|
|
@@ -205,6 +288,115 @@ export declare class AvaxERC20Token extends ContractAddressDefinedToken {
|
|
|
205
288
|
export declare class PolygonERC20Token extends ContractAddressDefinedToken {
|
|
206
289
|
constructor(options: Erc20ConstructorOptions);
|
|
207
290
|
}
|
|
291
|
+
/**
|
|
292
|
+
* The Arbitrum Chain network support tokens
|
|
293
|
+
* Arbitrum Chain Tokens are ERC20 tokens
|
|
294
|
+
*/
|
|
295
|
+
export declare class ArbethERC20Token extends ContractAddressDefinedToken {
|
|
296
|
+
constructor(options: Erc20ConstructorOptions);
|
|
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
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* The Xrp network supports tokens
|
|
356
|
+
* Xrp tokens are identified by their issuer address
|
|
357
|
+
* Naming format is similar to XLM
|
|
358
|
+
* <network>:<token>-<issuer>
|
|
359
|
+
*/
|
|
360
|
+
export declare class XrpCoin extends AccountCoinToken {
|
|
361
|
+
issuerAddress: string;
|
|
362
|
+
currencyCode: string;
|
|
363
|
+
domain: string;
|
|
364
|
+
contractAddress: string;
|
|
365
|
+
constructor(options: XrpCoinConstructorOptions);
|
|
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
|
+
}
|
|
208
400
|
/**
|
|
209
401
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
210
402
|
*/
|
|
@@ -215,9 +407,92 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
215
407
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
216
408
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
217
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
|
+
}
|
|
218
492
|
/**
|
|
219
493
|
* Factory function for account coin instances.
|
|
220
494
|
*
|
|
495
|
+
* @param id uuid v4
|
|
221
496
|
* @param name unique identifier of the coin
|
|
222
497
|
* @param fullName Complete human-readable name of the coin
|
|
223
498
|
* @param network Network object for this coin
|
|
@@ -229,10 +504,61 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
229
504
|
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
230
505
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
231
506
|
*/
|
|
232
|
-
export declare function account(name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset, baseUnit: BaseUnit, features?: CoinFeature[], primaryKeyCurve?: KeyCurve, prefix?: string, suffix?: string, isToken?: boolean): Readonly<AccountCoin>;
|
|
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>;
|
|
233
558
|
/**
|
|
234
559
|
* Factory function for erc20 token instances.
|
|
235
560
|
*
|
|
561
|
+
* @param id uuid v4
|
|
236
562
|
* @param name unique identifier of the token
|
|
237
563
|
* @param fullName Complete human-readable name of the token
|
|
238
564
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -244,10 +570,11 @@ export declare function account(name: string, fullName: string, network: Account
|
|
|
244
570
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
245
571
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
246
572
|
*/
|
|
247
|
-
export declare function erc20(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc20Coin>;
|
|
573
|
+
export declare function erc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc20Coin>;
|
|
248
574
|
/**
|
|
249
575
|
* Factory function for testnet erc20 token instances.
|
|
250
576
|
*
|
|
577
|
+
* @param id uuid v4
|
|
251
578
|
* @param name unique identifier of the token
|
|
252
579
|
* @param fullName Complete human-readable name of the token
|
|
253
580
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -258,10 +585,11 @@ export declare function erc20(name: string, fullName: string, decimalPlaces: num
|
|
|
258
585
|
* @param network? Optional token network. Defaults to the Kovan test network.
|
|
259
586
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
260
587
|
*/
|
|
261
|
-
export declare function terc20(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork): Readonly<Erc20Coin>;
|
|
588
|
+
export declare function terc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork): Readonly<Erc20Coin>;
|
|
262
589
|
/**
|
|
263
590
|
* Factory function for erc721 token instances.
|
|
264
591
|
*
|
|
592
|
+
* @param id uuid v4
|
|
265
593
|
* @param name unique identifier of the token
|
|
266
594
|
* @param fullName Complete human-readable name of the token
|
|
267
595
|
* @param contractAddress Contract address of this token
|
|
@@ -272,23 +600,40 @@ export declare function terc20(name: string, fullName: string, decimalPlaces: nu
|
|
|
272
600
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
273
601
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
274
602
|
*/
|
|
275
|
-
export declare function erc721(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
603
|
+
export declare function erc721(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
276
604
|
/**
|
|
277
605
|
* Factory function for testnet erc721 token instances.
|
|
278
606
|
*
|
|
607
|
+
* @param id uuid v4
|
|
608
|
+
* @param name unique identifier of the token
|
|
609
|
+
* @param fullName Complete human-readable name of the token
|
|
610
|
+
* @param contractAddress Contract address of this token
|
|
611
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
612
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
613
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
614
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
615
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
616
|
+
*/
|
|
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>;
|
|
618
|
+
/**
|
|
619
|
+
* Factory function for nonstandard token instances.
|
|
620
|
+
*
|
|
621
|
+
* @param id uuid v4
|
|
279
622
|
* @param name unique identifier of the token
|
|
280
623
|
* @param fullName Complete human-readable name of the token
|
|
281
624
|
* @param contractAddress Contract address of this token
|
|
282
625
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
283
626
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
284
627
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
285
|
-
* @param network? Optional token network. Defaults to
|
|
628
|
+
* @param network? Optional token network. Defaults to Ethereum main network.
|
|
629
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
286
630
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
287
631
|
*/
|
|
288
|
-
export declare function
|
|
632
|
+
export declare function nonstandardToken(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<ContractAddressDefinedToken>;
|
|
289
633
|
/**
|
|
290
634
|
* Factory function for erc1155 token instances.
|
|
291
635
|
*
|
|
636
|
+
* @param id uuid v4
|
|
292
637
|
* @param name unique identifier of the token
|
|
293
638
|
* @param fullName Complete human-readable name of the token
|
|
294
639
|
* @param contractAddress Contract address of this token
|
|
@@ -299,23 +644,25 @@ export declare function terc721(name: string, fullName: string, contractAddress:
|
|
|
299
644
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
300
645
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
301
646
|
*/
|
|
302
|
-
export declare function erc1155(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
647
|
+
export declare function erc1155(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
303
648
|
/**
|
|
304
649
|
* Factory function for testnet erc1155 token instances.
|
|
305
650
|
*
|
|
651
|
+
* @param id uuid v4
|
|
306
652
|
* @param name unique identifier of the token
|
|
307
653
|
* @param fullName Complete human-readable name of the token
|
|
308
654
|
* @param contractAddress Contract address of this token
|
|
309
655
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
310
656
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
311
657
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
312
|
-
* @param network? Optional token network. Defaults to
|
|
658
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
313
659
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
314
660
|
*/
|
|
315
|
-
export declare function terc1155(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
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>;
|
|
316
662
|
/**
|
|
317
663
|
* Factory function for ERC20-compatible account coin instances.
|
|
318
664
|
*
|
|
665
|
+
* @param id uuid v4
|
|
319
666
|
* @param name unique identifier of the token
|
|
320
667
|
* @param fullName Complete human-readable name of the token
|
|
321
668
|
* @param network Network object for this coin
|
|
@@ -327,39 +674,42 @@ export declare function terc1155(name: string, fullName: string, contractAddress
|
|
|
327
674
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
328
675
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
329
676
|
*/
|
|
330
|
-
export declare function erc20CompatibleAccountCoin(name: string, fullName: string, network: EthereumNetwork, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, baseUnit: BaseUnit, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<Erc20CompatibleAccountCoin>;
|
|
677
|
+
export declare function erc20CompatibleAccountCoin(id: string, name: string, fullName: string, network: EthereumNetwork, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, baseUnit: BaseUnit, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<Erc20CompatibleAccountCoin>;
|
|
331
678
|
/**
|
|
332
679
|
* Factory function for celo token instances.
|
|
333
680
|
*
|
|
681
|
+
* @param id uuid v4
|
|
334
682
|
* @param name unique identifier of the token
|
|
335
683
|
* @param fullName Complete human-readable name of the token
|
|
336
684
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
337
685
|
* @param contractAddress Contract address of this token
|
|
338
|
-
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
339
|
-
* @param prefix? Optional token prefix. Defaults to empty string
|
|
340
|
-
* @param suffix? Optional token suffix. Defaults to token name.
|
|
341
|
-
* @param network? Optional token network. Defaults to CELO main network.
|
|
342
|
-
* @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
|
|
343
691
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
344
692
|
*/
|
|
345
|
-
export declare function celoToken(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<CeloCoin>;
|
|
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>;
|
|
346
694
|
/**
|
|
347
695
|
* Factory function for testnet celo token instances.
|
|
348
696
|
*
|
|
697
|
+
* @param id uuid v4
|
|
349
698
|
* @param name unique identifier of the token
|
|
350
699
|
* @param fullName Complete human-readable name of the token
|
|
351
700
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
352
701
|
* @param contractAddress Contract address of this token
|
|
353
702
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
354
|
-
* @param
|
|
355
|
-
* @param
|
|
356
|
-
* @param
|
|
357
|
-
* @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.
|
|
358
707
|
*/
|
|
359
|
-
export declare function tceloToken(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork): Readonly<CeloCoin>;
|
|
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>;
|
|
360
709
|
/**
|
|
361
710
|
* Factory function for celo token instances.
|
|
362
711
|
*
|
|
712
|
+
* @param id uuid v4
|
|
363
713
|
* @param name unique identifier of the token
|
|
364
714
|
* @param fullName Complete human-readable name of the token
|
|
365
715
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -371,10 +721,11 @@ export declare function tceloToken(name: string, fullName: string, decimalPlaces
|
|
|
371
721
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
372
722
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
373
723
|
*/
|
|
374
|
-
export declare function bscToken(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<BscCoin>;
|
|
724
|
+
export declare function bscToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<BscCoin>;
|
|
375
725
|
/**
|
|
376
726
|
* Factory function for testnet bsc token instances.
|
|
377
727
|
*
|
|
728
|
+
* @param id uuid v4
|
|
378
729
|
* @param name unique identifier of the token
|
|
379
730
|
* @param fullName Complete human-readable name of the token
|
|
380
731
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -385,10 +736,11 @@ export declare function bscToken(name: string, fullName: string, decimalPlaces:
|
|
|
385
736
|
* @param network? Optional token network. Defaults to the testnet BSC network.
|
|
386
737
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
387
738
|
*/
|
|
388
|
-
export declare function tbscToken(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork): Readonly<BscCoin>;
|
|
739
|
+
export declare function tbscToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork): Readonly<BscCoin>;
|
|
389
740
|
/**
|
|
390
741
|
* Factory function for Stellar token instances.
|
|
391
742
|
*
|
|
743
|
+
* @param id uuid v4
|
|
392
744
|
* @param name unique identifier of the token
|
|
393
745
|
* @param fullName Complete human-readable name of the token
|
|
394
746
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -401,10 +753,11 @@ export declare function tbscToken(name: string, fullName: string, decimalPlaces:
|
|
|
401
753
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
402
754
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
403
755
|
*/
|
|
404
|
-
export declare function stellarToken(name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, domain?: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<StellarCoin>;
|
|
756
|
+
export declare function stellarToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, domain?: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<StellarCoin>;
|
|
405
757
|
/**
|
|
406
758
|
* Factory function for testnet Stellar token instances.
|
|
407
759
|
*
|
|
760
|
+
* @param id uuid v4
|
|
408
761
|
* @param name unique identifier of the token
|
|
409
762
|
* @param fullName Complete human-readable name of the token
|
|
410
763
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -416,10 +769,11 @@ export declare function stellarToken(name: string, fullName: string, decimalPlac
|
|
|
416
769
|
* @param network? Optional token network. Defaults to Stellar testnet.
|
|
417
770
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
418
771
|
*/
|
|
419
|
-
export declare function tstellarToken(name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, domain?: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<StellarCoin>;
|
|
772
|
+
export declare function tstellarToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, domain?: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<StellarCoin>;
|
|
420
773
|
/**
|
|
421
774
|
* Factory function for tron token instances.
|
|
422
775
|
*
|
|
776
|
+
* @param id uuid v4
|
|
423
777
|
* @param name unique identifier of the token
|
|
424
778
|
* @param fullName Complete human-readable name of the token
|
|
425
779
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -431,10 +785,11 @@ export declare function tstellarToken(name: string, fullName: string, decimalPla
|
|
|
431
785
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
432
786
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
433
787
|
*/
|
|
434
|
-
export declare function tronToken(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: TronNetwork, primaryKeyCurve?: KeyCurve): Readonly<TronErc20Coin>;
|
|
788
|
+
export declare function tronToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: TronNetwork, primaryKeyCurve?: KeyCurve): Readonly<TronErc20Coin>;
|
|
435
789
|
/**
|
|
436
790
|
* Factory function for testnet tron token instances.
|
|
437
791
|
*
|
|
792
|
+
* @param id uuid v4
|
|
438
793
|
* @param name unique identifier of the token
|
|
439
794
|
* @param fullName Complete human-readable name of the token
|
|
440
795
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -446,10 +801,11 @@ export declare function tronToken(name: string, fullName: string, decimalPlaces:
|
|
|
446
801
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
447
802
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
448
803
|
*/
|
|
449
|
-
export declare function ttronToken(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: TronNetwork, primaryKeyCurve?: KeyCurve): Readonly<TronErc20Coin>;
|
|
804
|
+
export declare function ttronToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: TronNetwork, primaryKeyCurve?: KeyCurve): Readonly<TronErc20Coin>;
|
|
450
805
|
/**
|
|
451
806
|
* Factory function for Hedera coin instances
|
|
452
807
|
*
|
|
808
|
+
* @param id uuid v4
|
|
453
809
|
* @param name unique identifier of the coin
|
|
454
810
|
* @param fullName Complete human-readable name of the token
|
|
455
811
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -461,32 +817,35 @@ export declare function ttronToken(name: string, fullName: string, decimalPlaces
|
|
|
461
817
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
462
818
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
463
819
|
*/
|
|
464
|
-
export declare function hederaCoin(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>;
|
|
465
821
|
/**
|
|
466
822
|
* Factory function for Hedera token instances
|
|
467
823
|
*
|
|
824
|
+
* @param id uuid v4
|
|
468
825
|
* @param name unique identifier of the coin
|
|
469
826
|
* @param fullName Complete human-readable name of the token
|
|
470
827
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
471
828
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
472
829
|
* @param nodeAccountId node account Id from which the transaction will be sent
|
|
473
830
|
* @param tokenId The unique identifier of this token
|
|
831
|
+
* @param contractAddress Contract address of this token, same as tokenId
|
|
474
832
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
475
833
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
476
834
|
* @param network? Optional token network. Defaults to Hedera mainnet.
|
|
477
835
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
478
836
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
479
837
|
*/
|
|
480
|
-
export declare function hederaToken(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>;
|
|
481
839
|
/**
|
|
482
840
|
* Factory function for ALGO token instances.
|
|
483
841
|
*
|
|
842
|
+
* @param id uuid v4
|
|
484
843
|
* @param name unique identifier of the token
|
|
844
|
+
|
|
485
845
|
* @param alias (optional) alternative identifier of the token
|
|
486
846
|
* @param fullName Complete human-readable name of the token
|
|
487
847
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
488
848
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
489
|
-
* @param tokenURL Optional asset Url for more informationa about the asset
|
|
490
849
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
491
850
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
492
851
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -494,30 +853,32 @@ export declare function hederaToken(name: string, fullName: string, network: Acc
|
|
|
494
853
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
495
854
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
496
855
|
*/
|
|
497
|
-
export declare function algoToken(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>;
|
|
498
857
|
/**
|
|
499
858
|
* Factory function for testnet ALGO token instances.
|
|
500
859
|
*
|
|
860
|
+
* @param id uuid v4
|
|
501
861
|
* @param name unique identifier of the token
|
|
502
862
|
* @param alias (optional) alternative identifier of the token
|
|
503
863
|
* @param fullName Complete human-readable name of the token
|
|
504
864
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
505
865
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
506
|
-
* @param tokenURL Optional asset Url for more informationa about the asset
|
|
507
866
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
508
867
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
509
868
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
510
869
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
511
870
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
512
871
|
*/
|
|
513
|
-
export declare function talgoToken(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>;
|
|
514
873
|
/**
|
|
515
874
|
* Factory function for eos token instances.
|
|
516
875
|
*
|
|
876
|
+
* @param id uuid v4
|
|
517
877
|
* @param name unique identifier of the token
|
|
518
878
|
* @param fullName Complete human-readable name of the token
|
|
519
879
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
520
880
|
* @param contractName Contract address of this token
|
|
881
|
+
* @param contractAddress Contract address of this token
|
|
521
882
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
522
883
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
523
884
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -525,28 +886,33 @@ export declare function talgoToken(name: string, alias: string | undefined, full
|
|
|
525
886
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
526
887
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
527
888
|
*/
|
|
528
|
-
export declare function eosToken(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>;
|
|
529
890
|
/**
|
|
530
891
|
* Factory function for testnet eos token instances.
|
|
531
892
|
*
|
|
893
|
+
* @param id uuid v4
|
|
532
894
|
* @param name unique identifier of the token
|
|
533
895
|
* @param fullName Complete human-readable name of the token
|
|
534
896
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
897
|
+
* @param contractName Contract address of this token
|
|
535
898
|
* @param contractAddress Contract address of this token
|
|
536
899
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
537
900
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
538
901
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
902
|
+
* @param symbol? token symbol as defined in token contract.
|
|
539
903
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
540
904
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
541
905
|
*/
|
|
542
|
-
export declare function teosToken(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>;
|
|
543
907
|
/**
|
|
544
908
|
* Factory function for sol token instances.
|
|
545
909
|
*
|
|
910
|
+
* @param id uuid v4
|
|
546
911
|
* @param name unique identifier of the token
|
|
547
912
|
* @param fullName Complete human-readable name of the token
|
|
548
913
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
549
914
|
* @param tokenAddress Token address of this token
|
|
915
|
+
* @param contractAddress Contract address of this token
|
|
550
916
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
551
917
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
552
918
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -554,10 +920,11 @@ export declare function teosToken(name: string, fullName: string, decimalPlaces:
|
|
|
554
920
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
555
921
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
556
922
|
*/
|
|
557
|
-
export declare function solToken(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>;
|
|
558
924
|
/**
|
|
559
925
|
* Factory function for testnet solana token instances.
|
|
560
926
|
*
|
|
927
|
+
* @param id uuid v4
|
|
561
928
|
* @param name unique identifier of the token
|
|
562
929
|
* @param fullName Complete human-readable name of the token
|
|
563
930
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -568,39 +935,46 @@ export declare function solToken(name: string, fullName: string, decimalPlaces:
|
|
|
568
935
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
569
936
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
570
937
|
*/
|
|
571
|
-
export declare function tsolToken(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>;
|
|
572
939
|
/**
|
|
573
|
-
* Factory function for
|
|
940
|
+
* Factory function for prod cardano token instances.
|
|
574
941
|
*
|
|
575
|
-
* @param
|
|
942
|
+
* @param id uuid v4
|
|
943
|
+
* @param name Name of the token
|
|
576
944
|
* @param fullName Complete human-readable name of the token
|
|
577
945
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
578
|
-
* @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
|
|
579
949
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
580
950
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
581
951
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
582
|
-
* @param network? Optional token network. Defaults to Cardano
|
|
952
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
583
953
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
584
954
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
585
955
|
*/
|
|
586
|
-
export declare function adaToken(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>;
|
|
587
957
|
/**
|
|
588
958
|
* Factory function for testnet cardano token instances.
|
|
589
959
|
*
|
|
590
|
-
* @param
|
|
960
|
+
* @param id uuid v4
|
|
961
|
+
* @param name Name of the token
|
|
591
962
|
* @param fullName Complete human-readable name of the token
|
|
592
963
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
593
|
-
* @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
|
|
594
967
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
595
968
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
596
969
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
597
970
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
598
971
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
599
972
|
*/
|
|
600
|
-
export declare function tadaToken(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>;
|
|
601
974
|
/**
|
|
602
975
|
* Factory function for avaxErc20 token instances.
|
|
603
976
|
*
|
|
977
|
+
* @param id uuid v4
|
|
604
978
|
* @param name unique identifier of the token
|
|
605
979
|
* @param fullName Complete human-readable name of the token
|
|
606
980
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -612,10 +986,11 @@ export declare function tadaToken(name: string, fullName: string, decimalPlaces:
|
|
|
612
986
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
613
987
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
614
988
|
*/
|
|
615
|
-
export declare function avaxErc20(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AvaxERC20Token>;
|
|
989
|
+
export declare function avaxErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AvaxERC20Token>;
|
|
616
990
|
/**
|
|
617
991
|
* Factory function for testnet avaxErc20 token instances.
|
|
618
992
|
*
|
|
993
|
+
* @param id uuid v4
|
|
619
994
|
* @param name unique identifier of the token
|
|
620
995
|
* @param fullName Complete human-readable name of the token
|
|
621
996
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -627,10 +1002,11 @@ export declare function avaxErc20(name: string, fullName: string, decimalPlaces:
|
|
|
627
1002
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
628
1003
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
629
1004
|
*/
|
|
630
|
-
export declare function tavaxErc20(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AvaxERC20Token>;
|
|
1005
|
+
export declare function tavaxErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AvaxERC20Token>;
|
|
631
1006
|
/**
|
|
632
1007
|
* Factory function for polygonErc20 token instances.
|
|
633
1008
|
*
|
|
1009
|
+
* @param id uuid v4
|
|
634
1010
|
* @param name unique identifier of the token
|
|
635
1011
|
* @param fullName Complete human-readable name of the token
|
|
636
1012
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -642,10 +1018,11 @@ export declare function tavaxErc20(name: string, fullName: string, decimalPlaces
|
|
|
642
1018
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
643
1019
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
644
1020
|
*/
|
|
645
|
-
export declare function polygonErc20(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<PolygonERC20Token>;
|
|
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>;
|
|
646
1022
|
/**
|
|
647
|
-
* Factory function for
|
|
1023
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
648
1024
|
*
|
|
1025
|
+
* @param id uuid v4
|
|
649
1026
|
* @param name unique identifier of the token
|
|
650
1027
|
* @param fullName Complete human-readable name of the token
|
|
651
1028
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
@@ -657,21 +1034,757 @@ export declare function polygonErc20(name: string, fullName: string, decimalPlac
|
|
|
657
1034
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
658
1035
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
659
1036
|
*/
|
|
660
|
-
export declare function tpolygonErc20(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<PolygonERC20Token>;
|
|
1037
|
+
export declare function tpolygonErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<PolygonERC20Token>;
|
|
661
1038
|
/**
|
|
662
|
-
* Factory function for
|
|
1039
|
+
* Factory function for arbethErc20 token instances.
|
|
663
1040
|
*
|
|
664
|
-
* @param
|
|
665
|
-
* @param
|
|
666
|
-
* @param
|
|
667
|
-
* @param decimalPlaces Number of decimal places this
|
|
1041
|
+
* @param id uuid v4
|
|
1042
|
+
* @param name unique identifier of the token
|
|
1043
|
+
* @param fullName Complete human-readable name of the token
|
|
1044
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1045
|
+
* @param contractAddress Contract address of this token
|
|
668
1046
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
669
|
-
* @param
|
|
670
|
-
* @param
|
|
671
|
-
* @param
|
|
672
|
-
* @param
|
|
673
|
-
* @param
|
|
1047
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1048
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1049
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
1050
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1051
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1052
|
+
*/
|
|
1053
|
+
export declare function arbethErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<ArbethERC20Token>;
|
|
1054
|
+
/**
|
|
1055
|
+
* Factory function for Arbitrum Sepolia testnet arbethErc20 token instances.
|
|
1056
|
+
*
|
|
1057
|
+
* @param id uuid v4
|
|
1058
|
+
* @param name unique identifier of the token
|
|
1059
|
+
* @param fullName Complete human-readable name of the token
|
|
1060
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1061
|
+
* @param contractAddress Contract address of this token
|
|
1062
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1063
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1064
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1065
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
1066
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1067
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1068
|
+
*/
|
|
1069
|
+
export declare function 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>;
|
|
1070
|
+
/**
|
|
1071
|
+
* Factory function for opethErc20 token instances.
|
|
1072
|
+
*
|
|
1073
|
+
* @param id uuid v4
|
|
1074
|
+
* @param name unique identifier of the token
|
|
1075
|
+
* @param fullName Complete human-readable name of the token
|
|
1076
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1077
|
+
* @param contractAddress Contract address of this token
|
|
1078
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1079
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1080
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1081
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
1082
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1083
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1084
|
+
*/
|
|
1085
|
+
export declare function 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>;
|
|
1086
|
+
/**
|
|
1087
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
1088
|
+
*
|
|
1089
|
+
* @param id uuid v4
|
|
1090
|
+
* @param name unique identifier of the token
|
|
1091
|
+
* @param fullName Complete human-readable name of the token
|
|
1092
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1093
|
+
* @param contractAddress Contract address of this token
|
|
1094
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1095
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1096
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1097
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
1098
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1099
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1100
|
+
*/
|
|
1101
|
+
export declare function 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>;
|
|
1102
|
+
/**
|
|
1103
|
+
* Factory function for zkethErc20 token instances.
|
|
1104
|
+
*
|
|
1105
|
+
* @param id uuid v4
|
|
1106
|
+
* @param name unique identifier of the token
|
|
1107
|
+
* @param fullName Complete human-readable name of the token
|
|
1108
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1109
|
+
* @param contractAddress Contract address of this token
|
|
1110
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1111
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1112
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1113
|
+
* @param network? Optional token network. Defaults to 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
|
|
1116
|
+
*/
|
|
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
|
|
674
1787
|
*/
|
|
675
|
-
export declare function
|
|
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>;
|
|
676
1789
|
export {};
|
|
677
1790
|
//# sourceMappingURL=account.d.ts.map
|