@bitgo-beta/statics 15.1.1-beta.176 → 15.1.1-beta.1760
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 +1097 -75
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +1725 -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 +1569 -0
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +9 -3
- package/dist/src/base.d.ts +2417 -53
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +2523 -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 +115 -0
- package/dist/src/coinFeatures.d.ts.map +1 -0
- package/dist/src/coinFeatures.js +754 -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 +212 -0
- package/dist/src/coins/cantonTokens.d.ts +2 -0
- package/dist/src/coins/cantonTokens.d.ts.map +1 -0
- package/dist/src/coins/cantonTokens.js +18 -0
- package/dist/src/coins/cosmosTokens.d.ts +2 -0
- package/dist/src/coins/cosmosTokens.d.ts.map +1 -0
- package/dist/src/coins/cosmosTokens.js +14 -0
- package/dist/src/coins/erc20Coins.d.ts +2 -0
- package/dist/src/coins/erc20Coins.d.ts.map +1 -0
- package/dist/src/coins/erc20Coins.js +2039 -0
- package/dist/src/coins/erc7984Tokens.d.ts +16 -0
- package/dist/src/coins/erc7984Tokens.d.ts.map +1 -0
- package/dist/src/coins/erc7984Tokens.js +33 -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 +1086 -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 +1807 -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 +194 -0
- package/dist/src/coins/polyxTokens.d.ts +2 -0
- package/dist/src/coins/polyxTokens.d.ts.map +1 -0
- package/dist/src/coins/polyxTokens.js +22 -0
- package/dist/src/coins/sip10Tokens.d.ts +2 -0
- package/dist/src/coins/sip10Tokens.d.ts.map +1 -0
- package/dist/src/coins/sip10Tokens.js +25 -0
- package/dist/src/coins/solTokens.d.ts +3 -0
- package/dist/src/coins/solTokens.d.ts.map +1 -0
- package/dist/src/coins/solTokens.js +476 -0
- package/dist/src/coins/vetTokens.d.ts +2 -0
- package/dist/src/coins/vetTokens.d.ts.map +1 -0
- package/dist/src/coins/vetTokens.js +11 -0
- package/dist/src/coins.d.ts +22 -1
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +442 -1691
- 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 +35 -0
- package/dist/src/kaspa.d.ts.map +1 -0
- package/dist/src/kaspa.js +63 -0
- package/dist/src/lightning.d.ts +43 -0
- package/dist/src/lightning.d.ts.map +1 -0
- package/dist/src/lightning.js +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 +1882 -61
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +2316 -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 +675 -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,88 @@ 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 AccountCoinToken {
|
|
502
|
+
contractAddress: string;
|
|
503
|
+
constructor(options: Tip20TokenConstructorOptions);
|
|
504
|
+
}
|
|
243
505
|
/**
|
|
244
506
|
* Factory function for account coin instances.
|
|
245
507
|
*
|
|
@@ -256,6 +518,56 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
256
518
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
257
519
|
*/
|
|
258
520
|
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>;
|
|
521
|
+
/**
|
|
522
|
+
* Factory function for gas tank account coin instances.
|
|
523
|
+
*
|
|
524
|
+
* @param id uuid v4
|
|
525
|
+
* @param name unique identifier of the coin
|
|
526
|
+
* @param fullName Complete human-readable name of the coin
|
|
527
|
+
* @param network Network object for this coin
|
|
528
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
529
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
530
|
+
* @param baseUnit
|
|
531
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
532
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
533
|
+
* @param gasTankLowBalanceAlertFactor Low gas tank balance alert threshold = (feeEstimate x gasTankLowBalanceAlertFactor)
|
|
534
|
+
* @param gasTankMinBalanceRecommendationFactor Min gas tank balance recommendation = (feeEstimate x gasTankMinBalanceRecommendationFactor)
|
|
535
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
536
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
537
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
538
|
+
*/
|
|
539
|
+
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>;
|
|
540
|
+
/**
|
|
541
|
+
* Factory function for ethLikeErc20 token instances.
|
|
542
|
+
*
|
|
543
|
+
* @param id uuid v4
|
|
544
|
+
* @param name unique identifier of the token
|
|
545
|
+
* @param fullName Complete human-readable name of the token
|
|
546
|
+
* @param decimalPlaces Number of decimal places this token supports
|
|
547
|
+
* @param contractAddress Contract address of this token
|
|
548
|
+
* @param asset Asset which this coin represents
|
|
549
|
+
* @param network Optional token network
|
|
550
|
+
* @param coinNames The parent coin names for mainnet and testnet
|
|
551
|
+
* @param features Features of this coin
|
|
552
|
+
* @param prefix Optional token prefix
|
|
553
|
+
* @param suffix Optional token suffix
|
|
554
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
555
|
+
*/
|
|
556
|
+
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>;
|
|
557
|
+
/**
|
|
558
|
+
* Factory function for erc721 token instances.
|
|
559
|
+
*
|
|
560
|
+
* @param id uuid v4
|
|
561
|
+
* @param name unique identifier of the token
|
|
562
|
+
* @param fullName Complete human-readable name of the token
|
|
563
|
+
* @param contractAddress Contract address of this token
|
|
564
|
+
* @param network network
|
|
565
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
566
|
+
* @param prefix Optional token prefix
|
|
567
|
+
* @param suffix Optional token suffix
|
|
568
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
569
|
+
*/
|
|
570
|
+
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
571
|
/**
|
|
260
572
|
* Factory function for erc20 token instances.
|
|
261
573
|
*
|
|
@@ -287,6 +599,41 @@ export declare function erc20(id: string, name: string, fullName: string, decima
|
|
|
287
599
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
288
600
|
*/
|
|
289
601
|
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>;
|
|
602
|
+
/**
|
|
603
|
+
* Factory function for ERC-7984 confidential token instances (Zama fhEVM).
|
|
604
|
+
*
|
|
605
|
+
* ERC-7984 tokens store balances as FHE-encrypted ciphertexts. Transfers use
|
|
606
|
+
* confidentialTransfer() and balance reads require ACL delegation to BitGo.
|
|
607
|
+
*
|
|
608
|
+
* @param id uuid v4
|
|
609
|
+
* @param name unique identifier of the token (e.g. 'eth:ctkn')
|
|
610
|
+
* @param fullName Complete human-readable name of the token
|
|
611
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
612
|
+
* @param contractAddress Contract address of this token
|
|
613
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
614
|
+
* @param features? Features of this coin. Defaults to ERC7984_TOKEN_FEATURES
|
|
615
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
616
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
617
|
+
* @param network? Optional token network. Defaults to Ethereum main network.
|
|
618
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
619
|
+
*/
|
|
620
|
+
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>;
|
|
621
|
+
/**
|
|
622
|
+
* Factory function for testnet ERC-7984 confidential token instances (Zama fhEVM).
|
|
623
|
+
*
|
|
624
|
+
* @param id uuid v4
|
|
625
|
+
* @param name unique identifier of the token (e.g. 'hteth:ctkn')
|
|
626
|
+
* @param fullName Complete human-readable name of the token
|
|
627
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
628
|
+
* @param contractAddress Contract address of this token
|
|
629
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
630
|
+
* @param features? Features of this coin. Defaults to ERC7984_TOKEN_FEATURES
|
|
631
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
632
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
633
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
634
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
635
|
+
*/
|
|
636
|
+
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
637
|
/**
|
|
291
638
|
* Factory function for erc721 token instances.
|
|
292
639
|
*
|
|
@@ -312,7 +659,7 @@ export declare function erc721(id: string, name: string, fullName: string, contr
|
|
|
312
659
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
313
660
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
314
661
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
315
|
-
* @param network? Optional token network. Defaults to
|
|
662
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
316
663
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
317
664
|
*/
|
|
318
665
|
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 +703,7 @@ export declare function erc1155(id: string, name: string, fullName: string, cont
|
|
|
356
703
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
357
704
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
358
705
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
359
|
-
* @param network? Optional token network. Defaults to
|
|
706
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
360
707
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
361
708
|
*/
|
|
362
709
|
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 +731,11 @@ export declare function erc20CompatibleAccountCoin(id: string, name: string, ful
|
|
|
384
731
|
* @param fullName Complete human-readable name of the token
|
|
385
732
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
386
733
|
* @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
|
|
734
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
735
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
736
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
737
|
+
* @param network ? Optional token network. Defaults to CELO main network.
|
|
738
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
392
739
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
393
740
|
*/
|
|
394
741
|
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 +748,10 @@ export declare function celoToken(id: string, name: string, fullName: string, de
|
|
|
401
748
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
402
749
|
* @param contractAddress Contract address of this token
|
|
403
750
|
* @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
|
|
751
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
752
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
753
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
754
|
+
* @param network ? Optional token network. Defaults to the testnet CELO network.
|
|
408
755
|
*/
|
|
409
756
|
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
757
|
/**
|
|
@@ -518,7 +865,7 @@ export declare function ttronToken(id: string, name: string, fullName: string, d
|
|
|
518
865
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
519
866
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
520
867
|
*/
|
|
521
|
-
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
868
|
+
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
869
|
/**
|
|
523
870
|
* Factory function for Hedera token instances
|
|
524
871
|
*
|
|
@@ -529,13 +876,14 @@ export declare function hederaCoin(id: string, name: string, fullName: string, n
|
|
|
529
876
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
530
877
|
* @param nodeAccountId node account Id from which the transaction will be sent
|
|
531
878
|
* @param tokenId The unique identifier of this token
|
|
879
|
+
* @param contractAddress Contract address of this token, same as tokenId
|
|
532
880
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
533
881
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
534
882
|
* @param network? Optional token network. Defaults to Hedera mainnet.
|
|
535
883
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
536
884
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
537
885
|
*/
|
|
538
|
-
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
886
|
+
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
887
|
/**
|
|
540
888
|
* Factory function for ALGO token instances.
|
|
541
889
|
*
|
|
@@ -546,7 +894,6 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
546
894
|
* @param fullName Complete human-readable name of the token
|
|
547
895
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
548
896
|
* @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
897
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
551
898
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
552
899
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -554,7 +901,7 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
554
901
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
555
902
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
556
903
|
*/
|
|
557
|
-
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
904
|
+
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
905
|
/**
|
|
559
906
|
* Factory function for testnet ALGO token instances.
|
|
560
907
|
*
|
|
@@ -564,14 +911,13 @@ export declare function algoToken(id: string, name: string, alias: string | unde
|
|
|
564
911
|
* @param fullName Complete human-readable name of the token
|
|
565
912
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
566
913
|
* @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
914
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
569
915
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
570
916
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
571
917
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
572
918
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
573
919
|
*/
|
|
574
|
-
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
920
|
+
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
921
|
/**
|
|
576
922
|
* Factory function for eos token instances.
|
|
577
923
|
*
|
|
@@ -580,6 +926,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
580
926
|
* @param fullName Complete human-readable name of the token
|
|
581
927
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
582
928
|
* @param contractName Contract address of this token
|
|
929
|
+
* @param contractAddress Contract address of this token
|
|
583
930
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
584
931
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
585
932
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -587,7 +934,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
587
934
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
588
935
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
589
936
|
*/
|
|
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>;
|
|
937
|
+
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
938
|
/**
|
|
592
939
|
* Factory function for testnet eos token instances.
|
|
593
940
|
*
|
|
@@ -595,14 +942,16 @@ export declare function eosToken(id: string, name: string, fullName: string, dec
|
|
|
595
942
|
* @param name unique identifier of the token
|
|
596
943
|
* @param fullName Complete human-readable name of the token
|
|
597
944
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
945
|
+
* @param contractName Contract address of this token
|
|
598
946
|
* @param contractAddress Contract address of this token
|
|
599
947
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
600
948
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
601
949
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
950
|
+
* @param symbol? token symbol as defined in token contract.
|
|
602
951
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
603
952
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
604
953
|
*/
|
|
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>;
|
|
954
|
+
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
955
|
/**
|
|
607
956
|
* Factory function for sol token instances.
|
|
608
957
|
*
|
|
@@ -611,6 +960,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
611
960
|
* @param fullName Complete human-readable name of the token
|
|
612
961
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
613
962
|
* @param tokenAddress Token address of this token
|
|
963
|
+
* @param contractAddress Contract address of this token
|
|
614
964
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
615
965
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
616
966
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -618,7 +968,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
618
968
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
619
969
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
620
970
|
*/
|
|
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>;
|
|
971
|
+
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
972
|
/**
|
|
623
973
|
* Factory function for testnet solana token instances.
|
|
624
974
|
*
|
|
@@ -633,38 +983,42 @@ export declare function solToken(id: string, name: string, fullName: string, dec
|
|
|
633
983
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
634
984
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
635
985
|
*/
|
|
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>;
|
|
986
|
+
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
987
|
/**
|
|
638
|
-
* Factory function for
|
|
988
|
+
* Factory function for prod cardano token instances.
|
|
639
989
|
*
|
|
640
990
|
* @param id uuid v4
|
|
641
|
-
* @param name
|
|
991
|
+
* @param name Name of the token
|
|
642
992
|
* @param fullName Complete human-readable name of the token
|
|
643
993
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
644
|
-
* @param
|
|
994
|
+
* @param policyId Policy Id
|
|
995
|
+
* @param assetName Asset name -> Policy ID + Asset name is the unique identifier
|
|
996
|
+
* @param contractAddress Fingerprint of this token
|
|
645
997
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
646
998
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
647
999
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
648
|
-
* @param network? Optional token network. Defaults to Cardano
|
|
1000
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
649
1001
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
650
1002
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
651
1003
|
*/
|
|
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<
|
|
1004
|
+
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
1005
|
/**
|
|
654
1006
|
* Factory function for testnet cardano token instances.
|
|
655
1007
|
*
|
|
656
1008
|
* @param id uuid v4
|
|
657
|
-
* @param name
|
|
1009
|
+
* @param name Name of the token
|
|
658
1010
|
* @param fullName Complete human-readable name of the token
|
|
659
1011
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
660
|
-
* @param
|
|
1012
|
+
* @param policyId Policy Id
|
|
1013
|
+
* @param assetName Asset name -> Policy ID + Asset name is the unique identifier
|
|
1014
|
+
* @param contractAddress Fingerprint of this token
|
|
661
1015
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
662
1016
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
663
1017
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
664
1018
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
665
1019
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
666
1020
|
*/
|
|
667
|
-
export declare function tadaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, asset: UnderlyingAsset, features?: CoinFeature[],
|
|
1021
|
+
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
1022
|
/**
|
|
669
1023
|
* Factory function for avaxErc20 token instances.
|
|
670
1024
|
*
|
|
@@ -714,7 +1068,7 @@ export declare function tavaxErc20(id: string, name: string, fullName: string, d
|
|
|
714
1068
|
*/
|
|
715
1069
|
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
1070
|
/**
|
|
717
|
-
* Factory function for
|
|
1071
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
718
1072
|
*
|
|
719
1073
|
* @param id uuid v4
|
|
720
1074
|
* @param name unique identifier of the token
|
|
@@ -740,7 +1094,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
740
1094
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
741
1095
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
742
1096
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
743
|
-
* @param network? Optional token network. Defaults to
|
|
1097
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
744
1098
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
745
1099
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
746
1100
|
*/
|
|
@@ -756,61 +1110,729 @@ export declare function arbethErc20(id: string, name: string, fullName: string,
|
|
|
756
1110
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
757
1111
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
758
1112
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
759
|
-
* @param network? Optional token network. Defaults to the
|
|
1113
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
760
1114
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
761
1115
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
762
1116
|
*/
|
|
763
1117
|
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
1118
|
/**
|
|
765
|
-
* Factory function for
|
|
1119
|
+
* Factory function for opethErc20 token instances.
|
|
766
1120
|
*
|
|
767
1121
|
* @param id uuid v4
|
|
768
1122
|
* @param name unique identifier of the token
|
|
769
1123
|
* @param fullName Complete human-readable name of the token
|
|
770
1124
|
* @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,
|
|
1125
|
+
* @param contractAddress Contract address of this token
|
|
774
1126
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
775
1127
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
776
1128
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
777
|
-
* @param network? Optional token network. Defaults to
|
|
1129
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
778
1130
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
779
1131
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
780
1132
|
*/
|
|
781
|
-
export declare function
|
|
1133
|
+
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
1134
|
/**
|
|
783
|
-
* Factory function for testnet
|
|
1135
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
784
1136
|
*
|
|
785
1137
|
* @param id uuid v4
|
|
786
1138
|
* @param name unique identifier of the token
|
|
787
1139
|
* @param fullName Complete human-readable name of the token
|
|
788
1140
|
* @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,
|
|
1141
|
+
* @param contractAddress Contract address of this token
|
|
792
1142
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
793
1143
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
794
1144
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
795
|
-
* @param network? Optional token network. Defaults to the
|
|
1145
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
796
1146
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1147
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
797
1148
|
*/
|
|
798
|
-
export declare function
|
|
1149
|
+
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
1150
|
/**
|
|
800
|
-
* Factory function for
|
|
1151
|
+
* Factory function for zkethErc20 token instances.
|
|
801
1152
|
*
|
|
802
1153
|
* @param id uuid v4
|
|
803
|
-
* @param name unique identifier of the
|
|
804
|
-
* @param fullName Complete human-readable name of the
|
|
805
|
-
* @param
|
|
806
|
-
* @param
|
|
1154
|
+
* @param name unique identifier of the token
|
|
1155
|
+
* @param fullName Complete human-readable name of the token
|
|
1156
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1157
|
+
* @param contractAddress Contract address of this token
|
|
807
1158
|
* @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
|
|
1159
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1160
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1161
|
+
* @param network? Optional token network. Defaults to zkSync mainnet network.
|
|
1162
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1163
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
813
1164
|
*/
|
|
814
|
-
export declare function
|
|
1165
|
+
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>;
|
|
1166
|
+
/**
|
|
1167
|
+
* Factory function for zkSync Sepolia testnet zkethErc20 token instances.
|
|
1168
|
+
*
|
|
1169
|
+
* @param id uuid v4
|
|
1170
|
+
* @param name unique identifier of the token
|
|
1171
|
+
* @param fullName Complete human-readable name of the token
|
|
1172
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1173
|
+
* @param contractAddress Contract address of this token
|
|
1174
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1175
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1176
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1177
|
+
* @param network? Optional token network. Defaults to the zkSync sepolia test network.
|
|
1178
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1179
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1180
|
+
*/
|
|
1181
|
+
export declare function 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>;
|
|
1182
|
+
/**
|
|
1183
|
+
* Factory function for beraErc20 token instances.
|
|
1184
|
+
*
|
|
1185
|
+
* @param id uuid v4
|
|
1186
|
+
* @param name unique identifier of the token
|
|
1187
|
+
* @param fullName Complete human-readable name of the token
|
|
1188
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1189
|
+
* @param contractAddress Contract address of this token
|
|
1190
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1191
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1192
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1193
|
+
* @param network? Optional token network. Defaults to bera mainnet network.
|
|
1194
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1195
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1196
|
+
*/
|
|
1197
|
+
export declare function 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>;
|
|
1198
|
+
/**
|
|
1199
|
+
* Factory function for zkSync Sepolia testnet beraErc20 token instances.
|
|
1200
|
+
*
|
|
1201
|
+
* @param id uuid v4
|
|
1202
|
+
* @param name unique identifier of the token
|
|
1203
|
+
* @param fullName Complete human-readable name of the token
|
|
1204
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1205
|
+
* @param contractAddress Contract address of this token
|
|
1206
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1207
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1208
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1209
|
+
* @param network? Optional token network. Defaults to the bera test network.
|
|
1210
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1211
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1212
|
+
*/
|
|
1213
|
+
export declare function 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>;
|
|
1214
|
+
/**
|
|
1215
|
+
* Factory function for CoredaoErc20 token instances.
|
|
1216
|
+
*
|
|
1217
|
+
* @param id uuid v4
|
|
1218
|
+
* @param name unique identifier of the token
|
|
1219
|
+
* @param fullName Complete human-readable name of the token
|
|
1220
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1221
|
+
* @param contractAddress Contract address of this token
|
|
1222
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1223
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1224
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1225
|
+
* @param network? Optional token network. Defaults to coredao mainnet network.
|
|
1226
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1227
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1228
|
+
*/
|
|
1229
|
+
export declare function 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>;
|
|
1230
|
+
/**
|
|
1231
|
+
* Factory function for coredao testnet coredaoErc20 token instances.
|
|
1232
|
+
*
|
|
1233
|
+
* @param id uuid v4
|
|
1234
|
+
* @param name unique identifier of the token
|
|
1235
|
+
* @param fullName Complete human-readable name of the token
|
|
1236
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1237
|
+
* @param contractAddress Contract address of this token
|
|
1238
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1239
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1240
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1241
|
+
* @param network? Optional token network. Defaults to the coredao test network.
|
|
1242
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1243
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1244
|
+
*/
|
|
1245
|
+
export declare function 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>;
|
|
1246
|
+
/**
|
|
1247
|
+
* Factory function for WorldErc20 token instances.
|
|
1248
|
+
*
|
|
1249
|
+
* @param id uuid v4
|
|
1250
|
+
* @param name unique identifier of the token
|
|
1251
|
+
* @param fullName Complete human-readable name of the token
|
|
1252
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1253
|
+
* @param contractAddress Contract address of this token
|
|
1254
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1255
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1256
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1257
|
+
* @param network? Optional token network. Defaults to World Chain mainnet network.
|
|
1258
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1259
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1260
|
+
*/
|
|
1261
|
+
export declare function 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>;
|
|
1262
|
+
/**
|
|
1263
|
+
* Factory function for world testnet worldErc20 token instances.
|
|
1264
|
+
*
|
|
1265
|
+
* @param id uuid v4
|
|
1266
|
+
* @param name unique identifier of the token
|
|
1267
|
+
* @param fullName Complete human-readable name of the token
|
|
1268
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1269
|
+
* @param contractAddress Contract address of this token
|
|
1270
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1271
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1272
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1273
|
+
* @param network? Optional token network. Defaults to the World Chain test network.
|
|
1274
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1275
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1276
|
+
*/
|
|
1277
|
+
export declare function 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>;
|
|
1278
|
+
/**
|
|
1279
|
+
* Factory function for FlrErc20 token instances.
|
|
1280
|
+
*
|
|
1281
|
+
* @param id uuid v4
|
|
1282
|
+
* @param name unique identifier of the token
|
|
1283
|
+
* @param fullName Complete human-readable name of the token
|
|
1284
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1285
|
+
* @param contractAddress Contract address of this token
|
|
1286
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1287
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1288
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1289
|
+
* @param network? Optional token network. Defaults to Flr Chain mainnet network.
|
|
1290
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1291
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1292
|
+
*/
|
|
1293
|
+
export declare function 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>;
|
|
1294
|
+
/**
|
|
1295
|
+
* Factory function for Flr testnet FlrErc20 token instances.
|
|
1296
|
+
*
|
|
1297
|
+
* @param id uuid v4
|
|
1298
|
+
* @param name unique identifier of the token
|
|
1299
|
+
* @param fullName Complete human-readable name of the token
|
|
1300
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1301
|
+
* @param contractAddress Contract address of this token
|
|
1302
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1303
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1304
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1305
|
+
* @param network? Optional token network. Defaults to the Flr Chain test network.
|
|
1306
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1307
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1308
|
+
*/
|
|
1309
|
+
export declare function 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>;
|
|
1310
|
+
/**
|
|
1311
|
+
* Factory function for XdcErc20 token instances.
|
|
1312
|
+
*
|
|
1313
|
+
* @param id uuid v4
|
|
1314
|
+
* @param name unique identifier of the token
|
|
1315
|
+
* @param fullName Complete human-readable name of the token
|
|
1316
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1317
|
+
* @param contractAddress Contract address of this token
|
|
1318
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1319
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1320
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1321
|
+
* @param network? Optional token network. Defaults to XDC mainnet network.
|
|
1322
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1323
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1324
|
+
*/
|
|
1325
|
+
export declare function 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>;
|
|
1326
|
+
/**
|
|
1327
|
+
* Factory function for XDC testnet XdcErc20 token instances.
|
|
1328
|
+
*
|
|
1329
|
+
* @param id uuid v4
|
|
1330
|
+
* @param name unique identifier of the token
|
|
1331
|
+
* @param fullName Complete human-readable name of the token
|
|
1332
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1333
|
+
* @param contractAddress Contract address of this token
|
|
1334
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1335
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1336
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1337
|
+
* @param network? Optional token network. Defaults to the XDC test network.
|
|
1338
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1339
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1340
|
+
*/
|
|
1341
|
+
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>;
|
|
1342
|
+
/**
|
|
1343
|
+
* Factory function for MonErc20 token instances.
|
|
1344
|
+
*
|
|
1345
|
+
* @param id uuid v4
|
|
1346
|
+
* @param name unique identifier of the token
|
|
1347
|
+
* @param fullName Complete human-readable name of the token
|
|
1348
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1349
|
+
* @param contractAddress Contract address of this token
|
|
1350
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1351
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1352
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1353
|
+
* @param network? Optional token network. Defaults to Mon mainnet network.
|
|
1354
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1355
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1356
|
+
*/
|
|
1357
|
+
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>;
|
|
1358
|
+
/**
|
|
1359
|
+
* Factory function for Mon testnet MonErc20 token instances.
|
|
1360
|
+
*
|
|
1361
|
+
* @param id uuid v4
|
|
1362
|
+
* @param name unique identifier of the token
|
|
1363
|
+
* @param fullName Complete human-readable name of the token
|
|
1364
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1365
|
+
* @param contractAddress Contract address of this token
|
|
1366
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1367
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1368
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1369
|
+
* @param network? Optional token network. Defaults to the Mon test network.
|
|
1370
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1371
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1372
|
+
*/
|
|
1373
|
+
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>;
|
|
1374
|
+
/**
|
|
1375
|
+
* Factory function for xrp token instances.
|
|
1376
|
+
*
|
|
1377
|
+
* @param id uuid v4
|
|
1378
|
+
* @param name unique identifier of the token
|
|
1379
|
+
* @param fullName Complete human-readable name of the token
|
|
1380
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1381
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
1382
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1383
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
1384
|
+
* @param domain? the domain of the issuer of the token,
|
|
1385
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1386
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1387
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1388
|
+
* @param network? Optional token network. Defaults to Cardano main network.
|
|
1389
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1390
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1391
|
+
*/
|
|
1392
|
+
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>;
|
|
1393
|
+
/**
|
|
1394
|
+
* Factory function for testnet cardano token instances.
|
|
1395
|
+
*
|
|
1396
|
+
* @param id uuid v4
|
|
1397
|
+
* @param name unique identifier of the token
|
|
1398
|
+
* @param fullName Complete human-readable name of the token
|
|
1399
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1400
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
1401
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1402
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
1403
|
+
* @param domain? the domain of the issuer of the token,
|
|
1404
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1405
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1406
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1407
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
1408
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1409
|
+
*/
|
|
1410
|
+
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>;
|
|
1411
|
+
/**
|
|
1412
|
+
* Factory function for sui token instances.
|
|
1413
|
+
*
|
|
1414
|
+
* @param id uuid v4
|
|
1415
|
+
* @param name unique identifier of the token
|
|
1416
|
+
* @param fullName Complete human-readable name of the token
|
|
1417
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1418
|
+
* @param packageId PackageId of this token
|
|
1419
|
+
* @param module The module of the package with id `packageId`
|
|
1420
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1421
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1422
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1423
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1424
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1425
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1426
|
+
* @param network? Optional token network. Defaults to SUI main network.
|
|
1427
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1428
|
+
*/
|
|
1429
|
+
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>;
|
|
1430
|
+
/**
|
|
1431
|
+
* Factory function for testnet sui token instances.
|
|
1432
|
+
*
|
|
1433
|
+
* @param id uuid v4
|
|
1434
|
+
* @param name unique identifier of the token
|
|
1435
|
+
* @param fullName Complete human-readable name of the token
|
|
1436
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1437
|
+
* @param packageId PackageId of this token
|
|
1438
|
+
* @param module The module of the package with id `packageId`
|
|
1439
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1440
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1441
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1442
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1443
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1444
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1445
|
+
* @param network? Optional token network. Defaults to SUI test network.
|
|
1446
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1447
|
+
*/
|
|
1448
|
+
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>;
|
|
1449
|
+
/**
|
|
1450
|
+
* Factory function for apt token instances.
|
|
1451
|
+
*
|
|
1452
|
+
* @param id uuid v4
|
|
1453
|
+
* @param name unique identifier of the token
|
|
1454
|
+
* @param fullName Complete human-readable name of the token
|
|
1455
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1456
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1457
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1458
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1459
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1460
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1461
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1462
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1463
|
+
*/
|
|
1464
|
+
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>;
|
|
1465
|
+
/**
|
|
1466
|
+
* Factory function for Apt NFT collections.
|
|
1467
|
+
*
|
|
1468
|
+
* @param id uuid v4
|
|
1469
|
+
* @param name unique identifier of the NFT collection
|
|
1470
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1471
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1472
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1473
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1474
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1475
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1476
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1477
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1478
|
+
*/
|
|
1479
|
+
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>;
|
|
1480
|
+
/**
|
|
1481
|
+
* Factory function for testnet apt token instances.
|
|
1482
|
+
*
|
|
1483
|
+
* @param id uuid v4
|
|
1484
|
+
* @param name unique identifier of the token
|
|
1485
|
+
* @param fullName Complete human-readable name of the token
|
|
1486
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1487
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1488
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1489
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1490
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1491
|
+
* @param network Optional token network. Defaults to the testnet APT network.
|
|
1492
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1493
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1494
|
+
*/
|
|
1495
|
+
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>;
|
|
1496
|
+
/**
|
|
1497
|
+
* Factory function for testnet Apt NFT collections.
|
|
1498
|
+
*
|
|
1499
|
+
* @param id uuid v4
|
|
1500
|
+
* @param name unique identifier of the NFT collection
|
|
1501
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1502
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1503
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1504
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1505
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1506
|
+
* @param network Optional token network. Defaults to APT test network.
|
|
1507
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1508
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1509
|
+
*/
|
|
1510
|
+
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>;
|
|
1511
|
+
/**
|
|
1512
|
+
* Factory function for fiat coin instances.
|
|
1513
|
+
*
|
|
1514
|
+
* @param id uuid v4
|
|
1515
|
+
* @param name unique identifier of the coin, should start with 'fiat' or 'tfiat' followed by the 3-char ISO-4217 alphabetical code
|
|
1516
|
+
* @param fullName Complete human-readable name of the coin
|
|
1517
|
+
* @param network Network object for this coin
|
|
1518
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
1519
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1520
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `FiatCoin`
|
|
1521
|
+
* @param primaryKeyCurve? The elliptic curve for this chain/token
|
|
1522
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
1523
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
1524
|
+
* @param isToken? Whether or not this coin is a token of another coin
|
|
1525
|
+
*/
|
|
1526
|
+
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>;
|
|
1527
|
+
/**
|
|
1528
|
+
* Factory function for sip10 token instances.
|
|
1529
|
+
*
|
|
1530
|
+
* @param id uuid v4
|
|
1531
|
+
* @param name unique identifier of the token
|
|
1532
|
+
* @param fullName Complete human-readable name of the token
|
|
1533
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1534
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1535
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1536
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1537
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1538
|
+
* @param network? Optional token network. Defaults to Stacks main network.
|
|
1539
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1540
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1541
|
+
*/
|
|
1542
|
+
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>;
|
|
1543
|
+
/**
|
|
1544
|
+
* Factory function for testnet sip10 token instances.
|
|
1545
|
+
*
|
|
1546
|
+
* @param id uuid v4
|
|
1547
|
+
* @param name unique identifier of the token
|
|
1548
|
+
* @param fullName Complete human-readable name of the token
|
|
1549
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1550
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1551
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1552
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1553
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1554
|
+
* @param network? Optional token network. Defaults to the testnet Stacks network.
|
|
1555
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1556
|
+
*/
|
|
1557
|
+
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>;
|
|
1558
|
+
/**
|
|
1559
|
+
* Factory function for nep141 token instances.
|
|
1560
|
+
*
|
|
1561
|
+
* @param id uuid v4
|
|
1562
|
+
* @param name unique identifier of the token
|
|
1563
|
+
* @param fullName Complete human-readable name of the token
|
|
1564
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1565
|
+
* @param contractAddress Contract address of this token
|
|
1566
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1567
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1568
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1569
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1570
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1571
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1572
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1573
|
+
*/
|
|
1574
|
+
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>;
|
|
1575
|
+
/**
|
|
1576
|
+
* Factory function for testnet nep141 token instances.
|
|
1577
|
+
*
|
|
1578
|
+
* @param id uuid v4
|
|
1579
|
+
* @param name unique identifier of the token
|
|
1580
|
+
* @param fullName Complete human-readable name of the token
|
|
1581
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1582
|
+
* @param contractAddress Contract address of this token
|
|
1583
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1584
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1585
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1586
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1587
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1588
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1589
|
+
*/
|
|
1590
|
+
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>;
|
|
1591
|
+
/**
|
|
1592
|
+
* Factory function for vet token instances.
|
|
1593
|
+
*
|
|
1594
|
+
* @param id uuid v4
|
|
1595
|
+
* @param name unique identifier of the token
|
|
1596
|
+
* @param fullName Complete human-readable name of the token
|
|
1597
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1598
|
+
* @param contractAddress Contract address of this token
|
|
1599
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1600
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1601
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1602
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1603
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1604
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1605
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1606
|
+
*/
|
|
1607
|
+
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>;
|
|
1608
|
+
/**
|
|
1609
|
+
* Factory function for testnet vet token instances.
|
|
1610
|
+
*
|
|
1611
|
+
* @param id uuid v4
|
|
1612
|
+
* @param name unique identifier of the token
|
|
1613
|
+
* @param fullName Complete human-readable name of the token
|
|
1614
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1615
|
+
* @param contractAddress Contract address of this token
|
|
1616
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1617
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1618
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1619
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1620
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1621
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1622
|
+
*/
|
|
1623
|
+
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>;
|
|
1624
|
+
/**
|
|
1625
|
+
* Factory function for Vet NFT collections.
|
|
1626
|
+
*
|
|
1627
|
+
* @param id uuid v4
|
|
1628
|
+
* @param name unique identifier of the NFT collection
|
|
1629
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1630
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1631
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1632
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1633
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1634
|
+
* @param network Optional token network. Defaults to VET main network.
|
|
1635
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1636
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1637
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1638
|
+
*/
|
|
1639
|
+
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>;
|
|
1640
|
+
/**
|
|
1641
|
+
* Factory function for testnet Vet NFT collections.
|
|
1642
|
+
*
|
|
1643
|
+
* @param id uuid v4
|
|
1644
|
+
* @param name unique identifier of the NFT collection
|
|
1645
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1646
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1647
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1648
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1649
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1650
|
+
* @param network Optional token network. Defaults to VET test network.
|
|
1651
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1652
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1653
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1654
|
+
*/
|
|
1655
|
+
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>;
|
|
1656
|
+
/**
|
|
1657
|
+
* Factory function for Cosmos chain token instances.
|
|
1658
|
+
*
|
|
1659
|
+
* @param id uuid v4
|
|
1660
|
+
* @param name unique identifier of the token
|
|
1661
|
+
* @param fullName Complete human-readable name of the token
|
|
1662
|
+
* @param denom denomination of this token which will act as a unique identifier for the token on chain
|
|
1663
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1664
|
+
* @param network Network (mainnet or testnet) for this token
|
|
1665
|
+
* @param baseUnit Base unit of this token (native asset)
|
|
1666
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1667
|
+
* @param features Features of this coin. Defaults to the COSMOS_SIDECHAIN_FEATURES defined in `coinFeatures.ts`
|
|
1668
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1669
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1670
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1671
|
+
*/
|
|
1672
|
+
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>;
|
|
1673
|
+
/**
|
|
1674
|
+
* Factory function for tao token instances.
|
|
1675
|
+
*
|
|
1676
|
+
* @param id uuid v4
|
|
1677
|
+
* @param name unique identifier of the token
|
|
1678
|
+
* @param fullName Complete human-readable name of the token
|
|
1679
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1680
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1681
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1682
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1683
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1684
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1685
|
+
* @param network? Optional token network. Defaults to TAO main network.
|
|
1686
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1687
|
+
*/
|
|
1688
|
+
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>;
|
|
1689
|
+
/**
|
|
1690
|
+
* Factory function for testnet tao token instances.
|
|
1691
|
+
*
|
|
1692
|
+
* @param id uuid v4
|
|
1693
|
+
* @param name unique identifier of the token
|
|
1694
|
+
* @param fullName Complete human-readable name of the token
|
|
1695
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1696
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1697
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1698
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1699
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1700
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1701
|
+
* @param network? Optional token network. Defaults to TAO test network.
|
|
1702
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1703
|
+
*/
|
|
1704
|
+
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>;
|
|
1705
|
+
/**
|
|
1706
|
+
* Factory function for polyx token instances.
|
|
1707
|
+
*
|
|
1708
|
+
* @param id uuid v4
|
|
1709
|
+
* @param name unique identifier of the token
|
|
1710
|
+
* @param fullName Complete human-readable name of the token
|
|
1711
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1712
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1713
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1714
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1715
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1716
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1717
|
+
* @param network? Optional token network. Defaults to Polyx main network.
|
|
1718
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1719
|
+
*/
|
|
1720
|
+
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>;
|
|
1721
|
+
/**
|
|
1722
|
+
* Factory function for testnet polyx token instances.
|
|
1723
|
+
*
|
|
1724
|
+
* @param id uuid v4
|
|
1725
|
+
* @param name unique identifier of the token
|
|
1726
|
+
* @param fullName Complete human-readable name of the token
|
|
1727
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1728
|
+
* @param ticker The ticker symbol of the token
|
|
1729
|
+
* @param assetId The unique asset identifier for this token
|
|
1730
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1731
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1732
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1733
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1734
|
+
* @param network? Optional token network. Defaults to Polyx test network.
|
|
1735
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1736
|
+
*/
|
|
1737
|
+
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>;
|
|
1738
|
+
/**
|
|
1739
|
+
* Factory function for Jetton token instances.
|
|
1740
|
+
* Jetton is the token standard on TON blockchain.
|
|
1741
|
+
*
|
|
1742
|
+
* @param id uuid v4
|
|
1743
|
+
* @param name unique identifier of the token
|
|
1744
|
+
* @param fullName Complete human-readable name of the token
|
|
1745
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1746
|
+
* @param contractAddress Contract address of this token
|
|
1747
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1748
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1749
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1750
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1751
|
+
* @param network Optional token network. Defaults to TON main network.
|
|
1752
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1753
|
+
*/
|
|
1754
|
+
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>;
|
|
1755
|
+
/**
|
|
1756
|
+
* Factory function for testnet jetton token instances.
|
|
1757
|
+
* Jetton is the token standard on TON blockchain.
|
|
1758
|
+
*
|
|
1759
|
+
* @param id uuid v4
|
|
1760
|
+
* @param name unique identifier of the token
|
|
1761
|
+
* @param fullName Complete human-readable name of the token
|
|
1762
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1763
|
+
* @param contractAddress Contract address of this token
|
|
1764
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1765
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1766
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1767
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1768
|
+
* @param network Optional token network. Defaults to the testnet TON network.
|
|
1769
|
+
*/
|
|
1770
|
+
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>;
|
|
1771
|
+
/**
|
|
1772
|
+
* Factory function for prod canton token instances.
|
|
1773
|
+
*
|
|
1774
|
+
* @param id uuid v4
|
|
1775
|
+
* @param name Name of the token
|
|
1776
|
+
* @param fullName Complete human-readable name of the token
|
|
1777
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1778
|
+
* @param baseUrl token standard base url, ref: https://docs.digitalasset.com/utilities/devnet/overview/registry-user-guide/token-standard.html#token-standard-endpoints
|
|
1779
|
+
* @param contractAddress the contract address of the token in the form `instrumentAdmin:instrumentId`
|
|
1780
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1781
|
+
* @param features Features of this coin. Defaults to CANTON_FEATURES
|
|
1782
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1783
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1784
|
+
* @param network Optional token network. Defaults to the mainnet canton network.
|
|
1785
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1786
|
+
*/
|
|
1787
|
+
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>;
|
|
1788
|
+
/**
|
|
1789
|
+
* Factory function for testnet canton token instances.
|
|
1790
|
+
*
|
|
1791
|
+
* @param id uuid v4
|
|
1792
|
+
* @param name unique identifier of the token
|
|
1793
|
+
* @param fullName Complete human-readable name of the token
|
|
1794
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1795
|
+
* @param baseUrl token standard base url
|
|
1796
|
+
* @param contractAddress the contract address of the token in the form `instrumentAdmin:instrumentId`
|
|
1797
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1798
|
+
* @param features Features of this coin. Defaults to the CANTON_FEATURES
|
|
1799
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1800
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1801
|
+
* @param network Optional token network. Defaults to the testnet Canton network.
|
|
1802
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1803
|
+
*/
|
|
1804
|
+
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>;
|
|
1805
|
+
/**
|
|
1806
|
+
* Factory function for TIP20 token instances on Tempo network.
|
|
1807
|
+
*
|
|
1808
|
+
* @param id uuid v4
|
|
1809
|
+
* @param name unique identifier of the token
|
|
1810
|
+
* @param fullName Complete human-readable name of the token
|
|
1811
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1812
|
+
* @param contractAddress the contract address of the token
|
|
1813
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1814
|
+
* @param features Features of this coin. Defaults to the TEMPO_FEATURES
|
|
1815
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1816
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1817
|
+
* @param network Optional token network. Defaults to the mainnet Tempo network.
|
|
1818
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1819
|
+
*/
|
|
1820
|
+
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>;
|
|
1821
|
+
/**
|
|
1822
|
+
* Factory function for testnet TIP20 token instances on Tempo network.
|
|
1823
|
+
*
|
|
1824
|
+
* @param id uuid v4
|
|
1825
|
+
* @param name unique identifier of the token
|
|
1826
|
+
* @param fullName Complete human-readable name of the token
|
|
1827
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1828
|
+
* @param contractAddress the contract address of the token
|
|
1829
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1830
|
+
* @param features Features of this coin. Defaults to the TEMPO_FEATURES
|
|
1831
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1832
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1833
|
+
* @param network Optional token network. Defaults to the testnet Tempo network.
|
|
1834
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1835
|
+
*/
|
|
1836
|
+
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
1837
|
export {};
|
|
816
1838
|
//# sourceMappingURL=account.d.ts.map
|