@hinkal/common 0.2.9 → 0.2.11

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 (284) hide show
  1. package/API/API.d.mts +49 -0
  2. package/API/HinkalPointsCalls.d.mts +20 -0
  3. package/API/callBeefyGraphAPI.d.mts +2 -0
  4. package/API/callCurveAPI.d.mts +9 -0
  5. package/API/callMonitor.d.mts +1 -0
  6. package/API/callOdosAPI.d.mts +63 -0
  7. package/API/callOneInchAPI.d.mts +18 -0
  8. package/API/callRelayer.d.mts +10 -0
  9. package/API/checkRisk.d.mts +1 -0
  10. package/API/dataServerCalls.d.mts +2 -0
  11. package/API/duneAPI.d.mts +11 -0
  12. package/API/fetchCommitmentsCache.d.mts +20 -0
  13. package/API/fetchNullifiers.d.mts +5 -0
  14. package/API/getAxelarGasEstimate.d.mts +5 -0
  15. package/API/getCoingeckoPrice.d.mts +22 -0
  16. package/API/getConnextReceiveFee.d.mts +2 -0
  17. package/API/getGasEstimates.d.mts +9 -0
  18. package/API/getRelayerURL.d.mts +1 -0
  19. package/API/getServerURL.d.mts +2 -0
  20. package/API/getTokenPrice.d.mts +16 -0
  21. package/API/index.d.mts +14 -0
  22. package/API/kycCalls.d.mts +30 -0
  23. package/API/passwordCalls.d.mts +9 -0
  24. package/API/referralProgramCalls.d.mts +36 -0
  25. package/API/relayCalls.d.mts +5 -0
  26. package/API/restoreSnapshots.d.mts +1 -0
  27. package/API/rewardsPointsCalls.d.mts +13 -0
  28. package/API/userVerifyTransactions.d.mts +19 -0
  29. package/constants/assets.constants.d.mts +13 -0
  30. package/constants/axelar.constants.d.mts +5 -0
  31. package/constants/backend.constants.d.mts +11 -0
  32. package/constants/beefy.registry.d.mts +8 -0
  33. package/constants/chains.constants.d.mts +36 -0
  34. package/constants/coingecko.constants.d.mts +13 -0
  35. package/constants/contracts.constants.d.mts +119 -0
  36. package/constants/crvCvx.registry.d.mts +20 -0
  37. package/constants/crvDynamic.registry.d.mts +1 -0
  38. package/constants/deploy-data/index.d.mts +11 -0
  39. package/constants/fees.constants.d.mts +11 -0
  40. package/constants/index.d.mts +20 -0
  41. package/constants/kyc.constants.d.mts +28 -0
  42. package/constants/lido.constants.d.mts +10 -0
  43. package/constants/pendle.registry.d.mts +21 -0
  44. package/constants/protocol.constants.d.mts +18 -0
  45. package/constants/reorg-depths.constants.d.mts +3 -0
  46. package/constants/rewards.constants.d.mts +19 -0
  47. package/constants/server.constants.d.mts +155 -0
  48. package/constants/token-data/ERC20Registry.d.mts +3 -0
  49. package/constants/token-data/index.d.mts +976 -0
  50. package/constants/token-data/popularTokens.constants.d.mts +3 -0
  51. package/constants/token-data/tokenPricing.consts.d.mts +5 -0
  52. package/constants/vite.constants.d.mts +14 -0
  53. package/crypto/babyJub.d.mts +16 -0
  54. package/crypto/index.d.mts +3 -0
  55. package/crypto/poseidon.d.mts +15 -0
  56. package/crypto/preProcessing.d.mts +1 -0
  57. package/data-structures/Hinkal/Hinkal.d.mts +100 -0
  58. package/data-structures/Hinkal/IHinkal.d.mts +93 -0
  59. package/data-structures/Hinkal/hinkalActionBeefy.d.mts +3 -0
  60. package/data-structures/Hinkal/hinkalActionConvex.d.mts +12 -0
  61. package/data-structures/Hinkal/hinkalActionCurve.d.mts +12 -0
  62. package/data-structures/Hinkal/hinkalActionLidoEth.d.mts +4 -0
  63. package/data-structures/Hinkal/hinkalActionPendle.d.mts +3 -0
  64. package/data-structures/Hinkal/hinkalActionPendleLP.d.mts +7 -0
  65. package/data-structures/Hinkal/hinkalActionStake.d.mts +3 -0
  66. package/data-structures/Hinkal/hinkalActionVolatile.d.mts +3 -0
  67. package/data-structures/Hinkal/hinkalDeposit.d.mts +3 -0
  68. package/data-structures/Hinkal/hinkalGetRecipientInfo.d.mts +2 -0
  69. package/data-structures/Hinkal/hinkalGetZkMeProvider.d.mts +3 -0
  70. package/data-structures/Hinkal/hinkalPrivateWallet.d.mts +2 -0
  71. package/data-structures/Hinkal/hinkalSwap.d.mts +3 -0
  72. package/data-structures/Hinkal/hinkalTransfer.d.mts +1 -0
  73. package/data-structures/Hinkal/hinkalWithdraw.d.mts +2 -0
  74. package/data-structures/Hinkal/index.d.mts +12 -0
  75. package/data-structures/Hinkal/resetMerkleTrees.d.mts +2 -0
  76. package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.d.mts +20 -0
  77. package/data-structures/ValueCache/ValueCache.d.mts +10 -0
  78. package/data-structures/ValueCache/index.d.mts +1 -0
  79. package/data-structures/cacheDevices/BaseCacheDevice.d.mts +8 -0
  80. package/data-structures/cacheDevices/FileCacheDevice.d.mts +9 -0
  81. package/data-structures/cacheDevices/LocalStorageCacheDevice.d.mts +7 -0
  82. package/data-structures/cacheDevices/index.d.mts +2 -0
  83. package/data-structures/crypto-keys/decodeUTXO.d.mts +14 -0
  84. package/data-structures/crypto-keys/encryptDecryptUtxo.d.mts +18 -0
  85. package/data-structures/crypto-keys/index.d.mts +4 -0
  86. package/data-structures/crypto-keys/keyUtils.d.mts +2 -0
  87. package/data-structures/crypto-keys/keys.d.mts +58 -0
  88. package/data-structures/custom-token-registry/CustomTokenRegistry.d.mts +13 -0
  89. package/data-structures/event-service/AbstractAccessTokenSnapshotService.d.mts +35 -0
  90. package/data-structures/event-service/AbstractCommitmentsSnapshotService.d.mts +30 -0
  91. package/data-structures/event-service/AbstractEventService.cjs +1 -1
  92. package/data-structures/event-service/AbstractEventService.d.mts +31 -0
  93. package/data-structures/event-service/AbstractEventService.mjs +42 -30
  94. package/data-structures/event-service/AbstractNullifierSnapshotService.d.mts +22 -0
  95. package/data-structures/event-service/AbstractSnapshotService.d.mts +23 -0
  96. package/data-structures/event-service/index.d.mts +5 -0
  97. package/data-structures/index.d.mts +13 -0
  98. package/data-structures/merkle-tree/MerkleTree.d.mts +78 -0
  99. package/data-structures/merkle-tree/MerkleTreeIncompleteError.d.mts +3 -0
  100. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.d.mts +3 -0
  101. package/data-structures/merkle-tree/index.d.mts +3 -0
  102. package/data-structures/provider-adapter/IProviderAdapter.d.mts +35 -0
  103. package/data-structures/snapshot/ClientAccessTokenSnapshotService.cjs +1 -1
  104. package/data-structures/snapshot/ClientAccessTokenSnapshotService.d.mts +7 -0
  105. package/data-structures/snapshot/ClientAccessTokenSnapshotService.mjs +10 -5
  106. package/data-structures/snapshot/ClientCommitmentsSnapshotService.cjs +1 -1
  107. package/data-structures/snapshot/ClientCommitmentsSnapshotService.d.mts +7 -0
  108. package/data-structures/snapshot/ClientCommitmentsSnapshotService.mjs +10 -5
  109. package/data-structures/snapshot/ClientNullifierSnapshotService.cjs +1 -1
  110. package/data-structures/snapshot/ClientNullifierSnapshotService.d.mts +7 -0
  111. package/data-structures/snapshot/ClientNullifierSnapshotService.mjs +8 -3
  112. package/data-structures/token-price-fetcher/TokenChecker.d.mts +20 -0
  113. package/data-structures/token-price-fetcher/index.d.mts +1 -0
  114. package/data-structures/transactions-manager/TransactionsManager.d.mts +27 -0
  115. package/data-structures/transactions-manager/history/getBeefyData.d.mts +3 -0
  116. package/data-structures/transactions-manager/history/getConvexData.d.mts +6 -0
  117. package/data-structures/transactions-manager/history/getCurveData.d.mts +6 -0
  118. package/data-structures/transactions-manager/history/getDepositData.d.mts +2 -0
  119. package/data-structures/transactions-manager/history/getLidoData.d.mts +10 -0
  120. package/data-structures/transactions-manager/history/getPendleData.d.mts +3 -0
  121. package/data-structures/transactions-manager/history/getSwapData.d.mts +3 -0
  122. package/data-structures/transactions-manager/history/getTxDetails.d.mts +3 -0
  123. package/data-structures/transactions-manager/history/getVolatileData.d.mts +32 -0
  124. package/data-structures/transactions-manager/history/history.types.d.mts +95 -0
  125. package/data-structures/transactions-manager/history/history.utils.d.mts +8 -0
  126. package/data-structures/transactions-manager/index.d.mts +2 -0
  127. package/data-structures/utxo/Utxo.d.mts +63 -0
  128. package/data-structures/volatile-helper/VolatileHelper.d.mts +57 -0
  129. package/data-structures/volatile-helper/index.d.mts +1 -0
  130. package/error-handling/customErrors/ErrorWithAmount.d.mts +4 -0
  131. package/error-handling/customErrors/FeeOverTransactionValueError.d.mts +9 -0
  132. package/error-handling/customErrors/customErrors.helpers.d.mts +5 -0
  133. package/error-handling/customErrors/index.d.mts +3 -0
  134. package/error-handling/error-codes.constants.cjs +1 -1
  135. package/error-handling/error-codes.constants.d.mts +181 -0
  136. package/error-handling/error-codes.constants.mjs +13 -13
  137. package/error-handling/get-error.message.d.mts +3 -0
  138. package/error-handling/handleErrorRestore.d.mts +2 -0
  139. package/error-handling/index.d.mts +7 -0
  140. package/error-handling/logError.d.mts +1 -0
  141. package/error-handling/types.d.mts +5 -0
  142. package/externalABIs/BUSD.d.mts +38 -0
  143. package/externalABIs/DAI.d.mts +45 -0
  144. package/externalABIs/ERC20.d.mts +1 -0
  145. package/externalABIs/SanctionsList.d.mts +35 -0
  146. package/externalABIs/USDC.d.mts +28 -0
  147. package/externalABIs/USDR.d.mts +28 -0
  148. package/externalABIs/USDR3CRV.d.mts +49 -0
  149. package/externalABIs/USDT.d.mts +41 -0
  150. package/externalABIs/WETH.d.mts +38 -0
  151. package/externalABIs/amToken.d.mts +28 -0
  152. package/externalABIs/crvFRAX.d.mts +38 -0
  153. package/externalABIs/index.d.mts +323 -0
  154. package/externalABIs/swapAbi.d.mts +77 -0
  155. package/functions/index.d.mts +14 -0
  156. package/functions/kyc/aiPriseHelper.d.mts +0 -0
  157. package/functions/kyc/authentoHelper.d.mts +12 -0
  158. package/functions/kyc/index.d.mts +3 -0
  159. package/functions/kyc/openDefaultPassportWindow.d.mts +1 -0
  160. package/functions/kyc/passportHelper.d.mts +3 -0
  161. package/functions/kyc/zkMeHelper.d.mts +4 -0
  162. package/functions/pre-transaction/getFlatFees.d.mts +12 -0
  163. package/functions/pre-transaction/index.d.mts +5 -0
  164. package/functions/pre-transaction/interaction-to-action.d.mts +2 -0
  165. package/functions/pre-transaction/outputUtxoProcessing.d.mts +5 -0
  166. package/functions/pre-transaction/process-gas-estimates.d.mts +5 -0
  167. package/functions/pre-transaction/processAmountChanges.d.mts +12 -0
  168. package/functions/private-wallet/emporium.helpers.d.mts +5 -0
  169. package/functions/private-wallet/index.d.mts +2 -0
  170. package/functions/private-wallet/opProducer.d.mts +5 -0
  171. package/functions/protocols/convex.protocols.d.mts +1 -0
  172. package/functions/protocols/curve.protocols.d.mts +1 -0
  173. package/functions/protocols/index.d.mts +3 -0
  174. package/functions/protocols/pendle.helpers.d.mts +8 -0
  175. package/functions/snarkjs/common.snarkjs.d.mts +22 -0
  176. package/functions/snarkjs/constant.d.mts +151 -0
  177. package/functions/snarkjs/constructEmporiumProof.d.mts +10 -0
  178. package/functions/snarkjs/constructGeneralZkProof.d.mts +12 -0
  179. package/functions/snarkjs/generateCircomData.d.mts +4 -0
  180. package/functions/snarkjs/generateZkProof.d.mts +5 -0
  181. package/functions/snarkjs/generateZkProofEnclave.d.mts +5 -0
  182. package/functions/snarkjs/generateZkProofSelf.d.mts +5 -0
  183. package/functions/snarkjs/getZKFiles.d.mts +2 -0
  184. package/functions/snarkjs/index.d.mts +4 -0
  185. package/functions/staking/index.d.mts +11 -0
  186. package/functions/utils/amounts.utils.d.mts +21 -0
  187. package/functions/utils/axelar.utils.d.mts +2 -0
  188. package/functions/utils/cacheDevice.utils.d.mts +3 -0
  189. package/functions/utils/cacheFunctions.d.mts +17 -0
  190. package/functions/utils/caseInsensitive.utils.d.mts +3 -0
  191. package/functions/utils/convertIntegrationProviderToExternalActionId.d.mts +2 -0
  192. package/functions/utils/create-provider.d.mts +2 -0
  193. package/functions/utils/enum.utils.d.mts +9 -0
  194. package/functions/utils/erc20tokenFunctions.d.mts +4 -0
  195. package/functions/utils/evmNetworkFunctions.d.mts +4 -0
  196. package/functions/utils/external-action.utils.d.mts +8 -0
  197. package/functions/utils/getDataFromTransaction.d.mts +45 -0
  198. package/functions/utils/index.d.mts +21 -0
  199. package/functions/utils/memoize.utils.d.mts +1 -0
  200. package/functions/utils/nickname.utils.d.mts +1 -0
  201. package/functions/utils/process.utils.d.mts +7 -0
  202. package/functions/utils/reloadPage.d.mts +1 -0
  203. package/functions/utils/requireEnv.d.mts +1 -0
  204. package/functions/utils/resolve-sync.utils.d.mts +6 -0
  205. package/functions/utils/serialize.utils.d.mts +1 -0
  206. package/functions/utils/string.utils.d.mts +8 -0
  207. package/functions/utils/time.utils.d.mts +1 -0
  208. package/functions/utils/userAgent.d.mts +2 -0
  209. package/functions/utils/volatile-patcher.utils.d.mts +1 -0
  210. package/functions/web3/etherFunctions.d.mts +20 -0
  211. package/functions/web3/events/balanceChangedHandler.d.mts +1 -0
  212. package/functions/web3/events/getInputUtxoAndBalance.d.mts +24 -0
  213. package/functions/web3/events/getShieldedBalance.cjs +2 -2
  214. package/functions/web3/events/getShieldedBalance.d.mts +18 -0
  215. package/functions/web3/events/getShieldedBalance.mjs +66 -58
  216. package/functions/web3/events/index.d.mts +4 -0
  217. package/functions/web3/events/web3RetrieveEvents.d.mts +14 -0
  218. package/functions/web3/functionCalls/accessTokenCalls.d.mts +6 -0
  219. package/functions/web3/functionCalls/approveToken.d.mts +4 -0
  220. package/functions/web3/functionCalls/estimateGasRelayer.d.mts +4 -0
  221. package/functions/web3/functionCalls/getRootHash.d.mts +2 -0
  222. package/functions/web3/functionCalls/relayFunctions.d.mts +17 -0
  223. package/functions/web3/functionCalls/transactCallDirect.d.mts +6 -0
  224. package/functions/web3/functionCalls/transactCallRelayer.d.mts +7 -0
  225. package/functions/web3/getContractMetadata.d.mts +5 -0
  226. package/functions/web3/index.d.mts +6 -0
  227. package/functions/web3/odosAPI.d.mts +5 -0
  228. package/functions/web3/oneInchAPI.d.mts +5 -0
  229. package/functions/web3/runContractFunction.d.mts +15 -0
  230. package/functions/web3/uniswapAPI.d.mts +16 -0
  231. package/index.d.mts +8 -0
  232. package/package.json +42 -11
  233. package/providers/EthersProviderAdapter.d.mts +39 -0
  234. package/providers/WagmiProviderAdapter.d.mts +46 -0
  235. package/providers/exportProviers.d.mts +3 -0
  236. package/providers/prepareEthersHinkal.d.mts +4 -0
  237. package/providers/prepareWagmiHinkal.d.mts +3 -0
  238. package/types/API.types.d.mts +23 -0
  239. package/types/ICacheDevice.d.mts +4 -0
  240. package/types/IMultiThreadedUtxoUtils.d.mts +8 -0
  241. package/types/admin.types.d.mts +22 -0
  242. package/types/axelar.types.d.mts +14 -0
  243. package/types/beefy.types.d.mts +11 -0
  244. package/types/big-intable.types.d.mts +2 -0
  245. package/types/circom-data.types.d.mts +70 -0
  246. package/types/coingecko.types.d.mts +8 -0
  247. package/types/commitments.types.d.mts +26 -0
  248. package/types/connext.types.d.mts +13 -0
  249. package/types/crypto.types.d.mts +7 -0
  250. package/types/curve.types.d.mts +133 -0
  251. package/types/duneAPI.types.d.mts +9 -0
  252. package/types/ethereum-network.types.d.mts +142 -0
  253. package/types/external-action.types.d.mts +28 -0
  254. package/types/hinkal.stake.types.d.mts +11 -0
  255. package/types/hinkal.types.d.mts +150 -0
  256. package/types/hinkalTvl.types.d.mts +4 -0
  257. package/types/index.d.mts +27 -0
  258. package/types/kyc.types.d.mts +39 -0
  259. package/types/pendle.api.types.d.mts +233 -0
  260. package/types/pendle.types.d.mts +222 -0
  261. package/types/relayer.types.d.mts +25 -0
  262. package/types/remote-proof.types.d.mts +15 -0
  263. package/types/rewards.types.d.mts +230 -0
  264. package/types/slippage.types.d.mts +15 -0
  265. package/types/snark.types.d.mts +40 -0
  266. package/types/time.types.d.mts +31 -0
  267. package/types/token.types.d.mts +36 -0
  268. package/types/transactions.types.d.mts +55 -0
  269. package/webworker/performTaskWithWorker.d.mts +5 -0
  270. package/webworker/snarkjsWorker/snarkjsWorker.types.d.mts +14 -0
  271. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.d.mts +1 -0
  272. package/webworker/snarkjsWorker/snarkjsWorkerLogic.d.mts +10 -0
  273. package/webworker/utxoWorker/utxoWorker.types.d.mts +29 -0
  274. package/webworker/utxoWorker/utxoWorkerLauncher.d.mts +1 -0
  275. package/webworker/utxoWorker/utxoWorkerLogic.d.mts +8 -0
  276. package/webworker/viteWorkerURL.constant.d.mts +9 -0
  277. package/webworker/worker.registry.d.mts +10 -0
  278. package/webworker/worker.types.d.mts +33 -0
  279. package/webworker/workerErrorHandler.d.mts +1 -0
  280. package/webworker/workerFactory.d.mts +7 -0
  281. package/webworker/workerProxy.d.mts +40 -0
  282. package/webworker/zkProofWorker/zkProofWorker.types.d.mts +38 -0
  283. package/webworker/zkProofWorker/zkProofWorkerLauncher.d.mts +1 -0
  284. package/webworker/zkProofWorker/zkProofWorkerLogic.d.mts +8 -0
@@ -0,0 +1,38 @@
1
+ export declare const abi: ({
2
+ inputs: never[];
3
+ payable: boolean;
4
+ stateMutability: string;
5
+ type: string;
6
+ anonymous?: undefined;
7
+ name?: undefined;
8
+ constant?: undefined;
9
+ outputs?: undefined;
10
+ } | {
11
+ anonymous: boolean;
12
+ inputs: {
13
+ indexed: boolean;
14
+ name: string;
15
+ type: string;
16
+ }[];
17
+ name: string;
18
+ type: string;
19
+ payable?: undefined;
20
+ stateMutability?: undefined;
21
+ constant?: undefined;
22
+ outputs?: undefined;
23
+ } | {
24
+ constant: boolean;
25
+ inputs: {
26
+ name: string;
27
+ type: string;
28
+ }[];
29
+ name: string;
30
+ outputs: {
31
+ name: string;
32
+ type: string;
33
+ }[];
34
+ payable: boolean;
35
+ stateMutability: string;
36
+ type: string;
37
+ anonymous?: undefined;
38
+ })[];
@@ -0,0 +1,45 @@
1
+ export declare const abi: ({
2
+ inputs: {
3
+ internalType: string;
4
+ name: string;
5
+ type: string;
6
+ }[];
7
+ payable: boolean;
8
+ stateMutability: string;
9
+ type: string;
10
+ anonymous?: undefined;
11
+ name?: undefined;
12
+ constant?: undefined;
13
+ outputs?: undefined;
14
+ } | {
15
+ anonymous: boolean;
16
+ inputs: {
17
+ indexed: boolean;
18
+ internalType: string;
19
+ name: string;
20
+ type: string;
21
+ }[];
22
+ name: string;
23
+ type: string;
24
+ payable?: undefined;
25
+ stateMutability?: undefined;
26
+ constant?: undefined;
27
+ outputs?: undefined;
28
+ } | {
29
+ constant: boolean;
30
+ inputs: {
31
+ internalType: string;
32
+ name: string;
33
+ type: string;
34
+ }[];
35
+ name: string;
36
+ outputs: {
37
+ internalType: string;
38
+ name: string;
39
+ type: string;
40
+ }[];
41
+ payable: boolean;
42
+ stateMutability: string;
43
+ type: string;
44
+ anonymous?: undefined;
45
+ })[];
@@ -0,0 +1 @@
1
+ export { abi as ERC20ABI } from '@openzeppelin/contracts/build/contracts/IERC20Metadata.json';
@@ -0,0 +1,35 @@
1
+ export declare const abi: ({
2
+ inputs: never[];
3
+ stateMutability: string;
4
+ type: string;
5
+ anonymous?: undefined;
6
+ name?: undefined;
7
+ outputs?: undefined;
8
+ } | {
9
+ anonymous: boolean;
10
+ inputs: {
11
+ indexed: boolean;
12
+ internalType: string;
13
+ name: string;
14
+ type: string;
15
+ }[];
16
+ name: string;
17
+ type: string;
18
+ stateMutability?: undefined;
19
+ outputs?: undefined;
20
+ } | {
21
+ inputs: {
22
+ internalType: string;
23
+ name: string;
24
+ type: string;
25
+ }[];
26
+ name: string;
27
+ outputs: {
28
+ internalType: string;
29
+ name: string;
30
+ type: string;
31
+ }[];
32
+ stateMutability: string;
33
+ type: string;
34
+ anonymous?: undefined;
35
+ })[];
@@ -0,0 +1,28 @@
1
+ export declare const abi: ({
2
+ anonymous: boolean;
3
+ inputs: {
4
+ indexed: boolean;
5
+ internalType: string;
6
+ name: string;
7
+ type: string;
8
+ }[];
9
+ name: string;
10
+ type: string;
11
+ outputs?: undefined;
12
+ stateMutability?: undefined;
13
+ } | {
14
+ inputs: {
15
+ internalType: string;
16
+ name: string;
17
+ type: string;
18
+ }[];
19
+ name: string;
20
+ outputs: {
21
+ internalType: string;
22
+ name: string;
23
+ type: string;
24
+ }[];
25
+ stateMutability: string;
26
+ type: string;
27
+ anonymous?: undefined;
28
+ })[];
@@ -0,0 +1,28 @@
1
+ export declare const abi: ({
2
+ anonymous: boolean;
3
+ inputs: {
4
+ indexed: boolean;
5
+ internalType: string;
6
+ name: string;
7
+ type: string;
8
+ }[];
9
+ name: string;
10
+ type: string;
11
+ outputs?: undefined;
12
+ stateMutability?: undefined;
13
+ } | {
14
+ inputs: {
15
+ internalType: string;
16
+ name: string;
17
+ type: string;
18
+ }[];
19
+ name: string;
20
+ outputs: {
21
+ internalType: string;
22
+ name: string;
23
+ type: string;
24
+ }[];
25
+ stateMutability: string;
26
+ type: string;
27
+ anonymous?: undefined;
28
+ })[];
@@ -0,0 +1,49 @@
1
+ export declare const abi: ({
2
+ name: string;
3
+ inputs: {
4
+ name: string;
5
+ type: string;
6
+ indexed: boolean;
7
+ }[];
8
+ anonymous: boolean;
9
+ type: string;
10
+ stateMutability?: undefined;
11
+ outputs?: undefined;
12
+ gas?: undefined;
13
+ } | {
14
+ stateMutability: string;
15
+ type: string;
16
+ inputs: never[];
17
+ outputs: never[];
18
+ name?: undefined;
19
+ anonymous?: undefined;
20
+ gas?: undefined;
21
+ } | {
22
+ stateMutability: string;
23
+ type: string;
24
+ name: string;
25
+ inputs: {
26
+ name: string;
27
+ type: string;
28
+ }[];
29
+ outputs: {
30
+ name: string;
31
+ type: string;
32
+ }[];
33
+ gas: string;
34
+ anonymous?: undefined;
35
+ } | {
36
+ stateMutability: string;
37
+ type: string;
38
+ name: string;
39
+ inputs: {
40
+ name: string;
41
+ type: string;
42
+ }[];
43
+ outputs: {
44
+ name: string;
45
+ type: string;
46
+ }[];
47
+ anonymous?: undefined;
48
+ gas?: undefined;
49
+ })[];
@@ -0,0 +1,41 @@
1
+ export declare const abi: ({
2
+ constant: boolean;
3
+ inputs: {
4
+ name: string;
5
+ type: string;
6
+ }[];
7
+ name: string;
8
+ outputs: {
9
+ name: string;
10
+ type: string;
11
+ }[];
12
+ payable: boolean;
13
+ stateMutability: string;
14
+ type: string;
15
+ anonymous?: undefined;
16
+ } | {
17
+ inputs: {
18
+ name: string;
19
+ type: string;
20
+ }[];
21
+ payable: boolean;
22
+ stateMutability: string;
23
+ type: string;
24
+ constant?: undefined;
25
+ name?: undefined;
26
+ outputs?: undefined;
27
+ anonymous?: undefined;
28
+ } | {
29
+ anonymous: boolean;
30
+ inputs: {
31
+ indexed: boolean;
32
+ name: string;
33
+ type: string;
34
+ }[];
35
+ name: string;
36
+ type: string;
37
+ constant?: undefined;
38
+ outputs?: undefined;
39
+ payable?: undefined;
40
+ stateMutability?: undefined;
41
+ })[];
@@ -0,0 +1,38 @@
1
+ export declare const abi: ({
2
+ constant: boolean;
3
+ inputs: {
4
+ name: string;
5
+ type: string;
6
+ }[];
7
+ name: string;
8
+ outputs: {
9
+ name: string;
10
+ type: string;
11
+ }[];
12
+ payable: boolean;
13
+ stateMutability: string;
14
+ type: string;
15
+ anonymous?: undefined;
16
+ } | {
17
+ payable: boolean;
18
+ stateMutability: string;
19
+ type: string;
20
+ constant?: undefined;
21
+ inputs?: undefined;
22
+ name?: undefined;
23
+ outputs?: undefined;
24
+ anonymous?: undefined;
25
+ } | {
26
+ anonymous: boolean;
27
+ inputs: {
28
+ indexed: boolean;
29
+ name: string;
30
+ type: string;
31
+ }[];
32
+ name: string;
33
+ type: string;
34
+ constant?: undefined;
35
+ outputs?: undefined;
36
+ payable?: undefined;
37
+ stateMutability?: undefined;
38
+ })[];
@@ -0,0 +1,28 @@
1
+ export declare const abi: ({
2
+ anonymous: boolean;
3
+ inputs: {
4
+ indexed: boolean;
5
+ internalType: string;
6
+ name: string;
7
+ type: string;
8
+ }[];
9
+ name: string;
10
+ type: string;
11
+ outputs?: undefined;
12
+ stateMutability?: undefined;
13
+ } | {
14
+ inputs: {
15
+ internalType: string;
16
+ name: string;
17
+ type: string;
18
+ }[];
19
+ name: string;
20
+ outputs: {
21
+ internalType: string;
22
+ name: string;
23
+ type: string;
24
+ }[];
25
+ stateMutability: string;
26
+ type: string;
27
+ anonymous?: undefined;
28
+ })[];
@@ -0,0 +1,38 @@
1
+ export declare const crvFRAXABI: ({
2
+ name: string;
3
+ inputs: {
4
+ name: string;
5
+ type: string;
6
+ indexed: boolean;
7
+ }[];
8
+ anonymous: boolean;
9
+ type: string;
10
+ stateMutability?: undefined;
11
+ outputs?: undefined;
12
+ gas?: undefined;
13
+ } | {
14
+ stateMutability: string;
15
+ type: string;
16
+ inputs: {
17
+ name: string;
18
+ type: string;
19
+ }[];
20
+ outputs: never[];
21
+ name?: undefined;
22
+ anonymous?: undefined;
23
+ gas?: undefined;
24
+ } | {
25
+ stateMutability: string;
26
+ type: string;
27
+ name: string;
28
+ inputs: {
29
+ name: string;
30
+ type: string;
31
+ }[];
32
+ outputs: {
33
+ name: string;
34
+ type: string;
35
+ }[];
36
+ gas: number;
37
+ anonymous?: undefined;
38
+ })[];
@@ -0,0 +1,323 @@
1
+ import { abi as AmTokenABI } from './amToken';
2
+ import { abi as BUSDABI } from './BUSD';
3
+ import { abi as daiABI } from './DAI';
4
+ import { abi as sanctionsListABI } from './SanctionsList';
5
+ import { abi as USDCABI } from './USDC';
6
+ import { abi as USDRABI } from './USDR';
7
+ import { abi as USDR3CRVABI } from './USDR3CRV';
8
+ import { abi as USDTABI } from './USDT';
9
+ import { abi as WETHABI } from './WETH';
10
+ import lidoStEthAbi from './LidoStEthAbi.json';
11
+ import lidoStMaticAbi from './LidoStMaticAbi.json';
12
+ import lidoWithdrawalQueueERC721Abi from './LidoWithdrawalQueueERC721Abi.json';
13
+ import poLidoNftAbi from './PoLidoNftAbi.json';
14
+ import lidoWstEthAbi from './LidoWstEthAbi.json';
15
+ import lidoStakeManagerAbi from './LidoStakeManagerAbi.json';
16
+ import optimismGasPriceOracleAbi from './OptimismGasPriceOracle.json';
17
+ declare const BeefyVaultABI: ({
18
+ anonymous: boolean;
19
+ inputs: {
20
+ indexed: boolean;
21
+ internalType: string;
22
+ name: string;
23
+ type: string;
24
+ }[];
25
+ name: string;
26
+ type: string;
27
+ outputs?: undefined;
28
+ stateMutability?: undefined;
29
+ } | {
30
+ inputs: {
31
+ internalType: string;
32
+ name: string;
33
+ type: string;
34
+ }[];
35
+ name: string;
36
+ outputs: {
37
+ internalType: string;
38
+ name: string;
39
+ type: string;
40
+ }[];
41
+ stateMutability: string;
42
+ type: string;
43
+ anonymous?: undefined;
44
+ })[];
45
+ declare const CurveReadingWrapperABI: ({
46
+ name: string;
47
+ inputs: {
48
+ name: string;
49
+ type: string;
50
+ indexed: boolean;
51
+ }[];
52
+ anonymous: boolean;
53
+ type: string;
54
+ stateMutability?: undefined;
55
+ outputs?: undefined;
56
+ } | {
57
+ stateMutability: string;
58
+ type: string;
59
+ inputs: {
60
+ name: string;
61
+ type: string;
62
+ }[];
63
+ outputs: never[];
64
+ name?: undefined;
65
+ anonymous?: undefined;
66
+ } | {
67
+ stateMutability: string;
68
+ type: string;
69
+ name?: undefined;
70
+ inputs?: undefined;
71
+ anonymous?: undefined;
72
+ outputs?: undefined;
73
+ } | {
74
+ stateMutability: string;
75
+ type: string;
76
+ name: string;
77
+ inputs: {
78
+ name: string;
79
+ type: string;
80
+ }[];
81
+ outputs: {
82
+ name: string;
83
+ type: string;
84
+ }[];
85
+ anonymous?: undefined;
86
+ })[];
87
+ declare const CurveWrappedMainPoolABI: ({
88
+ name: string;
89
+ inputs: {
90
+ name: string;
91
+ type: string;
92
+ indexed: boolean;
93
+ }[];
94
+ anonymous: boolean;
95
+ type: string;
96
+ stateMutability?: undefined;
97
+ outputs?: undefined;
98
+ } | {
99
+ stateMutability: string;
100
+ type: string;
101
+ inputs: {
102
+ name: string;
103
+ type: string;
104
+ }[];
105
+ outputs: never[];
106
+ name?: undefined;
107
+ anonymous?: undefined;
108
+ } | {
109
+ stateMutability: string;
110
+ type: string;
111
+ name: string;
112
+ inputs: {
113
+ name: string;
114
+ type: string;
115
+ }[];
116
+ outputs: {
117
+ name: string;
118
+ type: string;
119
+ }[];
120
+ anonymous?: undefined;
121
+ })[];
122
+ declare const ERC20ABI: ({
123
+ inputs: {
124
+ internalType: string;
125
+ name: string;
126
+ type: string;
127
+ }[];
128
+ stateMutability: string;
129
+ type: string;
130
+ anonymous?: undefined;
131
+ name?: undefined;
132
+ outputs?: undefined;
133
+ } | {
134
+ anonymous: boolean;
135
+ inputs: {
136
+ indexed: boolean;
137
+ internalType: string;
138
+ name: string;
139
+ type: string;
140
+ }[];
141
+ name: string;
142
+ type: string;
143
+ stateMutability?: undefined;
144
+ outputs?: undefined;
145
+ } | {
146
+ inputs: {
147
+ internalType: string;
148
+ name: string;
149
+ type: string;
150
+ }[];
151
+ name: string;
152
+ outputs: {
153
+ internalType: string;
154
+ name: string;
155
+ type: string;
156
+ }[];
157
+ stateMutability: string;
158
+ type: string;
159
+ anonymous?: undefined;
160
+ })[];
161
+ declare const quoterV2ABI: ({
162
+ inputs: {
163
+ internalType: string;
164
+ name: string;
165
+ type: string;
166
+ }[];
167
+ name: string;
168
+ outputs: {
169
+ internalType: string;
170
+ name: string;
171
+ type: string;
172
+ }[];
173
+ stateMutability: string;
174
+ type: string;
175
+ } | {
176
+ inputs: {
177
+ components: {
178
+ internalType: string;
179
+ name: string;
180
+ type: string;
181
+ }[];
182
+ internalType: string;
183
+ name: string;
184
+ type: string;
185
+ }[];
186
+ name: string;
187
+ outputs: {
188
+ internalType: string;
189
+ name: string;
190
+ type: string;
191
+ }[];
192
+ stateMutability: string;
193
+ type: string;
194
+ })[];
195
+ declare const factoryABI: ({
196
+ anonymous: boolean;
197
+ inputs: {
198
+ indexed: boolean;
199
+ internalType: string;
200
+ name: string;
201
+ type: string;
202
+ }[];
203
+ name: string;
204
+ type: string;
205
+ outputs?: undefined;
206
+ stateMutability?: undefined;
207
+ } | {
208
+ inputs: {
209
+ internalType: string;
210
+ name: string;
211
+ type: string;
212
+ }[];
213
+ name: string;
214
+ outputs: {
215
+ internalType: string;
216
+ name: string;
217
+ type: string;
218
+ }[];
219
+ stateMutability: string;
220
+ type: string;
221
+ anonymous?: undefined;
222
+ })[];
223
+ declare const ISwapRouterABI: ({
224
+ inputs: {
225
+ internalType: string;
226
+ name: string;
227
+ type: string;
228
+ }[];
229
+ stateMutability: string;
230
+ type: string;
231
+ name?: undefined;
232
+ outputs?: undefined;
233
+ } | {
234
+ inputs: {
235
+ components: {
236
+ internalType: string;
237
+ name: string;
238
+ type: string;
239
+ }[];
240
+ internalType: string;
241
+ name: string;
242
+ type: string;
243
+ }[];
244
+ name: string;
245
+ outputs: {
246
+ internalType: string;
247
+ name: string;
248
+ type: string;
249
+ }[];
250
+ stateMutability: string;
251
+ type: string;
252
+ } | {
253
+ inputs: {
254
+ internalType: string;
255
+ name: string;
256
+ type: string;
257
+ }[];
258
+ name: string;
259
+ outputs: {
260
+ internalType: string;
261
+ name: string;
262
+ type: string;
263
+ }[];
264
+ stateMutability: string;
265
+ type: string;
266
+ } | {
267
+ stateMutability: string;
268
+ type: string;
269
+ inputs?: undefined;
270
+ name?: undefined;
271
+ outputs?: undefined;
272
+ })[];
273
+ declare const transactionProverABI: {
274
+ inputs: {
275
+ internalType: string;
276
+ name: string;
277
+ type: string;
278
+ }[];
279
+ name: string;
280
+ outputs: {
281
+ internalType: string;
282
+ name: string;
283
+ type: string;
284
+ }[];
285
+ stateMutability: string;
286
+ type: string;
287
+ }[];
288
+ declare const BabABI: {
289
+ inputs: {
290
+ internalType: string;
291
+ name: string;
292
+ type: string;
293
+ }[];
294
+ name: string;
295
+ outputs: {
296
+ internalType: string;
297
+ name: string;
298
+ type: string;
299
+ }[];
300
+ stateMutability: string;
301
+ type: string;
302
+ }[];
303
+ declare const GalxeABI: {
304
+ inputs: {
305
+ internalType: string;
306
+ name: string;
307
+ type: string;
308
+ }[];
309
+ name: string;
310
+ outputs: {
311
+ components: {
312
+ internalType: string;
313
+ name: string;
314
+ type: string;
315
+ }[];
316
+ internalType: string;
317
+ name: string;
318
+ type: string;
319
+ }[];
320
+ stateMutability: string;
321
+ type: string;
322
+ }[];
323
+ export { CurveWrappedMainPoolABI, CurveReadingWrapperABI, quoterV2ABI, factoryABI, AmTokenABI, BeefyVaultABI, ERC20ABI, USDCABI, daiABI, USDRABI, USDR3CRVABI, USDTABI, WETHABI, BUSDABI, sanctionsListABI, lidoStEthAbi, lidoStMaticAbi, lidoWithdrawalQueueERC721Abi, lidoWstEthAbi, poLidoNftAbi, lidoStakeManagerAbi, transactionProverABI, BabABI, GalxeABI, optimismGasPriceOracleAbi, ISwapRouterABI, };