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