@hinkal/common 0.2.13 → 0.2.14

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 (656) hide show
  1. package/API/API.cjs +1 -1
  2. package/API/API.d.ts +10 -3
  3. package/API/API.mjs +42 -31
  4. package/API/ai-calls.cjs +1 -0
  5. package/API/ai-calls.d.ts +9 -0
  6. package/API/ai-calls.mjs +13 -0
  7. package/API/callCurveAPI.cjs +1 -1
  8. package/API/callCurveAPI.mjs +28 -22
  9. package/API/callRelayer.d.ts +3 -2
  10. package/API/dataServerCalls.cjs +1 -1
  11. package/API/dataServerCalls.d.ts +4 -0
  12. package/API/dataServerCalls.mjs +11 -7
  13. package/API/duneAPI.cjs +1 -1
  14. package/API/duneAPI.mjs +7 -4
  15. package/API/fetchCommitmentsCache.cjs +1 -1
  16. package/API/fetchCommitmentsCache.d.ts +9 -1
  17. package/API/fetchCommitmentsCache.mjs +6 -5
  18. package/API/getGasEstimates.cjs +1 -1
  19. package/API/getGasEstimates.d.ts +2 -1
  20. package/API/getGasEstimates.mjs +10 -9
  21. package/API/getServerURL.d.ts +1 -1
  22. package/API/index.d.ts +2 -0
  23. package/API/is-tx-stateless.cjs +1 -0
  24. package/API/is-tx-stateless.d.ts +3 -0
  25. package/API/is-tx-stateless.mjs +9 -0
  26. package/API/rewardsPointsCalls.cjs +1 -1
  27. package/API/rewardsPointsCalls.d.ts +3 -3
  28. package/API/rewardsPointsCalls.mjs +1 -3
  29. package/API/tenderly.api.cjs +1 -0
  30. package/API/tenderly.api.d.ts +12 -0
  31. package/API/tenderly.api.mjs +47 -0
  32. package/API/token-calls.cjs +1 -0
  33. package/API/token-calls.d.ts +2 -0
  34. package/API/token-calls.mjs +9 -0
  35. package/API/userVerifyTransactions.cjs +1 -1
  36. package/API/userVerifyTransactions.d.ts +6 -7
  37. package/API/userVerifyTransactions.mjs +13 -14
  38. package/constants/addresses.constants.cjs +1 -0
  39. package/constants/addresses.constants.d.ts +16 -0
  40. package/constants/addresses.constants.mjs +50 -0
  41. package/constants/assets.constants.cjs +1 -1
  42. package/constants/assets.constants.mjs +13 -13
  43. package/constants/axelar.constants.cjs +1 -1
  44. package/constants/axelar.constants.mjs +5 -5
  45. package/constants/balance.constants.cjs +1 -0
  46. package/constants/balance.constants.d.ts +1 -0
  47. package/constants/balance.constants.mjs +4 -0
  48. package/constants/chains.constants.cjs +1 -1
  49. package/constants/chains.constants.d.ts +0 -2
  50. package/constants/chains.constants.mjs +28 -40
  51. package/constants/contracts.constants.cjs +1 -1
  52. package/constants/contracts.constants.mjs +144 -140
  53. package/constants/conversion.constants.cjs +1 -0
  54. package/constants/conversion.constants.d.ts +1 -0
  55. package/constants/conversion.constants.mjs +4 -0
  56. package/constants/deploy-data/deploy-data-arbMainnet.json.cjs +1 -1
  57. package/constants/deploy-data/deploy-data-arbMainnet.json.mjs +846 -11
  58. package/constants/deploy-data/deploy-data-avalanche.json.cjs +1 -1
  59. package/constants/deploy-data/deploy-data-avalanche.json.mjs +848 -13
  60. package/constants/deploy-data/deploy-data-base.json.cjs +1 -1
  61. package/constants/deploy-data/deploy-data-base.json.mjs +852 -17
  62. package/constants/deploy-data/deploy-data-bnbMainnet.json.cjs +1 -1
  63. package/constants/deploy-data/deploy-data-bnbMainnet.json.mjs +855 -20
  64. package/constants/deploy-data/deploy-data-ethMainnet.json.cjs +1 -1
  65. package/constants/deploy-data/deploy-data-ethMainnet.json.mjs +850 -15
  66. package/constants/deploy-data/deploy-data-localhost.json.cjs +1 -1
  67. package/constants/deploy-data/deploy-data-localhost.json.mjs +3208 -1550
  68. package/constants/deploy-data/deploy-data-optimism.json.cjs +1 -1
  69. package/constants/deploy-data/deploy-data-optimism.json.mjs +10010 -3429
  70. package/constants/deploy-data/deploy-data-polygon.json.cjs +1 -1
  71. package/constants/deploy-data/deploy-data-polygon.json.mjs +844 -9
  72. package/constants/fees.constants.cjs +1 -1
  73. package/constants/fees.constants.d.ts +5 -3
  74. package/constants/fees.constants.mjs +22 -19
  75. package/constants/index.d.ts +6 -0
  76. package/constants/kyc.constants.cjs +1 -1
  77. package/constants/kyc.constants.mjs +30 -18
  78. package/constants/mediaUrls.constants.cjs +1 -0
  79. package/constants/mediaUrls.constants.d.ts +23 -0
  80. package/constants/mediaUrls.constants.mjs +26 -0
  81. package/constants/permit2.constants.cjs +1 -0
  82. package/constants/permit2.constants.d.ts +2 -0
  83. package/constants/permit2.constants.mjs +5 -0
  84. package/constants/protocol.constants.cjs +1 -1
  85. package/constants/protocol.constants.d.ts +6 -0
  86. package/constants/protocol.constants.mjs +27 -15
  87. package/constants/rewards.constants.cjs +1 -1
  88. package/constants/rewards.constants.mjs +14 -12
  89. package/constants/server.constants.cjs +1 -1
  90. package/constants/server.constants.d.ts +14 -6
  91. package/constants/server.constants.mjs +24 -16
  92. package/constants/token-data/ERC20Registry.cjs +1 -1
  93. package/constants/token-data/ERC20Registry.mjs +49 -48
  94. package/constants/token-data/arbMainnetRegistry.json.cjs +1 -1
  95. package/constants/token-data/arbMainnetRegistry.json.mjs +89 -86
  96. package/constants/token-data/arbMainnetRegistryFixed.json.cjs +1 -1
  97. package/constants/token-data/arbMainnetRegistryFixed.json.mjs +79 -76
  98. package/constants/token-data/avalancheRegistry.json.cjs +1 -1
  99. package/constants/token-data/avalancheRegistry.json.mjs +51 -48
  100. package/constants/token-data/avalancheRegistryFixed.json.cjs +1 -1
  101. package/constants/token-data/avalancheRegistryFixed.json.mjs +51 -48
  102. package/constants/token-data/baseRegistry.json.cjs +1 -1
  103. package/constants/token-data/baseRegistry.json.mjs +34 -31
  104. package/constants/token-data/baseRegistryFixed.json.cjs +1 -1
  105. package/constants/token-data/baseRegistryFixed.json.mjs +31 -28
  106. package/constants/token-data/bnbMainnetRegistry.json.cjs +1 -1
  107. package/constants/token-data/bnbMainnetRegistry.json.mjs +67 -64
  108. package/constants/token-data/bnbMainnetRegistryFixed.json.cjs +1 -1
  109. package/constants/token-data/bnbMainnetRegistryFixed.json.mjs +67 -64
  110. package/constants/token-data/ethMainnetRegistry.json.cjs +1 -1
  111. package/constants/token-data/ethMainnetRegistry.json.mjs +229 -226
  112. package/constants/token-data/ethMainnetRegistryFixed.json.cjs +1 -1
  113. package/constants/token-data/ethMainnetRegistryFixed.json.mjs +193 -190
  114. package/constants/token-data/index.cjs +1 -0
  115. package/constants/token-data/index.d.ts +1063 -15
  116. package/constants/token-data/index.mjs +34 -0
  117. package/constants/token-data/localhostRegistry.json.cjs +1 -1
  118. package/constants/token-data/localhostRegistry.json.mjs +296 -276
  119. package/constants/token-data/optimismRegistry.json.cjs +1 -1
  120. package/constants/token-data/optimismRegistry.json.mjs +703 -180
  121. package/constants/token-data/optimismRegistryFixed.json.cjs +1 -1
  122. package/constants/token-data/optimismRegistryFixed.json.mjs +679 -173
  123. package/constants/token-data/polygonRegistry.json.cjs +1 -1
  124. package/constants/token-data/polygonRegistry.json.mjs +110 -107
  125. package/constants/token-data/polygonRegistryFixed.json.cjs +1 -1
  126. package/constants/token-data/polygonRegistryFixed.json.mjs +102 -99
  127. package/constants/token.limits.constants.cjs +1 -0
  128. package/constants/token.limits.constants.d.ts +5 -0
  129. package/constants/token.limits.constants.mjs +30 -0
  130. package/constants/vite.constants.cjs +1 -1
  131. package/constants/vite.constants.d.ts +5 -0
  132. package/constants/vite.constants.mjs +26 -22
  133. package/data-structures/Hinkal/Hinkal.cjs +1 -1
  134. package/data-structures/Hinkal/Hinkal.d.ts +48 -20
  135. package/data-structures/Hinkal/Hinkal.mjs +263 -85
  136. package/data-structures/Hinkal/IHinkal.d.ts +37 -10
  137. package/data-structures/Hinkal/hinkalActionBeefy.cjs +1 -1
  138. package/data-structures/Hinkal/hinkalActionBeefy.mjs +25 -23
  139. package/data-structures/Hinkal/hinkalActionConvex.cjs +1 -1
  140. package/data-structures/Hinkal/hinkalActionConvex.mjs +11 -9
  141. package/data-structures/Hinkal/hinkalActionCurve.cjs +1 -1
  142. package/data-structures/Hinkal/hinkalActionCurve.mjs +18 -16
  143. package/data-structures/Hinkal/hinkalActionFundApproveAndTransact.cjs +1 -0
  144. package/data-structures/Hinkal/hinkalActionFundApproveAndTransact.d.ts +3 -0
  145. package/data-structures/Hinkal/hinkalActionFundApproveAndTransact.mjs +61 -0
  146. package/data-structures/Hinkal/hinkalActionLidoEth.cjs +1 -1
  147. package/data-structures/Hinkal/hinkalActionLidoEth.mjs +24 -22
  148. package/data-structures/Hinkal/hinkalActionPendle.cjs +1 -1
  149. package/data-structures/Hinkal/hinkalActionPendle.d.ts +1 -1
  150. package/data-structures/Hinkal/hinkalActionPendle.mjs +17 -15
  151. package/data-structures/Hinkal/hinkalActionPendleLP.cjs +1 -1
  152. package/data-structures/Hinkal/hinkalActionPendleLP.mjs +29 -26
  153. package/data-structures/Hinkal/hinkalActionReceive.cjs +1 -0
  154. package/data-structures/Hinkal/hinkalActionReceive.d.ts +4 -0
  155. package/data-structures/Hinkal/hinkalActionReceive.mjs +39 -0
  156. package/data-structures/Hinkal/hinkalActionStake.cjs +1 -1
  157. package/data-structures/Hinkal/hinkalActionStake.d.ts +1 -1
  158. package/data-structures/Hinkal/hinkalActionStake.mjs +15 -11
  159. package/data-structures/Hinkal/hinkalActionVolatile.cjs +1 -1
  160. package/data-structures/Hinkal/hinkalActionVolatile.d.ts +1 -1
  161. package/data-structures/Hinkal/hinkalActionVolatile.mjs +31 -26
  162. package/data-structures/Hinkal/hinkalApprove.cjs +1 -0
  163. package/data-structures/Hinkal/hinkalApprove.d.ts +2 -0
  164. package/data-structures/Hinkal/hinkalApprove.mjs +120 -0
  165. package/data-structures/Hinkal/hinkalCheckTokenRegistry.cjs +1 -0
  166. package/data-structures/Hinkal/hinkalCheckTokenRegistry.d.ts +3 -0
  167. package/data-structures/Hinkal/hinkalCheckTokenRegistry.mjs +12 -0
  168. package/data-structures/Hinkal/hinkalDeploySubAccount.cjs +1 -0
  169. package/data-structures/Hinkal/hinkalDeploySubAccount.d.ts +3 -0
  170. package/data-structures/Hinkal/hinkalDeploySubAccount.mjs +15 -0
  171. package/data-structures/Hinkal/hinkalDeposit.cjs +1 -1
  172. package/data-structures/Hinkal/hinkalDeposit.d.ts +3 -2
  173. package/data-structures/Hinkal/hinkalDeposit.mjs +116 -52
  174. package/data-structures/Hinkal/hinkalGetRecipientInfo.cjs +1 -0
  175. package/data-structures/Hinkal/hinkalGetRecipientInfo.d.ts +2 -0
  176. package/data-structures/Hinkal/hinkalGetRecipientInfo.mjs +10 -0
  177. package/data-structures/Hinkal/hinkalGetZkMeProvider.cjs +1 -1
  178. package/data-structures/Hinkal/hinkalGetZkMeProvider.mjs +6 -17
  179. package/data-structures/Hinkal/hinkalInsideTransact.cjs +1 -0
  180. package/data-structures/Hinkal/hinkalInsideTransact.d.ts +2 -0
  181. package/data-structures/Hinkal/hinkalInsideTransact.mjs +111 -0
  182. package/data-structures/Hinkal/hinkalMultiSend.cjs +1 -0
  183. package/data-structures/Hinkal/hinkalMultiSend.d.ts +3 -0
  184. package/data-structures/Hinkal/hinkalMultiSend.mjs +13 -0
  185. package/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -1
  186. package/data-structures/Hinkal/hinkalPrivateWallet.d.ts +2 -1
  187. package/data-structures/Hinkal/hinkalPrivateWallet.mjs +83 -37
  188. package/data-structures/Hinkal/hinkalProoflessDeposit.cjs +1 -0
  189. package/data-structures/Hinkal/hinkalProoflessDeposit.d.ts +4 -0
  190. package/data-structures/Hinkal/hinkalProoflessDeposit.mjs +46 -0
  191. package/data-structures/Hinkal/hinkalProxySwap.cjs +1 -0
  192. package/data-structures/Hinkal/hinkalProxySwap.d.ts +5 -0
  193. package/data-structures/Hinkal/hinkalProxySwap.mjs +36 -0
  194. package/data-structures/Hinkal/hinkalSignSubAccount.cjs +1 -0
  195. package/data-structures/Hinkal/hinkalSignSubAccount.d.ts +3 -0
  196. package/data-structures/Hinkal/hinkalSignSubAccount.mjs +20 -0
  197. package/data-structures/Hinkal/hinkalSwap.cjs +1 -1
  198. package/data-structures/Hinkal/hinkalSwap.d.ts +2 -1
  199. package/data-structures/Hinkal/hinkalSwap.mjs +69 -60
  200. package/data-structures/Hinkal/hinkalWithdraw.cjs +1 -1
  201. package/data-structures/Hinkal/hinkalWithdraw.d.ts +3 -1
  202. package/data-structures/Hinkal/hinkalWithdraw.mjs +77 -50
  203. package/data-structures/Hinkal/index.d.ts +1 -0
  204. package/data-structures/Hinkal/resetMerkleTrees.cjs +1 -1
  205. package/data-structures/Hinkal/resetMerkleTrees.mjs +18 -11
  206. package/data-structures/IndexedDB/activity-db.cjs +1 -0
  207. package/data-structures/IndexedDB/activity-db.d.ts +16 -0
  208. package/data-structures/IndexedDB/activity-db.mjs +124 -0
  209. package/data-structures/IndexedDB/balances-db.cjs +1 -0
  210. package/data-structures/IndexedDB/balances-db.d.ts +13 -0
  211. package/data-structures/IndexedDB/balances-db.mjs +75 -0
  212. package/data-structures/IndexedDB/contact-db.cjs +1 -0
  213. package/data-structures/IndexedDB/contact-db.d.ts +11 -0
  214. package/data-structures/IndexedDB/contact-db.mjs +44 -0
  215. package/data-structures/IndexedDB/index.d.ts +5 -0
  216. package/data-structures/IndexedDB/prices-db.cjs +1 -0
  217. package/data-structures/IndexedDB/prices-db.d.ts +9 -0
  218. package/data-structures/IndexedDB/prices-db.mjs +62 -0
  219. package/data-structures/IndexedDB/private-balances-db.cjs +1 -0
  220. package/data-structures/IndexedDB/private-balances-db.d.ts +9 -0
  221. package/data-structures/IndexedDB/private-balances-db.mjs +28 -0
  222. package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.cjs +1 -1
  223. package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.mjs +47 -44
  224. package/data-structures/TokenDBs/PrivateTokensDB.cjs +1 -0
  225. package/data-structures/TokenDBs/PrivateTokensDB.d.ts +11 -0
  226. package/data-structures/TokenDBs/PrivateTokensDB.mjs +53 -0
  227. package/data-structures/TokenDBs/PublicTokensDB.cjs +1 -0
  228. package/data-structures/TokenDBs/PublicTokensDB.d.ts +13 -0
  229. package/data-structures/TokenDBs/PublicTokensDB.mjs +81 -0
  230. package/data-structures/TokenDBs/index.d.ts +2 -0
  231. package/data-structures/cacheDevices/AttachableMemoryCacheDevice.cjs +1 -0
  232. package/data-structures/cacheDevices/AttachableMemoryCacheDevice.d.ts +8 -0
  233. package/data-structures/cacheDevices/AttachableMemoryCacheDevice.mjs +28 -0
  234. package/data-structures/cacheDevices/BaseCacheDevice.cjs +1 -1
  235. package/data-structures/cacheDevices/BaseCacheDevice.d.ts +9 -6
  236. package/data-structures/cacheDevices/BaseCacheDevice.mjs +13 -4
  237. package/data-structures/cacheDevices/FileCacheDevice.cjs +1 -1
  238. package/data-structures/cacheDevices/FileCacheDevice.d.ts +1 -0
  239. package/data-structures/cacheDevices/FileCacheDevice.mjs +7 -3
  240. package/data-structures/cacheDevices/LocalStorageCacheDevice.cjs +1 -1
  241. package/data-structures/cacheDevices/LocalStorageCacheDevice.d.ts +2 -1
  242. package/data-structures/cacheDevices/LocalStorageCacheDevice.mjs +10 -5
  243. package/data-structures/crypto-keys/decodeUTXO.cjs +1 -1
  244. package/data-structures/crypto-keys/decodeUTXO.mjs +13 -12
  245. package/data-structures/crypto-keys/keys.cjs +1 -1
  246. package/data-structures/crypto-keys/keys.d.ts +13 -3
  247. package/data-structures/crypto-keys/keys.mjs +45 -34
  248. package/data-structures/custom-token-registry/CustomTokenRegistry.cjs +1 -1
  249. package/data-structures/custom-token-registry/CustomTokenRegistry.d.ts +2 -3
  250. package/data-structures/custom-token-registry/CustomTokenRegistry.mjs +17 -21
  251. package/data-structures/event-service/AbstractAccessTokenSnapshotService.cjs +1 -1
  252. package/data-structures/event-service/AbstractAccessTokenSnapshotService.mjs +15 -29
  253. package/data-structures/event-service/AbstractApprovalsSnapshotService.cjs +1 -0
  254. package/data-structures/event-service/AbstractApprovalsSnapshotService.d.ts +30 -0
  255. package/data-structures/event-service/AbstractApprovalsSnapshotService.mjs +104 -0
  256. package/data-structures/event-service/AbstractCommitmentsSnapshotService.cjs +1 -1
  257. package/data-structures/event-service/AbstractCommitmentsSnapshotService.mjs +24 -37
  258. package/data-structures/event-service/AbstractEventService.cjs +1 -1
  259. package/data-structures/event-service/AbstractEventService.d.ts +1 -1
  260. package/data-structures/event-service/AbstractEventService.mjs +15 -15
  261. package/data-structures/event-service/index.d.ts +1 -0
  262. package/data-structures/index.d.ts +2 -0
  263. package/data-structures/merkle-tree/MerkleTree.cjs +1 -1
  264. package/data-structures/merkle-tree/MerkleTree.d.ts +6 -1
  265. package/data-structures/merkle-tree/MerkleTree.mjs +79 -65
  266. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.cjs +1 -0
  267. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.d.ts +3 -0
  268. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.mjs +13 -0
  269. package/data-structures/merkle-tree/index.d.ts +1 -0
  270. package/data-structures/provider-adapter/IProviderAdapter.d.ts +2 -0
  271. package/data-structures/snapshot/ClientAccessTokenSnapshotService.cjs +1 -1
  272. package/data-structures/snapshot/ClientAccessTokenSnapshotService.mjs +3 -2
  273. package/data-structures/snapshot/ClientApprovalsSnapshotService.cjs +1 -0
  274. package/data-structures/snapshot/ClientApprovalsSnapshotService.d.ts +8 -0
  275. package/data-structures/snapshot/ClientApprovalsSnapshotService.mjs +23 -0
  276. package/data-structures/snapshot/ClientCommitmentsSnapshotService.cjs +1 -1
  277. package/data-structures/snapshot/ClientCommitmentsSnapshotService.mjs +3 -2
  278. package/data-structures/snapshot/ClientNullifierSnapshotService.cjs +1 -1
  279. package/data-structures/snapshot/ClientNullifierSnapshotService.mjs +6 -5
  280. package/data-structures/token-price-fetcher/TokenChecker.cjs +1 -1
  281. package/data-structures/token-price-fetcher/TokenChecker.d.ts +1 -0
  282. package/data-structures/token-price-fetcher/TokenChecker.mjs +4 -2
  283. package/data-structures/transactions-manager/TransactionsManager.cjs +1 -1
  284. package/data-structures/transactions-manager/TransactionsManager.d.ts +8 -6
  285. package/data-structures/transactions-manager/TransactionsManager.mjs +124 -122
  286. package/data-structures/transactions-manager/history/getBeefyData.cjs +1 -1
  287. package/data-structures/transactions-manager/history/getBeefyData.mjs +3 -2
  288. package/data-structures/transactions-manager/history/getConvexData.cjs +1 -1
  289. package/data-structures/transactions-manager/history/getConvexData.mjs +3 -2
  290. package/data-structures/transactions-manager/history/getCurveData.cjs +1 -1
  291. package/data-structures/transactions-manager/history/getCurveData.mjs +3 -2
  292. package/data-structures/transactions-manager/history/getLidoData.cjs +1 -1
  293. package/data-structures/transactions-manager/history/getLidoData.mjs +3 -2
  294. package/data-structures/transactions-manager/history/getPendleData.cjs +1 -1
  295. package/data-structures/transactions-manager/history/getPendleData.mjs +13 -12
  296. package/data-structures/transactions-manager/history/getTxDetails.cjs +1 -1
  297. package/data-structures/transactions-manager/history/getTxDetails.mjs +22 -20
  298. package/data-structures/transactions-manager/history/getVolatileData.cjs +1 -1
  299. package/data-structures/transactions-manager/history/getVolatileData.mjs +11 -10
  300. package/data-structures/transactions-manager/history/history.types.cjs +1 -1
  301. package/data-structures/transactions-manager/history/history.types.mjs +4 -2
  302. package/data-structures/utxo/Utxo.cjs +1 -1
  303. package/data-structures/utxo/Utxo.d.ts +3 -3
  304. package/data-structures/utxo/Utxo.mjs +8 -7
  305. package/error-handling/error-codes.constants.cjs +2 -2
  306. package/error-handling/error-codes.constants.d.ts +22 -1
  307. package/error-handling/error-codes.constants.mjs +129 -112
  308. package/error-handling/get-error.message.cjs +1 -1
  309. package/error-handling/get-error.message.mjs +29 -25
  310. package/error-handling/index.d.ts +1 -0
  311. package/error-handling/logger.cjs +1 -0
  312. package/error-handling/logger.d.ts +5 -0
  313. package/error-handling/logger.mjs +16 -0
  314. package/error-handling/types.cjs +1 -1
  315. package/error-handling/types.d.ts +3 -1
  316. package/error-handling/types.mjs +2 -2
  317. package/externalABIs/BabPassport.json.cjs +1 -1
  318. package/externalABIs/BabPassport.json.mjs +8 -3
  319. package/externalABIs/BeefyRouterAbi.json.cjs +1 -1
  320. package/externalABIs/BeefyRouterAbi.json.mjs +5 -2
  321. package/externalABIs/BeefyStrategyAbi.json.cjs +1 -1
  322. package/externalABIs/BeefyStrategyAbi.json.mjs +5 -2
  323. package/externalABIs/BeefyVaultAbi.json.cjs +1 -1
  324. package/externalABIs/BeefyVaultAbi.json.mjs +5 -2
  325. package/externalABIs/BeefyZapAbi.json.cjs +1 -1
  326. package/externalABIs/BeefyZapAbi.json.mjs +5 -2
  327. package/externalABIs/BeefyZapOneInchAbi.json.cjs +1 -1
  328. package/externalABIs/BeefyZapOneInchAbi.json.mjs +5 -2
  329. package/externalABIs/ConvexBoosterAbi.json.cjs +1 -1
  330. package/externalABIs/ConvexBoosterAbi.json.mjs +5 -2
  331. package/externalABIs/ConvexBoosterAbiMainnet.json.cjs +1 -1
  332. package/externalABIs/ConvexBoosterAbiMainnet.json.mjs +5 -2
  333. package/externalABIs/ConvexRewardPoolAbi.json.cjs +1 -1
  334. package/externalABIs/ConvexRewardPoolAbi.json.mjs +5 -2
  335. package/externalABIs/CurveReadingWrapperAbi.json.cjs +1 -1
  336. package/externalABIs/CurveReadingWrapperAbi.json.mjs +5 -2
  337. package/externalABIs/CurveWrappedMainPool.json.cjs +1 -1
  338. package/externalABIs/CurveWrappedMainPool.json.mjs +5 -2
  339. package/externalABIs/CurveZap.json.cjs +1 -1
  340. package/externalABIs/CurveZap.json.mjs +5 -2
  341. package/externalABIs/CvxCrvUtilities.json.cjs +1 -1
  342. package/externalABIs/CvxCrvUtilities.json.mjs +5 -2
  343. package/externalABIs/ERC20.json.cjs +1 -1
  344. package/externalABIs/ERC20.json.mjs +20 -3
  345. package/externalABIs/GalxePassport.json.cjs +1 -1
  346. package/externalABIs/GalxePassport.json.mjs +8 -3
  347. package/externalABIs/IQuoterV2.json.cjs +1 -1
  348. package/externalABIs/IQuoterV2.json.mjs +20 -3
  349. package/externalABIs/ISwapRouter.json.cjs +1 -1
  350. package/externalABIs/ISwapRouter.json.mjs +5 -2
  351. package/externalABIs/IUniswapV3Factory.json.cjs +1 -1
  352. package/externalABIs/IUniswapV3Factory.json.mjs +20 -3
  353. package/externalABIs/IUniswapV3Pool.json.cjs +1 -1
  354. package/externalABIs/IUniswapV3Pool.json.mjs +20 -3
  355. package/externalABIs/PendleRouterAbi.json.cjs +1 -1
  356. package/externalABIs/PendleRouterAbi.json.mjs +5 -2
  357. package/externalABIs/UniswapV2PoolAbi.json.cjs +1 -1
  358. package/externalABIs/UniswapV2PoolAbi.json.mjs +16 -3
  359. package/externalABIs/index.cjs +1 -0
  360. package/externalABIs/index.d.ts +307 -11
  361. package/externalABIs/index.mjs +23 -0
  362. package/externalABIs/transactionsProver.json.cjs +1 -1
  363. package/externalABIs/transactionsProver.json.mjs +20 -3
  364. package/functions/kyc/zkMeHelper.cjs +1 -1
  365. package/functions/kyc/zkMeHelper.d.ts +0 -1
  366. package/functions/kyc/zkMeHelper.mjs +8 -11
  367. package/functions/pre-transaction/getExternalSwapAddress.cjs +1 -0
  368. package/functions/pre-transaction/getExternalSwapAddress.d.ts +3 -0
  369. package/functions/pre-transaction/getExternalSwapAddress.mjs +26 -0
  370. package/functions/pre-transaction/getFeeStructure.cjs +1 -0
  371. package/functions/pre-transaction/getFeeStructure.d.ts +4 -0
  372. package/functions/pre-transaction/getFeeStructure.mjs +30 -0
  373. package/functions/pre-transaction/getFlatFees.cjs +1 -1
  374. package/functions/pre-transaction/getFlatFees.d.ts +3 -7
  375. package/functions/pre-transaction/getFlatFees.mjs +52 -46
  376. package/functions/pre-transaction/getSignatureDataForTransact.cjs +1 -0
  377. package/functions/pre-transaction/getSignatureDataForTransact.d.ts +3 -0
  378. package/functions/pre-transaction/getSignatureDataForTransact.mjs +6 -0
  379. package/functions/pre-transaction/index.d.ts +1 -0
  380. package/functions/pre-transaction/interaction-to-action.cjs +1 -1
  381. package/functions/pre-transaction/interaction-to-action.mjs +3 -2
  382. package/functions/pre-transaction/merge-with-fee-structure.cjs +1 -0
  383. package/functions/pre-transaction/merge-with-fee-structure.d.ts +2 -0
  384. package/functions/pre-transaction/merge-with-fee-structure.mjs +25 -0
  385. package/functions/pre-transaction/outputApprovalDataProcessing.cjs +1 -0
  386. package/functions/pre-transaction/outputApprovalDataProcessing.d.ts +16 -0
  387. package/functions/pre-transaction/outputApprovalDataProcessing.mjs +42 -0
  388. package/functions/pre-transaction/outputUtxoProcessing.cjs +1 -1
  389. package/functions/pre-transaction/outputUtxoProcessing.d.ts +1 -1
  390. package/functions/pre-transaction/outputUtxoProcessing.mjs +19 -30
  391. package/functions/pre-transaction/process-gas-estimates.cjs +1 -1
  392. package/functions/pre-transaction/process-gas-estimates.d.ts +2 -2
  393. package/functions/pre-transaction/process-gas-estimates.mjs +17 -27
  394. package/functions/pre-transaction/processAmountChanges.cjs +1 -1
  395. package/functions/pre-transaction/processAmountChanges.mjs +34 -23
  396. package/functions/pre-transaction/shouldPatchAccessTokenMerkleTree.cjs +1 -0
  397. package/functions/pre-transaction/shouldPatchAccessTokenMerkleTree.d.ts +6 -0
  398. package/functions/pre-transaction/shouldPatchAccessTokenMerkleTree.mjs +7 -0
  399. package/functions/private-wallet/emporium.helpers.cjs +1 -1
  400. package/functions/private-wallet/emporium.helpers.d.ts +9 -1
  401. package/functions/private-wallet/emporium.helpers.mjs +117 -22
  402. package/functions/private-wallet/emporium.swap.helpers.cjs +1 -0
  403. package/functions/private-wallet/emporium.swap.helpers.d.ts +5 -0
  404. package/functions/private-wallet/emporium.swap.helpers.mjs +92 -0
  405. package/functions/private-wallet/index.d.ts +1 -0
  406. package/functions/private-wallet/opProducer.cjs +1 -1
  407. package/functions/private-wallet/opProducer.mjs +9 -10
  408. package/functions/private-wallet/smartContractWalletCalculator.cjs +1 -1
  409. package/functions/private-wallet/smartContractWalletCalculator.d.ts +5 -1
  410. package/functions/private-wallet/smartContractWalletCalculator.mjs +22 -17
  411. package/functions/protocols/convex.protocols.cjs +1 -1
  412. package/functions/protocols/convex.protocols.mjs +11 -8
  413. package/functions/protocols/pendle.helpers.cjs +1 -1
  414. package/functions/protocols/pendle.helpers.mjs +20 -15
  415. package/functions/snarkjs/common.snarkjs.cjs +1 -1
  416. package/functions/snarkjs/common.snarkjs.d.ts +8 -5
  417. package/functions/snarkjs/common.snarkjs.mjs +177 -87
  418. package/functions/snarkjs/constant.cjs +1 -1
  419. package/functions/snarkjs/constant.d.ts +223 -1
  420. package/functions/snarkjs/constant.mjs +315 -94
  421. package/functions/snarkjs/constructEmporiumProof.cjs +1 -1
  422. package/functions/snarkjs/constructEmporiumProof.d.ts +6 -3
  423. package/functions/snarkjs/constructEmporiumProof.mjs +148 -84
  424. package/functions/snarkjs/constructGeneralZkProof.cjs +1 -1
  425. package/functions/snarkjs/constructGeneralZkProof.d.ts +5 -3
  426. package/functions/snarkjs/constructGeneralZkProof.mjs +142 -86
  427. package/functions/snarkjs/generateCircomData.cjs +1 -1
  428. package/functions/snarkjs/generateCircomData.d.ts +3 -2
  429. package/functions/snarkjs/generateCircomData.mjs +33 -35
  430. package/functions/snarkjs/generateZkProof.cjs +1 -1
  431. package/functions/snarkjs/generateZkProof.d.ts +2 -2
  432. package/functions/snarkjs/generateZkProof.mjs +4 -15
  433. package/functions/snarkjs/generateZkProofEnclave.cjs +1 -0
  434. package/functions/snarkjs/generateZkProofEnclave.d.ts +6 -0
  435. package/functions/snarkjs/generateZkProofEnclave.mjs +26 -0
  436. package/functions/snarkjs/generateZkProofSelf.cjs +1 -0
  437. package/functions/snarkjs/generateZkProofSelf.d.ts +5 -0
  438. package/functions/snarkjs/generateZkProofSelf.mjs +17 -0
  439. package/functions/snarkjs/getOriginalSender.cjs +1 -0
  440. package/functions/snarkjs/getOriginalSender.d.ts +1 -0
  441. package/functions/snarkjs/getOriginalSender.mjs +5 -0
  442. package/functions/snarkjs/getZKFiles.cjs +1 -1
  443. package/functions/snarkjs/getZKFiles.d.ts +3 -2
  444. package/functions/snarkjs/getZKFiles.mjs +14 -5
  445. package/functions/utils/addresses.cjs +1 -0
  446. package/functions/utils/addresses.d.ts +4 -0
  447. package/functions/utils/addresses.mjs +20 -0
  448. package/functions/utils/amounts.utils.cjs +1 -1
  449. package/functions/utils/amounts.utils.d.ts +4 -1
  450. package/functions/utils/amounts.utils.mjs +29 -27
  451. package/functions/utils/arraysMatch.cjs +1 -0
  452. package/functions/utils/arraysMatch.d.ts +1 -0
  453. package/functions/utils/arraysMatch.mjs +4 -0
  454. package/functions/utils/axelar.utils.cjs +1 -1
  455. package/functions/utils/axelar.utils.d.ts +1 -0
  456. package/functions/utils/axelar.utils.mjs +32 -9
  457. package/functions/utils/cacheDevice.utils.cjs +1 -1
  458. package/functions/utils/cacheDevice.utils.mjs +11 -8
  459. package/functions/utils/cacheFunctions.cjs +1 -1
  460. package/functions/utils/cacheFunctions.d.ts +10 -7
  461. package/functions/utils/cacheFunctions.mjs +62 -39
  462. package/functions/utils/convertEmporiumOpToCallInfo.cjs +1 -0
  463. package/functions/utils/convertEmporiumOpToCallInfo.d.ts +2 -0
  464. package/functions/utils/convertEmporiumOpToCallInfo.mjs +10 -0
  465. package/functions/utils/convertIntegrationProviderToExternalActionId.cjs +1 -1
  466. package/functions/utils/convertIntegrationProviderToExternalActionId.d.ts +2 -1
  467. package/functions/utils/convertIntegrationProviderToExternalActionId.mjs +7 -10
  468. package/functions/utils/encodeTokenWithId.cjs +1 -0
  469. package/functions/utils/encodeTokenWithId.d.ts +2 -0
  470. package/functions/utils/encodeTokenWithId.mjs +4 -0
  471. package/functions/utils/encryptInputForEnclave.cjs +1 -0
  472. package/functions/utils/encryptInputForEnclave.d.ts +8 -0
  473. package/functions/utils/encryptInputForEnclave.mjs +43 -0
  474. package/functions/utils/erc20tokenFunctions.cjs +1 -1
  475. package/functions/utils/erc20tokenFunctions.d.ts +8 -2
  476. package/functions/utils/erc20tokenFunctions.mjs +23 -14
  477. package/functions/utils/evmNetworkFunctions.cjs +1 -1
  478. package/functions/utils/evmNetworkFunctions.mjs +7 -4
  479. package/functions/utils/external-action.utils.d.ts +2 -2
  480. package/functions/utils/fees.utils.cjs +1 -0
  481. package/functions/utils/fees.utils.d.ts +2 -0
  482. package/functions/utils/fees.utils.mjs +14 -0
  483. package/functions/utils/getBlockExplorerUrl.cjs +1 -0
  484. package/functions/utils/getBlockExplorerUrl.d.ts +1 -0
  485. package/functions/utils/getBlockExplorerUrl.mjs +6 -0
  486. package/functions/utils/getRecipientInfoFromUserKeys.cjs +1 -0
  487. package/functions/utils/getRecipientInfoFromUserKeys.d.ts +3 -0
  488. package/functions/utils/getRecipientInfoFromUserKeys.mjs +18 -0
  489. package/functions/utils/index.d.ts +12 -0
  490. package/functions/utils/involves-permit2-op.cjs +1 -0
  491. package/functions/utils/involves-permit2-op.d.ts +1 -0
  492. package/functions/utils/involves-permit2-op.mjs +5 -0
  493. package/functions/utils/merkleTree.utils.cjs +1 -0
  494. package/functions/utils/merkleTree.utils.d.ts +2 -0
  495. package/functions/utils/merkleTree.utils.mjs +19 -0
  496. package/functions/utils/prepareHinkal.d.ts +6 -0
  497. package/functions/utils/processUseApprovalUtxoData.cjs +1 -0
  498. package/functions/utils/processUseApprovalUtxoData.d.ts +3 -0
  499. package/functions/utils/processUseApprovalUtxoData.mjs +19 -0
  500. package/functions/utils/publicBalance.utils.cjs +1 -0
  501. package/functions/utils/publicBalance.utils.d.ts +5 -0
  502. package/functions/utils/publicBalance.utils.mjs +25 -0
  503. package/functions/utils/replaceAddressInCalldata.cjs +1 -0
  504. package/functions/utils/replaceAddressInCalldata.d.ts +1 -0
  505. package/functions/utils/replaceAddressInCalldata.mjs +7 -0
  506. package/functions/utils/rpc-int-encode.cjs +1 -0
  507. package/functions/utils/rpc-int-encode.d.ts +2 -0
  508. package/functions/utils/rpc-int-encode.mjs +8 -0
  509. package/functions/utils/serialize.utils.cjs +1 -1
  510. package/functions/utils/serialize.utils.d.ts +1 -0
  511. package/functions/utils/serialize.utils.mjs +3 -2
  512. package/functions/utils/string.utils.cjs +1 -1
  513. package/functions/utils/string.utils.d.ts +2 -0
  514. package/functions/utils/string.utils.mjs +28 -14
  515. package/functions/utils/time.utils.cjs +1 -1
  516. package/functions/utils/time.utils.d.ts +1 -0
  517. package/functions/utils/time.utils.mjs +4 -3
  518. package/functions/utils/token-check.utils.cjs +1 -0
  519. package/functions/utils/token-check.utils.d.ts +1 -0
  520. package/functions/utils/token-check.utils.mjs +10 -0
  521. package/functions/utils/upToDateState.cjs +1 -0
  522. package/functions/utils/upToDateState.d.ts +2 -0
  523. package/functions/utils/upToDateState.mjs +11 -0
  524. package/functions/utils/userAgent.cjs +1 -1
  525. package/functions/utils/userAgent.mjs +8 -8
  526. package/functions/web3/events/balanceChangedCustomHandler.cjs +1 -0
  527. package/functions/web3/events/balanceChangedCustomHandler.d.ts +2 -0
  528. package/functions/web3/events/balanceChangedCustomHandler.mjs +14 -0
  529. package/functions/web3/events/balanceChangedHandler.cjs +1 -1
  530. package/functions/web3/events/balanceChangedHandler.mjs +5 -4
  531. package/functions/web3/events/getApprovedBalance.cjs +1 -0
  532. package/functions/web3/events/getApprovedBalance.d.ts +7 -0
  533. package/functions/web3/events/getApprovedBalance.mjs +80 -0
  534. package/functions/web3/events/getInputUtxoAndBalance.cjs +1 -1
  535. package/functions/web3/events/getInputUtxoAndBalance.d.ts +16 -3
  536. package/functions/web3/events/getInputUtxoAndBalance.mjs +128 -46
  537. package/functions/web3/events/getShieldedBalance.cjs +2 -2
  538. package/functions/web3/events/getShieldedBalance.d.ts +1 -1
  539. package/functions/web3/events/getShieldedBalance.mjs +70 -65
  540. package/functions/web3/events/index.d.ts +2 -0
  541. package/functions/web3/functionCalls/accessTokenCalls.cjs +1 -1
  542. package/functions/web3/functionCalls/accessTokenCalls.d.ts +2 -2
  543. package/functions/web3/functionCalls/accessTokenCalls.mjs +20 -18
  544. package/functions/web3/functionCalls/approveToken.cjs +1 -1
  545. package/functions/web3/functionCalls/approveToken.mjs +8 -7
  546. package/functions/web3/functionCalls/approveTokensToHinkal.cjs +1 -0
  547. package/functions/web3/functionCalls/approveTokensToHinkal.d.ts +4 -0
  548. package/functions/web3/functionCalls/approveTokensToHinkal.mjs +11 -0
  549. package/functions/web3/functionCalls/estimateGasRelayer.cjs +1 -1
  550. package/functions/web3/functionCalls/estimateGasRelayer.d.ts +2 -2
  551. package/functions/web3/functionCalls/estimateGasRelayer.mjs +14 -8
  552. package/functions/web3/functionCalls/inHinkalApprovalCalls.cjs +1 -0
  553. package/functions/web3/functionCalls/inHinkalApprovalCalls.d.ts +5 -0
  554. package/functions/web3/functionCalls/inHinkalApprovalCalls.mjs +32 -0
  555. package/functions/web3/functionCalls/relayFunctions.d.ts +1 -15
  556. package/functions/web3/functionCalls/transactCallDirect.cjs +1 -1
  557. package/functions/web3/functionCalls/transactCallDirect.d.ts +2 -2
  558. package/functions/web3/functionCalls/transactCallDirect.mjs +31 -30
  559. package/functions/web3/functionCalls/transactCallRelayer.cjs +1 -1
  560. package/functions/web3/functionCalls/transactCallRelayer.d.ts +2 -2
  561. package/functions/web3/functionCalls/transactCallRelayer.mjs +32 -9
  562. package/functions/web3/getContractMetadata.cjs +1 -0
  563. package/functions/web3/getContractMetadata.d.ts +5 -0
  564. package/functions/web3/getContractMetadata.mjs +30 -0
  565. package/functions/web3/odosAPI.cjs +1 -1
  566. package/functions/web3/odosAPI.d.ts +1 -2
  567. package/functions/web3/odosAPI.mjs +23 -19
  568. package/functions/web3/oneInchAPI.cjs +1 -1
  569. package/functions/web3/oneInchAPI.d.ts +1 -2
  570. package/functions/web3/oneInchAPI.mjs +20 -15
  571. package/functions/web3/runContractFunction.cjs +1 -1
  572. package/functions/web3/runContractFunction.mjs +3 -2
  573. package/functions/web3/uniswapAPI.cjs +1 -1
  574. package/functions/web3/uniswapAPI.d.ts +4 -4
  575. package/functions/web3/uniswapAPI.mjs +57 -43
  576. package/index.cjs +1 -1
  577. package/index.mjs +761 -639
  578. package/package.json +19 -8
  579. package/providers/EthersProviderAdapter.cjs +1 -1
  580. package/providers/EthersProviderAdapter.d.ts +8 -3
  581. package/providers/EthersProviderAdapter.mjs +52 -43
  582. package/providers/WagmiProviderAdapter.cjs +1 -1
  583. package/providers/WagmiProviderAdapter.d.ts +4 -1
  584. package/providers/WagmiProviderAdapter.mjs +53 -56
  585. package/providers/prepareEthersHinkal.cjs +1 -1
  586. package/providers/prepareEthersHinkal.mjs +18 -10
  587. package/providers/prepareWagmiHinkal.cjs +1 -1
  588. package/providers/prepareWagmiHinkal.mjs +18 -10
  589. package/types/API.types.d.ts +21 -0
  590. package/types/ICacheDevice.d.ts +4 -3
  591. package/types/TransactionSimulator.types.d.ts +9 -0
  592. package/types/activities.types.cjs +1 -0
  593. package/types/activities.types.d.ts +45 -0
  594. package/types/activities.types.mjs +13 -0
  595. package/types/balances.types.cjs +1 -0
  596. package/types/balances.types.d.ts +17 -0
  597. package/types/balances.types.mjs +4 -0
  598. package/types/cache.types.cjs +1 -0
  599. package/types/cache.types.d.ts +27 -0
  600. package/types/cache.types.mjs +4 -0
  601. package/types/circom-data.types.d.ts +29 -9
  602. package/types/commitments.types.d.ts +6 -0
  603. package/types/contacts.types.d.ts +5 -0
  604. package/types/crypto.types.d.ts +1 -0
  605. package/types/earlyAccessCode.types.d.ts +4 -0
  606. package/types/ethereum-network.types.cjs +1 -1
  607. package/types/ethereum-network.types.d.ts +8 -3
  608. package/types/ethereum-network.types.mjs +1 -1
  609. package/types/external-action.types.cjs +1 -1
  610. package/types/external-action.types.d.ts +2 -1
  611. package/types/external-action.types.mjs +1 -1
  612. package/types/fee.types.d.ts +9 -0
  613. package/types/hinkal.types.cjs +1 -1
  614. package/types/hinkal.types.d.ts +48 -0
  615. package/types/hinkal.types.mjs +38 -13
  616. package/types/index.d.ts +9 -0
  617. package/types/kyc.types.cjs +1 -1
  618. package/types/kyc.types.d.ts +1 -1
  619. package/types/kyc.types.mjs +1 -1
  620. package/types/remote-proof.types.d.ts +15 -0
  621. package/types/rewards.types.d.ts +9 -0
  622. package/types/sandbox.types.cjs +1 -0
  623. package/types/sandbox.types.d.ts +157 -0
  624. package/types/sandbox.types.mjs +4 -0
  625. package/types/tenderly.api.types.d.ts +180 -0
  626. package/types/time.types.cjs +1 -1
  627. package/types/time.types.mjs +1 -1
  628. package/types/token-with-id.types.d.ts +4 -0
  629. package/types/token.types.d.ts +23 -0
  630. package/types/transactions.types.cjs +1 -1
  631. package/types/transactions.types.d.ts +31 -0
  632. package/types/transactions.types.mjs +8 -5
  633. package/types/wc.types.d.ts +89 -0
  634. package/types/with-id.types.d.ts +3 -0
  635. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.cjs +1 -1
  636. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.mjs +1 -1
  637. package/webworker/snarkjsWorker/snarkjsWorkerLogic.cjs +1 -1
  638. package/webworker/snarkjsWorker/snarkjsWorkerLogic.mjs +26 -26
  639. package/webworker/utxoWorker/utxoWorkerLauncher.cjs +1 -1
  640. package/webworker/utxoWorker/utxoWorkerLauncher.mjs +1 -1
  641. package/webworker/utxoWorker/utxoWorkerLogic.cjs +1 -1
  642. package/webworker/utxoWorker/utxoWorkerLogic.mjs +58 -50
  643. package/webworker/viteWorkerURL.constant.cjs +3 -3
  644. package/webworker/viteWorkerURL.constant.mjs +3 -3
  645. package/webworker/workerFactory.cjs +1 -1
  646. package/webworker/workerFactory.mjs +2 -2
  647. package/webworker/workerProxy.cjs +1 -1
  648. package/webworker/workerProxy.d.ts +11 -11
  649. package/webworker/workerProxy.mjs +24 -26
  650. package/webworker/zkProofWorker/zkProofWorker.types.d.ts +2 -0
  651. package/webworker/zkProofWorker/zkProofWorkerLauncher.cjs +1 -1
  652. package/webworker/zkProofWorker/zkProofWorkerLauncher.mjs +1 -1
  653. package/webworker/zkProofWorker/zkProofWorkerLogic.cjs +1 -1
  654. package/webworker/zkProofWorker/zkProofWorkerLogic.mjs +47 -61
  655. package/functions/utils/memoize.utils.cjs +0 -1
  656. package/functions/utils/memoize.utils.mjs +0 -14
@@ -1,19 +1,1067 @@
1
1
  import { urlForBeefyVaultTokens, urlForBeefyVaultTotalInUSD, urlForRegularTokenPricesInBeefy } from './tokenPricing.consts';
2
- import { networkRegistry as ethMainnetRegistryFixed } from './ethMainnetRegistryFixed.json';
3
- import { networkRegistry as arbMainnetRegistryFixed } from './arbMainnetRegistryFixed.json';
4
- import { networkRegistry as bnbMainnetRegistryFixed } from './bnbMainnetRegistryFixed.json';
5
- import { networkRegistry as polygonRegistryFixed } from './polygonRegistryFixed.json';
6
- import { networkRegistry as avalancheRegistryFixed } from './avalancheRegistryFixed.json';
7
- import { networkRegistry as optimismRegistryFixed } from './optimismRegistryFixed.json';
8
- import { networkRegistry as baseRegistryFixed } from './baseRegistryFixed.json';
9
- import { networkRegistry as ethMainnetRegistry } from './ethMainnetRegistry.json';
10
- import { networkRegistry as arbMainnetRegistry } from './arbMainnetRegistry.json';
11
- import { networkRegistry as bnbMainnetRegistry } from './bnbMainnetRegistry.json';
12
- import { networkRegistry as polygonRegistry } from './polygonRegistry.json';
13
- import { networkRegistry as avalancheRegistry } from './avalancheRegistry.json';
14
- import { networkRegistry as optimismRegistry } from './optimismRegistry.json';
15
- import { networkRegistry as baseRegistry } from './baseRegistry.json';
16
- import { networkRegistry as localhostRegistry } from './localhostRegistry.json';
17
2
  import { PopularTokenSymbols } from './popularTokens.constants';
18
3
  export * from './ERC20Registry';
4
+ declare const ethMainnetRegistryFixed: ({
5
+ chainId: number;
6
+ erc20TokenAddress: string;
7
+ wrappedErc20TokenAddress: string;
8
+ name: string;
9
+ symbol: string;
10
+ decimals: number;
11
+ logoURI: string;
12
+ approvalType?: undefined;
13
+ isVolatile?: undefined;
14
+ isNFT?: undefined;
15
+ isPendleToken?: undefined;
16
+ underlyingErc20TokenAddress?: undefined;
17
+ aaveToken?: undefined;
18
+ } | {
19
+ chainId: number;
20
+ erc20TokenAddress: string;
21
+ name: string;
22
+ symbol: string;
23
+ decimals: number;
24
+ logoURI: string;
25
+ approvalType: number;
26
+ wrappedErc20TokenAddress?: undefined;
27
+ isVolatile?: undefined;
28
+ isNFT?: undefined;
29
+ isPendleToken?: undefined;
30
+ underlyingErc20TokenAddress?: undefined;
31
+ aaveToken?: undefined;
32
+ } | {
33
+ chainId: number;
34
+ erc20TokenAddress: string;
35
+ name: string;
36
+ symbol: string;
37
+ decimals: number;
38
+ logoURI: string;
39
+ wrappedErc20TokenAddress?: undefined;
40
+ approvalType?: undefined;
41
+ isVolatile?: undefined;
42
+ isNFT?: undefined;
43
+ isPendleToken?: undefined;
44
+ underlyingErc20TokenAddress?: undefined;
45
+ aaveToken?: undefined;
46
+ } | {
47
+ chainId: number;
48
+ erc20TokenAddress: string;
49
+ name: string;
50
+ symbol: string;
51
+ decimals: number;
52
+ logoURI: string;
53
+ isVolatile: boolean;
54
+ wrappedErc20TokenAddress?: undefined;
55
+ approvalType?: undefined;
56
+ isNFT?: undefined;
57
+ isPendleToken?: undefined;
58
+ underlyingErc20TokenAddress?: undefined;
59
+ aaveToken?: undefined;
60
+ } | {
61
+ chainId: number;
62
+ erc20TokenAddress: string;
63
+ name: string;
64
+ symbol: string;
65
+ decimals: number;
66
+ logoURI: string;
67
+ isNFT: boolean;
68
+ wrappedErc20TokenAddress?: undefined;
69
+ approvalType?: undefined;
70
+ isVolatile?: undefined;
71
+ isPendleToken?: undefined;
72
+ underlyingErc20TokenAddress?: undefined;
73
+ aaveToken?: undefined;
74
+ } | {
75
+ chainId: number;
76
+ erc20TokenAddress: string;
77
+ name: string;
78
+ symbol: string;
79
+ decimals: number;
80
+ logoURI: string;
81
+ isPendleToken: boolean;
82
+ wrappedErc20TokenAddress?: undefined;
83
+ approvalType?: undefined;
84
+ isVolatile?: undefined;
85
+ isNFT?: undefined;
86
+ underlyingErc20TokenAddress?: undefined;
87
+ aaveToken?: undefined;
88
+ } | {
89
+ chainId: number;
90
+ erc20TokenAddress: string;
91
+ underlyingErc20TokenAddress: string;
92
+ name: string;
93
+ symbol: string;
94
+ decimals: number;
95
+ logoURI: string;
96
+ isVolatile: boolean;
97
+ aaveToken: boolean;
98
+ wrappedErc20TokenAddress?: undefined;
99
+ approvalType?: undefined;
100
+ isNFT?: undefined;
101
+ isPendleToken?: undefined;
102
+ } | {
103
+ chainId: number;
104
+ erc20TokenAddress: string;
105
+ underlyingErc20TokenAddress: string;
106
+ name: string;
107
+ symbol: string;
108
+ decimals: number;
109
+ logoURI: string;
110
+ isVolatile: boolean;
111
+ wrappedErc20TokenAddress?: undefined;
112
+ approvalType?: undefined;
113
+ isNFT?: undefined;
114
+ isPendleToken?: undefined;
115
+ aaveToken?: undefined;
116
+ })[];
117
+ declare const arbMainnetRegistryFixed: ({
118
+ chainId: number;
119
+ erc20TokenAddress: string;
120
+ wrappedErc20TokenAddress: string;
121
+ name: string;
122
+ symbol: string;
123
+ decimals: number;
124
+ logoURI: string;
125
+ underlyingErc20TokenAddress?: undefined;
126
+ isVolatile?: undefined;
127
+ aaveToken?: undefined;
128
+ } | {
129
+ chainId: number;
130
+ erc20TokenAddress: string;
131
+ name: string;
132
+ symbol: string;
133
+ decimals: number;
134
+ logoURI: string;
135
+ wrappedErc20TokenAddress?: undefined;
136
+ underlyingErc20TokenAddress?: undefined;
137
+ isVolatile?: undefined;
138
+ aaveToken?: undefined;
139
+ } | {
140
+ chainId: number;
141
+ erc20TokenAddress: string;
142
+ underlyingErc20TokenAddress: string;
143
+ name: string;
144
+ symbol: string;
145
+ decimals: number;
146
+ logoURI: string;
147
+ isVolatile: boolean;
148
+ aaveToken: boolean;
149
+ wrappedErc20TokenAddress?: undefined;
150
+ })[];
151
+ declare const bnbMainnetRegistryFixed: ({
152
+ chainId: number;
153
+ erc20TokenAddress: string;
154
+ wrappedErc20TokenAddress: string;
155
+ name: string;
156
+ symbol: string;
157
+ decimals: number;
158
+ logoURI: string;
159
+ underlyingErc20TokenAddress?: undefined;
160
+ isVolatile?: undefined;
161
+ aaveToken?: undefined;
162
+ } | {
163
+ chainId: number;
164
+ erc20TokenAddress: string;
165
+ name: string;
166
+ symbol: string;
167
+ decimals: number;
168
+ logoURI: string;
169
+ wrappedErc20TokenAddress?: undefined;
170
+ underlyingErc20TokenAddress?: undefined;
171
+ isVolatile?: undefined;
172
+ aaveToken?: undefined;
173
+ } | {
174
+ chainId: number;
175
+ erc20TokenAddress: string;
176
+ underlyingErc20TokenAddress: string;
177
+ name: string;
178
+ symbol: string;
179
+ decimals: number;
180
+ logoURI: string;
181
+ isVolatile: boolean;
182
+ aaveToken: boolean;
183
+ wrappedErc20TokenAddress?: undefined;
184
+ } | {
185
+ chainId: number;
186
+ erc20TokenAddress: string;
187
+ underlyingErc20TokenAddress: string;
188
+ name: string;
189
+ symbol: string;
190
+ decimals: number;
191
+ logoURI: string;
192
+ isVolatile: boolean;
193
+ wrappedErc20TokenAddress?: undefined;
194
+ aaveToken?: undefined;
195
+ })[];
196
+ declare const polygonRegistryFixed: ({
197
+ chainId: number;
198
+ erc20TokenAddress: string;
199
+ wrappedErc20TokenAddress: string;
200
+ name: string;
201
+ symbol: string;
202
+ decimals: number;
203
+ logoURI: string;
204
+ approvalType?: undefined;
205
+ underlyingErc20TokenAddress?: undefined;
206
+ isVolatile?: undefined;
207
+ aaveToken?: undefined;
208
+ } | {
209
+ chainId: number;
210
+ erc20TokenAddress: string;
211
+ name: string;
212
+ symbol: string;
213
+ decimals: number;
214
+ logoURI: string;
215
+ approvalType: number;
216
+ wrappedErc20TokenAddress?: undefined;
217
+ underlyingErc20TokenAddress?: undefined;
218
+ isVolatile?: undefined;
219
+ aaveToken?: undefined;
220
+ } | {
221
+ chainId: number;
222
+ erc20TokenAddress: string;
223
+ name: string;
224
+ symbol: string;
225
+ decimals: number;
226
+ logoURI: string;
227
+ wrappedErc20TokenAddress?: undefined;
228
+ approvalType?: undefined;
229
+ underlyingErc20TokenAddress?: undefined;
230
+ isVolatile?: undefined;
231
+ aaveToken?: undefined;
232
+ } | {
233
+ chainId: number;
234
+ erc20TokenAddress: string;
235
+ underlyingErc20TokenAddress: string;
236
+ name: string;
237
+ symbol: string;
238
+ decimals: number;
239
+ logoURI: string;
240
+ isVolatile: boolean;
241
+ aaveToken: boolean;
242
+ wrappedErc20TokenAddress?: undefined;
243
+ approvalType?: undefined;
244
+ })[];
245
+ declare const avalancheRegistryFixed: ({
246
+ chainId: number;
247
+ erc20TokenAddress: string;
248
+ wrappedErc20TokenAddress: string;
249
+ name: string;
250
+ symbol: string;
251
+ decimals: number;
252
+ logoURI: string;
253
+ underlyingErc20TokenAddress?: undefined;
254
+ isVolatile?: undefined;
255
+ aaveToken?: undefined;
256
+ } | {
257
+ chainId: number;
258
+ erc20TokenAddress: string;
259
+ name: string;
260
+ symbol: string;
261
+ decimals: number;
262
+ logoURI: string;
263
+ wrappedErc20TokenAddress?: undefined;
264
+ underlyingErc20TokenAddress?: undefined;
265
+ isVolatile?: undefined;
266
+ aaveToken?: undefined;
267
+ } | {
268
+ chainId: number;
269
+ erc20TokenAddress: string;
270
+ underlyingErc20TokenAddress: string;
271
+ name: string;
272
+ symbol: string;
273
+ decimals: number;
274
+ logoURI: string;
275
+ isVolatile: boolean;
276
+ aaveToken: boolean;
277
+ wrappedErc20TokenAddress?: undefined;
278
+ })[];
279
+ declare const optimismRegistryFixed: ({
280
+ chainId: number;
281
+ erc20TokenAddress: string;
282
+ wrappedErc20TokenAddress: string;
283
+ name: string;
284
+ symbol: string;
285
+ decimals: number;
286
+ logoURI: string;
287
+ allowanceStorageOffset?: undefined;
288
+ isVyper?: undefined;
289
+ balanceStorageOffset?: undefined;
290
+ underlyingErc20TokenAddress?: undefined;
291
+ isVolatile?: undefined;
292
+ aaveToken?: undefined;
293
+ } | {
294
+ chainId: number;
295
+ erc20TokenAddress: string;
296
+ name: string;
297
+ symbol: string;
298
+ decimals: number;
299
+ logoURI: string;
300
+ allowanceStorageOffset: number;
301
+ isVyper: boolean;
302
+ balanceStorageOffset: number;
303
+ wrappedErc20TokenAddress?: undefined;
304
+ underlyingErc20TokenAddress?: undefined;
305
+ isVolatile?: undefined;
306
+ aaveToken?: undefined;
307
+ } | {
308
+ chainId: number;
309
+ erc20TokenAddress: string;
310
+ name: string;
311
+ symbol: string;
312
+ decimals: number;
313
+ logoURI: string;
314
+ wrappedErc20TokenAddress?: undefined;
315
+ allowanceStorageOffset?: undefined;
316
+ isVyper?: undefined;
317
+ balanceStorageOffset?: undefined;
318
+ underlyingErc20TokenAddress?: undefined;
319
+ isVolatile?: undefined;
320
+ aaveToken?: undefined;
321
+ } | {
322
+ chainId: number;
323
+ erc20TokenAddress: string;
324
+ name: string;
325
+ symbol: string;
326
+ decimals: number;
327
+ logoURI: string;
328
+ allowanceStorageOffset: number;
329
+ isVyper: boolean;
330
+ wrappedErc20TokenAddress?: undefined;
331
+ balanceStorageOffset?: undefined;
332
+ underlyingErc20TokenAddress?: undefined;
333
+ isVolatile?: undefined;
334
+ aaveToken?: undefined;
335
+ } | {
336
+ chainId: number;
337
+ erc20TokenAddress: string;
338
+ underlyingErc20TokenAddress: string;
339
+ name: string;
340
+ symbol: string;
341
+ decimals: number;
342
+ logoURI: string;
343
+ isVolatile: boolean;
344
+ aaveToken: boolean;
345
+ allowanceStorageOffset: number;
346
+ isVyper: boolean;
347
+ wrappedErc20TokenAddress?: undefined;
348
+ balanceStorageOffset?: undefined;
349
+ })[];
350
+ declare const baseRegistryFixed: ({
351
+ chainId: number;
352
+ erc20TokenAddress: string;
353
+ wrappedErc20TokenAddress: string;
354
+ name: string;
355
+ symbol: string;
356
+ decimals: number;
357
+ logoURI: string;
358
+ underlyingErc20TokenAddress?: undefined;
359
+ isVolatile?: undefined;
360
+ aaveToken?: undefined;
361
+ } | {
362
+ chainId: number;
363
+ erc20TokenAddress: string;
364
+ name: string;
365
+ symbol: string;
366
+ decimals: number;
367
+ logoURI: string;
368
+ wrappedErc20TokenAddress?: undefined;
369
+ underlyingErc20TokenAddress?: undefined;
370
+ isVolatile?: undefined;
371
+ aaveToken?: undefined;
372
+ } | {
373
+ chainId: number;
374
+ erc20TokenAddress: string;
375
+ underlyingErc20TokenAddress: string;
376
+ name: string;
377
+ symbol: string;
378
+ decimals: number;
379
+ logoURI: string;
380
+ isVolatile: boolean;
381
+ aaveToken: boolean;
382
+ wrappedErc20TokenAddress?: undefined;
383
+ })[];
384
+ declare const ethMainnetRegistry: ({
385
+ chainId: number;
386
+ erc20TokenAddress: string;
387
+ wrappedErc20TokenAddress: string;
388
+ name: string;
389
+ symbol: string;
390
+ decimals: number;
391
+ logoURI: string;
392
+ hasHToken: boolean;
393
+ approvalType?: undefined;
394
+ underlyingErc20TokenAddress?: undefined;
395
+ isVolatile?: undefined;
396
+ isNFT?: undefined;
397
+ isPendleToken?: undefined;
398
+ aaveToken?: undefined;
399
+ isHToken?: undefined;
400
+ } | {
401
+ chainId: number;
402
+ erc20TokenAddress: string;
403
+ name: string;
404
+ symbol: string;
405
+ decimals: number;
406
+ logoURI: string;
407
+ approvalType: number;
408
+ wrappedErc20TokenAddress?: undefined;
409
+ hasHToken?: undefined;
410
+ underlyingErc20TokenAddress?: undefined;
411
+ isVolatile?: undefined;
412
+ isNFT?: undefined;
413
+ isPendleToken?: undefined;
414
+ aaveToken?: undefined;
415
+ isHToken?: undefined;
416
+ } | {
417
+ chainId: number;
418
+ erc20TokenAddress: string;
419
+ name: string;
420
+ symbol: string;
421
+ decimals: number;
422
+ logoURI: string;
423
+ wrappedErc20TokenAddress?: undefined;
424
+ hasHToken?: undefined;
425
+ approvalType?: undefined;
426
+ underlyingErc20TokenAddress?: undefined;
427
+ isVolatile?: undefined;
428
+ isNFT?: undefined;
429
+ isPendleToken?: undefined;
430
+ aaveToken?: undefined;
431
+ isHToken?: undefined;
432
+ } | {
433
+ chainId: number;
434
+ erc20TokenAddress: string;
435
+ underlyingErc20TokenAddress: string;
436
+ name: string;
437
+ symbol: string;
438
+ decimals: number;
439
+ logoURI: string;
440
+ wrappedErc20TokenAddress?: undefined;
441
+ hasHToken?: undefined;
442
+ approvalType?: undefined;
443
+ isVolatile?: undefined;
444
+ isNFT?: undefined;
445
+ isPendleToken?: undefined;
446
+ aaveToken?: undefined;
447
+ isHToken?: undefined;
448
+ } | {
449
+ chainId: number;
450
+ erc20TokenAddress: string;
451
+ name: string;
452
+ symbol: string;
453
+ decimals: number;
454
+ logoURI: string;
455
+ isVolatile: boolean;
456
+ wrappedErc20TokenAddress?: undefined;
457
+ hasHToken?: undefined;
458
+ approvalType?: undefined;
459
+ underlyingErc20TokenAddress?: undefined;
460
+ isNFT?: undefined;
461
+ isPendleToken?: undefined;
462
+ aaveToken?: undefined;
463
+ isHToken?: undefined;
464
+ } | {
465
+ chainId: number;
466
+ erc20TokenAddress: string;
467
+ name: string;
468
+ symbol: string;
469
+ decimals: number;
470
+ logoURI: string;
471
+ isNFT: boolean;
472
+ wrappedErc20TokenAddress?: undefined;
473
+ hasHToken?: undefined;
474
+ approvalType?: undefined;
475
+ underlyingErc20TokenAddress?: undefined;
476
+ isVolatile?: undefined;
477
+ isPendleToken?: undefined;
478
+ aaveToken?: undefined;
479
+ isHToken?: undefined;
480
+ } | {
481
+ chainId: number;
482
+ erc20TokenAddress: string;
483
+ name: string;
484
+ symbol: string;
485
+ decimals: number;
486
+ logoURI: string;
487
+ isPendleToken: boolean;
488
+ wrappedErc20TokenAddress?: undefined;
489
+ hasHToken?: undefined;
490
+ approvalType?: undefined;
491
+ underlyingErc20TokenAddress?: undefined;
492
+ isVolatile?: undefined;
493
+ isNFT?: undefined;
494
+ aaveToken?: undefined;
495
+ isHToken?: undefined;
496
+ } | {
497
+ chainId: number;
498
+ erc20TokenAddress: string;
499
+ underlyingErc20TokenAddress: string;
500
+ name: string;
501
+ symbol: string;
502
+ decimals: number;
503
+ logoURI: string;
504
+ isPendleToken: boolean;
505
+ wrappedErc20TokenAddress?: undefined;
506
+ hasHToken?: undefined;
507
+ approvalType?: undefined;
508
+ isVolatile?: undefined;
509
+ isNFT?: undefined;
510
+ aaveToken?: undefined;
511
+ isHToken?: undefined;
512
+ } | {
513
+ chainId: number;
514
+ erc20TokenAddress: string;
515
+ underlyingErc20TokenAddress: string;
516
+ name: string;
517
+ symbol: string;
518
+ decimals: number;
519
+ logoURI: string;
520
+ isVolatile: boolean;
521
+ aaveToken: boolean;
522
+ wrappedErc20TokenAddress?: undefined;
523
+ hasHToken?: undefined;
524
+ approvalType?: undefined;
525
+ isNFT?: undefined;
526
+ isPendleToken?: undefined;
527
+ isHToken?: undefined;
528
+ } | {
529
+ chainId: number;
530
+ erc20TokenAddress: string;
531
+ underlyingErc20TokenAddress: string;
532
+ name: string;
533
+ symbol: string;
534
+ decimals: number;
535
+ logoURI: string;
536
+ isVolatile: boolean;
537
+ wrappedErc20TokenAddress?: undefined;
538
+ hasHToken?: undefined;
539
+ approvalType?: undefined;
540
+ isNFT?: undefined;
541
+ isPendleToken?: undefined;
542
+ aaveToken?: undefined;
543
+ isHToken?: undefined;
544
+ } | {
545
+ chainId: number;
546
+ erc20TokenAddress: string;
547
+ underlyingErc20TokenAddress: string;
548
+ name: string;
549
+ symbol: string;
550
+ decimals: number;
551
+ logoURI: string;
552
+ isHToken: boolean;
553
+ wrappedErc20TokenAddress?: undefined;
554
+ hasHToken?: undefined;
555
+ approvalType?: undefined;
556
+ isVolatile?: undefined;
557
+ isNFT?: undefined;
558
+ isPendleToken?: undefined;
559
+ aaveToken?: undefined;
560
+ })[];
561
+ declare const arbMainnetRegistry: ({
562
+ chainId: number;
563
+ erc20TokenAddress: string;
564
+ wrappedErc20TokenAddress: string;
565
+ name: string;
566
+ symbol: string;
567
+ decimals: number;
568
+ logoURI: string;
569
+ underlyingErc20TokenAddress?: undefined;
570
+ isVolatile?: undefined;
571
+ aaveToken?: undefined;
572
+ } | {
573
+ chainId: number;
574
+ erc20TokenAddress: string;
575
+ name: string;
576
+ symbol: string;
577
+ decimals: number;
578
+ logoURI: string;
579
+ wrappedErc20TokenAddress?: undefined;
580
+ underlyingErc20TokenAddress?: undefined;
581
+ isVolatile?: undefined;
582
+ aaveToken?: undefined;
583
+ } | {
584
+ chainId: number;
585
+ erc20TokenAddress: string;
586
+ underlyingErc20TokenAddress: string;
587
+ name: string;
588
+ symbol: string;
589
+ decimals: number;
590
+ logoURI: string;
591
+ wrappedErc20TokenAddress?: undefined;
592
+ isVolatile?: undefined;
593
+ aaveToken?: undefined;
594
+ } | {
595
+ chainId: number;
596
+ erc20TokenAddress: string;
597
+ underlyingErc20TokenAddress: string;
598
+ name: string;
599
+ symbol: string;
600
+ decimals: number;
601
+ logoURI: string;
602
+ isVolatile: boolean;
603
+ aaveToken: boolean;
604
+ wrappedErc20TokenAddress?: undefined;
605
+ })[];
606
+ declare const bnbMainnetRegistry: ({
607
+ chainId: number;
608
+ erc20TokenAddress: string;
609
+ wrappedErc20TokenAddress: string;
610
+ name: string;
611
+ symbol: string;
612
+ decimals: number;
613
+ logoURI: string;
614
+ underlyingErc20TokenAddress?: undefined;
615
+ isVolatile?: undefined;
616
+ aaveToken?: undefined;
617
+ } | {
618
+ chainId: number;
619
+ erc20TokenAddress: string;
620
+ name: string;
621
+ symbol: string;
622
+ decimals: number;
623
+ logoURI: string;
624
+ wrappedErc20TokenAddress?: undefined;
625
+ underlyingErc20TokenAddress?: undefined;
626
+ isVolatile?: undefined;
627
+ aaveToken?: undefined;
628
+ } | {
629
+ chainId: number;
630
+ erc20TokenAddress: string;
631
+ underlyingErc20TokenAddress: string;
632
+ name: string;
633
+ symbol: string;
634
+ decimals: number;
635
+ logoURI: string;
636
+ isVolatile: boolean;
637
+ aaveToken: boolean;
638
+ wrappedErc20TokenAddress?: undefined;
639
+ } | {
640
+ chainId: number;
641
+ erc20TokenAddress: string;
642
+ underlyingErc20TokenAddress: string;
643
+ name: string;
644
+ symbol: string;
645
+ decimals: number;
646
+ logoURI: string;
647
+ isVolatile: boolean;
648
+ wrappedErc20TokenAddress?: undefined;
649
+ aaveToken?: undefined;
650
+ })[];
651
+ declare const polygonRegistry: ({
652
+ chainId: number;
653
+ erc20TokenAddress: string;
654
+ wrappedErc20TokenAddress: string;
655
+ name: string;
656
+ symbol: string;
657
+ decimals: number;
658
+ logoURI: string;
659
+ approvalType?: undefined;
660
+ underlyingErc20TokenAddress?: undefined;
661
+ isVolatile?: undefined;
662
+ aaveToken?: undefined;
663
+ } | {
664
+ chainId: number;
665
+ erc20TokenAddress: string;
666
+ name: string;
667
+ symbol: string;
668
+ decimals: number;
669
+ logoURI: string;
670
+ approvalType: number;
671
+ wrappedErc20TokenAddress?: undefined;
672
+ underlyingErc20TokenAddress?: undefined;
673
+ isVolatile?: undefined;
674
+ aaveToken?: undefined;
675
+ } | {
676
+ chainId: number;
677
+ erc20TokenAddress: string;
678
+ name: string;
679
+ symbol: string;
680
+ decimals: number;
681
+ logoURI: string;
682
+ wrappedErc20TokenAddress?: undefined;
683
+ approvalType?: undefined;
684
+ underlyingErc20TokenAddress?: undefined;
685
+ isVolatile?: undefined;
686
+ aaveToken?: undefined;
687
+ } | {
688
+ chainId: number;
689
+ erc20TokenAddress: string;
690
+ underlyingErc20TokenAddress: string;
691
+ name: string;
692
+ symbol: string;
693
+ decimals: number;
694
+ logoURI: string;
695
+ wrappedErc20TokenAddress?: undefined;
696
+ approvalType?: undefined;
697
+ isVolatile?: undefined;
698
+ aaveToken?: undefined;
699
+ } | {
700
+ chainId: number;
701
+ erc20TokenAddress: string;
702
+ underlyingErc20TokenAddress: string;
703
+ name: string;
704
+ symbol: string;
705
+ decimals: number;
706
+ logoURI: string;
707
+ isVolatile: boolean;
708
+ aaveToken: boolean;
709
+ wrappedErc20TokenAddress?: undefined;
710
+ approvalType?: undefined;
711
+ })[];
712
+ declare const avalancheRegistry: ({
713
+ chainId: number;
714
+ erc20TokenAddress: string;
715
+ wrappedErc20TokenAddress: string;
716
+ name: string;
717
+ symbol: string;
718
+ decimals: number;
719
+ logoURI: string;
720
+ underlyingErc20TokenAddress?: undefined;
721
+ isVolatile?: undefined;
722
+ aaveToken?: undefined;
723
+ } | {
724
+ chainId: number;
725
+ erc20TokenAddress: string;
726
+ name: string;
727
+ symbol: string;
728
+ decimals: number;
729
+ logoURI: string;
730
+ wrappedErc20TokenAddress?: undefined;
731
+ underlyingErc20TokenAddress?: undefined;
732
+ isVolatile?: undefined;
733
+ aaveToken?: undefined;
734
+ } | {
735
+ chainId: number;
736
+ erc20TokenAddress: string;
737
+ underlyingErc20TokenAddress: string;
738
+ name: string;
739
+ symbol: string;
740
+ decimals: number;
741
+ logoURI: string;
742
+ isVolatile: boolean;
743
+ aaveToken: boolean;
744
+ wrappedErc20TokenAddress?: undefined;
745
+ })[];
746
+ declare const optimismRegistry: ({
747
+ chainId: number;
748
+ erc20TokenAddress: string;
749
+ wrappedErc20TokenAddress: string;
750
+ name: string;
751
+ symbol: string;
752
+ decimals: number;
753
+ logoURI: string;
754
+ allowanceStorageOffset?: undefined;
755
+ isVyper?: undefined;
756
+ balanceStorageOffset?: undefined;
757
+ underlyingErc20TokenAddress?: undefined;
758
+ isVolatile?: undefined;
759
+ aaveToken?: undefined;
760
+ } | {
761
+ chainId: number;
762
+ erc20TokenAddress: string;
763
+ name: string;
764
+ symbol: string;
765
+ decimals: number;
766
+ logoURI: string;
767
+ allowanceStorageOffset: number;
768
+ isVyper: boolean;
769
+ balanceStorageOffset: number;
770
+ wrappedErc20TokenAddress?: undefined;
771
+ underlyingErc20TokenAddress?: undefined;
772
+ isVolatile?: undefined;
773
+ aaveToken?: undefined;
774
+ } | {
775
+ chainId: number;
776
+ erc20TokenAddress: string;
777
+ name: string;
778
+ symbol: string;
779
+ decimals: number;
780
+ logoURI: string;
781
+ wrappedErc20TokenAddress?: undefined;
782
+ allowanceStorageOffset?: undefined;
783
+ isVyper?: undefined;
784
+ balanceStorageOffset?: undefined;
785
+ underlyingErc20TokenAddress?: undefined;
786
+ isVolatile?: undefined;
787
+ aaveToken?: undefined;
788
+ } | {
789
+ chainId: number;
790
+ erc20TokenAddress: string;
791
+ name: string;
792
+ symbol: string;
793
+ decimals: number;
794
+ logoURI: string;
795
+ allowanceStorageOffset: number;
796
+ isVyper: boolean;
797
+ wrappedErc20TokenAddress?: undefined;
798
+ balanceStorageOffset?: undefined;
799
+ underlyingErc20TokenAddress?: undefined;
800
+ isVolatile?: undefined;
801
+ aaveToken?: undefined;
802
+ } | {
803
+ chainId: number;
804
+ erc20TokenAddress: string;
805
+ underlyingErc20TokenAddress: string;
806
+ name: string;
807
+ symbol: string;
808
+ decimals: number;
809
+ logoURI: string;
810
+ allowanceStorageOffset: number;
811
+ isVyper: boolean;
812
+ wrappedErc20TokenAddress?: undefined;
813
+ balanceStorageOffset?: undefined;
814
+ isVolatile?: undefined;
815
+ aaveToken?: undefined;
816
+ } | {
817
+ chainId: number;
818
+ erc20TokenAddress: string;
819
+ underlyingErc20TokenAddress: string;
820
+ name: string;
821
+ symbol: string;
822
+ decimals: number;
823
+ logoURI: string;
824
+ allowanceStorageOffset: number;
825
+ isVyper: boolean;
826
+ balanceStorageOffset: number;
827
+ wrappedErc20TokenAddress?: undefined;
828
+ isVolatile?: undefined;
829
+ aaveToken?: undefined;
830
+ } | {
831
+ chainId: number;
832
+ erc20TokenAddress: string;
833
+ underlyingErc20TokenAddress: string;
834
+ name: string;
835
+ symbol: string;
836
+ decimals: number;
837
+ logoURI: string;
838
+ isVolatile: boolean;
839
+ aaveToken: boolean;
840
+ allowanceStorageOffset: number;
841
+ isVyper: boolean;
842
+ wrappedErc20TokenAddress?: undefined;
843
+ balanceStorageOffset?: undefined;
844
+ })[];
845
+ declare const baseRegistry: ({
846
+ chainId: number;
847
+ erc20TokenAddress: string;
848
+ wrappedErc20TokenAddress: string;
849
+ name: string;
850
+ symbol: string;
851
+ decimals: number;
852
+ logoURI: string;
853
+ underlyingErc20TokenAddress?: undefined;
854
+ isVolatile?: undefined;
855
+ aaveToken?: undefined;
856
+ } | {
857
+ chainId: number;
858
+ erc20TokenAddress: string;
859
+ name: string;
860
+ symbol: string;
861
+ decimals: number;
862
+ logoURI: string;
863
+ wrappedErc20TokenAddress?: undefined;
864
+ underlyingErc20TokenAddress?: undefined;
865
+ isVolatile?: undefined;
866
+ aaveToken?: undefined;
867
+ } | {
868
+ chainId: number;
869
+ erc20TokenAddress: string;
870
+ underlyingErc20TokenAddress: string;
871
+ name: string;
872
+ symbol: string;
873
+ decimals: number;
874
+ logoURI: string;
875
+ wrappedErc20TokenAddress?: undefined;
876
+ isVolatile?: undefined;
877
+ aaveToken?: undefined;
878
+ } | {
879
+ chainId: number;
880
+ erc20TokenAddress: string;
881
+ underlyingErc20TokenAddress: string;
882
+ name: string;
883
+ symbol: string;
884
+ decimals: number;
885
+ logoURI: string;
886
+ isVolatile: boolean;
887
+ aaveToken: boolean;
888
+ wrappedErc20TokenAddress?: undefined;
889
+ })[];
890
+ declare const localhostRegistry: ({
891
+ chainId: number;
892
+ erc20TokenAddress: string;
893
+ wrappedErc20TokenAddress: string;
894
+ name: string;
895
+ symbol: string;
896
+ decimals: number;
897
+ logoURI: string;
898
+ hasHToken: boolean;
899
+ approvalType?: undefined;
900
+ isVolatile?: undefined;
901
+ isNFT?: undefined;
902
+ isPendleToken?: undefined;
903
+ underlyingErc20TokenAddress?: undefined;
904
+ aaveToken?: undefined;
905
+ isHToken?: undefined;
906
+ } | {
907
+ chainId: number;
908
+ erc20TokenAddress: string;
909
+ name: string;
910
+ symbol: string;
911
+ decimals: number;
912
+ logoURI: string;
913
+ approvalType: number;
914
+ hasHToken: boolean;
915
+ wrappedErc20TokenAddress?: undefined;
916
+ isVolatile?: undefined;
917
+ isNFT?: undefined;
918
+ isPendleToken?: undefined;
919
+ underlyingErc20TokenAddress?: undefined;
920
+ aaveToken?: undefined;
921
+ isHToken?: undefined;
922
+ } | {
923
+ chainId: number;
924
+ erc20TokenAddress: string;
925
+ name: string;
926
+ symbol: string;
927
+ decimals: number;
928
+ logoURI: string;
929
+ wrappedErc20TokenAddress?: undefined;
930
+ hasHToken?: undefined;
931
+ approvalType?: undefined;
932
+ isVolatile?: undefined;
933
+ isNFT?: undefined;
934
+ isPendleToken?: undefined;
935
+ underlyingErc20TokenAddress?: undefined;
936
+ aaveToken?: undefined;
937
+ isHToken?: undefined;
938
+ } | {
939
+ chainId: number;
940
+ erc20TokenAddress: string;
941
+ name: string;
942
+ symbol: string;
943
+ decimals: number;
944
+ logoURI: string;
945
+ approvalType: number;
946
+ wrappedErc20TokenAddress?: undefined;
947
+ hasHToken?: undefined;
948
+ isVolatile?: undefined;
949
+ isNFT?: undefined;
950
+ isPendleToken?: undefined;
951
+ underlyingErc20TokenAddress?: undefined;
952
+ aaveToken?: undefined;
953
+ isHToken?: undefined;
954
+ } | {
955
+ chainId: number;
956
+ erc20TokenAddress: string;
957
+ name: string;
958
+ symbol: string;
959
+ decimals: number;
960
+ logoURI: string;
961
+ isVolatile: boolean;
962
+ wrappedErc20TokenAddress?: undefined;
963
+ hasHToken?: undefined;
964
+ approvalType?: undefined;
965
+ isNFT?: undefined;
966
+ isPendleToken?: undefined;
967
+ underlyingErc20TokenAddress?: undefined;
968
+ aaveToken?: undefined;
969
+ isHToken?: undefined;
970
+ } | {
971
+ chainId: number;
972
+ erc20TokenAddress: string;
973
+ name: string;
974
+ symbol: string;
975
+ decimals: number;
976
+ logoURI: string;
977
+ isNFT: boolean;
978
+ wrappedErc20TokenAddress?: undefined;
979
+ hasHToken?: undefined;
980
+ approvalType?: undefined;
981
+ isVolatile?: undefined;
982
+ isPendleToken?: undefined;
983
+ underlyingErc20TokenAddress?: undefined;
984
+ aaveToken?: undefined;
985
+ isHToken?: undefined;
986
+ } | {
987
+ chainId: number;
988
+ erc20TokenAddress: string;
989
+ name: string;
990
+ symbol: string;
991
+ decimals: number;
992
+ logoURI: string;
993
+ isPendleToken: boolean;
994
+ wrappedErc20TokenAddress?: undefined;
995
+ hasHToken?: undefined;
996
+ approvalType?: undefined;
997
+ isVolatile?: undefined;
998
+ isNFT?: undefined;
999
+ underlyingErc20TokenAddress?: undefined;
1000
+ aaveToken?: undefined;
1001
+ isHToken?: undefined;
1002
+ } | {
1003
+ chainId: number;
1004
+ erc20TokenAddress: string;
1005
+ underlyingErc20TokenAddress: string;
1006
+ name: string;
1007
+ symbol: string;
1008
+ decimals: number;
1009
+ logoURI: string;
1010
+ isVolatile: boolean;
1011
+ aaveToken: boolean;
1012
+ wrappedErc20TokenAddress?: undefined;
1013
+ hasHToken?: undefined;
1014
+ approvalType?: undefined;
1015
+ isNFT?: undefined;
1016
+ isPendleToken?: undefined;
1017
+ isHToken?: undefined;
1018
+ } | {
1019
+ chainId: number;
1020
+ erc20TokenAddress: string;
1021
+ underlyingErc20TokenAddress: string;
1022
+ name: string;
1023
+ symbol: string;
1024
+ decimals: number;
1025
+ logoURI: string;
1026
+ isVolatile: boolean;
1027
+ wrappedErc20TokenAddress?: undefined;
1028
+ hasHToken?: undefined;
1029
+ approvalType?: undefined;
1030
+ isNFT?: undefined;
1031
+ isPendleToken?: undefined;
1032
+ aaveToken?: undefined;
1033
+ isHToken?: undefined;
1034
+ } | {
1035
+ chainId: number;
1036
+ erc20TokenAddress: string;
1037
+ underlyingErc20TokenAddress: string;
1038
+ name: string;
1039
+ symbol: string;
1040
+ decimals: number;
1041
+ logoURI: string;
1042
+ wrappedErc20TokenAddress?: undefined;
1043
+ hasHToken?: undefined;
1044
+ approvalType?: undefined;
1045
+ isVolatile?: undefined;
1046
+ isNFT?: undefined;
1047
+ isPendleToken?: undefined;
1048
+ aaveToken?: undefined;
1049
+ isHToken?: undefined;
1050
+ } | {
1051
+ chainId: number;
1052
+ erc20TokenAddress: string;
1053
+ underlyingErc20TokenAddress: string;
1054
+ decimals: number;
1055
+ name: string;
1056
+ symbol: string;
1057
+ logoURI: string;
1058
+ isHToken: boolean;
1059
+ wrappedErc20TokenAddress?: undefined;
1060
+ hasHToken?: undefined;
1061
+ approvalType?: undefined;
1062
+ isVolatile?: undefined;
1063
+ isNFT?: undefined;
1064
+ isPendleToken?: undefined;
1065
+ aaveToken?: undefined;
1066
+ })[];
19
1067
  export { ethMainnetRegistryFixed, arbMainnetRegistryFixed, bnbMainnetRegistryFixed, polygonRegistryFixed, avalancheRegistryFixed, optimismRegistryFixed, baseRegistryFixed, ethMainnetRegistry, arbMainnetRegistry, bnbMainnetRegistry, polygonRegistry, avalancheRegistry, optimismRegistry, baseRegistry, localhostRegistry, urlForBeefyVaultTotalInUSD, urlForBeefyVaultTokens, urlForRegularTokenPricesInBeefy, PopularTokenSymbols, };