@bitgo-beta/statics 15.1.1-beta.1228 → 15.1.1-beta.1229
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 +1600 -0
- package/dist/src/account.d.ts.map +1 -0
- package/dist/src/account.js +2491 -0
- package/dist/src/ada.d.ts +35 -0
- package/dist/src/ada.d.ts.map +1 -0
- package/dist/src/ada.js +65 -0
- package/dist/src/allCoinsAndTokens.d.ts +2 -0
- package/dist/src/allCoinsAndTokens.d.ts.map +1 -0
- package/dist/src/allCoinsAndTokens.js +830 -0
- package/dist/src/avaxp.d.ts +40 -0
- package/dist/src/avaxp.d.ts.map +1 -0
- package/dist/src/avaxp.js +65 -0
- package/dist/src/base.d.ts +3046 -0
- package/dist/src/base.d.ts.map +1 -0
- package/dist/src/base.js +3235 -0
- package/dist/src/coinFeatures.d.ts +106 -0
- package/dist/src/coinFeatures.d.ts.map +1 -0
- package/dist/src/coinFeatures.js +627 -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 +12 -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 +124 -0
- package/dist/src/coins/botOfcTokens.d.ts +2 -0
- package/dist/src/coins/botOfcTokens.d.ts.map +1 -0
- package/dist/src/coins/botOfcTokens.js +5 -0
- package/dist/src/coins/botTokens.d.ts +3 -0
- package/dist/src/coins/botTokens.d.ts.map +1 -0
- package/dist/src/coins/botTokens.js +43 -0
- package/dist/src/coins/bscTokens.d.ts +2 -0
- package/dist/src/coins/bscTokens.d.ts.map +1 -0
- package/dist/src/coins/bscTokens.js +176 -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 +12 -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 +1743 -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 +13 -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 +14 -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 +708 -0
- package/dist/src/coins/ofcErc20Coins.d.ts +3 -0
- package/dist/src/coins/ofcErc20Coins.d.ts.map +1 -0
- package/dist/src/coins/ofcErc20Coins.js +1539 -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 +155 -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 +396 -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 +14 -0
- package/dist/src/coins.d.ts.map +1 -0
- package/dist/src/coins.js +331 -0
- package/dist/src/constants.d.ts +3 -0
- package/dist/src/constants.d.ts.map +1 -0
- package/dist/src/constants.js +6 -0
- package/dist/src/errors.d.ts +37 -0
- package/dist/src/errors.d.ts.map +1 -0
- package/dist/src/errors.js +74 -0
- package/dist/src/flrp.d.ts +40 -0
- package/dist/src/flrp.d.ts.map +1 -0
- package/dist/src/flrp.js +65 -0
- package/dist/src/index.d.ts +12 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +60 -0
- package/dist/src/lightning.d.ts +43 -0
- package/dist/src/lightning.d.ts.map +1 -0
- package/dist/src/lightning.js +60 -0
- package/dist/src/map.d.ts +32 -0
- package/dist/src/map.d.ts.map +1 -0
- package/dist/src/map.js +181 -0
- package/dist/src/networkFeatureMapForTokens.d.ts +3 -0
- package/dist/src/networkFeatureMapForTokens.d.ts.map +1 -0
- package/dist/src/networkFeatureMapForTokens.js +31 -0
- package/dist/src/networks.d.ts +1952 -0
- package/dist/src/networks.d.ts.map +1 -0
- package/dist/src/networks.js +2429 -0
- package/dist/src/ofc.d.ts +727 -0
- package/dist/src/ofc.d.ts.map +1 -0
- package/dist/src/ofc.js +1617 -0
- package/dist/src/tokenConfig.d.ts +389 -0
- package/dist/src/tokenConfig.d.ts.map +1 -0
- package/dist/src/tokenConfig.js +1046 -0
- package/dist/src/utxo.d.ts +43 -0
- package/dist/src/utxo.d.ts.map +1 -0
- package/dist/src/utxo.js +141 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,1600 @@
|
|
|
1
|
+
import { BaseCoin, BaseUnit, CoinFeature, KeyCurve, UnderlyingAsset } from './base';
|
|
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
|
+
}
|
|
10
|
+
export interface AccountConstructorOptions {
|
|
11
|
+
id: string;
|
|
12
|
+
fullName: string;
|
|
13
|
+
name: string;
|
|
14
|
+
alias?: string;
|
|
15
|
+
network: AccountNetwork;
|
|
16
|
+
asset: UnderlyingAsset;
|
|
17
|
+
baseUnit: BaseUnit;
|
|
18
|
+
features: CoinFeature[];
|
|
19
|
+
decimalPlaces: number;
|
|
20
|
+
isToken: boolean;
|
|
21
|
+
prefix?: string;
|
|
22
|
+
suffix?: string;
|
|
23
|
+
primaryKeyCurve: KeyCurve;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Account based coins, such as Ethereum, Stellar, or XRP.
|
|
27
|
+
*
|
|
28
|
+
* These types of coins maintain an "account balance" for each address on the network,
|
|
29
|
+
* as opposed to the unspent transaction output model which maintains a record of all
|
|
30
|
+
* "pieces" of coin which belong to an address.
|
|
31
|
+
*/
|
|
32
|
+
export declare class AccountCoin extends BaseCoin {
|
|
33
|
+
static readonly DEFAULT_FEATURES: CoinFeature[];
|
|
34
|
+
static readonly DEFAULT_FEATURES_EXCLUDE_SINGAPORE: (CoinFeature.EVM_WALLET | CoinFeature.METAMASK_INSTITUTIONAL | CoinFeature.VALUELESS_TRANSFER | CoinFeature.TRANSACTION_DATA | CoinFeature.REQUIRES_BIG_NUMBER | CoinFeature.REQUIRES_KRS_BACKUP_KEY | CoinFeature.PAYGO | CoinFeature.UNSPENT_MODEL | CoinFeature.LIGHTNING_MODEL | CoinFeature.ACCOUNT_MODEL | CoinFeature.CHILD_PAYS_FOR_PARENT | CoinFeature.SUPPORTS_TOKENS | CoinFeature.ENTERPRISE_PAYS_FEES | CoinFeature.REQUIRES_RESERVE | CoinFeature.CUSTODY | CoinFeature.TSS | CoinFeature.STAKING | CoinFeature.LIQUID_STAKING | CoinFeature.DEPRECATED | CoinFeature.GENERIC_TOKEN | CoinFeature.CUSTODY_BITGO_TRUST | CoinFeature.CUSTODY_BITGO_NEW_YORK | CoinFeature.CUSTODY_BITGO_GERMANY | CoinFeature.CUSTODY_BITGO_SWITZERLAND | CoinFeature.CUSTODY_BITGO_FRANKFURT | CoinFeature.CUSTODY_BITGO_SISTER_TRUST_ONE | CoinFeature.CUSTODY_BITGO_KOREA | CoinFeature.CUSTODY_BITGO_EUROPE_APS | CoinFeature.CUSTODY_BITGO_MENA_FZE | CoinFeature.CUSTODY_BITGO_CUSTODY_MENA_FZE | CoinFeature.CUSTODY_BITGO_INDIA | CoinFeature.EXPIRING_TRANSACTIONS | CoinFeature.MULTISIG_COLD | CoinFeature.TSS_COLD | CoinFeature.SHA256_WITH_ECDSA_TSS | CoinFeature.COSMOS_LIKE_COINS | CoinFeature.REBUILD_ON_CUSTODY_SIGNING | CoinFeature.INCREASED_TX_REQUEST_REBUILD_LIMIT | CoinFeature.BULK_TRANSACTION | CoinFeature.ERC20_BULK_TRANSACTION | CoinFeature.CUSTODY_BULK_TRANSACTION | CoinFeature.DISTRIBUTED_CUSTODY | CoinFeature.BULK_STAKING_TRANSACTION | CoinFeature.USES_NON_PACKED_ENCODING_FOR_TXDATA | CoinFeature.MPCV2 | CoinFeature.STUCK_TRANSACTION_MANAGEMENT_TSS | CoinFeature.STUCK_TRANSACTION_MANAGEMENT_ONCHAIN | CoinFeature.ETH_ROLLUP_CHAIN | CoinFeature.EIP1559 | CoinFeature.TSS_ENTERPRISE_PAYS_FEES | CoinFeature.FEES_PAID_WITH_TOKEN | CoinFeature.ALPHANUMERIC_MEMO_ID | CoinFeature.WALLET_CONNECT_DEFI | CoinFeature.TSS_SUPPORT_GATED | CoinFeature.MULTISIG_SUPPORT_GATED | CoinFeature.SHARED_EVM_SIGNING | CoinFeature.SHARED_EVM_SDK | CoinFeature.SUPPORTS_ERC20 | CoinFeature.SHARED_COSMOS_SDK | CoinFeature.SHARED_COSMOS_WP | CoinFeature.EVM_COIN | CoinFeature.MULTISIG | CoinFeature.EVM_COMPATIBLE_IMS | CoinFeature.EVM_COMPATIBLE_UI | CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY | CoinFeature.EVM_NON_BITGO_RECOVERY | CoinFeature.REBASE_TOKEN | CoinFeature.EVM_COMPATIBLE_WP | CoinFeature.RESTRICTED | CoinFeature.SHARED_EVM_MESSAGE_SIGNING | CoinFeature.STABLECOIN)[];
|
|
35
|
+
readonly network: AccountNetwork;
|
|
36
|
+
constructor(options: AccountConstructorOptions);
|
|
37
|
+
protected requiredFeatures(): Set<CoinFeature>;
|
|
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;
|
|
46
|
+
}
|
|
47
|
+
export interface Erc20ConstructorOptions extends AccountConstructorOptions {
|
|
48
|
+
contractAddress: string;
|
|
49
|
+
}
|
|
50
|
+
export interface NFTCollectionIdConstructorOptions extends AccountConstructorOptions {
|
|
51
|
+
nftCollectionId: string;
|
|
52
|
+
}
|
|
53
|
+
export interface StellarCoinConstructorOptions extends AccountConstructorOptions {
|
|
54
|
+
domain: string;
|
|
55
|
+
}
|
|
56
|
+
export interface HederaCoinConstructorOptions extends AccountConstructorOptions {
|
|
57
|
+
nodeAccountId: string;
|
|
58
|
+
}
|
|
59
|
+
export interface HederaTokenConstructorOptions extends AccountConstructorOptions {
|
|
60
|
+
nodeAccountId: string;
|
|
61
|
+
contractAddress: string;
|
|
62
|
+
}
|
|
63
|
+
export interface EosCoinConstructorOptions extends AccountConstructorOptions {
|
|
64
|
+
contractName: string;
|
|
65
|
+
contractAddress: string;
|
|
66
|
+
symbol?: string;
|
|
67
|
+
}
|
|
68
|
+
export interface SolCoinConstructorOptions extends AccountConstructorOptions {
|
|
69
|
+
tokenAddress: string;
|
|
70
|
+
contractAddress: string;
|
|
71
|
+
programId: string;
|
|
72
|
+
}
|
|
73
|
+
export interface XrpCoinConstructorOptions extends AccountConstructorOptions {
|
|
74
|
+
issuerAddress: string;
|
|
75
|
+
currencyCode: string;
|
|
76
|
+
domain: string;
|
|
77
|
+
contractAddress: string;
|
|
78
|
+
}
|
|
79
|
+
export interface SuiCoinConstructorOptions extends AccountConstructorOptions {
|
|
80
|
+
packageId: string;
|
|
81
|
+
module: string;
|
|
82
|
+
symbol: string;
|
|
83
|
+
contractAddress: string;
|
|
84
|
+
}
|
|
85
|
+
export interface AptCoinConstructorOptions extends AccountConstructorOptions {
|
|
86
|
+
assetId: string;
|
|
87
|
+
}
|
|
88
|
+
export interface TaoCoinConstructorOptions extends AccountConstructorOptions {
|
|
89
|
+
subnetId: string;
|
|
90
|
+
}
|
|
91
|
+
export interface PolyxCoinConstructorOptions extends AccountConstructorOptions {
|
|
92
|
+
ticker: string;
|
|
93
|
+
assetId: string;
|
|
94
|
+
}
|
|
95
|
+
type FiatCoinName = `fiat${string}` | `tfiat${string}`;
|
|
96
|
+
export interface FiatCoinConstructorOptions extends AccountConstructorOptions {
|
|
97
|
+
name: FiatCoinName;
|
|
98
|
+
}
|
|
99
|
+
export interface Sip10TokenConstructorOptions extends AccountConstructorOptions {
|
|
100
|
+
assetId: string;
|
|
101
|
+
}
|
|
102
|
+
export interface Nep141TokenConstructorOptions extends AccountConstructorOptions {
|
|
103
|
+
contractAddress: string;
|
|
104
|
+
storageDepositAmount: string;
|
|
105
|
+
}
|
|
106
|
+
export interface VetTokenConstructorOptions extends AccountConstructorOptions {
|
|
107
|
+
contractAddress: string;
|
|
108
|
+
gasTankToken?: string;
|
|
109
|
+
}
|
|
110
|
+
export interface CosmosTokenConstructorOptions extends AccountConstructorOptions {
|
|
111
|
+
denom: string;
|
|
112
|
+
}
|
|
113
|
+
export interface JettonTokenConstructorOptions extends AccountConstructorOptions {
|
|
114
|
+
contractAddress: string;
|
|
115
|
+
}
|
|
116
|
+
export interface AdaTokenConstructorOptions extends AccountConstructorOptions {
|
|
117
|
+
policyId: string;
|
|
118
|
+
assetName: string;
|
|
119
|
+
contractAddress: string;
|
|
120
|
+
}
|
|
121
|
+
export interface ContractAddress extends String {
|
|
122
|
+
__contractaddress_phantom__: never;
|
|
123
|
+
}
|
|
124
|
+
export declare class AccountCoinToken extends AccountCoin {
|
|
125
|
+
constructor(options: AccountConstructorOptions);
|
|
126
|
+
}
|
|
127
|
+
export declare class GasTankAccountCoin extends AccountCoin {
|
|
128
|
+
gasTankLowBalanceAlertFactor: number;
|
|
129
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
130
|
+
gasTankToken?: string;
|
|
131
|
+
constructor(options: GasTankAccountConstructorOptions);
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Some blockchains support tokens which are defined by an address at which they have a smart contract deployed.
|
|
135
|
+
* Examples are ERC20 tokens, and the equivalent on other chains.
|
|
136
|
+
*/
|
|
137
|
+
export declare class ContractAddressDefinedToken extends AccountCoinToken {
|
|
138
|
+
contractAddress: ContractAddress;
|
|
139
|
+
constructor(options: Erc20ConstructorOptions);
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Used for blockchains that support NFT collections.
|
|
143
|
+
*/
|
|
144
|
+
export declare class NFTCollectionIdDefinedToken extends AccountCoinToken {
|
|
145
|
+
nftCollectionId: string;
|
|
146
|
+
constructor(options: NFTCollectionIdConstructorOptions);
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* ERC20 token addresses are Base58 formatted on some blockchains.
|
|
150
|
+
*/
|
|
151
|
+
export declare class Base58ContractAddressDefinedToken extends AccountCoinToken {
|
|
152
|
+
contractAddress: ContractAddress;
|
|
153
|
+
constructor(options: Erc20ConstructorOptions);
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* ERC 20 is a token standard for the Ethereum blockchain. They are similar to other account coins, but have a
|
|
157
|
+
* contract address property which identifies the smart contract which defines the token.
|
|
158
|
+
*/
|
|
159
|
+
export declare class Erc20Coin extends ContractAddressDefinedToken {
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* ERC 721 is the non fungible token standard for the Ethereum blockchain.
|
|
163
|
+
*
|
|
164
|
+
* {@link https://eips.ethereum.org/EIPS/eip-721 EIP721}
|
|
165
|
+
*/
|
|
166
|
+
export declare class Erc721Coin extends ContractAddressDefinedToken {
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* ERC 1155 is the multi token standard for the Ethereum blockchain.
|
|
170
|
+
*
|
|
171
|
+
* {@link https://eips.ethereum.org/EIPS/eip-1155 EIP1155}
|
|
172
|
+
*/
|
|
173
|
+
export declare class Erc1155Coin extends ContractAddressDefinedToken {
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* The TRON blockchain supports tokens of the ERC20 standard similar to ETH ERC20 tokens.
|
|
177
|
+
*/
|
|
178
|
+
export declare class TronErc20Coin extends Base58ContractAddressDefinedToken {
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Some blockchains have native coins which also support the ERC20 interface such as CELO.
|
|
182
|
+
*/
|
|
183
|
+
export declare class Erc20CompatibleAccountCoin extends ContractAddressDefinedToken {
|
|
184
|
+
constructor(options: Erc20ConstructorOptions);
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* The CELO blockchain supports tokens of the ERC20 standard similar to ETH ERC20 tokens.
|
|
188
|
+
*/
|
|
189
|
+
export declare class CeloCoin extends ContractAddressDefinedToken {
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* The BSC blockchain supports tokens of the ERC20 standard similar to ETH ERC20 tokens.
|
|
193
|
+
*/
|
|
194
|
+
export declare class BscCoin extends ContractAddressDefinedToken {
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* The Stellar network supports tokens (non-native assets)
|
|
198
|
+
* XLM is also known as the native asset.
|
|
199
|
+
* Stellar tokens work similar to XLM, but the token name is determined by the chain,
|
|
200
|
+
* the token code and the issuer account in the form: (t)xlm:<token>-<issuer>
|
|
201
|
+
*/
|
|
202
|
+
export declare class StellarCoin extends AccountCoinToken {
|
|
203
|
+
domain: string;
|
|
204
|
+
constructor(options: StellarCoinConstructorOptions);
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* The Hedera coin needs a client set with the node account Id.
|
|
208
|
+
* It's an account based coin that needs the node account ID
|
|
209
|
+
* where the transaction will be sent.
|
|
210
|
+
*
|
|
211
|
+
*/
|
|
212
|
+
export declare class HederaCoin extends AccountCoinToken {
|
|
213
|
+
nodeAccountId: string;
|
|
214
|
+
constructor(options: HederaCoinConstructorOptions);
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* The Hedera network supports tokens.
|
|
218
|
+
* Hedera tokens work similar to native Hedera coin,
|
|
219
|
+
* but the token is determined by the tokenId on the node
|
|
220
|
+
*
|
|
221
|
+
*/
|
|
222
|
+
export declare class HederaToken extends AccountCoinToken {
|
|
223
|
+
nodeAccountId: string;
|
|
224
|
+
tokenId: string;
|
|
225
|
+
contractAddress: string;
|
|
226
|
+
constructor(options: HederaTokenConstructorOptions);
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* The Algo network supports tokens (assets)
|
|
230
|
+
* Algo tokens work similar to native ALGO coin, but the token name is determined by
|
|
231
|
+
* unique asset id on the chain. Internally, BitGo uses token identifiers of the format: (t)algo:<assetId>
|
|
232
|
+
*
|
|
233
|
+
*/
|
|
234
|
+
export declare class AlgoCoin extends AccountCoinToken {
|
|
235
|
+
constructor(options: AccountConstructorOptions);
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* The Eos network supports tokens
|
|
239
|
+
* Eos tokens work similar to native Eos coin, but the token name is determined by
|
|
240
|
+
* the contractName on the chain.
|
|
241
|
+
*
|
|
242
|
+
*/
|
|
243
|
+
export declare class EosCoin extends AccountCoinToken {
|
|
244
|
+
contractName: string;
|
|
245
|
+
contractAddress: string;
|
|
246
|
+
symbol: string;
|
|
247
|
+
constructor(options: EosCoinConstructorOptions);
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* The Sol network supports tokens
|
|
251
|
+
* Sol tokens work similar to native SOL coin, but the token name is determined by
|
|
252
|
+
* the tokenAddress on the chain.
|
|
253
|
+
*
|
|
254
|
+
*/
|
|
255
|
+
export declare class SolCoin extends AccountCoinToken {
|
|
256
|
+
tokenAddress: string;
|
|
257
|
+
contractAddress: string;
|
|
258
|
+
programId: string;
|
|
259
|
+
constructor(options: SolCoinConstructorOptions);
|
|
260
|
+
}
|
|
261
|
+
export declare class EthLikeERC20Token extends ContractAddressDefinedToken {
|
|
262
|
+
constructor(options: Erc20ConstructorOptions);
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* The AVAX C Chain network support tokens
|
|
266
|
+
* AVAX C Chain Tokens are ERC20 coins
|
|
267
|
+
*/
|
|
268
|
+
export declare class AvaxERC20Token extends ContractAddressDefinedToken {
|
|
269
|
+
constructor(options: Erc20ConstructorOptions);
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* The Polygon Chain network support tokens
|
|
273
|
+
* Polygon Chain Tokens are ERC20 coins
|
|
274
|
+
*/
|
|
275
|
+
export declare class PolygonERC20Token extends ContractAddressDefinedToken {
|
|
276
|
+
constructor(options: Erc20ConstructorOptions);
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* The Arbitrum Chain network support tokens
|
|
280
|
+
* Arbitrum Chain Tokens are ERC20 tokens
|
|
281
|
+
*/
|
|
282
|
+
export declare class ArbethERC20Token extends ContractAddressDefinedToken {
|
|
283
|
+
constructor(options: Erc20ConstructorOptions);
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* The Optimism Chain network support tokens
|
|
287
|
+
* Optimism Chain Tokens are ERC20 tokens
|
|
288
|
+
*/
|
|
289
|
+
export declare class OpethERC20Token extends ContractAddressDefinedToken {
|
|
290
|
+
constructor(options: Erc20ConstructorOptions);
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* The zkSync network support tokens
|
|
294
|
+
* zkSync Tokens are ERC20 tokens
|
|
295
|
+
*/
|
|
296
|
+
export declare class ZkethERC20Token extends ContractAddressDefinedToken {
|
|
297
|
+
constructor(options: Erc20ConstructorOptions);
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* The Bera Chain network support tokens
|
|
301
|
+
* Bera Chain Tokens are ERC20 tokens
|
|
302
|
+
*/
|
|
303
|
+
export declare class BeraERC20Token extends ContractAddressDefinedToken {
|
|
304
|
+
constructor(options: Erc20ConstructorOptions);
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* The Coredao Chain network support tokens
|
|
308
|
+
* Coredao Chain Tokens are ERC20 tokens
|
|
309
|
+
*/
|
|
310
|
+
export declare class CoredaoERC20Token extends ContractAddressDefinedToken {
|
|
311
|
+
constructor(options: Erc20ConstructorOptions);
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* The World Chain network supports tokens
|
|
315
|
+
* World Chain Tokens are ERC20 tokens
|
|
316
|
+
*/
|
|
317
|
+
export declare class WorldERC20Token extends ContractAddressDefinedToken {
|
|
318
|
+
constructor(options: Erc20ConstructorOptions);
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* The Flr Chain network supports tokens
|
|
322
|
+
* Flr Chain Tokens are ERC20 tokens
|
|
323
|
+
*/
|
|
324
|
+
export declare class FlrERC20Token extends ContractAddressDefinedToken {
|
|
325
|
+
constructor(options: Erc20ConstructorOptions);
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* The Xrp network supports tokens
|
|
329
|
+
* Xrp tokens are identified by their issuer address
|
|
330
|
+
* Naming format is similar to XLM
|
|
331
|
+
* <network>:<token>-<issuer>
|
|
332
|
+
*/
|
|
333
|
+
export declare class XrpCoin extends AccountCoinToken {
|
|
334
|
+
issuerAddress: string;
|
|
335
|
+
currencyCode: string;
|
|
336
|
+
domain: string;
|
|
337
|
+
contractAddress: string;
|
|
338
|
+
constructor(options: XrpCoinConstructorOptions);
|
|
339
|
+
}
|
|
340
|
+
export declare class SuiCoin extends AccountCoinToken {
|
|
341
|
+
packageId: string;
|
|
342
|
+
module: string;
|
|
343
|
+
symbol: string;
|
|
344
|
+
contractAddress: string;
|
|
345
|
+
constructor(options: SuiCoinConstructorOptions);
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* The Apt network supports tokens
|
|
349
|
+
* Apt tokens work similar to native Apt coin, but the token name is determined by
|
|
350
|
+
* the tokenAddress on the chain.
|
|
351
|
+
*
|
|
352
|
+
*/
|
|
353
|
+
export declare class AptCoin extends AccountCoinToken {
|
|
354
|
+
assetId: string;
|
|
355
|
+
constructor(options: AptCoinConstructorOptions);
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* The Apt network supports non-fungible tokens (Digital Asset Standard)
|
|
359
|
+
* Every NFT belongs to an NFT collection.
|
|
360
|
+
*/
|
|
361
|
+
export declare class AptNFTCollection extends NFTCollectionIdDefinedToken {
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* The Vechain network supports non-fungible tokens
|
|
365
|
+
* Every NFT belongs to an NFT collection(contract).
|
|
366
|
+
*/
|
|
367
|
+
export declare class VetNFTCollection extends NFTCollectionIdDefinedToken {
|
|
368
|
+
gasTankToken?: string;
|
|
369
|
+
constructor(options: NFTCollectionIdConstructorOptions & {
|
|
370
|
+
gasTankToken?: string;
|
|
371
|
+
});
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* Fiat currencies, such as USD, EUR, or YEN.
|
|
375
|
+
*/
|
|
376
|
+
export declare class FiatCoin extends BaseCoin {
|
|
377
|
+
static readonly DEFAULT_FEATURES: CoinFeature[];
|
|
378
|
+
readonly network: BaseNetwork;
|
|
379
|
+
constructor(options: FiatCoinConstructorOptions);
|
|
380
|
+
protected requiredFeatures(): Set<CoinFeature>;
|
|
381
|
+
protected disallowedFeatures(): Set<CoinFeature>;
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* The Stacks network supports tokens
|
|
385
|
+
* Stx tokens work similar to native Stx coin, but the token name is determined by
|
|
386
|
+
* the contractName on the chain.
|
|
387
|
+
*/
|
|
388
|
+
export declare class Sip10Token extends AccountCoinToken {
|
|
389
|
+
assetId: string;
|
|
390
|
+
constructor(options: Sip10TokenConstructorOptions);
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* The Near network supports tokens
|
|
394
|
+
* Near tokens work similar to native near coin
|
|
395
|
+
*/
|
|
396
|
+
export declare class Nep141Token extends AccountCoinToken {
|
|
397
|
+
contractAddress: string;
|
|
398
|
+
storageDepositAmount: string;
|
|
399
|
+
constructor(options: Nep141TokenConstructorOptions);
|
|
400
|
+
}
|
|
401
|
+
export declare class VetToken extends AccountCoinToken {
|
|
402
|
+
contractAddress: string;
|
|
403
|
+
gasTankToken?: string;
|
|
404
|
+
constructor(options: VetTokenConstructorOptions);
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* Cosmos network supports tokens
|
|
408
|
+
* Cosmos tokens work similar to native coins, but the token is determined by
|
|
409
|
+
* the denom on chain.
|
|
410
|
+
*
|
|
411
|
+
*/
|
|
412
|
+
export declare class CosmosChainToken extends AccountCoinToken {
|
|
413
|
+
denom: string;
|
|
414
|
+
constructor(options: CosmosTokenConstructorOptions);
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* TON supports tokens and Jetton is a token standard on TON
|
|
418
|
+
* Jetton tokens work similar to native TON coin
|
|
419
|
+
*/
|
|
420
|
+
export declare class JettonToken extends AccountCoinToken {
|
|
421
|
+
contractAddress: string;
|
|
422
|
+
constructor(options: JettonTokenConstructorOptions);
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* The Bittensor network supports tokens
|
|
426
|
+
* The token name is determined by the subnetId on chain.
|
|
427
|
+
*/
|
|
428
|
+
export declare class TaoCoin extends AccountCoinToken {
|
|
429
|
+
subnetId: string;
|
|
430
|
+
constructor(options: TaoCoinConstructorOptions);
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* The Bittensor network supports tokens
|
|
434
|
+
* The token name is determined by the subnetId on chain.
|
|
435
|
+
*/
|
|
436
|
+
export declare class PolyxCoin extends AccountCoinToken {
|
|
437
|
+
ticker: string;
|
|
438
|
+
assetId: string;
|
|
439
|
+
constructor(options: PolyxCoinConstructorOptions);
|
|
440
|
+
}
|
|
441
|
+
export declare class AdaToken extends AccountCoinToken {
|
|
442
|
+
policyId: string;
|
|
443
|
+
assetName: string;
|
|
444
|
+
contractAddress: string;
|
|
445
|
+
constructor(options: AdaTokenConstructorOptions);
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
* Factory function for account coin instances.
|
|
449
|
+
*
|
|
450
|
+
* @param id uuid v4
|
|
451
|
+
* @param name unique identifier of the coin
|
|
452
|
+
* @param fullName Complete human-readable name of the coin
|
|
453
|
+
* @param network Network object for this coin
|
|
454
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
455
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
456
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
457
|
+
* @param primaryKeyCurve? The elliptic curve for this chain/token
|
|
458
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
459
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
460
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
461
|
+
*/
|
|
462
|
+
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>;
|
|
463
|
+
/**
|
|
464
|
+
* Factory function for gas tank account coin instances.
|
|
465
|
+
*
|
|
466
|
+
* @param id uuid v4
|
|
467
|
+
* @param name unique identifier of the coin
|
|
468
|
+
* @param fullName Complete human-readable name of the coin
|
|
469
|
+
* @param network Network object for this coin
|
|
470
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
471
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
472
|
+
* @param baseUnit
|
|
473
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
474
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
475
|
+
* @param gasTankLowBalanceAlertFactor Low gas tank balance alert threshold = (feeEstimate x gasTankLowBalanceAlertFactor)
|
|
476
|
+
* @param gasTankMinBalanceRecommendationFactor Min gas tank balance recommendation = (feeEstimate x gasTankMinBalanceRecommendationFactor)
|
|
477
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
478
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
479
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
480
|
+
*/
|
|
481
|
+
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>;
|
|
482
|
+
/**
|
|
483
|
+
* Factory function for ethLikeErc20 token instances.
|
|
484
|
+
*
|
|
485
|
+
* @param id uuid v4
|
|
486
|
+
* @param name unique identifier of the token
|
|
487
|
+
* @param fullName Complete human-readable name of the token
|
|
488
|
+
* @param decimalPlaces Number of decimal places this token supports
|
|
489
|
+
* @param contractAddress Contract address of this token
|
|
490
|
+
* @param asset Asset which this coin represents
|
|
491
|
+
* @param network Optional token network
|
|
492
|
+
* @param coinNames The parent coin names for mainnet and testnet
|
|
493
|
+
* @param features Features of this coin
|
|
494
|
+
* @param prefix Optional token prefix
|
|
495
|
+
* @param suffix Optional token suffix
|
|
496
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
497
|
+
*/
|
|
498
|
+
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>;
|
|
499
|
+
/**
|
|
500
|
+
* Factory function for erc20 token instances.
|
|
501
|
+
*
|
|
502
|
+
* @param id uuid v4
|
|
503
|
+
* @param name unique identifier of the token
|
|
504
|
+
* @param fullName Complete human-readable name of the token
|
|
505
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
506
|
+
* @param contractAddress Contract address of this token
|
|
507
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
508
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
509
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
510
|
+
* @param network? Optional token network. Defaults to Ethereum main network.
|
|
511
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
512
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
513
|
+
*/
|
|
514
|
+
export declare function erc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc20Coin>;
|
|
515
|
+
/**
|
|
516
|
+
* Factory function for testnet erc20 token instances.
|
|
517
|
+
*
|
|
518
|
+
* @param id uuid v4
|
|
519
|
+
* @param name unique identifier of the token
|
|
520
|
+
* @param fullName Complete human-readable name of the token
|
|
521
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
522
|
+
* @param contractAddress Contract address of this token
|
|
523
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
524
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
525
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
526
|
+
* @param network? Optional token network. Defaults to the Kovan test network.
|
|
527
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
528
|
+
*/
|
|
529
|
+
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>;
|
|
530
|
+
/**
|
|
531
|
+
* Factory function for erc721 token instances.
|
|
532
|
+
*
|
|
533
|
+
* @param id uuid v4
|
|
534
|
+
* @param name unique identifier of the token
|
|
535
|
+
* @param fullName Complete human-readable name of the token
|
|
536
|
+
* @param contractAddress Contract address of this token
|
|
537
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
538
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
539
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
540
|
+
* @param network? Optional token network. Defaults to Ethereum main network.
|
|
541
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
542
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
543
|
+
*/
|
|
544
|
+
export declare function erc721(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
545
|
+
/**
|
|
546
|
+
* Factory function for testnet erc721 token instances.
|
|
547
|
+
*
|
|
548
|
+
* @param id uuid v4
|
|
549
|
+
* @param name unique identifier of the token
|
|
550
|
+
* @param fullName Complete human-readable name of the token
|
|
551
|
+
* @param contractAddress Contract address of this token
|
|
552
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
553
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
554
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
555
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
556
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
557
|
+
*/
|
|
558
|
+
export declare function terc721(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
559
|
+
/**
|
|
560
|
+
* Factory function for nonstandard token instances.
|
|
561
|
+
*
|
|
562
|
+
* @param id uuid v4
|
|
563
|
+
* @param name unique identifier of the token
|
|
564
|
+
* @param fullName Complete human-readable name of the token
|
|
565
|
+
* @param contractAddress Contract address of this token
|
|
566
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
567
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
568
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
569
|
+
* @param network? Optional token network. Defaults to Ethereum main network.
|
|
570
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
571
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
572
|
+
*/
|
|
573
|
+
export declare function nonstandardToken(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<ContractAddressDefinedToken>;
|
|
574
|
+
/**
|
|
575
|
+
* Factory function for erc1155 token instances.
|
|
576
|
+
*
|
|
577
|
+
* @param id uuid v4
|
|
578
|
+
* @param name unique identifier of the token
|
|
579
|
+
* @param fullName Complete human-readable name of the token
|
|
580
|
+
* @param contractAddress Contract address of this token
|
|
581
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
582
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
583
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
584
|
+
* @param network? Optional token network. Defaults to Ethereum main network.
|
|
585
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
586
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
587
|
+
*/
|
|
588
|
+
export declare function erc1155(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
589
|
+
/**
|
|
590
|
+
* Factory function for testnet erc1155 token instances.
|
|
591
|
+
*
|
|
592
|
+
* @param id uuid v4
|
|
593
|
+
* @param name unique identifier of the token
|
|
594
|
+
* @param fullName Complete human-readable name of the token
|
|
595
|
+
* @param contractAddress Contract address of this token
|
|
596
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
597
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
598
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
599
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
600
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
601
|
+
*/
|
|
602
|
+
export declare function terc1155(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
603
|
+
/**
|
|
604
|
+
* Factory function for ERC20-compatible account coin instances.
|
|
605
|
+
*
|
|
606
|
+
* @param id uuid v4
|
|
607
|
+
* @param name unique identifier of the token
|
|
608
|
+
* @param fullName Complete human-readable name of the token
|
|
609
|
+
* @param network Network object for this coin
|
|
610
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
611
|
+
* @param contractAddress Contract address of this token
|
|
612
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
613
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
614
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
615
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
616
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
617
|
+
*/
|
|
618
|
+
export declare function erc20CompatibleAccountCoin(id: string, name: string, fullName: string, network: EthereumNetwork, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, baseUnit: BaseUnit, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<Erc20CompatibleAccountCoin>;
|
|
619
|
+
/**
|
|
620
|
+
* Factory function for celo token instances.
|
|
621
|
+
*
|
|
622
|
+
* @param id uuid v4
|
|
623
|
+
* @param name unique identifier of the token
|
|
624
|
+
* @param fullName Complete human-readable name of the token
|
|
625
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
626
|
+
* @param contractAddress Contract address of this token
|
|
627
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
628
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
629
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
630
|
+
* @param network ? Optional token network. Defaults to CELO main network.
|
|
631
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
632
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
633
|
+
*/
|
|
634
|
+
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>;
|
|
635
|
+
/**
|
|
636
|
+
* Factory function for testnet celo token instances.
|
|
637
|
+
*
|
|
638
|
+
* @param id uuid v4
|
|
639
|
+
* @param name unique identifier of the token
|
|
640
|
+
* @param fullName Complete human-readable name of the token
|
|
641
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
642
|
+
* @param contractAddress Contract address of this token
|
|
643
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
644
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
645
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
646
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
647
|
+
* @param network ? Optional token network. Defaults to the testnet CELO network.
|
|
648
|
+
*/
|
|
649
|
+
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>;
|
|
650
|
+
/**
|
|
651
|
+
* Factory function for celo token instances.
|
|
652
|
+
*
|
|
653
|
+
* @param id uuid v4
|
|
654
|
+
* @param name unique identifier of the token
|
|
655
|
+
* @param fullName Complete human-readable name of the token
|
|
656
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
657
|
+
* @param contractAddress Contract address of this token
|
|
658
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
659
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
660
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
661
|
+
* @param network? Optional token network. Defaults to BSC main network.
|
|
662
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
663
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
664
|
+
*/
|
|
665
|
+
export declare function bscToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<BscCoin>;
|
|
666
|
+
/**
|
|
667
|
+
* Factory function for testnet bsc token instances.
|
|
668
|
+
*
|
|
669
|
+
* @param id uuid v4
|
|
670
|
+
* @param name unique identifier of the token
|
|
671
|
+
* @param fullName Complete human-readable name of the token
|
|
672
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
673
|
+
* @param contractAddress Contract address of this token
|
|
674
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
675
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
676
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
677
|
+
* @param network? Optional token network. Defaults to the testnet BSC network.
|
|
678
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
679
|
+
*/
|
|
680
|
+
export declare function tbscToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork): Readonly<BscCoin>;
|
|
681
|
+
/**
|
|
682
|
+
* Factory function for Stellar token instances.
|
|
683
|
+
*
|
|
684
|
+
* @param id uuid v4
|
|
685
|
+
* @param name unique identifier of the token
|
|
686
|
+
* @param fullName Complete human-readable name of the token
|
|
687
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
688
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
689
|
+
* @param domain Domain of the token issuer (used to access token information from the issuer's stellar.toml file)
|
|
690
|
+
* See https://www.stellar.org/developers/guides/concepts/stellar-toml.html
|
|
691
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
692
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
693
|
+
* @param network? Optional token network. Defaults to Stellar mainnet.
|
|
694
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
695
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
696
|
+
*/
|
|
697
|
+
export declare function stellarToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, domain?: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<StellarCoin>;
|
|
698
|
+
/**
|
|
699
|
+
* Factory function for testnet Stellar token instances.
|
|
700
|
+
*
|
|
701
|
+
* @param id uuid v4
|
|
702
|
+
* @param name unique identifier of the token
|
|
703
|
+
* @param fullName Complete human-readable name of the token
|
|
704
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
705
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
706
|
+
* @param domain Domain of the token issuer (used to access token information from the issuer's stellar.toml file)
|
|
707
|
+
* See https://www.stellar.org/developers/guides/concepts/stellar-toml.html
|
|
708
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
709
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
710
|
+
* @param network? Optional token network. Defaults to Stellar testnet.
|
|
711
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
712
|
+
*/
|
|
713
|
+
export declare function tstellarToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, domain?: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<StellarCoin>;
|
|
714
|
+
/**
|
|
715
|
+
* Factory function for tron token instances.
|
|
716
|
+
*
|
|
717
|
+
* @param id uuid v4
|
|
718
|
+
* @param name unique identifier of the token
|
|
719
|
+
* @param fullName Complete human-readable name of the token
|
|
720
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
721
|
+
* @param contractAddress Contract address of this token
|
|
722
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
723
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
724
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
725
|
+
* @param network? Optional token network. Defaults to TRON main network.
|
|
726
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
727
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
728
|
+
*/
|
|
729
|
+
export declare function tronToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: TronNetwork, primaryKeyCurve?: KeyCurve): Readonly<TronErc20Coin>;
|
|
730
|
+
/**
|
|
731
|
+
* Factory function for testnet tron token instances.
|
|
732
|
+
*
|
|
733
|
+
* @param id uuid v4
|
|
734
|
+
* @param name unique identifier of the token
|
|
735
|
+
* @param fullName Complete human-readable name of the token
|
|
736
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
737
|
+
* @param contractAddress Contract address of this token
|
|
738
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
739
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
740
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
741
|
+
* @param network? Optional token network. Defaults to the testnet TRON network.
|
|
742
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
743
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
744
|
+
*/
|
|
745
|
+
export declare function ttronToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: TronNetwork, primaryKeyCurve?: KeyCurve): Readonly<TronErc20Coin>;
|
|
746
|
+
/**
|
|
747
|
+
* Factory function for Hedera coin instances
|
|
748
|
+
*
|
|
749
|
+
* @param id uuid v4
|
|
750
|
+
* @param name unique identifier of the coin
|
|
751
|
+
* @param fullName Complete human-readable name of the token
|
|
752
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
753
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
754
|
+
* @param nodeAccountId node account Id from which the transaction will be sent
|
|
755
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
756
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
757
|
+
* @param network? Optional token network. Defaults to Hedera mainnet.
|
|
758
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
759
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
760
|
+
*/
|
|
761
|
+
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>;
|
|
762
|
+
/**
|
|
763
|
+
* Factory function for Hedera token instances
|
|
764
|
+
*
|
|
765
|
+
* @param id uuid v4
|
|
766
|
+
* @param name unique identifier of the coin
|
|
767
|
+
* @param fullName Complete human-readable name of the token
|
|
768
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
769
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
770
|
+
* @param nodeAccountId node account Id from which the transaction will be sent
|
|
771
|
+
* @param tokenId The unique identifier of this token
|
|
772
|
+
* @param contractAddress Contract address of this token, same as tokenId
|
|
773
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
774
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
775
|
+
* @param network? Optional token network. Defaults to Hedera mainnet.
|
|
776
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
777
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
778
|
+
*/
|
|
779
|
+
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>;
|
|
780
|
+
/**
|
|
781
|
+
* Factory function for ALGO token instances.
|
|
782
|
+
*
|
|
783
|
+
* @param id uuid v4
|
|
784
|
+
* @param name unique identifier of the token
|
|
785
|
+
|
|
786
|
+
* @param alias (optional) alternative identifier of the token
|
|
787
|
+
* @param fullName Complete human-readable name of the token
|
|
788
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
789
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
790
|
+
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
791
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
792
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
793
|
+
* @param network? Optional token network. Defaults to ALGO mainnet.
|
|
794
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
795
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
796
|
+
*/
|
|
797
|
+
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>;
|
|
798
|
+
/**
|
|
799
|
+
* Factory function for testnet ALGO token instances.
|
|
800
|
+
*
|
|
801
|
+
* @param id uuid v4
|
|
802
|
+
* @param name unique identifier of the token
|
|
803
|
+
* @param alias (optional) alternative identifier of the token
|
|
804
|
+
* @param fullName Complete human-readable name of the token
|
|
805
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
806
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
807
|
+
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
808
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
809
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
810
|
+
* @param network? Optional token network. Defaults to Algo testnet.
|
|
811
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
812
|
+
*/
|
|
813
|
+
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>;
|
|
814
|
+
/**
|
|
815
|
+
* Factory function for eos token instances.
|
|
816
|
+
*
|
|
817
|
+
* @param id uuid v4
|
|
818
|
+
* @param name unique identifier of the token
|
|
819
|
+
* @param fullName Complete human-readable name of the token
|
|
820
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
821
|
+
* @param contractName Contract address of this token
|
|
822
|
+
* @param contractAddress Contract address of this token
|
|
823
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
824
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
825
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
826
|
+
* @param network? Optional token network. Defaults to EOS main network.
|
|
827
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
828
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
829
|
+
*/
|
|
830
|
+
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>;
|
|
831
|
+
/**
|
|
832
|
+
* Factory function for testnet eos token instances.
|
|
833
|
+
*
|
|
834
|
+
* @param id uuid v4
|
|
835
|
+
* @param name unique identifier of the token
|
|
836
|
+
* @param fullName Complete human-readable name of the token
|
|
837
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
838
|
+
* @param contractName Contract address of this token
|
|
839
|
+
* @param contractAddress Contract address of this token
|
|
840
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
841
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
842
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
843
|
+
* @param symbol? token symbol as defined in token contract.
|
|
844
|
+
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
845
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
846
|
+
*/
|
|
847
|
+
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>;
|
|
848
|
+
/**
|
|
849
|
+
* Factory function for sol token instances.
|
|
850
|
+
*
|
|
851
|
+
* @param id uuid v4
|
|
852
|
+
* @param name unique identifier of the token
|
|
853
|
+
* @param fullName Complete human-readable name of the token
|
|
854
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
855
|
+
* @param tokenAddress Token address of this token
|
|
856
|
+
* @param contractAddress Contract address of this token
|
|
857
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
858
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
859
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
860
|
+
* @param network? Optional token network. Defaults to SOL main network.
|
|
861
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
862
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
863
|
+
*/
|
|
864
|
+
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>;
|
|
865
|
+
/**
|
|
866
|
+
* Factory function for testnet solana token instances.
|
|
867
|
+
*
|
|
868
|
+
* @param id uuid v4
|
|
869
|
+
* @param name unique identifier of the token
|
|
870
|
+
* @param fullName Complete human-readable name of the token
|
|
871
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
872
|
+
* @param tokenAddress Token address of this token
|
|
873
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
874
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
875
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
876
|
+
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
877
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
878
|
+
*/
|
|
879
|
+
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>;
|
|
880
|
+
/**
|
|
881
|
+
* Factory function for prod cardano token instances.
|
|
882
|
+
*
|
|
883
|
+
* @param id uuid v4
|
|
884
|
+
* @param name Name of the token
|
|
885
|
+
* @param fullName Complete human-readable name of the token
|
|
886
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
887
|
+
* @param policyId Policy Id
|
|
888
|
+
* @param assetName Asset name -> Policy ID + Asset name is the unique identifier
|
|
889
|
+
* @param contractAddress Fingerprint of this token
|
|
890
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
891
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
892
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
893
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
894
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
895
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
896
|
+
*/
|
|
897
|
+
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>;
|
|
898
|
+
/**
|
|
899
|
+
* Factory function for testnet cardano token instances.
|
|
900
|
+
*
|
|
901
|
+
* @param id uuid v4
|
|
902
|
+
* @param name Name of the token
|
|
903
|
+
* @param fullName Complete human-readable name of the token
|
|
904
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
905
|
+
* @param policyId Policy Id
|
|
906
|
+
* @param assetName Asset name -> Policy ID + Asset name is the unique identifier
|
|
907
|
+
* @param contractAddress Fingerprint of this token
|
|
908
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
909
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
910
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
911
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
912
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
913
|
+
*/
|
|
914
|
+
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>;
|
|
915
|
+
/**
|
|
916
|
+
* Factory function for avaxErc20 token instances.
|
|
917
|
+
*
|
|
918
|
+
* @param id uuid v4
|
|
919
|
+
* @param name unique identifier of the token
|
|
920
|
+
* @param fullName Complete human-readable name of the token
|
|
921
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
922
|
+
* @param contractAddress Contract address of this token
|
|
923
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
924
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
925
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
926
|
+
* @param network? Optional token network. Defaults to AvalancheC main network.
|
|
927
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
928
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
929
|
+
*/
|
|
930
|
+
export declare function avaxErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AvaxERC20Token>;
|
|
931
|
+
/**
|
|
932
|
+
* Factory function for testnet avaxErc20 token instances.
|
|
933
|
+
*
|
|
934
|
+
* @param id uuid v4
|
|
935
|
+
* @param name unique identifier of the token
|
|
936
|
+
* @param fullName Complete human-readable name of the token
|
|
937
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
938
|
+
* @param contractAddress Contract address of this token
|
|
939
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
940
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
941
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
942
|
+
* @param network? Optional token network. Defaults to the AvalancheC test network.
|
|
943
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
944
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
945
|
+
*/
|
|
946
|
+
export declare function tavaxErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AvaxERC20Token>;
|
|
947
|
+
/**
|
|
948
|
+
* Factory function for polygonErc20 token instances.
|
|
949
|
+
*
|
|
950
|
+
* @param id uuid v4
|
|
951
|
+
* @param name unique identifier of the token
|
|
952
|
+
* @param fullName Complete human-readable name of the token
|
|
953
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
954
|
+
* @param contractAddress Contract address of this token
|
|
955
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
956
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
957
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
958
|
+
* @param network? Optional token network. Defaults to Polygon main network.
|
|
959
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
960
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
961
|
+
*/
|
|
962
|
+
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>;
|
|
963
|
+
/**
|
|
964
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
965
|
+
*
|
|
966
|
+
* @param id uuid v4
|
|
967
|
+
* @param name unique identifier of the token
|
|
968
|
+
* @param fullName Complete human-readable name of the token
|
|
969
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
970
|
+
* @param contractAddress Contract address of this token
|
|
971
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
972
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
973
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
974
|
+
* @param network? Optional token network. Defaults to the Polygon test network.
|
|
975
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
976
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
977
|
+
*/
|
|
978
|
+
export declare function tpolygonErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<PolygonERC20Token>;
|
|
979
|
+
/**
|
|
980
|
+
* Factory function for arbethErc20 token instances.
|
|
981
|
+
*
|
|
982
|
+
* @param id uuid v4
|
|
983
|
+
* @param name unique identifier of the token
|
|
984
|
+
* @param fullName Complete human-readable name of the token
|
|
985
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
986
|
+
* @param contractAddress Contract address of this token
|
|
987
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
988
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
989
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
990
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
991
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
992
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
993
|
+
*/
|
|
994
|
+
export declare function arbethErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<ArbethERC20Token>;
|
|
995
|
+
/**
|
|
996
|
+
* Factory function for Arbitrum Sepolia testnet arbethErc20 token instances.
|
|
997
|
+
*
|
|
998
|
+
* @param id uuid v4
|
|
999
|
+
* @param name unique identifier of the token
|
|
1000
|
+
* @param fullName Complete human-readable name of the token
|
|
1001
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1002
|
+
* @param contractAddress Contract address of this token
|
|
1003
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1004
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1005
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1006
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
1007
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1008
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1009
|
+
*/
|
|
1010
|
+
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>;
|
|
1011
|
+
/**
|
|
1012
|
+
* Factory function for opethErc20 token instances.
|
|
1013
|
+
*
|
|
1014
|
+
* @param id uuid v4
|
|
1015
|
+
* @param name unique identifier of the token
|
|
1016
|
+
* @param fullName Complete human-readable name of the token
|
|
1017
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1018
|
+
* @param contractAddress Contract address of this token
|
|
1019
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1020
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1021
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1022
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
1023
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1024
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1025
|
+
*/
|
|
1026
|
+
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>;
|
|
1027
|
+
/**
|
|
1028
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
1029
|
+
*
|
|
1030
|
+
* @param id uuid v4
|
|
1031
|
+
* @param name unique identifier of the token
|
|
1032
|
+
* @param fullName Complete human-readable name of the token
|
|
1033
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1034
|
+
* @param contractAddress Contract address of this token
|
|
1035
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1036
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1037
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1038
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
1039
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1040
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1041
|
+
*/
|
|
1042
|
+
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>;
|
|
1043
|
+
/**
|
|
1044
|
+
* Factory function for zkethErc20 token instances.
|
|
1045
|
+
*
|
|
1046
|
+
* @param id uuid v4
|
|
1047
|
+
* @param name unique identifier of the token
|
|
1048
|
+
* @param fullName Complete human-readable name of the token
|
|
1049
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1050
|
+
* @param contractAddress Contract address of this token
|
|
1051
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1052
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1053
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1054
|
+
* @param network? Optional token network. Defaults to zkSync mainnet network.
|
|
1055
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1056
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1057
|
+
*/
|
|
1058
|
+
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>;
|
|
1059
|
+
/**
|
|
1060
|
+
* Factory function for zkSync Sepolia testnet zkethErc20 token instances.
|
|
1061
|
+
*
|
|
1062
|
+
* @param id uuid v4
|
|
1063
|
+
* @param name unique identifier of the token
|
|
1064
|
+
* @param fullName Complete human-readable name of the token
|
|
1065
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1066
|
+
* @param contractAddress Contract address of this token
|
|
1067
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1068
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1069
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1070
|
+
* @param network? Optional token network. Defaults to the zkSync sepolia test network.
|
|
1071
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1072
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1073
|
+
*/
|
|
1074
|
+
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>;
|
|
1075
|
+
/**
|
|
1076
|
+
* Factory function for beraErc20 token instances.
|
|
1077
|
+
*
|
|
1078
|
+
* @param id uuid v4
|
|
1079
|
+
* @param name unique identifier of the token
|
|
1080
|
+
* @param fullName Complete human-readable name of the token
|
|
1081
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1082
|
+
* @param contractAddress Contract address of this token
|
|
1083
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1084
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1085
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1086
|
+
* @param network? Optional token network. Defaults to bera mainnet network.
|
|
1087
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1088
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1089
|
+
*/
|
|
1090
|
+
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>;
|
|
1091
|
+
/**
|
|
1092
|
+
* Factory function for zkSync Sepolia testnet beraErc20 token instances.
|
|
1093
|
+
*
|
|
1094
|
+
* @param id uuid v4
|
|
1095
|
+
* @param name unique identifier of the token
|
|
1096
|
+
* @param fullName Complete human-readable name of the token
|
|
1097
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1098
|
+
* @param contractAddress Contract address of this token
|
|
1099
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1100
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1101
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1102
|
+
* @param network? Optional token network. Defaults to the bera test network.
|
|
1103
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1104
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1105
|
+
*/
|
|
1106
|
+
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>;
|
|
1107
|
+
/**
|
|
1108
|
+
* Factory function for CoredaoErc20 token instances.
|
|
1109
|
+
*
|
|
1110
|
+
* @param id uuid v4
|
|
1111
|
+
* @param name unique identifier of the token
|
|
1112
|
+
* @param fullName Complete human-readable name of the token
|
|
1113
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1114
|
+
* @param contractAddress Contract address of this token
|
|
1115
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1116
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1117
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1118
|
+
* @param network? Optional token network. Defaults to coredao mainnet network.
|
|
1119
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1120
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1121
|
+
*/
|
|
1122
|
+
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>;
|
|
1123
|
+
/**
|
|
1124
|
+
* Factory function for coredao testnet coredaoErc20 token instances.
|
|
1125
|
+
*
|
|
1126
|
+
* @param id uuid v4
|
|
1127
|
+
* @param name unique identifier of the token
|
|
1128
|
+
* @param fullName Complete human-readable name of the token
|
|
1129
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1130
|
+
* @param contractAddress Contract address of this token
|
|
1131
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1132
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1133
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1134
|
+
* @param network? Optional token network. Defaults to the coredao test network.
|
|
1135
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1136
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1137
|
+
*/
|
|
1138
|
+
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>;
|
|
1139
|
+
/**
|
|
1140
|
+
* Factory function for WorldErc20 token instances.
|
|
1141
|
+
*
|
|
1142
|
+
* @param id uuid v4
|
|
1143
|
+
* @param name unique identifier of the token
|
|
1144
|
+
* @param fullName Complete human-readable name of the token
|
|
1145
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1146
|
+
* @param contractAddress Contract address of this token
|
|
1147
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1148
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1149
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1150
|
+
* @param network? Optional token network. Defaults to World Chain mainnet network.
|
|
1151
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1152
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1153
|
+
*/
|
|
1154
|
+
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>;
|
|
1155
|
+
/**
|
|
1156
|
+
* Factory function for world testnet worldErc20 token instances.
|
|
1157
|
+
*
|
|
1158
|
+
* @param id uuid v4
|
|
1159
|
+
* @param name unique identifier of the token
|
|
1160
|
+
* @param fullName Complete human-readable name of the token
|
|
1161
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1162
|
+
* @param contractAddress Contract address of this token
|
|
1163
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1164
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1165
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1166
|
+
* @param network? Optional token network. Defaults to the World Chain test network.
|
|
1167
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1168
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1169
|
+
*/
|
|
1170
|
+
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>;
|
|
1171
|
+
/**
|
|
1172
|
+
* Factory function for FlrErc20 token instances.
|
|
1173
|
+
*
|
|
1174
|
+
* @param id uuid v4
|
|
1175
|
+
* @param name unique identifier of the token
|
|
1176
|
+
* @param fullName Complete human-readable name of the token
|
|
1177
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1178
|
+
* @param contractAddress Contract address of this token
|
|
1179
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1180
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1181
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1182
|
+
* @param network? Optional token network. Defaults to Flr Chain mainnet network.
|
|
1183
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1184
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1185
|
+
*/
|
|
1186
|
+
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>;
|
|
1187
|
+
/**
|
|
1188
|
+
* Factory function for Flr testnet FlrErc20 token instances.
|
|
1189
|
+
*
|
|
1190
|
+
* @param id uuid v4
|
|
1191
|
+
* @param name unique identifier of the token
|
|
1192
|
+
* @param fullName Complete human-readable name of the token
|
|
1193
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1194
|
+
* @param contractAddress Contract address of this token
|
|
1195
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1196
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1197
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1198
|
+
* @param network? Optional token network. Defaults to the Flr Chain test network.
|
|
1199
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1200
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1201
|
+
*/
|
|
1202
|
+
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>;
|
|
1203
|
+
/**
|
|
1204
|
+
* Factory function for xrp token instances.
|
|
1205
|
+
*
|
|
1206
|
+
* @param id uuid v4
|
|
1207
|
+
* @param name unique identifier of the token
|
|
1208
|
+
* @param fullName Complete human-readable name of the token
|
|
1209
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1210
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
1211
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1212
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
1213
|
+
* @param domain? the domain of the issuer of the token,
|
|
1214
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1215
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1216
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1217
|
+
* @param network? Optional token network. Defaults to Cardano main network.
|
|
1218
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1219
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1220
|
+
*/
|
|
1221
|
+
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>;
|
|
1222
|
+
/**
|
|
1223
|
+
* Factory function for testnet cardano token instances.
|
|
1224
|
+
*
|
|
1225
|
+
* @param id uuid v4
|
|
1226
|
+
* @param name unique identifier of the token
|
|
1227
|
+
* @param fullName Complete human-readable name of the token
|
|
1228
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1229
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
1230
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1231
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
1232
|
+
* @param domain? the domain of the issuer of the token,
|
|
1233
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1234
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1235
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1236
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
1237
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1238
|
+
*/
|
|
1239
|
+
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>;
|
|
1240
|
+
/**
|
|
1241
|
+
* Factory function for sui token instances.
|
|
1242
|
+
*
|
|
1243
|
+
* @param id uuid v4
|
|
1244
|
+
* @param name unique identifier of the token
|
|
1245
|
+
* @param fullName Complete human-readable name of the token
|
|
1246
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1247
|
+
* @param packageId PackageId of this token
|
|
1248
|
+
* @param module The module of the package with id `packageId`
|
|
1249
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1250
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1251
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1252
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1253
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1254
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1255
|
+
* @param network? Optional token network. Defaults to SUI main network.
|
|
1256
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1257
|
+
*/
|
|
1258
|
+
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>;
|
|
1259
|
+
/**
|
|
1260
|
+
* Factory function for testnet sui token instances.
|
|
1261
|
+
*
|
|
1262
|
+
* @param id uuid v4
|
|
1263
|
+
* @param name unique identifier of the token
|
|
1264
|
+
* @param fullName Complete human-readable name of the token
|
|
1265
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1266
|
+
* @param packageId PackageId of this token
|
|
1267
|
+
* @param module The module of the package with id `packageId`
|
|
1268
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1269
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1270
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1271
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1272
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1273
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1274
|
+
* @param network? Optional token network. Defaults to SUI test network.
|
|
1275
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1276
|
+
*/
|
|
1277
|
+
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>;
|
|
1278
|
+
/**
|
|
1279
|
+
* Factory function for apt 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 assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
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 APT main network.
|
|
1290
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1291
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1292
|
+
*/
|
|
1293
|
+
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>;
|
|
1294
|
+
/**
|
|
1295
|
+
* Factory function for Apt NFT collections.
|
|
1296
|
+
*
|
|
1297
|
+
* @param id uuid v4
|
|
1298
|
+
* @param name unique identifier of the NFT collection
|
|
1299
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1300
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1301
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1302
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1303
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1304
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1305
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1306
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1307
|
+
*/
|
|
1308
|
+
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>;
|
|
1309
|
+
/**
|
|
1310
|
+
* Factory function for testnet apt token instances.
|
|
1311
|
+
*
|
|
1312
|
+
* @param id uuid v4
|
|
1313
|
+
* @param name unique identifier of the token
|
|
1314
|
+
* @param fullName Complete human-readable name of the token
|
|
1315
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1316
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1317
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1318
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1319
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1320
|
+
* @param network Optional token network. Defaults to the testnet APT network.
|
|
1321
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1322
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1323
|
+
*/
|
|
1324
|
+
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>;
|
|
1325
|
+
/**
|
|
1326
|
+
* Factory function for testnet Apt NFT collections.
|
|
1327
|
+
*
|
|
1328
|
+
* @param id uuid v4
|
|
1329
|
+
* @param name unique identifier of the NFT collection
|
|
1330
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1331
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1332
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1333
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1334
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1335
|
+
* @param network Optional token network. Defaults to APT test network.
|
|
1336
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1337
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1338
|
+
*/
|
|
1339
|
+
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>;
|
|
1340
|
+
/**
|
|
1341
|
+
* Factory function for fiat coin instances.
|
|
1342
|
+
*
|
|
1343
|
+
* @param id uuid v4
|
|
1344
|
+
* @param name unique identifier of the coin, should start with 'fiat' or 'tfiat' followed by the 3-char ISO-4217 alphabetical code
|
|
1345
|
+
* @param fullName Complete human-readable name of the coin
|
|
1346
|
+
* @param network Network object for this coin
|
|
1347
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
1348
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1349
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `FiatCoin`
|
|
1350
|
+
* @param primaryKeyCurve? The elliptic curve for this chain/token
|
|
1351
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
1352
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
1353
|
+
* @param isToken? Whether or not this coin is a token of another coin
|
|
1354
|
+
*/
|
|
1355
|
+
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>;
|
|
1356
|
+
/**
|
|
1357
|
+
* Factory function for sip10 token instances.
|
|
1358
|
+
*
|
|
1359
|
+
* @param id uuid v4
|
|
1360
|
+
* @param name unique identifier of the token
|
|
1361
|
+
* @param fullName Complete human-readable name of the token
|
|
1362
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1363
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1364
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1365
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1366
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1367
|
+
* @param network? Optional token network. Defaults to Stacks main network.
|
|
1368
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1369
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1370
|
+
*/
|
|
1371
|
+
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>;
|
|
1372
|
+
/**
|
|
1373
|
+
* Factory function for testnet sip10 token instances.
|
|
1374
|
+
*
|
|
1375
|
+
* @param id uuid v4
|
|
1376
|
+
* @param name unique identifier of the token
|
|
1377
|
+
* @param fullName Complete human-readable name of the token
|
|
1378
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1379
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1380
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1381
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1382
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1383
|
+
* @param network? Optional token network. Defaults to the testnet Stacks network.
|
|
1384
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1385
|
+
*/
|
|
1386
|
+
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>;
|
|
1387
|
+
/**
|
|
1388
|
+
* Factory function for nep141 token instances.
|
|
1389
|
+
*
|
|
1390
|
+
* @param id uuid v4
|
|
1391
|
+
* @param name unique identifier of the token
|
|
1392
|
+
* @param fullName Complete human-readable name of the token
|
|
1393
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1394
|
+
* @param contractAddress Contract address of this token
|
|
1395
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1396
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1397
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1398
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1399
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1400
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1401
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1402
|
+
*/
|
|
1403
|
+
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>;
|
|
1404
|
+
/**
|
|
1405
|
+
* Factory function for testnet nep141 token instances.
|
|
1406
|
+
*
|
|
1407
|
+
* @param id uuid v4
|
|
1408
|
+
* @param name unique identifier of the token
|
|
1409
|
+
* @param fullName Complete human-readable name of the token
|
|
1410
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1411
|
+
* @param contractAddress Contract address of this token
|
|
1412
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1413
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1414
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1415
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1416
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1417
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1418
|
+
*/
|
|
1419
|
+
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>;
|
|
1420
|
+
/**
|
|
1421
|
+
* Factory function for vet token instances.
|
|
1422
|
+
*
|
|
1423
|
+
* @param id uuid v4
|
|
1424
|
+
* @param name unique identifier of the token
|
|
1425
|
+
* @param fullName Complete human-readable name of the token
|
|
1426
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1427
|
+
* @param contractAddress Contract address of this token
|
|
1428
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1429
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1430
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1431
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1432
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1433
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1434
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1435
|
+
*/
|
|
1436
|
+
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>;
|
|
1437
|
+
/**
|
|
1438
|
+
* Factory function for testnet vet token instances.
|
|
1439
|
+
*
|
|
1440
|
+
* @param id uuid v4
|
|
1441
|
+
* @param name unique identifier of the token
|
|
1442
|
+
* @param fullName Complete human-readable name of the token
|
|
1443
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1444
|
+
* @param contractAddress Contract address of this token
|
|
1445
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1446
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1447
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1448
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1449
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1450
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1451
|
+
*/
|
|
1452
|
+
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>;
|
|
1453
|
+
/**
|
|
1454
|
+
* Factory function for Vet NFT collections.
|
|
1455
|
+
*
|
|
1456
|
+
* @param id uuid v4
|
|
1457
|
+
* @param name unique identifier of the NFT collection
|
|
1458
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1459
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1460
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1461
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1462
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1463
|
+
* @param network Optional token network. Defaults to VET main network.
|
|
1464
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1465
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1466
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1467
|
+
*/
|
|
1468
|
+
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>;
|
|
1469
|
+
/**
|
|
1470
|
+
* Factory function for testnet Vet NFT collections.
|
|
1471
|
+
*
|
|
1472
|
+
* @param id uuid v4
|
|
1473
|
+
* @param name unique identifier of the NFT collection
|
|
1474
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1475
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1476
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1477
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1478
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1479
|
+
* @param network Optional token network. Defaults to VET test network.
|
|
1480
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1481
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1482
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1483
|
+
*/
|
|
1484
|
+
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>;
|
|
1485
|
+
/**
|
|
1486
|
+
* Factory function for Cosmos chain token instances.
|
|
1487
|
+
*
|
|
1488
|
+
* @param id uuid v4
|
|
1489
|
+
* @param name unique identifier of the token
|
|
1490
|
+
* @param fullName Complete human-readable name of the token
|
|
1491
|
+
* @param denom denomination of this token which will act as a unique identifier for the token on chain
|
|
1492
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1493
|
+
* @param network Network (mainnet or testnet) for this token
|
|
1494
|
+
* @param baseUnit Base unit of this token (native asset)
|
|
1495
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1496
|
+
* @param features Features of this coin. Defaults to the COSMOS_SIDECHAIN_FEATURES defined in `coinFeatures.ts`
|
|
1497
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1498
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1499
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1500
|
+
*/
|
|
1501
|
+
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>;
|
|
1502
|
+
/**
|
|
1503
|
+
* Factory function for tao token instances.
|
|
1504
|
+
*
|
|
1505
|
+
* @param id uuid v4
|
|
1506
|
+
* @param name unique identifier of the token
|
|
1507
|
+
* @param fullName Complete human-readable name of the token
|
|
1508
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1509
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1510
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1511
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1512
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1513
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1514
|
+
* @param network? Optional token network. Defaults to TAO main network.
|
|
1515
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1516
|
+
*/
|
|
1517
|
+
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>;
|
|
1518
|
+
/**
|
|
1519
|
+
* Factory function for testnet tao token instances.
|
|
1520
|
+
*
|
|
1521
|
+
* @param id uuid v4
|
|
1522
|
+
* @param name unique identifier of the token
|
|
1523
|
+
* @param fullName Complete human-readable name of the token
|
|
1524
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1525
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1526
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1527
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1528
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1529
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1530
|
+
* @param network? Optional token network. Defaults to TAO test network.
|
|
1531
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1532
|
+
*/
|
|
1533
|
+
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>;
|
|
1534
|
+
/**
|
|
1535
|
+
* Factory function for polyx token instances.
|
|
1536
|
+
*
|
|
1537
|
+
* @param id uuid v4
|
|
1538
|
+
* @param name unique identifier of the token
|
|
1539
|
+
* @param fullName Complete human-readable name of the token
|
|
1540
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1541
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1542
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1543
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1544
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1545
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1546
|
+
* @param network? Optional token network. Defaults to Polyx main network.
|
|
1547
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1548
|
+
*/
|
|
1549
|
+
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>;
|
|
1550
|
+
/**
|
|
1551
|
+
* Factory function for testnet polyx token instances.
|
|
1552
|
+
*
|
|
1553
|
+
* @param id uuid v4
|
|
1554
|
+
* @param name unique identifier of the token
|
|
1555
|
+
* @param fullName Complete human-readable name of the token
|
|
1556
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1557
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1558
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1559
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1560
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1561
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1562
|
+
* @param network? Optional token network. Defaults to Polyx test network.
|
|
1563
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1564
|
+
*/
|
|
1565
|
+
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>;
|
|
1566
|
+
/**
|
|
1567
|
+
* Factory function for Jetton token instances.
|
|
1568
|
+
* Jetton is the token standard on TON blockchain.
|
|
1569
|
+
*
|
|
1570
|
+
* @param id uuid v4
|
|
1571
|
+
* @param name unique identifier of the token
|
|
1572
|
+
* @param fullName Complete human-readable name of the token
|
|
1573
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1574
|
+
* @param contractAddress Contract address of this token
|
|
1575
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1576
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1577
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1578
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1579
|
+
* @param network Optional token network. Defaults to TON main network.
|
|
1580
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1581
|
+
*/
|
|
1582
|
+
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>;
|
|
1583
|
+
/**
|
|
1584
|
+
* Factory function for testnet jetton token instances.
|
|
1585
|
+
* Jetton is the token standard on TON blockchain.
|
|
1586
|
+
*
|
|
1587
|
+
* @param id uuid v4
|
|
1588
|
+
* @param name unique identifier of the token
|
|
1589
|
+
* @param fullName Complete human-readable name of the token
|
|
1590
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1591
|
+
* @param contractAddress Contract address of this token
|
|
1592
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1593
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1594
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1595
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1596
|
+
* @param network Optional token network. Defaults to the testnet TON network.
|
|
1597
|
+
*/
|
|
1598
|
+
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>;
|
|
1599
|
+
export {};
|
|
1600
|
+
//# sourceMappingURL=account.d.ts.map
|