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