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