@bitgo-beta/statics 10.0.1-alpha.51 → 10.0.1-alpha.511

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.
Files changed (141) hide show
  1. package/dist/src/account.d.ts +1245 -74
  2. package/dist/src/account.d.ts.map +1 -1
  3. package/dist/src/account.js +2144 -405
  4. package/dist/src/ada.d.ts.map +1 -1
  5. package/dist/src/ada.js +9 -3
  6. package/dist/src/allCoinsAndTokens.d.ts +2 -0
  7. package/dist/src/allCoinsAndTokens.d.ts.map +1 -0
  8. package/dist/src/allCoinsAndTokens.js +1843 -0
  9. package/dist/src/avaxp.d.ts.map +1 -1
  10. package/dist/src/avaxp.js +11 -3
  11. package/dist/src/base.d.ts +3251 -49
  12. package/dist/src/base.d.ts.map +1 -1
  13. package/dist/src/base.js +3392 -61
  14. package/dist/src/canton.d.ts +34 -0
  15. package/dist/src/canton.d.ts.map +1 -0
  16. package/dist/src/canton.js +51 -0
  17. package/dist/src/coinFeatures.d.ts +127 -0
  18. package/dist/src/coinFeatures.d.ts.map +1 -0
  19. package/dist/src/coinFeatures.js +783 -0
  20. package/dist/src/coins/adaTokens.d.ts +2 -0
  21. package/dist/src/coins/adaTokens.d.ts.map +1 -0
  22. package/dist/src/coins/adaTokens.js +24 -0
  23. package/dist/src/coins/avaxTokens.d.ts +2 -0
  24. package/dist/src/coins/avaxTokens.d.ts.map +1 -0
  25. package/dist/src/coins/avaxTokens.js +131 -0
  26. package/dist/src/coins/botOfcTokens.d.ts +3 -0
  27. package/dist/src/coins/botOfcTokens.d.ts.map +1 -0
  28. package/dist/src/coins/botOfcTokens.js +91 -0
  29. package/dist/src/coins/botTokens.d.ts +3 -0
  30. package/dist/src/coins/botTokens.d.ts.map +1 -0
  31. package/dist/src/coins/botTokens.js +345 -0
  32. package/dist/src/coins/bscTokens.d.ts +2 -0
  33. package/dist/src/coins/bscTokens.d.ts.map +1 -0
  34. package/dist/src/coins/bscTokens.js +374 -0
  35. package/dist/src/coins/cantonTokens.d.ts +2 -0
  36. package/dist/src/coins/cantonTokens.d.ts.map +1 -0
  37. package/dist/src/coins/cantonTokens.js +132 -0
  38. package/dist/src/coins/cosmosTokens.d.ts +2 -0
  39. package/dist/src/coins/cosmosTokens.d.ts.map +1 -0
  40. package/dist/src/coins/cosmosTokens.js +14 -0
  41. package/dist/src/coins/erc20Coins.d.ts +2 -0
  42. package/dist/src/coins/erc20Coins.d.ts.map +1 -0
  43. package/dist/src/coins/erc20Coins.js +2063 -0
  44. package/dist/src/coins/erc7984Tokens.d.ts +18 -0
  45. package/dist/src/coins/erc7984Tokens.d.ts.map +1 -0
  46. package/dist/src/coins/erc7984Tokens.js +34 -0
  47. package/dist/src/coins/generateERC20.d.ts +36 -0
  48. package/dist/src/coins/generateERC20.d.ts.map +1 -0
  49. package/dist/src/coins/generateERC20.js +46 -0
  50. package/dist/src/coins/hoodethTokens.d.ts +2 -0
  51. package/dist/src/coins/hoodethTokens.d.ts.map +1 -0
  52. package/dist/src/coins/hoodethTokens.js +217 -0
  53. package/dist/src/coins/jettonTokens.d.ts +2 -0
  54. package/dist/src/coins/jettonTokens.d.ts.map +1 -0
  55. package/dist/src/coins/jettonTokens.js +19 -0
  56. package/dist/src/coins/nep141Tokens.d.ts +2 -0
  57. package/dist/src/coins/nep141Tokens.d.ts.map +1 -0
  58. package/dist/src/coins/nep141Tokens.js +18 -0
  59. package/dist/src/coins/ofcCoins.d.ts +2 -0
  60. package/dist/src/coins/ofcCoins.d.ts.map +1 -0
  61. package/dist/src/coins/ofcCoins.js +1372 -0
  62. package/dist/src/coins/ofcErc20Coins.d.ts +4 -0
  63. package/dist/src/coins/ofcErc20Coins.d.ts.map +1 -0
  64. package/dist/src/coins/ofcErc20Coins.js +1867 -0
  65. package/dist/src/coins/ofcHoodethTokens.d.ts +2 -0
  66. package/dist/src/coins/ofcHoodethTokens.d.ts.map +1 -0
  67. package/dist/src/coins/ofcHoodethTokens.js +215 -0
  68. package/dist/src/coins/polygonTokens.d.ts +2 -0
  69. package/dist/src/coins/polygonTokens.d.ts.map +1 -0
  70. package/dist/src/coins/polygonTokens.js +212 -0
  71. package/dist/src/coins/polyxTokens.d.ts +2 -0
  72. package/dist/src/coins/polyxTokens.d.ts.map +1 -0
  73. package/dist/src/coins/polyxTokens.js +22 -0
  74. package/dist/src/coins/sip10Tokens.d.ts +2 -0
  75. package/dist/src/coins/sip10Tokens.d.ts.map +1 -0
  76. package/dist/src/coins/sip10Tokens.js +25 -0
  77. package/dist/src/coins/solTokens.d.ts +3 -0
  78. package/dist/src/coins/solTokens.d.ts.map +1 -0
  79. package/dist/src/coins/solTokens.js +529 -0
  80. package/dist/src/coins/vetTokens.d.ts +2 -0
  81. package/dist/src/coins/vetTokens.d.ts.map +1 -0
  82. package/dist/src/coins/vetTokens.js +11 -0
  83. package/dist/src/coins.d.ts +22 -1
  84. package/dist/src/coins.d.ts.map +1 -1
  85. package/dist/src/coins.js +464 -1427
  86. package/dist/src/constants.d.ts +1 -0
  87. package/dist/src/constants.d.ts.map +1 -1
  88. package/dist/src/constants.js +3 -2
  89. package/dist/src/errors.d.ts +9 -0
  90. package/dist/src/errors.d.ts.map +1 -1
  91. package/dist/src/errors.js +23 -2
  92. package/dist/src/flrp.d.ts +40 -0
  93. package/dist/src/flrp.d.ts.map +1 -0
  94. package/dist/src/flrp.js +66 -0
  95. package/dist/src/hypeevm.d.ts +28 -0
  96. package/dist/src/hypeevm.d.ts.map +1 -0
  97. package/dist/src/hypeevm.js +60 -0
  98. package/dist/src/index.d.ts +5 -1
  99. package/dist/src/index.d.ts.map +1 -1
  100. package/dist/src/index.js +44 -3
  101. package/dist/src/kaspa.d.ts +34 -0
  102. package/dist/src/kaspa.d.ts.map +1 -0
  103. package/dist/src/kaspa.js +63 -0
  104. package/dist/src/lightning.d.ts +43 -0
  105. package/dist/src/lightning.d.ts.map +1 -0
  106. package/dist/src/lightning.js +64 -0
  107. package/dist/src/map.d.ts +34 -0
  108. package/dist/src/map.d.ts.map +1 -1
  109. package/dist/src/map.js +250 -17
  110. package/dist/src/networkFeatureMapForTokens.d.ts +17 -0
  111. package/dist/src/networkFeatureMapForTokens.d.ts.map +1 -0
  112. package/dist/src/networkFeatureMapForTokens.js +84 -0
  113. package/dist/src/networks.d.ts +2154 -51
  114. package/dist/src/networks.d.ts.map +1 -1
  115. package/dist/src/networks.js +2654 -78
  116. package/dist/src/ofc.d.ts +695 -3
  117. package/dist/src/ofc.d.ts.map +1 -1
  118. package/dist/src/ofc.js +1653 -28
  119. package/dist/src/tokenConfig.d.ts +698 -102
  120. package/dist/src/tokenConfig.d.ts.map +1 -1
  121. package/dist/src/tokenConfig.js +1094 -205
  122. package/dist/src/utxo.d.ts +3 -1
  123. package/dist/src/utxo.d.ts.map +1 -1
  124. package/dist/src/utxo.js +88 -3
  125. package/dist/tsconfig.tsbuildinfo +1 -2744
  126. package/package.json +6 -3
  127. package/.mocharc.js +0 -10
  128. package/.prettierignore +0 -2
  129. package/CHANGELOG.md +0 -587
  130. package/dist/resources/dot/index.d.ts +0 -3
  131. package/dist/resources/dot/index.d.ts.map +0 -1
  132. package/dist/resources/dot/index.js +0 -15
  133. package/dist/resources/dot/mainnet.d.ts +0 -2
  134. package/dist/resources/dot/mainnet.d.ts.map +0 -1
  135. package/dist/resources/dot/mainnet.js +0 -5
  136. package/dist/resources/dot/westend.d.ts +0 -2
  137. package/dist/resources/dot/westend.d.ts.map +0 -1
  138. package/dist/resources/dot/westend.js +0 -5
  139. package/resources/dot/index.ts +0 -2
  140. package/resources/dot/mainnet.ts +0 -2
  141. package/resources/dot/westend.ts +0 -2
@@ -1,3 +1,6 @@
1
+ import { CoinFamily, BaseCoin, CoinFeature } from './base';
2
+ import { coins } from './coins';
3
+ import { DynamicNetworkOptions } from './networks';
1
4
  export interface BaseTokenConfig {
2
5
  coin: string;
3
6
  decimalPlaces: number;
@@ -10,123 +13,283 @@ export interface BaseNetworkConfig extends BaseTokenConfig {
10
13
  export interface BaseContractAddressConfig extends BaseNetworkConfig {
11
14
  tokenContractAddress: string;
12
15
  }
13
- export declare type AvaxcTokenConfig = BaseContractAddressConfig;
14
- export declare type CeloTokenConfig = BaseContractAddressConfig;
15
- export declare type EthLikeTokenConfig = BaseContractAddressConfig;
16
- export declare type EosTokenConfig = BaseContractAddressConfig;
17
- export declare type Erc20TokenConfig = BaseContractAddressConfig;
18
- export declare type TrxTokenConfig = BaseContractAddressConfig;
19
- export declare type StellarTokenConfig = BaseNetworkConfig;
20
- export declare type SolTokenConfig = BaseNetworkConfig & {
16
+ export type AvaxcTokenConfig = BaseContractAddressConfig;
17
+ export type CeloTokenConfig = BaseContractAddressConfig;
18
+ export type EthLikeTokenConfig = BaseContractAddressConfig;
19
+ export type EosTokenConfig = BaseContractAddressConfig & {
20
+ contractName: string;
21
+ contractAddress: string;
22
+ };
23
+ export type Erc20TokenConfig = BaseContractAddressConfig;
24
+ export type Erc7984TokenConfig = BaseContractAddressConfig;
25
+ export type TrxTokenConfig = BaseContractAddressConfig;
26
+ export type StellarTokenConfig = BaseNetworkConfig;
27
+ export type SolTokenConfig = BaseNetworkConfig & {
21
28
  tokenAddress: string;
29
+ contractAddress: string;
30
+ programId?: string;
22
31
  };
23
- export declare type AdaTokenConfig = BaseNetworkConfig & {
32
+ export type AdaTokenConfig = BaseNetworkConfig & {
24
33
  policyId: string;
25
34
  assetName: string;
35
+ contractAddress: string;
26
36
  };
27
- export declare type AlgoTokenConfig = BaseNetworkConfig & {
37
+ export type AlgoTokenConfig = BaseNetworkConfig & {
28
38
  alias?: string;
29
39
  };
30
- export declare type OfcTokenConfig = BaseTokenConfig & {
40
+ export type OfcTokenConfig = BaseTokenConfig & {
31
41
  backingCoin: string;
32
42
  isFiat: boolean;
33
43
  };
34
- export declare type HbarTokenConfig = BaseNetworkConfig;
35
- export declare type XrpTokenConfig = BaseNetworkConfig & {
44
+ export type HbarTokenConfig = BaseNetworkConfig & {
45
+ nodeAccountId: string;
46
+ tokenId: string;
47
+ contractAddress: string;
48
+ };
49
+ export type XrpTokenConfig = BaseNetworkConfig & {
36
50
  issuerAddress: string;
37
51
  currencyCode: string;
38
52
  domain?: string;
53
+ contractAddress: string;
39
54
  };
40
- export interface Tokens {
41
- bitcoin: {
42
- eth: {
43
- tokens: Erc20TokenConfig[];
44
- };
45
- xlm: {
46
- tokens: StellarTokenConfig[];
47
- };
48
- algo: {
49
- tokens: AlgoTokenConfig[];
50
- };
51
- ofc: {
52
- tokens: OfcTokenConfig[];
53
- };
54
- celo: {
55
- tokens: CeloTokenConfig[];
56
- };
57
- eos: {
58
- tokens: EosTokenConfig[];
59
- };
60
- avaxc: {
61
- tokens: AvaxcTokenConfig[];
62
- };
63
- polygon: {
64
- tokens: EthLikeTokenConfig[];
65
- };
66
- bsc: {
67
- tokens: EthLikeTokenConfig[];
68
- };
69
- sol: {
70
- tokens: SolTokenConfig[];
71
- };
72
- hbar: {
73
- tokens: HbarTokenConfig[];
74
- };
75
- ada: {
76
- tokens: AdaTokenConfig[];
77
- };
78
- trx: {
79
- tokens: TrxTokenConfig[];
80
- };
81
- xrp: {
82
- tokens: XrpTokenConfig[];
83
- };
84
- };
85
- testnet: {
86
- eth: {
87
- tokens: Erc20TokenConfig[];
88
- };
89
- xlm: {
90
- tokens: StellarTokenConfig[];
91
- };
92
- algo: {
93
- tokens: AlgoTokenConfig[];
94
- };
95
- ofc: {
96
- tokens: OfcTokenConfig[];
97
- };
98
- celo: {
99
- tokens: CeloTokenConfig[];
100
- };
101
- bsc: {
102
- tokens: EthLikeTokenConfig[];
103
- };
104
- eos: {
105
- tokens: EosTokenConfig[];
106
- };
107
- avaxc: {
108
- tokens: AvaxcTokenConfig[];
109
- };
110
- polygon: {
111
- tokens: EthLikeTokenConfig[];
112
- };
113
- sol: {
114
- tokens: SolTokenConfig[];
115
- };
116
- hbar: {
117
- tokens: HbarTokenConfig[];
118
- };
119
- ada: {
120
- tokens: AdaTokenConfig[];
121
- };
122
- trx: {
123
- tokens: TrxTokenConfig[];
124
- };
125
- xrp: {
126
- tokens: XrpTokenConfig[];
127
- };
55
+ export type XrpMptTokenConfig = BaseNetworkConfig & {
56
+ contractAddress: string;
57
+ canTransfer: boolean;
58
+ };
59
+ export type SuiTokenConfig = BaseNetworkConfig & {
60
+ packageId: string;
61
+ module: string;
62
+ symbol: string;
63
+ contractAddress: string;
64
+ };
65
+ export type AptTokenConfig = BaseNetworkConfig & {
66
+ assetId: string;
67
+ };
68
+ export type AptNFTCollectionConfig = BaseNetworkConfig & {
69
+ nftCollectionId: string;
70
+ };
71
+ export type Sip10TokenConfig = BaseNetworkConfig & {
72
+ assetId: string;
73
+ };
74
+ export type TaoTokenConfig = BaseNetworkConfig & {
75
+ subnetId: string;
76
+ };
77
+ export type PolyxTokenConfig = BaseNetworkConfig & {
78
+ ticker: string;
79
+ assetId: string;
80
+ };
81
+ export type Nep141TokenConfig = BaseNetworkConfig & {
82
+ contractAddress: string;
83
+ storageDepositAmount: string;
84
+ };
85
+ export type CantonTokenConfig = BaseNetworkConfig & {
86
+ baseUrl: string;
87
+ contractAddress: string;
88
+ };
89
+ export type VetTokenConfig = BaseNetworkConfig & {
90
+ contractAddress: string;
91
+ };
92
+ export type VetNFTCollectionConfig = BaseNetworkConfig & {
93
+ nftCollectionId: string;
94
+ };
95
+ export type CosmosTokenConfig = BaseNetworkConfig & {
96
+ denom: string;
97
+ };
98
+ export type JettonTokenConfig = BaseNetworkConfig & {
99
+ contractAddress: string;
100
+ };
101
+ export type EthLikeERC721TokenConfig = BaseContractAddressConfig & {
102
+ network: string;
103
+ };
104
+ export type Tip20TokenConfig = BaseContractAddressConfig;
105
+ export type TokenConfig = Erc20TokenConfig | StellarTokenConfig | OfcTokenConfig | CeloTokenConfig | EthLikeTokenConfig | EosTokenConfig | AvaxcTokenConfig | SolTokenConfig | HbarTokenConfig | AdaTokenConfig | AlgoTokenConfig | TrxTokenConfig | XrpTokenConfig | XrpMptTokenConfig | SuiTokenConfig | AptTokenConfig | AptNFTCollectionConfig | Sip10TokenConfig | Nep141TokenConfig | CantonTokenConfig | CosmosTokenConfig | VetTokenConfig | VetNFTCollectionConfig | TaoTokenConfig | PolyxTokenConfig | JettonTokenConfig | EthLikeERC721TokenConfig | Tip20TokenConfig | Erc7984TokenConfig;
106
+ export interface TokenNetwork {
107
+ eth: {
108
+ tokens: Erc20TokenConfig[];
109
+ nfts: EthLikeTokenConfig[];
110
+ confidentialTokens: Erc7984TokenConfig[];
111
+ };
112
+ xlm: {
113
+ tokens: StellarTokenConfig[];
114
+ };
115
+ algo: {
116
+ tokens: AlgoTokenConfig[];
117
+ };
118
+ ofc: {
119
+ tokens: OfcTokenConfig[];
120
+ };
121
+ celo: {
122
+ tokens: CeloTokenConfig[];
123
+ };
124
+ eos: {
125
+ tokens: EosTokenConfig[];
126
+ };
127
+ avaxc: {
128
+ tokens: AvaxcTokenConfig[];
129
+ };
130
+ polygon: {
131
+ tokens: EthLikeTokenConfig[];
132
+ };
133
+ soneium: {
134
+ tokens: EthLikeTokenConfig[];
135
+ };
136
+ bsc: {
137
+ tokens: EthLikeTokenConfig[];
138
+ };
139
+ arbeth: {
140
+ tokens: EthLikeTokenConfig[];
141
+ };
142
+ opeth: {
143
+ tokens: EthLikeTokenConfig[];
144
+ };
145
+ baseeth: {
146
+ tokens: EthLikeTokenConfig[];
147
+ };
148
+ og: {
149
+ tokens: EthLikeTokenConfig[];
150
+ };
151
+ flow: {
152
+ tokens: EthLikeTokenConfig[];
153
+ };
154
+ lineaeth: {
155
+ tokens: EthLikeTokenConfig[];
156
+ };
157
+ seievm: {
158
+ tokens: EthLikeTokenConfig[];
159
+ };
160
+ coredao: {
161
+ tokens: EthLikeTokenConfig[];
162
+ };
163
+ world: {
164
+ tokens: EthLikeTokenConfig[];
165
+ };
166
+ flr: {
167
+ tokens: EthLikeTokenConfig[];
168
+ };
169
+ sol: {
170
+ tokens: SolTokenConfig[];
171
+ };
172
+ hbar: {
173
+ tokens: HbarTokenConfig[];
174
+ };
175
+ ada: {
176
+ tokens: AdaTokenConfig[];
177
+ };
178
+ trx: {
179
+ tokens: TrxTokenConfig[];
180
+ };
181
+ xrp: {
182
+ tokens: XrpTokenConfig[];
183
+ mptTokens: XrpMptTokenConfig[];
184
+ };
185
+ zketh: {
186
+ tokens: EthLikeTokenConfig[];
187
+ };
188
+ sui: {
189
+ tokens: SuiTokenConfig[];
190
+ };
191
+ tao: {
192
+ tokens: TaoTokenConfig[];
193
+ };
194
+ polyx: {
195
+ tokens: PolyxTokenConfig[];
196
+ };
197
+ bera: {
198
+ tokens: EthLikeTokenConfig[];
199
+ };
200
+ mon: {
201
+ tokens: EthLikeTokenConfig[];
202
+ };
203
+ xdc: {
204
+ tokens: EthLikeTokenConfig[];
205
+ };
206
+ hypeevm: {
207
+ tokens: EthLikeTokenConfig[];
208
+ };
209
+ ip: {
210
+ tokens: EthLikeTokenConfig[];
211
+ };
212
+ apt: {
213
+ tokens: AptTokenConfig[];
214
+ nftCollections: AptNFTCollectionConfig[];
215
+ };
216
+ stx: {
217
+ tokens: Sip10TokenConfig[];
128
218
  };
219
+ near: {
220
+ tokens: Nep141TokenConfig[];
221
+ };
222
+ vet: {
223
+ tokens: VetTokenConfig[];
224
+ nftCollections: VetNFTCollectionConfig[];
225
+ };
226
+ cosmos: {
227
+ tokens: CosmosTokenConfig[];
228
+ };
229
+ ton: {
230
+ tokens: JettonTokenConfig[];
231
+ };
232
+ tempo: {
233
+ tokens: Tip20TokenConfig[];
234
+ };
235
+ canton: {
236
+ tokens: CantonTokenConfig[];
237
+ };
238
+ }
239
+ export interface Tokens {
240
+ bitcoin: TokenNetwork;
241
+ testnet: TokenNetwork;
242
+ }
243
+ export interface AmsTokenConfig {
244
+ id: string;
245
+ name: string;
246
+ fullName: string;
247
+ family: string;
248
+ decimalPlaces: number;
249
+ asset: string;
250
+ features?: string[];
251
+ prefix?: string;
252
+ suffix?: string;
253
+ network?: unknown;
254
+ primaryKeyCurve?: string;
255
+ contractAddress?: string;
256
+ tokenAddress?: string;
257
+ nftCollectionId?: string;
258
+ alias?: string;
259
+ contractName?: string;
260
+ tokenId?: string;
261
+ packageId?: string;
262
+ module?: string;
263
+ symbol?: string;
264
+ issuerAddress?: string;
265
+ currecnycode?: string;
266
+ domain?: string;
267
+ assetId?: string;
268
+ denom?: string;
269
+ isToken: boolean;
270
+ baseUnit?: string;
271
+ kind?: string;
272
+ subnetId?: string;
273
+ ticker?: string;
274
+ programId?: string;
275
+ addressCoin?: string;
276
+ assetName?: string;
277
+ policyId?: string;
129
278
  }
279
+ export interface AmsNetworkConfig extends DynamicNetworkOptions {
280
+ features: CoinFeature[];
281
+ }
282
+ export type AmsNetworkConfigMap = Record<string, AmsNetworkConfig>;
283
+ export interface TrimmedAmsNetworkConfig {
284
+ name: string;
285
+ }
286
+ export interface TrimmedAmsTokenConfig extends Omit<AmsTokenConfig, 'features' | 'network'> {
287
+ network: TrimmedAmsNetworkConfig;
288
+ excludedFeatures?: string[];
289
+ additionalFeatures?: string[];
290
+ }
291
+ export declare const getFormattedErc20Tokens: (customCoinMap?: import("./map").CoinMap) => BaseContractAddressConfig[];
292
+ export declare const getFormattedErc7984Tokens: (customCoinMap?: import("./map").CoinMap) => BaseContractAddressConfig[];
130
293
  export declare const ethGasConfigs: {
131
294
  minimumGasPrice: number;
132
295
  defaultGasPrice: number;
@@ -135,13 +298,446 @@ export declare const ethGasConfigs: {
135
298
  defaultGasLimitTokenSend: number;
136
299
  minimumGasLimit: number;
137
300
  maximumGasLimit: number;
301
+ newEthLikeCoinsMinGasLimit: number;
302
+ l1GasFeeBuffer: number;
138
303
  };
139
- export declare const formattedAlgoTokens: AlgoTokenConfig[];
304
+ export declare const getFormattedSolTokens: (customCoinMap?: import("./map").CoinMap) => SolTokenConfig[];
305
+ export declare const getFormattedAlgoTokens: (customCoinMap?: import("./map").CoinMap) => AlgoTokenConfig[];
306
+ type EthLikeTokenMap = {
307
+ [K in CoinFamily]: {
308
+ tokens: EthLikeTokenConfig[];
309
+ };
310
+ };
311
+ export declare enum TokenTypeEnum {
312
+ ERC20 = "erc20",
313
+ ERC721 = "erc721",
314
+ ERC7984 = "erc7984"
315
+ }
316
+ export declare const getFormattedEthLikeTokenConfig: (customCoinMap: import("./map").CoinMap | undefined, tokenType: TokenTypeEnum) => EthLikeTokenConfig[];
317
+ export declare const getEthLikeTokens: (network: "Mainnet" | "Testnet", tokenType: TokenTypeEnum) => EthLikeTokenMap;
318
+ export declare const getFormattedTokensByNetwork: (network: "Mainnet" | "Testnet", coinMap: typeof coins) => {
319
+ eth: {
320
+ tokens: BaseContractAddressConfig[];
321
+ nfts: BaseContractAddressConfig[];
322
+ confidentialTokens: BaseContractAddressConfig[];
323
+ };
324
+ xlm: {
325
+ tokens: BaseNetworkConfig[];
326
+ };
327
+ algo: {
328
+ tokens: AlgoTokenConfig[];
329
+ };
330
+ ofc: {
331
+ tokens: OfcTokenConfig[];
332
+ };
333
+ celo: {
334
+ tokens: BaseContractAddressConfig[];
335
+ };
336
+ bsc: {
337
+ tokens: BaseContractAddressConfig[];
338
+ };
339
+ eos: {
340
+ tokens: EosTokenConfig[];
341
+ };
342
+ avaxc: {
343
+ tokens: BaseContractAddressConfig[];
344
+ };
345
+ polygon: {
346
+ tokens: BaseContractAddressConfig[];
347
+ };
348
+ soneium: {
349
+ tokens: BaseContractAddressConfig[];
350
+ };
351
+ arbeth: {
352
+ tokens: BaseContractAddressConfig[];
353
+ };
354
+ opeth: {
355
+ tokens: BaseContractAddressConfig[];
356
+ };
357
+ baseeth: {
358
+ tokens: BaseContractAddressConfig[];
359
+ };
360
+ og: {
361
+ tokens: BaseContractAddressConfig[];
362
+ };
363
+ flow: {
364
+ tokens: BaseContractAddressConfig[];
365
+ };
366
+ mon: {
367
+ tokens: BaseContractAddressConfig[];
368
+ };
369
+ xdc: {
370
+ tokens: BaseContractAddressConfig[];
371
+ };
372
+ lineaeth: {
373
+ tokens: BaseContractAddressConfig[];
374
+ };
375
+ seievm: {
376
+ tokens: BaseContractAddressConfig[];
377
+ };
378
+ zketh: {
379
+ tokens: BaseContractAddressConfig[];
380
+ };
381
+ sol: {
382
+ tokens: SolTokenConfig[];
383
+ };
384
+ hbar: {
385
+ tokens: HbarTokenConfig[];
386
+ };
387
+ ada: {
388
+ tokens: AdaTokenConfig[];
389
+ };
390
+ trx: {
391
+ tokens: BaseContractAddressConfig[];
392
+ };
393
+ xrp: {
394
+ tokens: XrpTokenConfig[];
395
+ mptTokens: XrpMptTokenConfig[];
396
+ };
397
+ sui: {
398
+ tokens: SuiTokenConfig[];
399
+ };
400
+ tao: {
401
+ tokens: TaoTokenConfig[];
402
+ };
403
+ polyx: {
404
+ tokens: PolyxTokenConfig[];
405
+ };
406
+ bera: {
407
+ tokens: BaseContractAddressConfig[];
408
+ };
409
+ coredao: {
410
+ tokens: BaseContractAddressConfig[];
411
+ };
412
+ world: {
413
+ tokens: BaseContractAddressConfig[];
414
+ };
415
+ flr: {
416
+ tokens: BaseContractAddressConfig[];
417
+ };
418
+ stx: {
419
+ tokens: Sip10TokenConfig[];
420
+ };
421
+ near: {
422
+ tokens: Nep141TokenConfig[];
423
+ };
424
+ cosmos: {
425
+ tokens: CosmosTokenConfig[];
426
+ };
427
+ ton: {
428
+ tokens: JettonTokenConfig[];
429
+ };
430
+ tempo: {
431
+ tokens: BaseContractAddressConfig[];
432
+ };
433
+ canton: {
434
+ tokens: CantonTokenConfig[];
435
+ };
436
+ abstracteth: {
437
+ tokens: EthLikeTokenConfig[];
438
+ };
439
+ apechain: {
440
+ tokens: EthLikeTokenConfig[];
441
+ };
442
+ apt: {
443
+ tokens: EthLikeTokenConfig[];
444
+ };
445
+ asi: {
446
+ tokens: EthLikeTokenConfig[];
447
+ };
448
+ atom: {
449
+ tokens: EthLikeTokenConfig[];
450
+ };
451
+ avaxp: {
452
+ tokens: EthLikeTokenConfig[];
453
+ };
454
+ baby: {
455
+ tokens: EthLikeTokenConfig[];
456
+ };
457
+ bch: {
458
+ tokens: EthLikeTokenConfig[];
459
+ };
460
+ bcha: {
461
+ tokens: EthLikeTokenConfig[];
462
+ };
463
+ bld: {
464
+ tokens: EthLikeTokenConfig[];
465
+ };
466
+ bsv: {
467
+ tokens: EthLikeTokenConfig[];
468
+ };
469
+ btc: {
470
+ tokens: EthLikeTokenConfig[];
471
+ };
472
+ btg: {
473
+ tokens: EthLikeTokenConfig[];
474
+ };
475
+ chiliz: {
476
+ tokens: EthLikeTokenConfig[];
477
+ };
478
+ codexeth: {
479
+ tokens: EthLikeTokenConfig[];
480
+ };
481
+ coreum: {
482
+ tokens: EthLikeTokenConfig[];
483
+ };
484
+ cotieth: {
485
+ tokens: EthLikeTokenConfig[];
486
+ };
487
+ cronos: {
488
+ tokens: EthLikeTokenConfig[];
489
+ };
490
+ cspr: {
491
+ tokens: EthLikeTokenConfig[];
492
+ };
493
+ dash: {
494
+ tokens: EthLikeTokenConfig[];
495
+ };
496
+ doge: {
497
+ tokens: EthLikeTokenConfig[];
498
+ };
499
+ dogeos: {
500
+ tokens: EthLikeTokenConfig[];
501
+ };
502
+ dot: {
503
+ tokens: EthLikeTokenConfig[];
504
+ };
505
+ dydx: {
506
+ tokens: EthLikeTokenConfig[];
507
+ };
508
+ dydxcosmos: {
509
+ tokens: EthLikeTokenConfig[];
510
+ };
511
+ etc: {
512
+ tokens: EthLikeTokenConfig[];
513
+ };
514
+ eth2: {
515
+ tokens: EthLikeTokenConfig[];
516
+ };
517
+ ethw: {
518
+ tokens: EthLikeTokenConfig[];
519
+ };
520
+ fetchai: {
521
+ tokens: EthLikeTokenConfig[];
522
+ };
523
+ fiat: {
524
+ tokens: EthLikeTokenConfig[];
525
+ };
526
+ fantom: {
527
+ tokens: EthLikeTokenConfig[];
528
+ };
529
+ flrp: {
530
+ tokens: EthLikeTokenConfig[];
531
+ };
532
+ gasevm: {
533
+ tokens: EthLikeTokenConfig[];
534
+ };
535
+ h: {
536
+ tokens: EthLikeTokenConfig[];
537
+ };
538
+ hash: {
539
+ tokens: EthLikeTokenConfig[];
540
+ };
541
+ hbarevm: {
542
+ tokens: EthLikeTokenConfig[];
543
+ };
544
+ hemieth: {
545
+ tokens: EthLikeTokenConfig[];
546
+ };
547
+ hoodeth: {
548
+ tokens: EthLikeTokenConfig[];
549
+ };
550
+ hppeth: {
551
+ tokens: EthLikeTokenConfig[];
552
+ };
553
+ icp: {
554
+ tokens: EthLikeTokenConfig[];
555
+ };
556
+ inketh: {
557
+ tokens: EthLikeTokenConfig[];
558
+ };
559
+ initia: {
560
+ tokens: EthLikeTokenConfig[];
561
+ };
562
+ injective: {
563
+ tokens: EthLikeTokenConfig[];
564
+ };
565
+ iota: {
566
+ tokens: EthLikeTokenConfig[];
567
+ };
568
+ irys: {
569
+ tokens: EthLikeTokenConfig[];
570
+ };
571
+ islm: {
572
+ tokens: EthLikeTokenConfig[];
573
+ };
574
+ jovayeth: {
575
+ tokens: EthLikeTokenConfig[];
576
+ };
577
+ kaia: {
578
+ tokens: EthLikeTokenConfig[];
579
+ };
580
+ kaspa: {
581
+ tokens: EthLikeTokenConfig[];
582
+ };
583
+ katanaeth: {
584
+ tokens: EthLikeTokenConfig[];
585
+ };
586
+ kavacosmos: {
587
+ tokens: EthLikeTokenConfig[];
588
+ };
589
+ kavaevm: {
590
+ tokens: EthLikeTokenConfig[];
591
+ };
592
+ lnbtc: {
593
+ tokens: EthLikeTokenConfig[];
594
+ };
595
+ ltc: {
596
+ tokens: EthLikeTokenConfig[];
597
+ };
598
+ mantle: {
599
+ tokens: EthLikeTokenConfig[];
600
+ };
601
+ mantra: {
602
+ tokens: EthLikeTokenConfig[];
603
+ };
604
+ megaeth: {
605
+ tokens: EthLikeTokenConfig[];
606
+ };
607
+ xpl: {
608
+ tokens: EthLikeTokenConfig[];
609
+ };
610
+ phrs: {
611
+ tokens: EthLikeTokenConfig[];
612
+ };
613
+ prividiumeth: {
614
+ tokens: EthLikeTokenConfig[];
615
+ };
616
+ ctc: {
617
+ tokens: EthLikeTokenConfig[];
618
+ };
619
+ hypeevm: {
620
+ tokens: EthLikeTokenConfig[];
621
+ };
622
+ hyperliquid: {
623
+ tokens: EthLikeTokenConfig[];
624
+ };
625
+ oas: {
626
+ tokens: EthLikeTokenConfig[];
627
+ };
628
+ opbnb: {
629
+ tokens: EthLikeTokenConfig[];
630
+ };
631
+ okbxlayer: {
632
+ tokens: EthLikeTokenConfig[];
633
+ };
634
+ osmo: {
635
+ tokens: EthLikeTokenConfig[];
636
+ };
637
+ plume: {
638
+ tokens: EthLikeTokenConfig[];
639
+ };
640
+ pearl: {
641
+ tokens: EthLikeTokenConfig[];
642
+ };
643
+ rbtc: {
644
+ tokens: EthLikeTokenConfig[];
645
+ };
646
+ scrolleth: {
647
+ tokens: EthLikeTokenConfig[];
648
+ };
649
+ sgb: {
650
+ tokens: EthLikeTokenConfig[];
651
+ };
652
+ sei: {
653
+ tokens: EthLikeTokenConfig[];
654
+ };
655
+ sonic: {
656
+ tokens: EthLikeTokenConfig[];
657
+ };
658
+ starknet: {
659
+ tokens: EthLikeTokenConfig[];
660
+ };
661
+ stt: {
662
+ tokens: EthLikeTokenConfig[];
663
+ };
664
+ susd: {
665
+ tokens: EthLikeTokenConfig[];
666
+ };
667
+ thor: {
668
+ tokens: EthLikeTokenConfig[];
669
+ };
670
+ tia: {
671
+ tokens: EthLikeTokenConfig[];
672
+ };
673
+ usdt0: {
674
+ tokens: EthLikeTokenConfig[];
675
+ };
676
+ vet: {
677
+ tokens: EthLikeTokenConfig[];
678
+ };
679
+ wemix: {
680
+ tokens: EthLikeTokenConfig[];
681
+ };
682
+ xtz: {
683
+ tokens: EthLikeTokenConfig[];
684
+ };
685
+ xtzevm: {
686
+ tokens: EthLikeTokenConfig[];
687
+ };
688
+ zec: {
689
+ tokens: EthLikeTokenConfig[];
690
+ };
691
+ zeta: {
692
+ tokens: EthLikeTokenConfig[];
693
+ };
694
+ zksyncera: {
695
+ tokens: EthLikeTokenConfig[];
696
+ };
697
+ ip: {
698
+ tokens: EthLikeTokenConfig[];
699
+ };
700
+ somi: {
701
+ tokens: EthLikeTokenConfig[];
702
+ };
703
+ fluenteth: {
704
+ tokens: EthLikeTokenConfig[];
705
+ };
706
+ morph: {
707
+ tokens: EthLikeTokenConfig[];
708
+ };
709
+ morpheth: {
710
+ tokens: EthLikeTokenConfig[];
711
+ };
712
+ arcusdc: {
713
+ tokens: EthLikeTokenConfig[];
714
+ };
715
+ unieth: {
716
+ tokens: EthLikeTokenConfig[];
717
+ };
718
+ bobaeth: {
719
+ tokens: EthLikeTokenConfig[];
720
+ };
721
+ };
722
+ export declare const getFormattedTokens: (coinMap?: import("./map").CoinMap) => Tokens;
723
+ /**
724
+ * Verify mainnet or testnet tokens
725
+ * @param tokens
726
+ */
727
+ export declare const verifyTokens: (tokens: BaseTokenConfig[]) => Record<string, boolean>;
140
728
  export declare const tokens: Tokens;
729
+ export declare const formattedAlgoTokens: AlgoTokenConfig[];
141
730
  export declare const mainnetTokens: {
142
731
  [x: string]: boolean;
143
732
  };
144
733
  export declare const testnetTokens: {
145
734
  [x: string]: boolean;
146
735
  };
736
+ /**
737
+ * Get formatted token configuration for a single coin
738
+ * @param coin - Static Base coin instance
739
+ * @returns The formatted token configuration for the coin, or undefined if not supported
740
+ */
741
+ export declare function getFormattedTokenConfigForCoin(coin: Readonly<BaseCoin>): TokenConfig | undefined;
742
+ export {};
147
743
  //# sourceMappingURL=tokenConfig.d.ts.map