@bitgo-beta/statics 15.1.1-beta.193 → 15.1.1-beta.1931
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 +1202 -75
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +1809 -158
- package/dist/src/ada.d.ts.map +1 -1
- package/dist/src/ada.js +7 -3
- package/dist/src/allCoinsAndTokens.d.ts +2 -0
- package/dist/src/allCoinsAndTokens.d.ts.map +1 -0
- package/dist/src/allCoinsAndTokens.js +1782 -0
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +9 -3
- package/dist/src/base.d.ts +2907 -59
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +3024 -69
- 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 +127 -0
- package/dist/src/coinFeatures.d.ts.map +1 -0
- package/dist/src/coinFeatures.js +779 -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 +131 -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 +65 -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 +303 -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 +364 -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 +132 -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 +2063 -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 +34 -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/hoodethTokens.d.ts +2 -0
- package/dist/src/coins/hoodethTokens.d.ts.map +1 -0
- package/dist/src/coins/hoodethTokens.js +116 -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 +1319 -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 +1856 -0
- package/dist/src/coins/ofcHoodethTokens.d.ts +2 -0
- package/dist/src/coins/ofcHoodethTokens.d.ts.map +1 -0
- package/dist/src/coins/ofcHoodethTokens.js +114 -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 +207 -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 +499 -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 +464 -1715
- 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 +9 -0
- package/dist/src/errors.d.ts.map +1 -1
- package/dist/src/errors.js +23 -2
- package/dist/src/flrp.d.ts +40 -0
- package/dist/src/flrp.d.ts.map +1 -0
- package/dist/src/flrp.js +66 -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 +44 -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 +34 -1
- package/dist/src/map.d.ts.map +1 -1
- package/dist/src/map.js +250 -35
- package/dist/src/networkFeatureMapForTokens.d.ts +17 -0
- package/dist/src/networkFeatureMapForTokens.d.ts.map +1 -0
- package/dist/src/networkFeatureMapForTokens.js +84 -0
- package/dist/src/networks.d.ts +2000 -65
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +2448 -108
- 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 +695 -108
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +1087 -220
- package/dist/src/utxo.d.ts +3 -1
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +84 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -3
- package/.mocharc.js +0 -10
- package/.prettierignore +0 -2
- package/CHANGELOG.md +0 -1289
package/dist/src/account.d.ts
CHANGED
|
@@ -1,5 +1,80 @@
|
|
|
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
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Token-2022 (SPL Token Extensions) that BitGo has explicit custody handling for.
|
|
12
|
+
* This set is the onboarding safety gate: a mint whose
|
|
13
|
+
* TLV data declares any extension NOT represented here must be rejected at onboarding
|
|
14
|
+
* and escalated to engineering — no soft pass.
|
|
15
|
+
*/
|
|
16
|
+
export declare enum SolTokenExtensionType {
|
|
17
|
+
TransferFee = "transferFee",
|
|
18
|
+
TransferHook = "transferHook",
|
|
19
|
+
PermanentDelegate = "permanentDelegate",
|
|
20
|
+
InterestBearing = "interestBearing",
|
|
21
|
+
ScaledUiAmount = "scaledUiAmount",
|
|
22
|
+
DefaultAccountState = "defaultAccountState"
|
|
23
|
+
}
|
|
24
|
+
/** On-chain authority addresses relevant to Token-2022 extensions, captured at onboarding. */
|
|
25
|
+
export interface SolTokenAuthorities {
|
|
26
|
+
freezeAuthority?: string;
|
|
27
|
+
mintAuthority?: string;
|
|
28
|
+
transferFeeConfigAuthority?: string;
|
|
29
|
+
withdrawWithheldAuthority?: string;
|
|
30
|
+
permanentDelegate?: string;
|
|
31
|
+
rateAuthority?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface SolTransferFeeConfig {
|
|
34
|
+
transferFeeBasisPoints: number;
|
|
35
|
+
/** Raw base units, stringified to avoid precision loss. */
|
|
36
|
+
maximumFee: string;
|
|
37
|
+
}
|
|
38
|
+
export interface SolDefaultAccountStateConfig {
|
|
39
|
+
/** True when the mint's Default Account State is Frozen. */
|
|
40
|
+
frozen: boolean;
|
|
41
|
+
/** True when a permissionless thaw program (Token ACL etc.) is associated */
|
|
42
|
+
permissionlessThaw: boolean;
|
|
43
|
+
}
|
|
44
|
+
export interface SolInterestBearingConfig {
|
|
45
|
+
/** Annual interest rate in basis points. */
|
|
46
|
+
rateBasisPoints: number;
|
|
47
|
+
/** 'continuous' (issuer mints frequently) or 'redeemOnMaturity' (accrued not transferable until settlement). */
|
|
48
|
+
settlementModel?: 'continuous' | 'redeemOnMaturity';
|
|
49
|
+
}
|
|
50
|
+
export interface SolScaledUiAmountConfig {
|
|
51
|
+
/** UiAmountMultiplier active at onboarding; time-series history is tracked off-chain from day one. */
|
|
52
|
+
initialMultiplier: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Per-mint Token-2022 extension configuration detected at onboarding.
|
|
56
|
+
* Absent => classic SPL / no modeled extensions.
|
|
57
|
+
*/
|
|
58
|
+
export interface SolTokenExtensions {
|
|
59
|
+
/** Every extension detected on the mint's TLV data. Onboarding hard-stops if any is not a SolTokenExtensionType. */
|
|
60
|
+
detected: SolTokenExtensionType[];
|
|
61
|
+
authorities?: SolTokenAuthorities;
|
|
62
|
+
/** Resolved human-readable issuer name for notifications and transaction history. */
|
|
63
|
+
issuerName?: string;
|
|
64
|
+
transferFee?: SolTransferFeeConfig;
|
|
65
|
+
/** Transfer Hook program id. The extra-account-meta list is resolved fresh at tx time — never stored. */
|
|
66
|
+
transferHookProgramId?: string;
|
|
67
|
+
interestBearing?: SolInterestBearingConfig;
|
|
68
|
+
scaledUiAmount?: SolScaledUiAmountConfig;
|
|
69
|
+
defaultAccountState?: SolDefaultAccountStateConfig;
|
|
70
|
+
}
|
|
71
|
+
/** Extensions BitGo can safely custody (the onboarding allowlist). */
|
|
72
|
+
export declare const SUPPORTED_SOL_TOKEN_EXTENSIONS: ReadonlySet<SolTokenExtensionType>;
|
|
73
|
+
/**
|
|
74
|
+
* Returns the detected extensions BitGo has no handling code for.
|
|
75
|
+
* A non-empty result MUST hard-stop onboarding.
|
|
76
|
+
*/
|
|
77
|
+
export declare function getUnsupportedSolTokenExtensions(detected: readonly string[]): string[];
|
|
3
78
|
export interface AccountConstructorOptions {
|
|
4
79
|
id: string;
|
|
5
80
|
fullName: string;
|
|
@@ -24,14 +99,31 @@ export interface AccountConstructorOptions {
|
|
|
24
99
|
*/
|
|
25
100
|
export declare class AccountCoin extends BaseCoin {
|
|
26
101
|
static readonly DEFAULT_FEATURES: CoinFeature[];
|
|
102
|
+
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.SUNSETTING | 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 | CoinFeature.RECEIPT_TOKEN_APPROXIMATE_PRICE | CoinFeature.BYOV_VALIDATOR)[];
|
|
27
103
|
readonly network: AccountNetwork;
|
|
28
104
|
constructor(options: AccountConstructorOptions);
|
|
29
105
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
30
106
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
107
|
+
static getFeaturesExcluding(excludedFeatures: CoinFeature[]): CoinFeature[];
|
|
108
|
+
static getFeaturesByTypeExcluding(excludedFeatures: CoinFeature[], baseFeatures?: CoinFeature[]): CoinFeature[];
|
|
109
|
+
}
|
|
110
|
+
export interface GasTankAccountConstructorOptions extends AccountConstructorOptions {
|
|
111
|
+
gasTankLowBalanceAlertFactor: number;
|
|
112
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
113
|
+
gasTankToken?: string;
|
|
31
114
|
}
|
|
32
115
|
export interface Erc20ConstructorOptions extends AccountConstructorOptions {
|
|
33
116
|
contractAddress: string;
|
|
34
117
|
}
|
|
118
|
+
export interface Erc721ConstructorOptions extends AccountConstructorOptions {
|
|
119
|
+
contractAddress: string;
|
|
120
|
+
}
|
|
121
|
+
export interface Erc7984ConstructorOptions extends AccountConstructorOptions {
|
|
122
|
+
contractAddress: string;
|
|
123
|
+
}
|
|
124
|
+
export interface NFTCollectionIdConstructorOptions extends AccountConstructorOptions {
|
|
125
|
+
nftCollectionId: string;
|
|
126
|
+
}
|
|
35
127
|
export interface StellarCoinConstructorOptions extends AccountConstructorOptions {
|
|
36
128
|
domain: string;
|
|
37
129
|
}
|
|
@@ -40,36 +132,91 @@ export interface HederaCoinConstructorOptions extends AccountConstructorOptions
|
|
|
40
132
|
}
|
|
41
133
|
export interface HederaTokenConstructorOptions extends AccountConstructorOptions {
|
|
42
134
|
nodeAccountId: string;
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
export interface AlgoCoinConstructorOptions extends AccountConstructorOptions {
|
|
46
|
-
tokenURL: string;
|
|
135
|
+
contractAddress: string;
|
|
47
136
|
}
|
|
48
137
|
export interface EosCoinConstructorOptions extends AccountConstructorOptions {
|
|
49
138
|
contractName: string;
|
|
139
|
+
contractAddress: string;
|
|
140
|
+
symbol?: string;
|
|
50
141
|
}
|
|
51
142
|
export interface SolCoinConstructorOptions extends AccountConstructorOptions {
|
|
52
143
|
tokenAddress: string;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
assetName: string;
|
|
144
|
+
contractAddress: string;
|
|
145
|
+
programId: string;
|
|
146
|
+
tokenExtensions?: SolTokenExtensions;
|
|
57
147
|
}
|
|
58
148
|
export interface XrpCoinConstructorOptions extends AccountConstructorOptions {
|
|
59
149
|
issuerAddress: string;
|
|
60
150
|
currencyCode: string;
|
|
61
151
|
domain: string;
|
|
152
|
+
contractAddress: string;
|
|
153
|
+
}
|
|
154
|
+
export interface XrpMptCoinConstructorOptions extends AccountConstructorOptions {
|
|
155
|
+
mptIssuanceId: string;
|
|
156
|
+
canTransfer: boolean;
|
|
157
|
+
assetScale: number;
|
|
62
158
|
}
|
|
63
|
-
|
|
159
|
+
export interface SuiCoinConstructorOptions extends AccountConstructorOptions {
|
|
160
|
+
packageId: string;
|
|
161
|
+
module: string;
|
|
162
|
+
symbol: string;
|
|
163
|
+
contractAddress: string;
|
|
164
|
+
}
|
|
165
|
+
export interface AptCoinConstructorOptions extends AccountConstructorOptions {
|
|
166
|
+
assetId: string;
|
|
167
|
+
}
|
|
168
|
+
export interface TaoCoinConstructorOptions extends AccountConstructorOptions {
|
|
169
|
+
subnetId: string;
|
|
170
|
+
}
|
|
171
|
+
export interface PolyxCoinConstructorOptions extends AccountConstructorOptions {
|
|
172
|
+
ticker: string;
|
|
173
|
+
assetId: string;
|
|
174
|
+
}
|
|
175
|
+
type FiatCoinName = `fiat${string}` | `tfiat${string}`;
|
|
64
176
|
export interface FiatCoinConstructorOptions extends AccountConstructorOptions {
|
|
65
177
|
name: FiatCoinName;
|
|
66
178
|
}
|
|
179
|
+
export interface Sip10TokenConstructorOptions extends AccountConstructorOptions {
|
|
180
|
+
assetId: string;
|
|
181
|
+
}
|
|
182
|
+
export interface Nep141TokenConstructorOptions extends AccountConstructorOptions {
|
|
183
|
+
contractAddress: string;
|
|
184
|
+
storageDepositAmount: string;
|
|
185
|
+
}
|
|
186
|
+
export interface VetTokenConstructorOptions extends AccountConstructorOptions {
|
|
187
|
+
contractAddress: string;
|
|
188
|
+
gasTankToken?: string;
|
|
189
|
+
}
|
|
190
|
+
export interface CosmosTokenConstructorOptions extends AccountConstructorOptions {
|
|
191
|
+
denom: string;
|
|
192
|
+
}
|
|
193
|
+
export interface JettonTokenConstructorOptions extends AccountConstructorOptions {
|
|
194
|
+
contractAddress: string;
|
|
195
|
+
}
|
|
196
|
+
export interface AdaTokenConstructorOptions extends AccountConstructorOptions {
|
|
197
|
+
policyId: string;
|
|
198
|
+
assetName: string;
|
|
199
|
+
contractAddress: string;
|
|
200
|
+
}
|
|
201
|
+
export interface CantonTokenConstructorOptions extends AccountConstructorOptions {
|
|
202
|
+
baseUrl: string;
|
|
203
|
+
contractAddress: string;
|
|
204
|
+
}
|
|
205
|
+
export interface Tip20TokenConstructorOptions extends AccountConstructorOptions {
|
|
206
|
+
contractAddress: string;
|
|
207
|
+
}
|
|
67
208
|
export interface ContractAddress extends String {
|
|
68
209
|
__contractaddress_phantom__: never;
|
|
69
210
|
}
|
|
70
211
|
export declare class AccountCoinToken extends AccountCoin {
|
|
71
212
|
constructor(options: AccountConstructorOptions);
|
|
72
213
|
}
|
|
214
|
+
export declare class GasTankAccountCoin extends AccountCoin {
|
|
215
|
+
gasTankLowBalanceAlertFactor: number;
|
|
216
|
+
gasTankMinBalanceRecommendationFactor: number;
|
|
217
|
+
gasTankToken?: string;
|
|
218
|
+
constructor(options: GasTankAccountConstructorOptions);
|
|
219
|
+
}
|
|
73
220
|
/**
|
|
74
221
|
* Some blockchains support tokens which are defined by an address at which they have a smart contract deployed.
|
|
75
222
|
* Examples are ERC20 tokens, and the equivalent on other chains.
|
|
@@ -78,6 +225,13 @@ export declare class ContractAddressDefinedToken extends AccountCoinToken {
|
|
|
78
225
|
contractAddress: ContractAddress;
|
|
79
226
|
constructor(options: Erc20ConstructorOptions);
|
|
80
227
|
}
|
|
228
|
+
/**
|
|
229
|
+
* Used for blockchains that support NFT collections.
|
|
230
|
+
*/
|
|
231
|
+
export declare class NFTCollectionIdDefinedToken extends AccountCoinToken {
|
|
232
|
+
nftCollectionId: string;
|
|
233
|
+
constructor(options: NFTCollectionIdConstructorOptions);
|
|
234
|
+
}
|
|
81
235
|
/**
|
|
82
236
|
* ERC20 token addresses are Base58 formatted on some blockchains.
|
|
83
237
|
*/
|
|
@@ -105,6 +259,16 @@ export declare class Erc721Coin extends ContractAddressDefinedToken {
|
|
|
105
259
|
*/
|
|
106
260
|
export declare class Erc1155Coin extends ContractAddressDefinedToken {
|
|
107
261
|
}
|
|
262
|
+
/**
|
|
263
|
+
* ERC-7984 is the confidential token standard for fhEVM-enabled blockchains (Zama).
|
|
264
|
+
* Token balances are stored as FHE-encrypted ciphertexts; transfers use confidentialTransfer()
|
|
265
|
+
* instead of the standard ERC-20 transfer(). Balance reads require delegated decryption via ACL.
|
|
266
|
+
*
|
|
267
|
+
* {@link https://eips.ethereum.org/EIPS/eip-7984 EIP-7984}
|
|
268
|
+
*/
|
|
269
|
+
export declare class Erc7984Coin extends ContractAddressDefinedToken {
|
|
270
|
+
constructor(options: Erc7984ConstructorOptions);
|
|
271
|
+
}
|
|
108
272
|
/**
|
|
109
273
|
* The TRON blockchain supports tokens of the ERC20 standard similar to ETH ERC20 tokens.
|
|
110
274
|
*/
|
|
@@ -155,6 +319,7 @@ export declare class HederaCoin extends AccountCoinToken {
|
|
|
155
319
|
export declare class HederaToken extends AccountCoinToken {
|
|
156
320
|
nodeAccountId: string;
|
|
157
321
|
tokenId: string;
|
|
322
|
+
contractAddress: string;
|
|
158
323
|
constructor(options: HederaTokenConstructorOptions);
|
|
159
324
|
}
|
|
160
325
|
/**
|
|
@@ -164,8 +329,7 @@ export declare class HederaToken extends AccountCoinToken {
|
|
|
164
329
|
*
|
|
165
330
|
*/
|
|
166
331
|
export declare class AlgoCoin extends AccountCoinToken {
|
|
167
|
-
|
|
168
|
-
constructor(options: AlgoCoinConstructorOptions);
|
|
332
|
+
constructor(options: AccountConstructorOptions);
|
|
169
333
|
}
|
|
170
334
|
/**
|
|
171
335
|
* The Eos network supports tokens
|
|
@@ -175,6 +339,8 @@ export declare class AlgoCoin extends AccountCoinToken {
|
|
|
175
339
|
*/
|
|
176
340
|
export declare class EosCoin extends AccountCoinToken {
|
|
177
341
|
contractName: string;
|
|
342
|
+
contractAddress: string;
|
|
343
|
+
symbol: string;
|
|
178
344
|
constructor(options: EosCoinConstructorOptions);
|
|
179
345
|
}
|
|
180
346
|
/**
|
|
@@ -185,17 +351,18 @@ export declare class EosCoin extends AccountCoinToken {
|
|
|
185
351
|
*/
|
|
186
352
|
export declare class SolCoin extends AccountCoinToken {
|
|
187
353
|
tokenAddress: string;
|
|
354
|
+
contractAddress: string;
|
|
355
|
+
programId: string;
|
|
356
|
+
tokenExtensions?: SolTokenExtensions;
|
|
188
357
|
constructor(options: SolCoinConstructorOptions);
|
|
358
|
+
/** True if this token was onboarded with the given Token-2022 extension. */
|
|
359
|
+
hasExtension(type: SolTokenExtensionType): boolean;
|
|
189
360
|
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
export declare class AdaCoin extends AccountCoinToken {
|
|
196
|
-
policyId: string;
|
|
197
|
-
assetName: string;
|
|
198
|
-
constructor(options: AdaCoinConstructorOptions);
|
|
361
|
+
export declare class EthLikeERC20Token extends ContractAddressDefinedToken {
|
|
362
|
+
constructor(options: Erc20ConstructorOptions);
|
|
363
|
+
}
|
|
364
|
+
export declare class EthLikeERC721Token extends ContractAddressDefinedToken {
|
|
365
|
+
constructor(options: Erc721ConstructorOptions);
|
|
199
366
|
}
|
|
200
367
|
/**
|
|
201
368
|
* The AVAX C Chain network support tokens
|
|
@@ -218,6 +385,62 @@ export declare class PolygonERC20Token extends ContractAddressDefinedToken {
|
|
|
218
385
|
export declare class ArbethERC20Token extends ContractAddressDefinedToken {
|
|
219
386
|
constructor(options: Erc20ConstructorOptions);
|
|
220
387
|
}
|
|
388
|
+
/**
|
|
389
|
+
* The Optimism Chain network support tokens
|
|
390
|
+
* Optimism Chain Tokens are ERC20 tokens
|
|
391
|
+
*/
|
|
392
|
+
export declare class OpethERC20Token extends ContractAddressDefinedToken {
|
|
393
|
+
constructor(options: Erc20ConstructorOptions);
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* The zkSync network support tokens
|
|
397
|
+
* zkSync Tokens are ERC20 tokens
|
|
398
|
+
*/
|
|
399
|
+
export declare class ZkethERC20Token extends ContractAddressDefinedToken {
|
|
400
|
+
constructor(options: Erc20ConstructorOptions);
|
|
401
|
+
}
|
|
402
|
+
/**
|
|
403
|
+
* The Bera Chain network support tokens
|
|
404
|
+
* Bera Chain Tokens are ERC20 tokens
|
|
405
|
+
*/
|
|
406
|
+
export declare class BeraERC20Token extends ContractAddressDefinedToken {
|
|
407
|
+
constructor(options: Erc20ConstructorOptions);
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* The Coredao Chain network support tokens
|
|
411
|
+
* Coredao Chain Tokens are ERC20 tokens
|
|
412
|
+
*/
|
|
413
|
+
export declare class CoredaoERC20Token extends ContractAddressDefinedToken {
|
|
414
|
+
constructor(options: Erc20ConstructorOptions);
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* The World Chain network supports tokens
|
|
418
|
+
* World Chain Tokens are ERC20 tokens
|
|
419
|
+
*/
|
|
420
|
+
export declare class WorldERC20Token extends ContractAddressDefinedToken {
|
|
421
|
+
constructor(options: Erc20ConstructorOptions);
|
|
422
|
+
}
|
|
423
|
+
/**
|
|
424
|
+
* The Flr Chain network supports tokens
|
|
425
|
+
* Flr Chain Tokens are ERC20 tokens
|
|
426
|
+
*/
|
|
427
|
+
export declare class FlrERC20Token extends ContractAddressDefinedToken {
|
|
428
|
+
constructor(options: Erc20ConstructorOptions);
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
* The XDC network supports tokens
|
|
432
|
+
* XDC Tokens are ERC20 tokens
|
|
433
|
+
*/
|
|
434
|
+
export declare class XdcERC20Token extends ContractAddressDefinedToken {
|
|
435
|
+
constructor(options: Erc20ConstructorOptions);
|
|
436
|
+
}
|
|
437
|
+
/**
|
|
438
|
+
* The Mon network supports tokens
|
|
439
|
+
* Mon Tokens are ERC20 tokens
|
|
440
|
+
*/
|
|
441
|
+
export declare class MonERC20Token extends ContractAddressDefinedToken {
|
|
442
|
+
constructor(options: Erc20ConstructorOptions);
|
|
443
|
+
}
|
|
221
444
|
/**
|
|
222
445
|
* The Xrp network supports tokens
|
|
223
446
|
* Xrp tokens are identified by their issuer address
|
|
@@ -228,8 +451,53 @@ export declare class XrpCoin extends AccountCoinToken {
|
|
|
228
451
|
issuerAddress: string;
|
|
229
452
|
currencyCode: string;
|
|
230
453
|
domain: string;
|
|
454
|
+
contractAddress: string;
|
|
231
455
|
constructor(options: XrpCoinConstructorOptions);
|
|
232
456
|
}
|
|
457
|
+
/**
|
|
458
|
+
* XRP Ledger Multi-Purpose Token (MPT) — MPTokensV1 amendment.
|
|
459
|
+
* Identified by a 48-char hex MPTokenIssuanceID stored as contractAddress.
|
|
460
|
+
* Uses account_objects (not account_lines). No issuer::currency pattern.
|
|
461
|
+
* Named xrp:<token_name> — same pattern as trust-line tokens.
|
|
462
|
+
*/
|
|
463
|
+
export declare class XrpMptCoin extends AccountCoinToken {
|
|
464
|
+
readonly contractAddress: string;
|
|
465
|
+
readonly canTransfer: boolean;
|
|
466
|
+
constructor(options: XrpMptCoinConstructorOptions);
|
|
467
|
+
}
|
|
468
|
+
export declare class SuiCoin extends AccountCoinToken {
|
|
469
|
+
packageId: string;
|
|
470
|
+
module: string;
|
|
471
|
+
symbol: string;
|
|
472
|
+
contractAddress: string;
|
|
473
|
+
constructor(options: SuiCoinConstructorOptions);
|
|
474
|
+
}
|
|
475
|
+
/**
|
|
476
|
+
* The Apt network supports tokens
|
|
477
|
+
* Apt tokens work similar to native Apt coin, but the token name is determined by
|
|
478
|
+
* the tokenAddress on the chain.
|
|
479
|
+
*
|
|
480
|
+
*/
|
|
481
|
+
export declare class AptCoin extends AccountCoinToken {
|
|
482
|
+
assetId: string;
|
|
483
|
+
constructor(options: AptCoinConstructorOptions);
|
|
484
|
+
}
|
|
485
|
+
/**
|
|
486
|
+
* The Apt network supports non-fungible tokens (Digital Asset Standard)
|
|
487
|
+
* Every NFT belongs to an NFT collection.
|
|
488
|
+
*/
|
|
489
|
+
export declare class AptNFTCollection extends NFTCollectionIdDefinedToken {
|
|
490
|
+
}
|
|
491
|
+
/**
|
|
492
|
+
* The Vechain network supports non-fungible tokens
|
|
493
|
+
* Every NFT belongs to an NFT collection(contract).
|
|
494
|
+
*/
|
|
495
|
+
export declare class VetNFTCollection extends NFTCollectionIdDefinedToken {
|
|
496
|
+
gasTankToken?: string;
|
|
497
|
+
constructor(options: NFTCollectionIdConstructorOptions & {
|
|
498
|
+
gasTankToken?: string;
|
|
499
|
+
});
|
|
500
|
+
}
|
|
233
501
|
/**
|
|
234
502
|
* Fiat currencies, such as USD, EUR, or YEN.
|
|
235
503
|
*/
|
|
@@ -240,6 +508,87 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
240
508
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
241
509
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
242
510
|
}
|
|
511
|
+
/**
|
|
512
|
+
* The Stacks network supports tokens
|
|
513
|
+
* Stx tokens work similar to native Stx coin, but the token name is determined by
|
|
514
|
+
* the contractName on the chain.
|
|
515
|
+
*/
|
|
516
|
+
export declare class Sip10Token extends AccountCoinToken {
|
|
517
|
+
assetId: string;
|
|
518
|
+
constructor(options: Sip10TokenConstructorOptions);
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* The Near network supports tokens
|
|
522
|
+
* Near tokens work similar to native near coin
|
|
523
|
+
*/
|
|
524
|
+
export declare class Nep141Token extends AccountCoinToken {
|
|
525
|
+
contractAddress: string;
|
|
526
|
+
storageDepositAmount: string;
|
|
527
|
+
constructor(options: Nep141TokenConstructorOptions);
|
|
528
|
+
}
|
|
529
|
+
export declare class VetToken extends AccountCoinToken {
|
|
530
|
+
contractAddress: string;
|
|
531
|
+
gasTankToken?: string;
|
|
532
|
+
constructor(options: VetTokenConstructorOptions);
|
|
533
|
+
}
|
|
534
|
+
/**
|
|
535
|
+
* Cosmos network supports tokens
|
|
536
|
+
* Cosmos tokens work similar to native coins, but the token is determined by
|
|
537
|
+
* the denom on chain.
|
|
538
|
+
*
|
|
539
|
+
*/
|
|
540
|
+
export declare class CosmosChainToken extends AccountCoinToken {
|
|
541
|
+
denom: string;
|
|
542
|
+
constructor(options: CosmosTokenConstructorOptions);
|
|
543
|
+
}
|
|
544
|
+
/**
|
|
545
|
+
* TON supports tokens and Jetton is a token standard on TON
|
|
546
|
+
* Jetton tokens work similar to native TON coin
|
|
547
|
+
*/
|
|
548
|
+
export declare class JettonToken extends AccountCoinToken {
|
|
549
|
+
contractAddress: string;
|
|
550
|
+
constructor(options: JettonTokenConstructorOptions);
|
|
551
|
+
}
|
|
552
|
+
/**
|
|
553
|
+
* The Bittensor network supports tokens
|
|
554
|
+
* The token name is determined by the subnetId on chain.
|
|
555
|
+
*/
|
|
556
|
+
export declare class TaoCoin extends AccountCoinToken {
|
|
557
|
+
subnetId: string;
|
|
558
|
+
constructor(options: TaoCoinConstructorOptions);
|
|
559
|
+
}
|
|
560
|
+
/**
|
|
561
|
+
* The Bittensor network supports tokens
|
|
562
|
+
* The token name is determined by the subnetId on chain.
|
|
563
|
+
*/
|
|
564
|
+
export declare class PolyxCoin extends AccountCoinToken {
|
|
565
|
+
ticker: string;
|
|
566
|
+
assetId: string;
|
|
567
|
+
constructor(options: PolyxCoinConstructorOptions);
|
|
568
|
+
}
|
|
569
|
+
export declare class AdaToken extends AccountCoinToken {
|
|
570
|
+
policyId: string;
|
|
571
|
+
assetName: string;
|
|
572
|
+
contractAddress: string;
|
|
573
|
+
constructor(options: AdaTokenConstructorOptions);
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
* The canton network supports tokens
|
|
577
|
+
* Canton tokens work similar to Canton coin,
|
|
578
|
+
* but they will have their own token standard base url and instrument admin
|
|
579
|
+
*/
|
|
580
|
+
export declare class CantonToken extends AccountCoinToken {
|
|
581
|
+
baseUrl: string;
|
|
582
|
+
contractAddress: string;
|
|
583
|
+
constructor(options: CantonTokenConstructorOptions);
|
|
584
|
+
}
|
|
585
|
+
/**
|
|
586
|
+
* The Tempo network supports TIP20 tokens
|
|
587
|
+
* TIP20 tokens are ERC20-compatible tokens on the Tempo network
|
|
588
|
+
*/
|
|
589
|
+
export declare class Tip20Token extends ContractAddressDefinedToken {
|
|
590
|
+
constructor(options: Tip20TokenConstructorOptions);
|
|
591
|
+
}
|
|
243
592
|
/**
|
|
244
593
|
* Factory function for account coin instances.
|
|
245
594
|
*
|
|
@@ -256,6 +605,56 @@ export declare class FiatCoin extends BaseCoin {
|
|
|
256
605
|
* @param isToken? Whether or not this account coin is a token of another coin
|
|
257
606
|
*/
|
|
258
607
|
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>;
|
|
608
|
+
/**
|
|
609
|
+
* Factory function for gas tank account coin instances.
|
|
610
|
+
*
|
|
611
|
+
* @param id uuid v4
|
|
612
|
+
* @param name unique identifier of the coin
|
|
613
|
+
* @param fullName Complete human-readable name of the coin
|
|
614
|
+
* @param network Network object for this coin
|
|
615
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
616
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
617
|
+
* @param baseUnit
|
|
618
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
619
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
620
|
+
* @param gasTankLowBalanceAlertFactor Low gas tank balance alert threshold = (feeEstimate x gasTankLowBalanceAlertFactor)
|
|
621
|
+
* @param gasTankMinBalanceRecommendationFactor Min gas tank balance recommendation = (feeEstimate x gasTankMinBalanceRecommendationFactor)
|
|
622
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
623
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
624
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
625
|
+
*/
|
|
626
|
+
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>;
|
|
627
|
+
/**
|
|
628
|
+
* Factory function for ethLikeErc20 token instances.
|
|
629
|
+
*
|
|
630
|
+
* @param id uuid v4
|
|
631
|
+
* @param name unique identifier of the token
|
|
632
|
+
* @param fullName Complete human-readable name of the token
|
|
633
|
+
* @param decimalPlaces Number of decimal places this token supports
|
|
634
|
+
* @param contractAddress Contract address of this token
|
|
635
|
+
* @param asset Asset which this coin represents
|
|
636
|
+
* @param network Optional token network
|
|
637
|
+
* @param coinNames The parent coin names for mainnet and testnet
|
|
638
|
+
* @param features Features of this coin
|
|
639
|
+
* @param prefix Optional token prefix
|
|
640
|
+
* @param suffix Optional token suffix
|
|
641
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
642
|
+
*/
|
|
643
|
+
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>;
|
|
644
|
+
/**
|
|
645
|
+
* Factory function for erc721 token instances.
|
|
646
|
+
*
|
|
647
|
+
* @param id uuid v4
|
|
648
|
+
* @param name unique identifier of the token
|
|
649
|
+
* @param fullName Complete human-readable name of the token
|
|
650
|
+
* @param contractAddress Contract address of this token
|
|
651
|
+
* @param network network
|
|
652
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
653
|
+
* @param prefix Optional token prefix
|
|
654
|
+
* @param suffix Optional token suffix
|
|
655
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
656
|
+
*/
|
|
657
|
+
export declare function erc721Token(id: string, name: string, fullName: string, contractAddress: string, network: AccountNetwork, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<EthLikeERC721Token>;
|
|
259
658
|
/**
|
|
260
659
|
* Factory function for erc20 token instances.
|
|
261
660
|
*
|
|
@@ -287,6 +686,41 @@ export declare function erc20(id: string, name: string, fullName: string, decima
|
|
|
287
686
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
288
687
|
*/
|
|
289
688
|
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>;
|
|
689
|
+
/**
|
|
690
|
+
* Factory function for ERC-7984 confidential token instances (Zama fhEVM).
|
|
691
|
+
*
|
|
692
|
+
* ERC-7984 tokens store balances as FHE-encrypted ciphertexts. Transfers use
|
|
693
|
+
* confidentialTransfer() and balance reads require ACL delegation to BitGo.
|
|
694
|
+
*
|
|
695
|
+
* @param id uuid v4
|
|
696
|
+
* @param name unique identifier of the token (e.g. 'eth:ctkn')
|
|
697
|
+
* @param fullName Complete human-readable name of the token
|
|
698
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
699
|
+
* @param contractAddress Contract address of this token
|
|
700
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
701
|
+
* @param features? Features of this coin. Defaults to ERC7984_TOKEN_FEATURES
|
|
702
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
703
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
704
|
+
* @param network? Optional token network. Defaults to Ethereum main network.
|
|
705
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
706
|
+
*/
|
|
707
|
+
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>;
|
|
708
|
+
/**
|
|
709
|
+
* Factory function for testnet ERC-7984 confidential token instances (Zama fhEVM).
|
|
710
|
+
*
|
|
711
|
+
* @param id uuid v4
|
|
712
|
+
* @param name unique identifier of the token (e.g. 'hteth:ctkn')
|
|
713
|
+
* @param fullName Complete human-readable name of the token
|
|
714
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
715
|
+
* @param contractAddress Contract address of this token
|
|
716
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
717
|
+
* @param features? Features of this coin. Defaults to ERC7984_TOKEN_FEATURES
|
|
718
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
719
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
720
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
721
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
722
|
+
*/
|
|
723
|
+
export declare function terc7984(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc7984Coin>;
|
|
290
724
|
/**
|
|
291
725
|
* Factory function for erc721 token instances.
|
|
292
726
|
*
|
|
@@ -312,7 +746,7 @@ export declare function erc721(id: string, name: string, fullName: string, contr
|
|
|
312
746
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
313
747
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
314
748
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
315
|
-
* @param network? Optional token network. Defaults to
|
|
749
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
316
750
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
317
751
|
*/
|
|
318
752
|
export declare function terc721(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc721Coin>;
|
|
@@ -356,7 +790,7 @@ export declare function erc1155(id: string, name: string, fullName: string, cont
|
|
|
356
790
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
357
791
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
358
792
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
359
|
-
* @param network? Optional token network. Defaults to
|
|
793
|
+
* @param network? Optional token network. Defaults to Hoodi test network.
|
|
360
794
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
361
795
|
*/
|
|
362
796
|
export declare function terc1155(id: string, name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<Erc1155Coin>;
|
|
@@ -384,11 +818,11 @@ export declare function erc20CompatibleAccountCoin(id: string, name: string, ful
|
|
|
384
818
|
* @param fullName Complete human-readable name of the token
|
|
385
819
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
386
820
|
* @param contractAddress Contract address of this token
|
|
387
|
-
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
388
|
-
* @param prefix? Optional token prefix. Defaults to empty string
|
|
389
|
-
* @param suffix? Optional token suffix. Defaults to token name.
|
|
390
|
-
* @param network? Optional token network. Defaults to CELO main network.
|
|
391
|
-
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
821
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin
|
|
822
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
823
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
824
|
+
* @param network ? Optional token network. Defaults to CELO main network.
|
|
825
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
392
826
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
393
827
|
*/
|
|
394
828
|
export declare function celoToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<CeloCoin>;
|
|
@@ -401,10 +835,10 @@ export declare function celoToken(id: string, name: string, fullName: string, de
|
|
|
401
835
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
402
836
|
* @param contractAddress Contract address of this token
|
|
403
837
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
404
|
-
* @param
|
|
405
|
-
* @param
|
|
406
|
-
* @param
|
|
407
|
-
* @param
|
|
838
|
+
* @param features ? Features of this coin. Defaults to the DEFAULT_FEATURES excluding CUSTODY feature
|
|
839
|
+
* @param prefix ? Optional token prefix. Defaults to empty string
|
|
840
|
+
* @param suffix ? Optional token suffix. Defaults to token name.
|
|
841
|
+
* @param network ? Optional token network. Defaults to the testnet CELO network.
|
|
408
842
|
*/
|
|
409
843
|
export declare function tceloToken(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork): Readonly<CeloCoin>;
|
|
410
844
|
/**
|
|
@@ -518,7 +952,7 @@ export declare function ttronToken(id: string, name: string, fullName: string, d
|
|
|
518
952
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
519
953
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
520
954
|
*/
|
|
521
|
-
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
955
|
+
export declare function hederaCoin(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<HederaCoin>;
|
|
522
956
|
/**
|
|
523
957
|
* Factory function for Hedera token instances
|
|
524
958
|
*
|
|
@@ -529,13 +963,14 @@ export declare function hederaCoin(id: string, name: string, fullName: string, n
|
|
|
529
963
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
530
964
|
* @param nodeAccountId node account Id from which the transaction will be sent
|
|
531
965
|
* @param tokenId The unique identifier of this token
|
|
966
|
+
* @param contractAddress Contract address of this token, same as tokenId
|
|
532
967
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
533
968
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
534
969
|
* @param network? Optional token network. Defaults to Hedera mainnet.
|
|
535
970
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
536
971
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
537
972
|
*/
|
|
538
|
-
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset,
|
|
973
|
+
export declare function hederaToken(id: string, name: string, fullName: string, network: AccountNetwork, decimalPlaces: number, asset: UnderlyingAsset, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, primaryKeyCurve?: KeyCurve): Readonly<HederaToken>;
|
|
539
974
|
/**
|
|
540
975
|
* Factory function for ALGO token instances.
|
|
541
976
|
*
|
|
@@ -546,7 +981,6 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
546
981
|
* @param fullName Complete human-readable name of the token
|
|
547
982
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
548
983
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
549
|
-
* @param tokenURL Optional asset Url for more informationa about the asset
|
|
550
984
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
551
985
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
552
986
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -554,7 +988,7 @@ export declare function hederaToken(id: string, name: string, fullName: string,
|
|
|
554
988
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
555
989
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
556
990
|
*/
|
|
557
|
-
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
991
|
+
export declare function algoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AlgoCoin>;
|
|
558
992
|
/**
|
|
559
993
|
* Factory function for testnet ALGO token instances.
|
|
560
994
|
*
|
|
@@ -564,14 +998,13 @@ export declare function algoToken(id: string, name: string, alias: string | unde
|
|
|
564
998
|
* @param fullName Complete human-readable name of the token
|
|
565
999
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
566
1000
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
567
|
-
* @param tokenURL Optional asset Url for more informationa about the asset
|
|
568
1001
|
* See https://developer.algorand.org/docs/reference/transactions/#url
|
|
569
1002
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
570
1003
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
571
1004
|
* @param network? Optional token network. Defaults to Algo testnet.
|
|
572
1005
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
573
1006
|
*/
|
|
574
|
-
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset,
|
|
1007
|
+
export declare function talgoToken(id: string, name: string, alias: string | undefined, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<AlgoCoin>;
|
|
575
1008
|
/**
|
|
576
1009
|
* Factory function for eos token instances.
|
|
577
1010
|
*
|
|
@@ -580,6 +1013,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
580
1013
|
* @param fullName Complete human-readable name of the token
|
|
581
1014
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
582
1015
|
* @param contractName Contract address of this token
|
|
1016
|
+
* @param contractAddress Contract address of this token
|
|
583
1017
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
584
1018
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
585
1019
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -587,7 +1021,7 @@ export declare function talgoToken(id: string, name: string, alias: string | und
|
|
|
587
1021
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
588
1022
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
589
1023
|
*/
|
|
590
|
-
export declare function eosToken(id: string, name: string, fullName: string, decimalPlaces: number, contractName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<EosCoin>;
|
|
1024
|
+
export declare function eosToken(id: string, name: string, fullName: string, decimalPlaces: number, contractName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, symbol?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<EosCoin>;
|
|
591
1025
|
/**
|
|
592
1026
|
* Factory function for testnet eos token instances.
|
|
593
1027
|
*
|
|
@@ -595,14 +1029,16 @@ export declare function eosToken(id: string, name: string, fullName: string, dec
|
|
|
595
1029
|
* @param name unique identifier of the token
|
|
596
1030
|
* @param fullName Complete human-readable name of the token
|
|
597
1031
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1032
|
+
* @param contractName Contract address of this token
|
|
598
1033
|
* @param contractAddress Contract address of this token
|
|
599
1034
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
600
1035
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
601
1036
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1037
|
+
* @param symbol? token symbol as defined in token contract.
|
|
602
1038
|
* @param network? Optional token network. Defaults to the testnet EOS network.
|
|
603
1039
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
604
1040
|
*/
|
|
605
|
-
export declare function teosToken(id: string, name: string, fullName: string, decimalPlaces: number, contractName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<EosCoin>;
|
|
1041
|
+
export declare function teosToken(id: string, name: string, fullName: string, decimalPlaces: number, contractName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, symbol?: string, network?: AccountNetwork): Readonly<EosCoin>;
|
|
606
1042
|
/**
|
|
607
1043
|
* Factory function for sol token instances.
|
|
608
1044
|
*
|
|
@@ -611,6 +1047,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
611
1047
|
* @param fullName Complete human-readable name of the token
|
|
612
1048
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
613
1049
|
* @param tokenAddress Token address of this token
|
|
1050
|
+
* @param contractAddress Contract address of this token
|
|
614
1051
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
615
1052
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
616
1053
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
@@ -618,7 +1055,7 @@ export declare function teosToken(id: string, name: string, fullName: string, de
|
|
|
618
1055
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
619
1056
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
620
1057
|
*/
|
|
621
|
-
export declare function solToken(id: string, name: string, fullName: string, decimalPlaces: number, tokenAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<SolCoin>;
|
|
1058
|
+
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, tokenExtensions?: SolTokenExtensions): Readonly<SolCoin>;
|
|
622
1059
|
/**
|
|
623
1060
|
* Factory function for testnet solana token instances.
|
|
624
1061
|
*
|
|
@@ -633,38 +1070,42 @@ export declare function solToken(id: string, name: string, fullName: string, dec
|
|
|
633
1070
|
* @param network? Optional token network. Defaults to the testnet Solana network.
|
|
634
1071
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
635
1072
|
*/
|
|
636
|
-
export declare function tsolToken(id: string, name: string, fullName: string, decimalPlaces: number, tokenAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<SolCoin>;
|
|
1073
|
+
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, primaryKeyCurve?: KeyCurve, tokenExtensions?: SolTokenExtensions): Readonly<SolCoin>;
|
|
637
1074
|
/**
|
|
638
|
-
* Factory function for
|
|
1075
|
+
* Factory function for prod cardano token instances.
|
|
639
1076
|
*
|
|
640
1077
|
* @param id uuid v4
|
|
641
|
-
* @param name
|
|
1078
|
+
* @param name Name of the token
|
|
642
1079
|
* @param fullName Complete human-readable name of the token
|
|
643
1080
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
644
|
-
* @param
|
|
1081
|
+
* @param policyId Policy Id
|
|
1082
|
+
* @param assetName Asset name -> Policy ID + Asset name is the unique identifier
|
|
1083
|
+
* @param contractAddress Fingerprint of this token
|
|
645
1084
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
646
1085
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
647
1086
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
648
|
-
* @param network? Optional token network. Defaults to Cardano
|
|
1087
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
649
1088
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
650
1089
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
651
1090
|
*/
|
|
652
|
-
export declare function adaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<
|
|
1091
|
+
export declare function adaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<AdaToken>;
|
|
653
1092
|
/**
|
|
654
1093
|
* Factory function for testnet cardano token instances.
|
|
655
1094
|
*
|
|
656
1095
|
* @param id uuid v4
|
|
657
|
-
* @param name
|
|
1096
|
+
* @param name Name of the token
|
|
658
1097
|
* @param fullName Complete human-readable name of the token
|
|
659
1098
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
660
|
-
* @param
|
|
1099
|
+
* @param policyId Policy Id
|
|
1100
|
+
* @param assetName Asset name -> Policy ID + Asset name is the unique identifier
|
|
1101
|
+
* @param contractAddress Fingerprint of this token
|
|
661
1102
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
662
1103
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
663
1104
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
664
1105
|
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
665
1106
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
666
1107
|
*/
|
|
667
|
-
export declare function tadaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, asset: UnderlyingAsset, features?: CoinFeature[],
|
|
1108
|
+
export declare function tadaToken(id: string, name: string, fullName: string, decimalPlaces: number, policyId: string, assetName: string, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], network?: AccountNetwork, prefix?: string, suffix?: string): Readonly<AdaToken>;
|
|
668
1109
|
/**
|
|
669
1110
|
* Factory function for avaxErc20 token instances.
|
|
670
1111
|
*
|
|
@@ -714,7 +1155,7 @@ export declare function tavaxErc20(id: string, name: string, fullName: string, d
|
|
|
714
1155
|
*/
|
|
715
1156
|
export declare function polygonErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<PolygonERC20Token>;
|
|
716
1157
|
/**
|
|
717
|
-
* Factory function for
|
|
1158
|
+
* Factory function for Amoy testnet polygonErc20 token instances.
|
|
718
1159
|
*
|
|
719
1160
|
* @param id uuid v4
|
|
720
1161
|
* @param name unique identifier of the token
|
|
@@ -740,7 +1181,7 @@ export declare function tpolygonErc20(id: string, name: string, fullName: string
|
|
|
740
1181
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
741
1182
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
742
1183
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
743
|
-
* @param network? Optional token network. Defaults to
|
|
1184
|
+
* @param network? Optional token network. Defaults to Arbitrum main network.
|
|
744
1185
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
745
1186
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
746
1187
|
*/
|
|
@@ -756,61 +1197,747 @@ export declare function arbethErc20(id: string, name: string, fullName: string,
|
|
|
756
1197
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
757
1198
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
758
1199
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
759
|
-
* @param network? Optional token network. Defaults to the
|
|
1200
|
+
* @param network? Optional token network. Defaults to the Arbitrum test network.
|
|
760
1201
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
761
1202
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
762
1203
|
*/
|
|
763
1204
|
export declare function tarbethErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<ArbethERC20Token>;
|
|
764
1205
|
/**
|
|
765
|
-
* Factory function for
|
|
1206
|
+
* Factory function for opethErc20 token instances.
|
|
766
1207
|
*
|
|
767
1208
|
* @param id uuid v4
|
|
768
1209
|
* @param name unique identifier of the token
|
|
769
1210
|
* @param fullName Complete human-readable name of the token
|
|
770
1211
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
771
|
-
* @param
|
|
772
|
-
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
773
|
-
* @param domain? the domain of the issuer of the token,
|
|
1212
|
+
* @param contractAddress Contract address of this token
|
|
774
1213
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
775
1214
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
776
1215
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
777
|
-
* @param network? Optional token network. Defaults to
|
|
1216
|
+
* @param network? Optional token network. Defaults to Optimism main network.
|
|
778
1217
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
779
1218
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
780
1219
|
*/
|
|
781
|
-
export declare function
|
|
1220
|
+
export declare function opethErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<OpethERC20Token>;
|
|
782
1221
|
/**
|
|
783
|
-
* Factory function for testnet
|
|
1222
|
+
* Factory function for Optimism Sepolia testnet opethErc20 token instances.
|
|
784
1223
|
*
|
|
785
1224
|
* @param id uuid v4
|
|
786
1225
|
* @param name unique identifier of the token
|
|
787
1226
|
* @param fullName Complete human-readable name of the token
|
|
788
1227
|
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
789
|
-
* @param
|
|
790
|
-
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
791
|
-
* @param domain? the domain of the issuer of the token,
|
|
1228
|
+
* @param contractAddress Contract address of this token
|
|
792
1229
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
793
1230
|
* @param prefix? Optional token prefix. Defaults to empty string
|
|
794
1231
|
* @param suffix? Optional token suffix. Defaults to token name.
|
|
795
|
-
* @param network? Optional token network. Defaults to the
|
|
1232
|
+
* @param network? Optional token network. Defaults to the Optimism test network.
|
|
796
1233
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1234
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
797
1235
|
*/
|
|
798
|
-
export declare function
|
|
1236
|
+
export declare function topethErc20(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<OpethERC20Token>;
|
|
799
1237
|
/**
|
|
800
|
-
* Factory function for
|
|
1238
|
+
* Factory function for zkethErc20 token instances.
|
|
801
1239
|
*
|
|
802
1240
|
* @param id uuid v4
|
|
803
|
-
* @param name unique identifier of the
|
|
804
|
-
* @param fullName Complete human-readable name of the
|
|
805
|
-
* @param
|
|
806
|
-
* @param
|
|
1241
|
+
* @param name unique identifier of the token
|
|
1242
|
+
* @param fullName Complete human-readable name of the token
|
|
1243
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1244
|
+
* @param contractAddress Contract address of this token
|
|
807
1245
|
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
808
|
-
* @param
|
|
809
|
-
* @param
|
|
810
|
-
* @param
|
|
811
|
-
* @param
|
|
812
|
-
* @param
|
|
1246
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1247
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1248
|
+
* @param network? Optional token network. Defaults to zkSync mainnet network.
|
|
1249
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1250
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
813
1251
|
*/
|
|
814
|
-
export declare function
|
|
1252
|
+
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>;
|
|
1253
|
+
/**
|
|
1254
|
+
* Factory function for zkSync Sepolia testnet zkethErc20 token instances.
|
|
1255
|
+
*
|
|
1256
|
+
* @param id uuid v4
|
|
1257
|
+
* @param name unique identifier of the token
|
|
1258
|
+
* @param fullName Complete human-readable name of the token
|
|
1259
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1260
|
+
* @param contractAddress Contract address of this token
|
|
1261
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1262
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1263
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1264
|
+
* @param network? Optional token network. Defaults to the zkSync sepolia test network.
|
|
1265
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1266
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1267
|
+
*/
|
|
1268
|
+
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>;
|
|
1269
|
+
/**
|
|
1270
|
+
* Factory function for beraErc20 token instances.
|
|
1271
|
+
*
|
|
1272
|
+
* @param id uuid v4
|
|
1273
|
+
* @param name unique identifier of the token
|
|
1274
|
+
* @param fullName Complete human-readable name of the token
|
|
1275
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1276
|
+
* @param contractAddress Contract address of this token
|
|
1277
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1278
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1279
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1280
|
+
* @param network? Optional token network. Defaults to bera mainnet network.
|
|
1281
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1282
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1283
|
+
*/
|
|
1284
|
+
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>;
|
|
1285
|
+
/**
|
|
1286
|
+
* Factory function for zkSync Sepolia testnet beraErc20 token instances.
|
|
1287
|
+
*
|
|
1288
|
+
* @param id uuid v4
|
|
1289
|
+
* @param name unique identifier of the token
|
|
1290
|
+
* @param fullName Complete human-readable name of the token
|
|
1291
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1292
|
+
* @param contractAddress Contract address of this token
|
|
1293
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1294
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1295
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1296
|
+
* @param network? Optional token network. Defaults to the bera test network.
|
|
1297
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1298
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1299
|
+
*/
|
|
1300
|
+
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>;
|
|
1301
|
+
/**
|
|
1302
|
+
* Factory function for CoredaoErc20 token instances.
|
|
1303
|
+
*
|
|
1304
|
+
* @param id uuid v4
|
|
1305
|
+
* @param name unique identifier of the token
|
|
1306
|
+
* @param fullName Complete human-readable name of the token
|
|
1307
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1308
|
+
* @param contractAddress Contract address of this token
|
|
1309
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1310
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1311
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1312
|
+
* @param network? Optional token network. Defaults to coredao mainnet network.
|
|
1313
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1314
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1315
|
+
*/
|
|
1316
|
+
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>;
|
|
1317
|
+
/**
|
|
1318
|
+
* Factory function for coredao testnet coredaoErc20 token instances.
|
|
1319
|
+
*
|
|
1320
|
+
* @param id uuid v4
|
|
1321
|
+
* @param name unique identifier of the token
|
|
1322
|
+
* @param fullName Complete human-readable name of the token
|
|
1323
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1324
|
+
* @param contractAddress Contract address of this token
|
|
1325
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1326
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1327
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1328
|
+
* @param network? Optional token network. Defaults to the coredao test network.
|
|
1329
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1330
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1331
|
+
*/
|
|
1332
|
+
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>;
|
|
1333
|
+
/**
|
|
1334
|
+
* Factory function for WorldErc20 token instances.
|
|
1335
|
+
*
|
|
1336
|
+
* @param id uuid v4
|
|
1337
|
+
* @param name unique identifier of the token
|
|
1338
|
+
* @param fullName Complete human-readable name of the token
|
|
1339
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1340
|
+
* @param contractAddress Contract address of this token
|
|
1341
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1342
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1343
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1344
|
+
* @param network? Optional token network. Defaults to World Chain mainnet network.
|
|
1345
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1346
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1347
|
+
*/
|
|
1348
|
+
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>;
|
|
1349
|
+
/**
|
|
1350
|
+
* Factory function for world testnet worldErc20 token instances.
|
|
1351
|
+
*
|
|
1352
|
+
* @param id uuid v4
|
|
1353
|
+
* @param name unique identifier of the token
|
|
1354
|
+
* @param fullName Complete human-readable name of the token
|
|
1355
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1356
|
+
* @param contractAddress Contract address of this token
|
|
1357
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1358
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1359
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1360
|
+
* @param network? Optional token network. Defaults to the World Chain test network.
|
|
1361
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1362
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1363
|
+
*/
|
|
1364
|
+
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>;
|
|
1365
|
+
/**
|
|
1366
|
+
* Factory function for FlrErc20 token instances.
|
|
1367
|
+
*
|
|
1368
|
+
* @param id uuid v4
|
|
1369
|
+
* @param name unique identifier of the token
|
|
1370
|
+
* @param fullName Complete human-readable name of the token
|
|
1371
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1372
|
+
* @param contractAddress Contract address of this token
|
|
1373
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1374
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1375
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1376
|
+
* @param network? Optional token network. Defaults to Flr Chain mainnet network.
|
|
1377
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1378
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1379
|
+
*/
|
|
1380
|
+
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>;
|
|
1381
|
+
/**
|
|
1382
|
+
* Factory function for Flr testnet FlrErc20 token instances.
|
|
1383
|
+
*
|
|
1384
|
+
* @param id uuid v4
|
|
1385
|
+
* @param name unique identifier of the token
|
|
1386
|
+
* @param fullName Complete human-readable name of the token
|
|
1387
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1388
|
+
* @param contractAddress Contract address of this token
|
|
1389
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1390
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1391
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1392
|
+
* @param network? Optional token network. Defaults to the Flr Chain test network.
|
|
1393
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1394
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1395
|
+
*/
|
|
1396
|
+
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>;
|
|
1397
|
+
/**
|
|
1398
|
+
* Factory function for XdcErc20 token instances.
|
|
1399
|
+
*
|
|
1400
|
+
* @param id uuid v4
|
|
1401
|
+
* @param name unique identifier of the token
|
|
1402
|
+
* @param fullName Complete human-readable name of the token
|
|
1403
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1404
|
+
* @param contractAddress Contract address of this token
|
|
1405
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1406
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1407
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1408
|
+
* @param network? Optional token network. Defaults to XDC mainnet network.
|
|
1409
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1410
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1411
|
+
*/
|
|
1412
|
+
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>;
|
|
1413
|
+
/**
|
|
1414
|
+
* Factory function for XDC testnet XdcErc20 token instances.
|
|
1415
|
+
*
|
|
1416
|
+
* @param id uuid v4
|
|
1417
|
+
* @param name unique identifier of the token
|
|
1418
|
+
* @param fullName Complete human-readable name of the token
|
|
1419
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1420
|
+
* @param contractAddress Contract address of this token
|
|
1421
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1422
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1423
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1424
|
+
* @param network? Optional token network. Defaults to the XDC test network.
|
|
1425
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1426
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1427
|
+
*/
|
|
1428
|
+
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>;
|
|
1429
|
+
/**
|
|
1430
|
+
* Factory function for MonErc20 token instances.
|
|
1431
|
+
*
|
|
1432
|
+
* @param id uuid v4
|
|
1433
|
+
* @param name unique identifier of the token
|
|
1434
|
+
* @param fullName Complete human-readable name of the token
|
|
1435
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1436
|
+
* @param contractAddress Contract address of this token
|
|
1437
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1438
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1439
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1440
|
+
* @param network? Optional token network. Defaults to Mon mainnet network.
|
|
1441
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1442
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1443
|
+
*/
|
|
1444
|
+
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>;
|
|
1445
|
+
/**
|
|
1446
|
+
* Factory function for Mon testnet MonErc20 token instances.
|
|
1447
|
+
*
|
|
1448
|
+
* @param id uuid v4
|
|
1449
|
+
* @param name unique identifier of the token
|
|
1450
|
+
* @param fullName Complete human-readable name of the token
|
|
1451
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1452
|
+
* @param contractAddress Contract address of this token
|
|
1453
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1454
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1455
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1456
|
+
* @param network? Optional token network. Defaults to the Mon test network.
|
|
1457
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1458
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1459
|
+
*/
|
|
1460
|
+
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>;
|
|
1461
|
+
/**
|
|
1462
|
+
* Factory function for xrp token instances.
|
|
1463
|
+
*
|
|
1464
|
+
* @param id uuid v4
|
|
1465
|
+
* @param name unique identifier of the token
|
|
1466
|
+
* @param fullName Complete human-readable name of the token
|
|
1467
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1468
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
1469
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1470
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
1471
|
+
* @param domain? the domain of the issuer of the token,
|
|
1472
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1473
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1474
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1475
|
+
* @param network? Optional token network. Defaults to Cardano main network.
|
|
1476
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1477
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1478
|
+
*/
|
|
1479
|
+
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>;
|
|
1480
|
+
/**
|
|
1481
|
+
* Factory function for testnet cardano token instances.
|
|
1482
|
+
*
|
|
1483
|
+
* @param id uuid v4
|
|
1484
|
+
* @param name unique identifier of the token
|
|
1485
|
+
* @param fullName Complete human-readable name of the token
|
|
1486
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1487
|
+
* @param issuerAddress: The address of the issuer of the token,
|
|
1488
|
+
* @param currencyCode The token symbol. Example: USD, BTC, ETH, etc.
|
|
1489
|
+
* @param contractAddress Contract address of this token formed with `issuerAddress::currencyCode`
|
|
1490
|
+
* @param domain? the domain of the issuer of the token,
|
|
1491
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1492
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1493
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1494
|
+
* @param network? Optional token network. Defaults to the testnet Cardano network.
|
|
1495
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1496
|
+
*/
|
|
1497
|
+
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>;
|
|
1498
|
+
/**
|
|
1499
|
+
* Factory function for mainnet XRP MPT token instances.
|
|
1500
|
+
*
|
|
1501
|
+
* @param id uuid v4
|
|
1502
|
+
* @param name unique identifier of the token, e.g. "xrp:my_mpt"
|
|
1503
|
+
* @param fullName Complete human-readable name of the token
|
|
1504
|
+
* @param mptIssuanceId 48-char hex MPTokenIssuanceID
|
|
1505
|
+
* @param canTransfer immutable lsfMPTCanTransfer flag from MPTokenIssuanceCreate
|
|
1506
|
+
* @param assetScale immutable display decimal places from MPTokenIssuanceCreate (also used as decimalPlaces)
|
|
1507
|
+
* @param asset UnderlyingAsset enum value
|
|
1508
|
+
* @param features Optional coin features
|
|
1509
|
+
* @param network Optional network override (defaults to mainnet XRP)
|
|
1510
|
+
*/
|
|
1511
|
+
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>;
|
|
1512
|
+
/**
|
|
1513
|
+
* Factory function for testnet XRP MPT token instances.
|
|
1514
|
+
*/
|
|
1515
|
+
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>;
|
|
1516
|
+
/**
|
|
1517
|
+
* Factory function for sui token instances.
|
|
1518
|
+
*
|
|
1519
|
+
* @param id uuid v4
|
|
1520
|
+
* @param name unique identifier of the token
|
|
1521
|
+
* @param fullName Complete human-readable name of the token
|
|
1522
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1523
|
+
* @param packageId PackageId of this token
|
|
1524
|
+
* @param module The module of the package with id `packageId`
|
|
1525
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1526
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1527
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1528
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1529
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1530
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1531
|
+
* @param network? Optional token network. Defaults to SUI main network.
|
|
1532
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1533
|
+
*/
|
|
1534
|
+
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>;
|
|
1535
|
+
/**
|
|
1536
|
+
* Factory function for testnet sui token instances.
|
|
1537
|
+
*
|
|
1538
|
+
* @param id uuid v4
|
|
1539
|
+
* @param name unique identifier of the token
|
|
1540
|
+
* @param fullName Complete human-readable name of the token
|
|
1541
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1542
|
+
* @param packageId PackageId of this token
|
|
1543
|
+
* @param module The module of the package with id `packageId`
|
|
1544
|
+
* @param symbol Identifies the coin defined in the module `module` of the package with id `packageId`
|
|
1545
|
+
* @param contractAddress Contract address of this token formed with `packageId::module::symbol`
|
|
1546
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1547
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1548
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1549
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1550
|
+
* @param network? Optional token network. Defaults to SUI test network.
|
|
1551
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1552
|
+
*/
|
|
1553
|
+
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>;
|
|
1554
|
+
/**
|
|
1555
|
+
* Factory function for apt token instances.
|
|
1556
|
+
*
|
|
1557
|
+
* @param id uuid v4
|
|
1558
|
+
* @param name unique identifier of the token
|
|
1559
|
+
* @param fullName Complete human-readable name of the token
|
|
1560
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1561
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1562
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1563
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1564
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1565
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1566
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1567
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1568
|
+
*/
|
|
1569
|
+
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>;
|
|
1570
|
+
/**
|
|
1571
|
+
* Factory function for Apt NFT collections.
|
|
1572
|
+
*
|
|
1573
|
+
* @param id uuid v4
|
|
1574
|
+
* @param name unique identifier of the NFT collection
|
|
1575
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1576
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1577
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1578
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1579
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1580
|
+
* @param network Optional token network. Defaults to APT main network.
|
|
1581
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1582
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1583
|
+
*/
|
|
1584
|
+
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>;
|
|
1585
|
+
/**
|
|
1586
|
+
* Factory function for testnet apt token instances.
|
|
1587
|
+
*
|
|
1588
|
+
* @param id uuid v4
|
|
1589
|
+
* @param name unique identifier of the token
|
|
1590
|
+
* @param fullName Complete human-readable name of the token
|
|
1591
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1592
|
+
* @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
|
|
1593
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1594
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1595
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1596
|
+
* @param network Optional token network. Defaults to the testnet APT network.
|
|
1597
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1598
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1599
|
+
*/
|
|
1600
|
+
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>;
|
|
1601
|
+
/**
|
|
1602
|
+
* Factory function for testnet Apt NFT collections.
|
|
1603
|
+
*
|
|
1604
|
+
* @param id uuid v4
|
|
1605
|
+
* @param name unique identifier of the NFT collection
|
|
1606
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1607
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1608
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1609
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1610
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1611
|
+
* @param network Optional token network. Defaults to APT test network.
|
|
1612
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1613
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1614
|
+
*/
|
|
1615
|
+
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>;
|
|
1616
|
+
/**
|
|
1617
|
+
* Factory function for fiat coin instances.
|
|
1618
|
+
*
|
|
1619
|
+
* @param id uuid v4
|
|
1620
|
+
* @param name unique identifier of the coin, should start with 'fiat' or 'tfiat' followed by the 3-char ISO-4217 alphabetical code
|
|
1621
|
+
* @param fullName Complete human-readable name of the coin
|
|
1622
|
+
* @param network Network object for this coin
|
|
1623
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
1624
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1625
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `FiatCoin`
|
|
1626
|
+
* @param primaryKeyCurve? The elliptic curve for this chain/token
|
|
1627
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
1628
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
1629
|
+
* @param isToken? Whether or not this coin is a token of another coin
|
|
1630
|
+
*/
|
|
1631
|
+
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>;
|
|
1632
|
+
/**
|
|
1633
|
+
* Factory function for sip10 token instances.
|
|
1634
|
+
*
|
|
1635
|
+
* @param id uuid v4
|
|
1636
|
+
* @param name unique identifier of the token
|
|
1637
|
+
* @param fullName Complete human-readable name of the token
|
|
1638
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1639
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1640
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1641
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1642
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1643
|
+
* @param network? Optional token network. Defaults to Stacks main network.
|
|
1644
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1645
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1646
|
+
*/
|
|
1647
|
+
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>;
|
|
1648
|
+
/**
|
|
1649
|
+
* Factory function for testnet sip10 token instances.
|
|
1650
|
+
*
|
|
1651
|
+
* @param id uuid v4
|
|
1652
|
+
* @param name unique identifier of the token
|
|
1653
|
+
* @param fullName Complete human-readable name of the token
|
|
1654
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1655
|
+
* @param assetId A unique identifier for a token, which is in the form of contractAddress.contractName::tokenName
|
|
1656
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1657
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1658
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1659
|
+
* @param network? Optional token network. Defaults to the testnet Stacks network.
|
|
1660
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1661
|
+
*/
|
|
1662
|
+
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>;
|
|
1663
|
+
/**
|
|
1664
|
+
* Factory function for nep141 token instances.
|
|
1665
|
+
*
|
|
1666
|
+
* @param id uuid v4
|
|
1667
|
+
* @param name unique identifier of the token
|
|
1668
|
+
* @param fullName Complete human-readable name of the token
|
|
1669
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1670
|
+
* @param contractAddress Contract address of this token
|
|
1671
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1672
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1673
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1674
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1675
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1676
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1677
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1678
|
+
*/
|
|
1679
|
+
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>;
|
|
1680
|
+
/**
|
|
1681
|
+
* Factory function for testnet nep141 token instances.
|
|
1682
|
+
*
|
|
1683
|
+
* @param id uuid v4
|
|
1684
|
+
* @param name unique identifier of the token
|
|
1685
|
+
* @param fullName Complete human-readable name of the token
|
|
1686
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1687
|
+
* @param contractAddress Contract address of this token
|
|
1688
|
+
* @param storageDepositAmount the deposit amount needed to get registered with this contract
|
|
1689
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1690
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1691
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1692
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1693
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1694
|
+
*/
|
|
1695
|
+
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>;
|
|
1696
|
+
/**
|
|
1697
|
+
* Factory function for vet token instances.
|
|
1698
|
+
*
|
|
1699
|
+
* @param id uuid v4
|
|
1700
|
+
* @param name unique identifier of the token
|
|
1701
|
+
* @param fullName Complete human-readable name of the token
|
|
1702
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1703
|
+
* @param contractAddress Contract address of this token
|
|
1704
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1705
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1706
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1707
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1708
|
+
* @param network Optional token network. Defaults to Near main network.
|
|
1709
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1710
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1711
|
+
*/
|
|
1712
|
+
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>;
|
|
1713
|
+
/**
|
|
1714
|
+
* Factory function for testnet vet token instances.
|
|
1715
|
+
*
|
|
1716
|
+
* @param id uuid v4
|
|
1717
|
+
* @param name unique identifier of the token
|
|
1718
|
+
* @param fullName Complete human-readable name of the token
|
|
1719
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1720
|
+
* @param contractAddress Contract address of this token
|
|
1721
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1722
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1723
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1724
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1725
|
+
* @param network Optional token network. Defaults to the testnet Near network.
|
|
1726
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1727
|
+
*/
|
|
1728
|
+
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>;
|
|
1729
|
+
/**
|
|
1730
|
+
* Factory function for Vet NFT collections.
|
|
1731
|
+
*
|
|
1732
|
+
* @param id uuid v4
|
|
1733
|
+
* @param name unique identifier of the NFT collection
|
|
1734
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1735
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1736
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1737
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1738
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1739
|
+
* @param network Optional token network. Defaults to VET main network.
|
|
1740
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1741
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1742
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'VET:VTHO'
|
|
1743
|
+
*/
|
|
1744
|
+
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>;
|
|
1745
|
+
/**
|
|
1746
|
+
* Factory function for testnet Vet NFT collections.
|
|
1747
|
+
*
|
|
1748
|
+
* @param id uuid v4
|
|
1749
|
+
* @param name unique identifier of the NFT collection
|
|
1750
|
+
* @param fullName Complete human-readable name of the NFT collection
|
|
1751
|
+
* @param nftCollectionId collection ID of the non-fungible tokens (NFTs)
|
|
1752
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1753
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1754
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1755
|
+
* @param network Optional token network. Defaults to VET test network.
|
|
1756
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
|
|
1757
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1758
|
+
* @param gasTankToken representing the token with which gas is paid on the network, defaults to 'TVET:VTHO'
|
|
1759
|
+
*/
|
|
1760
|
+
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>;
|
|
1761
|
+
/**
|
|
1762
|
+
* Factory function for Cosmos chain token instances.
|
|
1763
|
+
*
|
|
1764
|
+
* @param id uuid v4
|
|
1765
|
+
* @param name unique identifier of the token
|
|
1766
|
+
* @param fullName Complete human-readable name of the token
|
|
1767
|
+
* @param denom denomination of this token which will act as a unique identifier for the token on chain
|
|
1768
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1769
|
+
* @param network Network (mainnet or testnet) for this token
|
|
1770
|
+
* @param baseUnit Base unit of this token (native asset)
|
|
1771
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1772
|
+
* @param features Features of this coin. Defaults to the COSMOS_SIDECHAIN_FEATURES defined in `coinFeatures.ts`
|
|
1773
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1774
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1775
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1776
|
+
*/
|
|
1777
|
+
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>;
|
|
1778
|
+
/**
|
|
1779
|
+
* Factory function for tao token instances.
|
|
1780
|
+
*
|
|
1781
|
+
* @param id uuid v4
|
|
1782
|
+
* @param name unique identifier of the token
|
|
1783
|
+
* @param fullName Complete human-readable name of the token
|
|
1784
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1785
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1786
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1787
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1788
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1789
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1790
|
+
* @param network? Optional token network. Defaults to TAO main network.
|
|
1791
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1792
|
+
*/
|
|
1793
|
+
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>;
|
|
1794
|
+
/**
|
|
1795
|
+
* Factory function for testnet tao token instances.
|
|
1796
|
+
*
|
|
1797
|
+
* @param id uuid v4
|
|
1798
|
+
* @param name unique identifier of the token
|
|
1799
|
+
* @param fullName Complete human-readable name of the token
|
|
1800
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1801
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1802
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1803
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1804
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1805
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1806
|
+
* @param network? Optional token network. Defaults to TAO test network.
|
|
1807
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1808
|
+
*/
|
|
1809
|
+
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>;
|
|
1810
|
+
/**
|
|
1811
|
+
* Factory function for polyx token instances.
|
|
1812
|
+
*
|
|
1813
|
+
* @param id uuid v4
|
|
1814
|
+
* @param name unique identifier of the token
|
|
1815
|
+
* @param fullName Complete human-readable name of the token
|
|
1816
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1817
|
+
* @param subnetId The uid of the subnet this token belongs to, numerical string
|
|
1818
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1819
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1820
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1821
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1822
|
+
* @param network? Optional token network. Defaults to Polyx main network.
|
|
1823
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1824
|
+
*/
|
|
1825
|
+
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>;
|
|
1826
|
+
/**
|
|
1827
|
+
* Factory function for testnet polyx token instances.
|
|
1828
|
+
*
|
|
1829
|
+
* @param id uuid v4
|
|
1830
|
+
* @param name unique identifier of the token
|
|
1831
|
+
* @param fullName Complete human-readable name of the token
|
|
1832
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1833
|
+
* @param ticker The ticker symbol of the token
|
|
1834
|
+
* @param assetId The unique asset identifier for this token
|
|
1835
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1836
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
|
|
1837
|
+
* @param prefix? Optional token prefix. Defaults to empty string
|
|
1838
|
+
* @param suffix? Optional token suffix. Defaults to token name.
|
|
1839
|
+
* @param network? Optional token network. Defaults to Polyx test network.
|
|
1840
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1841
|
+
*/
|
|
1842
|
+
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>;
|
|
1843
|
+
/**
|
|
1844
|
+
* Factory function for Jetton token instances.
|
|
1845
|
+
* Jetton is the token standard on TON blockchain.
|
|
1846
|
+
*
|
|
1847
|
+
* @param id uuid v4
|
|
1848
|
+
* @param name unique identifier of the token
|
|
1849
|
+
* @param fullName Complete human-readable name of the token
|
|
1850
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1851
|
+
* @param contractAddress Contract address of this token
|
|
1852
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1853
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1854
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1855
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1856
|
+
* @param network Optional token network. Defaults to TON main network.
|
|
1857
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1858
|
+
*/
|
|
1859
|
+
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>;
|
|
1860
|
+
/**
|
|
1861
|
+
* Factory function for testnet jetton token instances.
|
|
1862
|
+
* Jetton is the token standard on TON blockchain.
|
|
1863
|
+
*
|
|
1864
|
+
* @param id uuid v4
|
|
1865
|
+
* @param name unique identifier of the token
|
|
1866
|
+
* @param fullName Complete human-readable name of the token
|
|
1867
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1868
|
+
* @param contractAddress Contract address of this token
|
|
1869
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1870
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin`
|
|
1871
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1872
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1873
|
+
* @param network Optional token network. Defaults to the testnet TON network.
|
|
1874
|
+
*/
|
|
1875
|
+
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>;
|
|
1876
|
+
/**
|
|
1877
|
+
* Factory function for prod canton token instances.
|
|
1878
|
+
*
|
|
1879
|
+
* @param id uuid v4
|
|
1880
|
+
* @param name Name of the token
|
|
1881
|
+
* @param fullName Complete human-readable name of the token
|
|
1882
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1883
|
+
* @param baseUrl token standard base url, ref: https://docs.digitalasset.com/utilities/devnet/overview/registry-user-guide/token-standard.html#token-standard-endpoints
|
|
1884
|
+
* @param contractAddress the contract address of the token in the form `instrumentAdmin:instrumentId`
|
|
1885
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1886
|
+
* @param features Features of this coin. Defaults to CANTON_FEATURES
|
|
1887
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1888
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1889
|
+
* @param network Optional token network. Defaults to the mainnet canton network.
|
|
1890
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1891
|
+
*/
|
|
1892
|
+
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>;
|
|
1893
|
+
/**
|
|
1894
|
+
* Factory function for testnet canton token instances.
|
|
1895
|
+
*
|
|
1896
|
+
* @param id uuid v4
|
|
1897
|
+
* @param name unique identifier of the token
|
|
1898
|
+
* @param fullName Complete human-readable name of the token
|
|
1899
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1900
|
+
* @param baseUrl token standard base url
|
|
1901
|
+
* @param contractAddress the contract address of the token in the form `instrumentAdmin:instrumentId`
|
|
1902
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1903
|
+
* @param features Features of this coin. Defaults to the CANTON_FEATURES
|
|
1904
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1905
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1906
|
+
* @param network Optional token network. Defaults to the testnet Canton network.
|
|
1907
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1908
|
+
*/
|
|
1909
|
+
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>;
|
|
1910
|
+
/**
|
|
1911
|
+
* Factory function for TIP20 token instances on Tempo network.
|
|
1912
|
+
*
|
|
1913
|
+
* @param id uuid v4
|
|
1914
|
+
* @param name unique identifier of the token
|
|
1915
|
+
* @param fullName Complete human-readable name of the token
|
|
1916
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1917
|
+
* @param contractAddress the contract address of the token
|
|
1918
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1919
|
+
* @param features Features of this coin. Defaults to the TEMPO_FEATURES
|
|
1920
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1921
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1922
|
+
* @param network Optional token network. Defaults to the mainnet Tempo network.
|
|
1923
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1924
|
+
*/
|
|
1925
|
+
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>;
|
|
1926
|
+
/**
|
|
1927
|
+
* Factory function for testnet TIP20 token instances on Tempo network.
|
|
1928
|
+
*
|
|
1929
|
+
* @param id uuid v4
|
|
1930
|
+
* @param name unique identifier of the token
|
|
1931
|
+
* @param fullName Complete human-readable name of the token
|
|
1932
|
+
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
|
|
1933
|
+
* @param contractAddress the contract address of the token
|
|
1934
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
1935
|
+
* @param features Features of this coin. Defaults to the TEMPO_FEATURES
|
|
1936
|
+
* @param prefix Optional token prefix. Defaults to empty string
|
|
1937
|
+
* @param suffix Optional token suffix. Defaults to token name.
|
|
1938
|
+
* @param network Optional token network. Defaults to the testnet Tempo network.
|
|
1939
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
1940
|
+
*/
|
|
1941
|
+
export declare function ttip20Token(id: string, name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<Tip20Token>;
|
|
815
1942
|
export {};
|
|
816
1943
|
//# sourceMappingURL=account.d.ts.map
|