@paraswap/dex-lib 4.0.17 → 4.0.19

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 (312) hide show
  1. package/.vscode/launch.json +53 -0
  2. package/.vscode/settings.json +2 -0
  3. package/.vscode/tasks.json +15 -0
  4. package/build/abi/aavev3statav2/Factory.json +131 -0
  5. package/build/abi/aavev3statav2/Pool.json +1459 -0
  6. package/build/abi/aavev3statav2/Token.json +997 -0
  7. package/build/abi/uniswap-v3/AlienBaseV3Router.abi.json +52 -0
  8. package/build/abi/usual-m-smart-m/usualM.abi.json +483 -0
  9. package/build/abi/{USDM.json → usual-pp/abi.json} +269 -326
  10. package/build/abi/{angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json → wombat/pool.json} +637 -594
  11. package/build/dex/aave-gsm/config.js +2 -2
  12. package/build/dex/aave-gsm/config.js.map +1 -1
  13. package/build/dex/aave-v1/aave-v1.js +1 -0
  14. package/build/dex/aave-v1/aave-v1.js.map +1 -1
  15. package/build/dex/aave-v2/tokenlist.json +904 -0
  16. package/build/dex/aave-v2/tokens-avalanche.json +44 -0
  17. package/build/dex/aave-v2/tokens-mainnet.json +188 -0
  18. package/build/dex/aave-v2/tokens-polygon.json +44 -0
  19. package/build/dex/aave-v2/tokens.js +6 -4
  20. package/build/dex/aave-v2/tokens.js.map +1 -1
  21. package/build/dex/aave-v3/config.js +6 -6
  22. package/build/dex/aave-v3/config.js.map +1 -1
  23. package/build/dex/aave-v3-stata-v2/aave-v3-stata-v2.d.ts +49 -0
  24. package/build/dex/aave-v3-stata-v2/aave-v3-stata-v2.js +377 -0
  25. package/build/dex/aave-v3-stata-v2/aave-v3-stata-v2.js.map +1 -0
  26. package/build/dex/aave-v3-stata-v2/config.d.ts +3 -0
  27. package/build/dex/aave-v3-stata-v2/config.js +21 -0
  28. package/build/dex/aave-v3-stata-v2/config.js.map +1 -0
  29. package/build/dex/aave-v3-stata-v2/tokens.d.ts +10 -0
  30. package/build/dex/aave-v3-stata-v2/tokens.js +43 -0
  31. package/build/dex/aave-v3-stata-v2/tokens.js.map +1 -0
  32. package/build/dex/aave-v3-stata-v2/types.d.ts +35 -0
  33. package/build/dex/aave-v3-stata-v2/types.js +25 -0
  34. package/build/dex/aave-v3-stata-v2/types.js.map +1 -0
  35. package/build/dex/aave-v3-stata-v2/utils.d.ts +4 -0
  36. package/build/dex/aave-v3-stata-v2/utils.js +67 -0
  37. package/build/dex/aave-v3-stata-v2/utils.js.map +1 -0
  38. package/build/dex/bProtocol.d.ts +18 -0
  39. package/build/dex/bProtocol.js +39 -0
  40. package/build/dex/bProtocol.js.map +1 -0
  41. package/build/dex/balancer-v3/abi/balancerBatchRouter.d.ts +729 -0
  42. package/build/dex/balancer-v3/abi/balancerBatchRouter.js +732 -0
  43. package/build/dex/balancer-v3/abi/balancerBatchRouter.js.map +1 -0
  44. package/build/dex/balancer-v3/abi/balancerRouter.d.ts +1406 -0
  45. package/build/dex/balancer-v3/abi/balancerRouter.js +1175 -0
  46. package/build/dex/balancer-v3/abi/balancerRouter.js.map +1 -0
  47. package/build/dex/balancer-v3/abi/vaultExtension.V3.d.ts +2081 -0
  48. package/build/dex/balancer-v3/abi/vaultExtension.V3.js +1851 -0
  49. package/build/dex/balancer-v3/abi/vaultExtension.V3.js.map +1 -0
  50. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.d.ts +34 -0
  51. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js +406 -0
  52. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js.map +1 -0
  53. package/build/dex/bancor.d.ts +26 -0
  54. package/build/dex/bancor.js +58 -0
  55. package/build/dex/bancor.js.map +1 -0
  56. package/build/dex/compound.d.ts +18 -0
  57. package/build/dex/compound.js +46 -0
  58. package/build/dex/compound.js.map +1 -0
  59. package/build/dex/curve-v2.d.ts +58 -0
  60. package/build/dex/curve-v2.js +180 -0
  61. package/build/dex/curve-v2.js.map +1 -0
  62. package/build/dex/dodo-v1.d.ts +33 -0
  63. package/build/dex/dodo-v1.js +63 -0
  64. package/build/dex/dodo-v1.js.map +1 -0
  65. package/build/dex/inception/inception-event-pool.d.ts +4 -4
  66. package/build/dex/inception/inception-event-pool.js +7 -9
  67. package/build/dex/inception/inception-event-pool.js.map +1 -1
  68. package/build/dex/inception/inception.d.ts +6 -6
  69. package/build/dex/inception/inception.js +16 -40
  70. package/build/dex/inception/inception.js.map +1 -1
  71. package/build/dex/inception/utils.d.ts +1 -0
  72. package/build/dex/inception/utils.js +22 -1
  73. package/build/dex/inception/utils.js.map +1 -1
  74. package/build/dex/index.js +4 -0
  75. package/build/dex/index.js.map +1 -1
  76. package/build/dex/lido.d.ts +19 -0
  77. package/build/dex/lido.js +42 -0
  78. package/build/dex/lido.js.map +1 -0
  79. package/build/dex/maker-psm/scripts/gem.abi.json +136 -0
  80. package/build/dex/maker-psm/scripts/validate-state.d.ts +0 -0
  81. package/build/dex/maker-psm/scripts/validate-state.js +185 -0
  82. package/build/dex/maker-psm/scripts/validate-state.js.map +1 -0
  83. package/build/dex/maker-psm/scripts/vat.abi.json +243 -0
  84. package/build/dex/onebit.d.ts +25 -0
  85. package/build/dex/onebit.js +42 -0
  86. package/build/dex/onebit.js.map +1 -0
  87. package/build/dex/platypus/platypus.js +17 -3
  88. package/build/dex/platypus/platypus.js.map +1 -1
  89. package/build/dex/smoothy.d.ts +26 -0
  90. package/build/dex/smoothy.js +48 -0
  91. package/build/dex/smoothy.js.map +1 -0
  92. package/build/dex/solidly-v3/scripts/check-event-pool-event.d.ts +1 -0
  93. package/build/dex/solidly-v3/scripts/check-event-pool-event.js +53 -0
  94. package/build/dex/solidly-v3/scripts/check-event-pool-event.js.map +1 -0
  95. package/build/dex/stable-pool.d.ts +28 -0
  96. package/build/dex/stable-pool.js +55 -0
  97. package/build/dex/stable-pool.js.map +1 -0
  98. package/build/dex/stkgho/config.js +2 -2
  99. package/build/dex/stkgho/config.js.map +1 -1
  100. package/build/dex/swaap-v1/swaap-v1.js +4 -0
  101. package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
  102. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.d.ts +7 -0
  103. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js +20 -0
  104. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js.map +1 -0
  105. package/build/dex/trader-joe-v2.1.d.ts +43 -0
  106. package/build/dex/trader-joe-v2.1.js +79 -0
  107. package/build/dex/trader-joe-v2.1.js.map +1 -0
  108. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.d.ts +17 -0
  109. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js +64 -0
  110. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js.map +1 -0
  111. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.d.ts +17 -0
  112. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js +79 -0
  113. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js.map +1 -0
  114. package/build/dex/uniswap-v3/uniswap-v3-pricing.d.ts +4 -0
  115. package/build/dex/uniswap-v3/uniswap-v3-pricing.js +43 -0
  116. package/build/dex/uniswap-v3/uniswap-v3-pricing.js.map +1 -0
  117. package/build/dex/uniswap-v3/uniswap-v3-worker.d.ts +1 -0
  118. package/build/dex/uniswap-v3/uniswap-v3-worker.js +10 -0
  119. package/build/dex/uniswap-v3/uniswap-v3-worker.js.map +1 -0
  120. package/build/dex/usual/usual-m-smart-m.d.ts +17 -0
  121. package/build/dex/usual/usual-m-smart-m.js +50 -0
  122. package/build/dex/usual/usual-m-smart-m.js.map +1 -0
  123. package/build/dex/usual/usual.js +1 -1
  124. package/build/dex/usual/usual.js.map +1 -1
  125. package/build/dex/usual-m-smart-m/config.d.ts +3 -0
  126. package/build/dex/usual-m-smart-m/config.js +13 -0
  127. package/build/dex/usual-m-smart-m/config.js.map +1 -0
  128. package/build/dex/usual-m-smart-m/types.d.ts +7 -0
  129. package/build/dex/usual-m-smart-m/types.js +3 -0
  130. package/build/dex/usual-m-smart-m/types.js.map +1 -0
  131. package/build/dex/usual-m-smart-m/usual-m-smart-m.d.ts +35 -0
  132. package/build/dex/usual-m-smart-m/usual-m-smart-m.js +161 -0
  133. package/build/dex/usual-m-smart-m/usual-m-smart-m.js.map +1 -0
  134. package/build/dex/usual-m-usd0/config.d.ts +3 -0
  135. package/build/dex/usual-m-usd0/config.js +14 -0
  136. package/build/dex/usual-m-usd0/config.js.map +1 -0
  137. package/build/dex/usual-m-usd0/types.d.ts +8 -0
  138. package/build/dex/usual-m-usd0/types.js +3 -0
  139. package/build/dex/usual-m-usd0/types.js.map +1 -0
  140. package/build/dex/usual-m-usd0/usual-m-usd0.d.ts +35 -0
  141. package/build/dex/usual-m-usd0/usual-m-usd0.js +159 -0
  142. package/build/dex/usual-m-usd0/usual-m-usd0.js.map +1 -0
  143. package/build/dex/usual-pp/config.d.ts +3 -0
  144. package/build/dex/usual-pp/config.js +19 -0
  145. package/build/dex/usual-pp/config.js.map +1 -0
  146. package/build/dex/usual-pp/pool.d.ts +17 -0
  147. package/build/dex/usual-pp/pool.js +57 -0
  148. package/build/dex/usual-pp/pool.js.map +1 -0
  149. package/build/dex/usual-pp/types.d.ts +15 -0
  150. package/build/dex/usual-pp/types.js +3 -0
  151. package/build/dex/usual-pp/types.js.map +1 -0
  152. package/build/dex/usual-pp/usual-pp.d.ts +35 -0
  153. package/build/dex/usual-pp/usual-pp.js +167 -0
  154. package/build/dex/usual-pp/usual-pp.js.map +1 -0
  155. package/build/dex/usual-pp/utils.d.ts +4 -0
  156. package/build/dex/usual-pp/utils.js +18 -0
  157. package/build/dex/usual-pp/utils.js.map +1 -0
  158. package/package.json +2 -2
  159. package/src/abi/aavev3statav2/Factory.json +131 -0
  160. package/src/abi/aavev3statav2/Pool.json +1459 -0
  161. package/src/abi/aavev3statav2/Token.json +997 -0
  162. package/src/abi/usual-pp/abi.json +750 -0
  163. package/src/dex/aave-gsm/config.ts +3 -3
  164. package/src/dex/aave-v2/tokenlist.json +904 -0
  165. package/src/dex/aave-v2/tokens.ts +3 -4
  166. package/src/dex/aave-v3/config.ts +6 -7
  167. package/src/dex/aave-v3-stata-v2/aave-v3-stata-v2-e2e.test.ts +397 -0
  168. package/src/dex/aave-v3-stata-v2/aave-v3-stata-v2-integration.test.ts +600 -0
  169. package/src/dex/aave-v3-stata-v2/aave-v3-stata-v2.ts +477 -0
  170. package/src/dex/aave-v3-stata-v2/config.ts +24 -0
  171. package/src/dex/aave-v3-stata-v2/tokens.ts +48 -0
  172. package/src/dex/aave-v3-stata-v2/types.ts +41 -0
  173. package/src/dex/aave-v3-stata-v2/utils.ts +88 -0
  174. package/src/dex/fluid-dex/fluid-dex-e2e.test.ts +0 -10
  175. package/src/dex/index.ts +4 -0
  176. package/src/dex/stkgho/config.ts +3 -3
  177. package/src/dex/usual/usual.ts +1 -1
  178. package/src/dex/usual-pp/config.ts +18 -0
  179. package/src/dex/usual-pp/pool.ts +77 -0
  180. package/src/dex/usual-pp/types.ts +12 -0
  181. package/src/dex/usual-pp/usual-events.test.ts +70 -0
  182. package/src/dex/usual-pp/usual-integration.test.ts +143 -0
  183. package/src/dex/usual-pp/usual-pp.e2e.test.ts +76 -0
  184. package/src/dex/usual-pp/usual-pp.ts +207 -0
  185. package/src/dex/usual-pp/utils.ts +27 -0
  186. package/tests/constants-e2e.ts +11 -1
  187. package/build/abi/Aave_GSM.json +0 -751
  188. package/build/abi/Balancer.json +0 -257
  189. package/build/abi/BalancerV2.json +0 -1179
  190. package/build/abi/RamsesV2Pool.abi.json +0 -1554
  191. package/build/abi/RamsesV2Quoter.abi.json +0 -274
  192. package/build/abi/UniswapV2Router.json +0 -397
  193. package/build/abi/angle-transmuter/ChainlinkEACAggregatorProxy.json +0 -509
  194. package/build/abi/curve-v1/CurveBUSDv2.abi.json +0 -1356
  195. package/build/abi/curve-v1/CurveTokenV1.json +0 -305
  196. package/build/abi/curve-v1/CurveTokenV2.json +0 -318
  197. package/build/abi/curve-v1/CurveV1StableNg.json +0 -1452
  198. package/build/abi/curve-v1/CurveV2Swap.json +0 -700
  199. package/build/abi/curve-v1/FactoryCryptoRegistry.json +0 -316
  200. package/build/abi/curve-v1/FactoryRegistry.json +0 -508
  201. package/build/abi/curve-v1/StableSwapAave.json +0 -1152
  202. package/build/abi/curve-v1/StableSwapBUSD.json +0 -814
  203. package/build/abi/curve-v1/StableSwapCompound.json +0 -814
  204. package/build/abi/curve-v1/StableSwapIDLE.json +0 -1253
  205. package/build/abi/curve-v1/StableSwapPax.json +0 -865
  206. package/build/abi/curve-v1/StableSwapSnow.json +0 -900
  207. package/build/abi/curve-v1/StableSwapUSDN.json +0 -1004
  208. package/build/abi/curve-v1/StableSwapUSDT.json +0 -814
  209. package/build/abi/curve-v1/StableSwapY.json +0 -814
  210. package/build/abi/inception/inception-ineth.json +0 -609
  211. package/build/abi/kyberdmm/kyber-storage.abi.json +0 -824
  212. package/build/abi/kyberdmm.abi.json +0 -1148
  213. package/build/abi/maverick-v2/MaverickV2Quoter.json +0 -278
  214. package/build/abi/nerve/nerve-metapool.json +0 -790
  215. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +0 -193
  216. package/build/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +0 -267
  217. package/build/dex/balancer-v1/balancer-pools.json +0 -33333
  218. package/build/dex/bebop/websocket-fetcher.d.ts +0 -35
  219. package/build/dex/bebop/websocket-fetcher.js +0 -87
  220. package/build/dex/bebop/websocket-fetcher.js.map +0 -1
  221. package/build/dex/idle-dao/idle-dao-pool.d.ts +0 -56
  222. package/build/dex/idle-dao/idle-dao-pool.js +0 -176
  223. package/build/dex/idle-dao/idle-dao-pool.js.map +0 -1
  224. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +0 -16
  225. package/build/dex/idle-dao/idle-dao-pooling-pool.js +0 -57
  226. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +0 -1
  227. package/build/dex/idle-dao/scripts.d.ts +0 -9
  228. package/build/dex/idle-dao/scripts.js +0 -552
  229. package/build/dex/idle-dao/scripts.js.map +0 -1
  230. package/build/dex/inception/inception-native.d.ts +0 -43
  231. package/build/dex/inception/inception-native.js +0 -131
  232. package/build/dex/inception/inception-native.js.map +0 -1
  233. package/build/dex/inception/inception-pool.d.ts +0 -18
  234. package/build/dex/inception/inception-pool.js +0 -32
  235. package/build/dex/inception/inception-pool.js.map +0 -1
  236. package/build/dex/inception/inception-price-feed.d.ts +0 -19
  237. package/build/dex/inception/inception-price-feed.js +0 -51
  238. package/build/dex/inception/inception-price-feed.js.map +0 -1
  239. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -16
  240. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -16
  241. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -16
  242. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -16
  243. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -16
  244. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -16
  245. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -16
  246. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -16
  247. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -9
  248. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -9
  249. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -9
  250. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +0 -9
  251. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +0 -9
  252. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -9
  253. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +0 -9
  254. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +0 -9
  255. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +0 -9
  256. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -12
  257. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -7
  258. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -7
  259. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -7
  260. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -7
  261. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -12
  262. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +0 -7
  263. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +0 -7
  264. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -78
  265. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -81
  266. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -78
  267. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -78
  268. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -81
  269. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -81
  270. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -81
  271. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -81
  272. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -64
  273. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -85
  274. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -64
  275. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +0 -52
  276. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +0 -52
  277. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -52
  278. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +0 -55
  279. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +0 -55
  280. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +0 -55
  281. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -23
  282. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -37
  283. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -23
  284. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -23
  285. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -51
  286. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +0 -58
  287. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -23
  288. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -23
  289. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -9
  290. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -16
  291. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -23
  292. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -12
  293. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -7
  294. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -12
  295. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -12
  296. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -7
  297. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +0 -7
  298. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -7
  299. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -7
  300. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -7
  301. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -7
  302. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -130
  303. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -136
  304. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -100
  305. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -100
  306. package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -166
  307. package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +0 -190
  308. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -114
  309. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -114
  310. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -55
  311. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -73
  312. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -82
@@ -0,0 +1,997 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ { "internalType": "contract IPool", "name": "pool", "type": "address" },
5
+ {
6
+ "internalType": "contract IRewardsController",
7
+ "name": "rewardsController",
8
+ "type": "address"
9
+ }
10
+ ],
11
+ "stateMutability": "nonpayable",
12
+ "type": "constructor"
13
+ },
14
+ {
15
+ "inputs": [
16
+ { "internalType": "address", "name": "target", "type": "address" }
17
+ ],
18
+ "name": "AddressEmptyCode",
19
+ "type": "error"
20
+ },
21
+ {
22
+ "inputs": [
23
+ { "internalType": "address", "name": "account", "type": "address" }
24
+ ],
25
+ "name": "AddressInsufficientBalance",
26
+ "type": "error"
27
+ },
28
+ { "inputs": [], "name": "ECDSAInvalidSignature", "type": "error" },
29
+ {
30
+ "inputs": [
31
+ { "internalType": "uint256", "name": "length", "type": "uint256" }
32
+ ],
33
+ "name": "ECDSAInvalidSignatureLength",
34
+ "type": "error"
35
+ },
36
+ {
37
+ "inputs": [{ "internalType": "bytes32", "name": "s", "type": "bytes32" }],
38
+ "name": "ECDSAInvalidSignatureS",
39
+ "type": "error"
40
+ },
41
+ {
42
+ "inputs": [
43
+ { "internalType": "address", "name": "spender", "type": "address" },
44
+ { "internalType": "uint256", "name": "allowance", "type": "uint256" },
45
+ { "internalType": "uint256", "name": "needed", "type": "uint256" }
46
+ ],
47
+ "name": "ERC20InsufficientAllowance",
48
+ "type": "error"
49
+ },
50
+ {
51
+ "inputs": [
52
+ { "internalType": "address", "name": "sender", "type": "address" },
53
+ { "internalType": "uint256", "name": "balance", "type": "uint256" },
54
+ { "internalType": "uint256", "name": "needed", "type": "uint256" }
55
+ ],
56
+ "name": "ERC20InsufficientBalance",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [
61
+ { "internalType": "address", "name": "approver", "type": "address" }
62
+ ],
63
+ "name": "ERC20InvalidApprover",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ { "internalType": "address", "name": "receiver", "type": "address" }
69
+ ],
70
+ "name": "ERC20InvalidReceiver",
71
+ "type": "error"
72
+ },
73
+ {
74
+ "inputs": [
75
+ { "internalType": "address", "name": "sender", "type": "address" }
76
+ ],
77
+ "name": "ERC20InvalidSender",
78
+ "type": "error"
79
+ },
80
+ {
81
+ "inputs": [
82
+ { "internalType": "address", "name": "spender", "type": "address" }
83
+ ],
84
+ "name": "ERC20InvalidSpender",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [
89
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" }
90
+ ],
91
+ "name": "ERC2612ExpiredSignature",
92
+ "type": "error"
93
+ },
94
+ {
95
+ "inputs": [
96
+ { "internalType": "address", "name": "signer", "type": "address" },
97
+ { "internalType": "address", "name": "owner", "type": "address" }
98
+ ],
99
+ "name": "ERC2612InvalidSigner",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "inputs": [
104
+ { "internalType": "address", "name": "receiver", "type": "address" },
105
+ { "internalType": "uint256", "name": "assets", "type": "uint256" },
106
+ { "internalType": "uint256", "name": "max", "type": "uint256" }
107
+ ],
108
+ "name": "ERC4626ExceededMaxDeposit",
109
+ "type": "error"
110
+ },
111
+ {
112
+ "inputs": [
113
+ { "internalType": "address", "name": "receiver", "type": "address" },
114
+ { "internalType": "uint256", "name": "shares", "type": "uint256" },
115
+ { "internalType": "uint256", "name": "max", "type": "uint256" }
116
+ ],
117
+ "name": "ERC4626ExceededMaxMint",
118
+ "type": "error"
119
+ },
120
+ {
121
+ "inputs": [
122
+ { "internalType": "address", "name": "owner", "type": "address" },
123
+ { "internalType": "uint256", "name": "shares", "type": "uint256" },
124
+ { "internalType": "uint256", "name": "max", "type": "uint256" }
125
+ ],
126
+ "name": "ERC4626ExceededMaxRedeem",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ { "internalType": "address", "name": "owner", "type": "address" },
132
+ { "internalType": "uint256", "name": "assets", "type": "uint256" },
133
+ { "internalType": "uint256", "name": "max", "type": "uint256" }
134
+ ],
135
+ "name": "ERC4626ExceededMaxWithdraw",
136
+ "type": "error"
137
+ },
138
+ { "inputs": [], "name": "EnforcedPause", "type": "error" },
139
+ { "inputs": [], "name": "EthTransferFailed", "type": "error" },
140
+ { "inputs": [], "name": "ExpectedPause", "type": "error" },
141
+ { "inputs": [], "name": "FailedInnerCall", "type": "error" },
142
+ {
143
+ "inputs": [
144
+ { "internalType": "address", "name": "account", "type": "address" },
145
+ { "internalType": "uint256", "name": "currentNonce", "type": "uint256" }
146
+ ],
147
+ "name": "InvalidAccountNonce",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [
152
+ { "internalType": "address", "name": "claimer", "type": "address" }
153
+ ],
154
+ "name": "InvalidClaimer",
155
+ "type": "error"
156
+ },
157
+ { "inputs": [], "name": "InvalidInitialization", "type": "error" },
158
+ { "inputs": [], "name": "MathOverflowedMulDiv", "type": "error" },
159
+ { "inputs": [], "name": "NotInitializing", "type": "error" },
160
+ {
161
+ "inputs": [
162
+ { "internalType": "address", "name": "caller", "type": "address" }
163
+ ],
164
+ "name": "OnlyPauseGuardian",
165
+ "type": "error"
166
+ },
167
+ { "inputs": [], "name": "OnlyRescueGuardian", "type": "error" },
168
+ {
169
+ "inputs": [
170
+ { "internalType": "address", "name": "pool", "type": "address" }
171
+ ],
172
+ "name": "PoolAddressMismatch",
173
+ "type": "error"
174
+ },
175
+ {
176
+ "inputs": [
177
+ { "internalType": "address", "name": "reward", "type": "address" }
178
+ ],
179
+ "name": "RewardNotInitialized",
180
+ "type": "error"
181
+ },
182
+ {
183
+ "inputs": [
184
+ { "internalType": "address", "name": "token", "type": "address" }
185
+ ],
186
+ "name": "SafeERC20FailedOperation",
187
+ "type": "error"
188
+ },
189
+ {
190
+ "inputs": [
191
+ { "internalType": "address", "name": "token", "type": "address" }
192
+ ],
193
+ "name": "SafeERC20FailedOperation",
194
+ "type": "error"
195
+ },
196
+ { "inputs": [], "name": "StaticATokenInvalidZeroShares", "type": "error" },
197
+ {
198
+ "inputs": [],
199
+ "name": "ZeroIncentivesControllerIsForbidden",
200
+ "type": "error"
201
+ },
202
+ {
203
+ "anonymous": false,
204
+ "inputs": [
205
+ {
206
+ "indexed": true,
207
+ "internalType": "address",
208
+ "name": "owner",
209
+ "type": "address"
210
+ },
211
+ {
212
+ "indexed": true,
213
+ "internalType": "address",
214
+ "name": "spender",
215
+ "type": "address"
216
+ },
217
+ {
218
+ "indexed": false,
219
+ "internalType": "uint256",
220
+ "name": "value",
221
+ "type": "uint256"
222
+ }
223
+ ],
224
+ "name": "Approval",
225
+ "type": "event"
226
+ },
227
+ {
228
+ "anonymous": false,
229
+ "inputs": [
230
+ {
231
+ "indexed": true,
232
+ "internalType": "address",
233
+ "name": "sender",
234
+ "type": "address"
235
+ },
236
+ {
237
+ "indexed": true,
238
+ "internalType": "address",
239
+ "name": "owner",
240
+ "type": "address"
241
+ },
242
+ {
243
+ "indexed": false,
244
+ "internalType": "uint256",
245
+ "name": "assets",
246
+ "type": "uint256"
247
+ },
248
+ {
249
+ "indexed": false,
250
+ "internalType": "uint256",
251
+ "name": "shares",
252
+ "type": "uint256"
253
+ }
254
+ ],
255
+ "name": "Deposit",
256
+ "type": "event"
257
+ },
258
+ {
259
+ "anonymous": false,
260
+ "inputs": [],
261
+ "name": "EIP712DomainChanged",
262
+ "type": "event"
263
+ },
264
+ {
265
+ "anonymous": false,
266
+ "inputs": [
267
+ {
268
+ "indexed": true,
269
+ "internalType": "address",
270
+ "name": "caller",
271
+ "type": "address"
272
+ },
273
+ {
274
+ "indexed": true,
275
+ "internalType": "address",
276
+ "name": "token",
277
+ "type": "address"
278
+ },
279
+ {
280
+ "indexed": true,
281
+ "internalType": "address",
282
+ "name": "to",
283
+ "type": "address"
284
+ },
285
+ {
286
+ "indexed": false,
287
+ "internalType": "uint256",
288
+ "name": "amount",
289
+ "type": "uint256"
290
+ }
291
+ ],
292
+ "name": "ERC20Rescued",
293
+ "type": "event"
294
+ },
295
+ {
296
+ "anonymous": false,
297
+ "inputs": [
298
+ {
299
+ "indexed": false,
300
+ "internalType": "uint64",
301
+ "name": "version",
302
+ "type": "uint64"
303
+ }
304
+ ],
305
+ "name": "Initialized",
306
+ "type": "event"
307
+ },
308
+ {
309
+ "anonymous": false,
310
+ "inputs": [
311
+ {
312
+ "indexed": true,
313
+ "internalType": "address",
314
+ "name": "caller",
315
+ "type": "address"
316
+ },
317
+ {
318
+ "indexed": true,
319
+ "internalType": "address",
320
+ "name": "to",
321
+ "type": "address"
322
+ },
323
+ {
324
+ "indexed": false,
325
+ "internalType": "uint256",
326
+ "name": "amount",
327
+ "type": "uint256"
328
+ }
329
+ ],
330
+ "name": "NativeTokensRescued",
331
+ "type": "event"
332
+ },
333
+ {
334
+ "anonymous": false,
335
+ "inputs": [
336
+ {
337
+ "indexed": false,
338
+ "internalType": "address",
339
+ "name": "account",
340
+ "type": "address"
341
+ }
342
+ ],
343
+ "name": "Paused",
344
+ "type": "event"
345
+ },
346
+ {
347
+ "anonymous": false,
348
+ "inputs": [
349
+ {
350
+ "indexed": true,
351
+ "internalType": "address",
352
+ "name": "reward",
353
+ "type": "address"
354
+ },
355
+ {
356
+ "indexed": false,
357
+ "internalType": "uint256",
358
+ "name": "startIndex",
359
+ "type": "uint256"
360
+ }
361
+ ],
362
+ "name": "RewardTokenRegistered",
363
+ "type": "event"
364
+ },
365
+ {
366
+ "anonymous": false,
367
+ "inputs": [
368
+ {
369
+ "indexed": true,
370
+ "internalType": "address",
371
+ "name": "from",
372
+ "type": "address"
373
+ },
374
+ {
375
+ "indexed": true,
376
+ "internalType": "address",
377
+ "name": "to",
378
+ "type": "address"
379
+ },
380
+ {
381
+ "indexed": false,
382
+ "internalType": "uint256",
383
+ "name": "value",
384
+ "type": "uint256"
385
+ }
386
+ ],
387
+ "name": "Transfer",
388
+ "type": "event"
389
+ },
390
+ {
391
+ "anonymous": false,
392
+ "inputs": [
393
+ {
394
+ "indexed": false,
395
+ "internalType": "address",
396
+ "name": "account",
397
+ "type": "address"
398
+ }
399
+ ],
400
+ "name": "Unpaused",
401
+ "type": "event"
402
+ },
403
+ {
404
+ "anonymous": false,
405
+ "inputs": [
406
+ {
407
+ "indexed": true,
408
+ "internalType": "address",
409
+ "name": "sender",
410
+ "type": "address"
411
+ },
412
+ {
413
+ "indexed": true,
414
+ "internalType": "address",
415
+ "name": "receiver",
416
+ "type": "address"
417
+ },
418
+ {
419
+ "indexed": true,
420
+ "internalType": "address",
421
+ "name": "owner",
422
+ "type": "address"
423
+ },
424
+ {
425
+ "indexed": false,
426
+ "internalType": "uint256",
427
+ "name": "assets",
428
+ "type": "uint256"
429
+ },
430
+ {
431
+ "indexed": false,
432
+ "internalType": "uint256",
433
+ "name": "shares",
434
+ "type": "uint256"
435
+ }
436
+ ],
437
+ "name": "Withdraw",
438
+ "type": "event"
439
+ },
440
+ {
441
+ "inputs": [],
442
+ "name": "DOMAIN_SEPARATOR",
443
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
444
+ "stateMutability": "view",
445
+ "type": "function"
446
+ },
447
+ {
448
+ "inputs": [],
449
+ "name": "INCENTIVES_CONTROLLER",
450
+ "outputs": [
451
+ {
452
+ "internalType": "contract IRewardsController",
453
+ "name": "",
454
+ "type": "address"
455
+ }
456
+ ],
457
+ "stateMutability": "view",
458
+ "type": "function"
459
+ },
460
+ {
461
+ "inputs": [],
462
+ "name": "POOL",
463
+ "outputs": [
464
+ { "internalType": "contract IPool", "name": "", "type": "address" }
465
+ ],
466
+ "stateMutability": "view",
467
+ "type": "function"
468
+ },
469
+ {
470
+ "inputs": [],
471
+ "name": "POOL_ADDRESSES_PROVIDER",
472
+ "outputs": [
473
+ {
474
+ "internalType": "contract IPoolAddressesProvider",
475
+ "name": "",
476
+ "type": "address"
477
+ }
478
+ ],
479
+ "stateMutability": "view",
480
+ "type": "function"
481
+ },
482
+ {
483
+ "inputs": [],
484
+ "name": "RAY",
485
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
486
+ "stateMutability": "view",
487
+ "type": "function"
488
+ },
489
+ {
490
+ "inputs": [],
491
+ "name": "aToken",
492
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
493
+ "stateMutability": "view",
494
+ "type": "function"
495
+ },
496
+ {
497
+ "inputs": [
498
+ { "internalType": "address", "name": "owner", "type": "address" },
499
+ { "internalType": "address", "name": "spender", "type": "address" }
500
+ ],
501
+ "name": "allowance",
502
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
503
+ "stateMutability": "view",
504
+ "type": "function"
505
+ },
506
+ {
507
+ "inputs": [
508
+ { "internalType": "address", "name": "spender", "type": "address" },
509
+ { "internalType": "uint256", "name": "value", "type": "uint256" }
510
+ ],
511
+ "name": "approve",
512
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
513
+ "stateMutability": "nonpayable",
514
+ "type": "function"
515
+ },
516
+ {
517
+ "inputs": [],
518
+ "name": "asset",
519
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
520
+ "stateMutability": "view",
521
+ "type": "function"
522
+ },
523
+ {
524
+ "inputs": [
525
+ { "internalType": "address", "name": "account", "type": "address" }
526
+ ],
527
+ "name": "balanceOf",
528
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
529
+ "stateMutability": "view",
530
+ "type": "function"
531
+ },
532
+ {
533
+ "inputs": [
534
+ { "internalType": "address", "name": "actor", "type": "address" }
535
+ ],
536
+ "name": "canPause",
537
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
538
+ "stateMutability": "view",
539
+ "type": "function"
540
+ },
541
+ {
542
+ "inputs": [
543
+ { "internalType": "address", "name": "receiver", "type": "address" },
544
+ { "internalType": "address[]", "name": "rewards", "type": "address[]" }
545
+ ],
546
+ "name": "claimRewards",
547
+ "outputs": [],
548
+ "stateMutability": "nonpayable",
549
+ "type": "function"
550
+ },
551
+ {
552
+ "inputs": [
553
+ { "internalType": "address", "name": "onBehalfOf", "type": "address" },
554
+ { "internalType": "address", "name": "receiver", "type": "address" },
555
+ { "internalType": "address[]", "name": "rewards", "type": "address[]" }
556
+ ],
557
+ "name": "claimRewardsOnBehalf",
558
+ "outputs": [],
559
+ "stateMutability": "nonpayable",
560
+ "type": "function"
561
+ },
562
+ {
563
+ "inputs": [
564
+ { "internalType": "address[]", "name": "rewards", "type": "address[]" }
565
+ ],
566
+ "name": "claimRewardsToSelf",
567
+ "outputs": [],
568
+ "stateMutability": "nonpayable",
569
+ "type": "function"
570
+ },
571
+ {
572
+ "inputs": [
573
+ { "internalType": "address", "name": "reward", "type": "address" }
574
+ ],
575
+ "name": "collectAndUpdateRewards",
576
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
577
+ "stateMutability": "nonpayable",
578
+ "type": "function"
579
+ },
580
+ {
581
+ "inputs": [
582
+ { "internalType": "uint256", "name": "shares", "type": "uint256" }
583
+ ],
584
+ "name": "convertToAssets",
585
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
586
+ "stateMutability": "view",
587
+ "type": "function"
588
+ },
589
+ {
590
+ "inputs": [
591
+ { "internalType": "uint256", "name": "assets", "type": "uint256" }
592
+ ],
593
+ "name": "convertToShares",
594
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
595
+ "stateMutability": "view",
596
+ "type": "function"
597
+ },
598
+ {
599
+ "inputs": [],
600
+ "name": "decimals",
601
+ "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],
602
+ "stateMutability": "view",
603
+ "type": "function"
604
+ },
605
+ {
606
+ "inputs": [
607
+ { "internalType": "uint256", "name": "assets", "type": "uint256" },
608
+ { "internalType": "address", "name": "receiver", "type": "address" }
609
+ ],
610
+ "name": "deposit",
611
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
612
+ "stateMutability": "nonpayable",
613
+ "type": "function"
614
+ },
615
+ {
616
+ "inputs": [
617
+ { "internalType": "uint256", "name": "assets", "type": "uint256" },
618
+ { "internalType": "address", "name": "receiver", "type": "address" }
619
+ ],
620
+ "name": "depositATokens",
621
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
622
+ "stateMutability": "nonpayable",
623
+ "type": "function"
624
+ },
625
+ {
626
+ "inputs": [
627
+ { "internalType": "uint256", "name": "assets", "type": "uint256" },
628
+ { "internalType": "address", "name": "receiver", "type": "address" },
629
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" },
630
+ {
631
+ "components": [
632
+ { "internalType": "uint8", "name": "v", "type": "uint8" },
633
+ { "internalType": "bytes32", "name": "r", "type": "bytes32" },
634
+ { "internalType": "bytes32", "name": "s", "type": "bytes32" }
635
+ ],
636
+ "internalType": "struct IERC4626StataToken.SignatureParams",
637
+ "name": "sig",
638
+ "type": "tuple"
639
+ },
640
+ { "internalType": "bool", "name": "depositToAave", "type": "bool" }
641
+ ],
642
+ "name": "depositWithPermit",
643
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
644
+ "stateMutability": "nonpayable",
645
+ "type": "function"
646
+ },
647
+ {
648
+ "inputs": [],
649
+ "name": "eip712Domain",
650
+ "outputs": [
651
+ { "internalType": "bytes1", "name": "fields", "type": "bytes1" },
652
+ { "internalType": "string", "name": "name", "type": "string" },
653
+ { "internalType": "string", "name": "version", "type": "string" },
654
+ { "internalType": "uint256", "name": "chainId", "type": "uint256" },
655
+ {
656
+ "internalType": "address",
657
+ "name": "verifyingContract",
658
+ "type": "address"
659
+ },
660
+ { "internalType": "bytes32", "name": "salt", "type": "bytes32" },
661
+ { "internalType": "uint256[]", "name": "extensions", "type": "uint256[]" }
662
+ ],
663
+ "stateMutability": "view",
664
+ "type": "function"
665
+ },
666
+ {
667
+ "inputs": [
668
+ { "internalType": "address", "name": "to", "type": "address" },
669
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
670
+ ],
671
+ "name": "emergencyEtherTransfer",
672
+ "outputs": [],
673
+ "stateMutability": "nonpayable",
674
+ "type": "function"
675
+ },
676
+ {
677
+ "inputs": [
678
+ { "internalType": "address", "name": "erc20Token", "type": "address" },
679
+ { "internalType": "address", "name": "to", "type": "address" },
680
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
681
+ ],
682
+ "name": "emergencyTokenTransfer",
683
+ "outputs": [],
684
+ "stateMutability": "nonpayable",
685
+ "type": "function"
686
+ },
687
+ {
688
+ "inputs": [
689
+ { "internalType": "address", "name": "user", "type": "address" },
690
+ { "internalType": "address", "name": "reward", "type": "address" }
691
+ ],
692
+ "name": "getClaimableRewards",
693
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
694
+ "stateMutability": "view",
695
+ "type": "function"
696
+ },
697
+ {
698
+ "inputs": [
699
+ { "internalType": "address", "name": "reward", "type": "address" }
700
+ ],
701
+ "name": "getCurrentRewardsIndex",
702
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
703
+ "stateMutability": "view",
704
+ "type": "function"
705
+ },
706
+ {
707
+ "inputs": [],
708
+ "name": "getReferenceAsset",
709
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
710
+ "stateMutability": "view",
711
+ "type": "function"
712
+ },
713
+ {
714
+ "inputs": [
715
+ { "internalType": "address", "name": "reward", "type": "address" }
716
+ ],
717
+ "name": "getTotalClaimableRewards",
718
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
719
+ "stateMutability": "view",
720
+ "type": "function"
721
+ },
722
+ {
723
+ "inputs": [
724
+ { "internalType": "address", "name": "user", "type": "address" },
725
+ { "internalType": "address", "name": "reward", "type": "address" }
726
+ ],
727
+ "name": "getUnclaimedRewards",
728
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
729
+ "stateMutability": "view",
730
+ "type": "function"
731
+ },
732
+ {
733
+ "inputs": [
734
+ { "internalType": "address", "name": "aToken", "type": "address" },
735
+ {
736
+ "internalType": "string",
737
+ "name": "staticATokenName",
738
+ "type": "string"
739
+ },
740
+ {
741
+ "internalType": "string",
742
+ "name": "staticATokenSymbol",
743
+ "type": "string"
744
+ }
745
+ ],
746
+ "name": "initialize",
747
+ "outputs": [],
748
+ "stateMutability": "nonpayable",
749
+ "type": "function"
750
+ },
751
+ {
752
+ "inputs": [
753
+ { "internalType": "address", "name": "reward", "type": "address" }
754
+ ],
755
+ "name": "isRegisteredRewardToken",
756
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
757
+ "stateMutability": "view",
758
+ "type": "function"
759
+ },
760
+ {
761
+ "inputs": [],
762
+ "name": "latestAnswer",
763
+ "outputs": [{ "internalType": "int256", "name": "", "type": "int256" }],
764
+ "stateMutability": "view",
765
+ "type": "function"
766
+ },
767
+ {
768
+ "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
769
+ "name": "maxDeposit",
770
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
771
+ "stateMutability": "view",
772
+ "type": "function"
773
+ },
774
+ {
775
+ "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
776
+ "name": "maxMint",
777
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
778
+ "stateMutability": "view",
779
+ "type": "function"
780
+ },
781
+ {
782
+ "inputs": [
783
+ { "internalType": "address", "name": "owner", "type": "address" }
784
+ ],
785
+ "name": "maxRedeem",
786
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
787
+ "stateMutability": "view",
788
+ "type": "function"
789
+ },
790
+ {
791
+ "inputs": [
792
+ { "internalType": "address", "name": "asset", "type": "address" }
793
+ ],
794
+ "name": "maxRescue",
795
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
796
+ "stateMutability": "view",
797
+ "type": "function"
798
+ },
799
+ {
800
+ "inputs": [
801
+ { "internalType": "address", "name": "owner", "type": "address" }
802
+ ],
803
+ "name": "maxWithdraw",
804
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
805
+ "stateMutability": "view",
806
+ "type": "function"
807
+ },
808
+ {
809
+ "inputs": [
810
+ { "internalType": "uint256", "name": "shares", "type": "uint256" },
811
+ { "internalType": "address", "name": "receiver", "type": "address" }
812
+ ],
813
+ "name": "mint",
814
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
815
+ "stateMutability": "nonpayable",
816
+ "type": "function"
817
+ },
818
+ {
819
+ "inputs": [],
820
+ "name": "name",
821
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
822
+ "stateMutability": "view",
823
+ "type": "function"
824
+ },
825
+ {
826
+ "inputs": [
827
+ { "internalType": "address", "name": "owner", "type": "address" }
828
+ ],
829
+ "name": "nonces",
830
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
831
+ "stateMutability": "view",
832
+ "type": "function"
833
+ },
834
+ {
835
+ "inputs": [],
836
+ "name": "paused",
837
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
838
+ "stateMutability": "view",
839
+ "type": "function"
840
+ },
841
+ {
842
+ "inputs": [
843
+ { "internalType": "address", "name": "owner", "type": "address" },
844
+ { "internalType": "address", "name": "spender", "type": "address" },
845
+ { "internalType": "uint256", "name": "value", "type": "uint256" },
846
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" },
847
+ { "internalType": "uint8", "name": "v", "type": "uint8" },
848
+ { "internalType": "bytes32", "name": "r", "type": "bytes32" },
849
+ { "internalType": "bytes32", "name": "s", "type": "bytes32" }
850
+ ],
851
+ "name": "permit",
852
+ "outputs": [],
853
+ "stateMutability": "nonpayable",
854
+ "type": "function"
855
+ },
856
+ {
857
+ "inputs": [
858
+ { "internalType": "uint256", "name": "assets", "type": "uint256" }
859
+ ],
860
+ "name": "previewDeposit",
861
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
862
+ "stateMutability": "view",
863
+ "type": "function"
864
+ },
865
+ {
866
+ "inputs": [
867
+ { "internalType": "uint256", "name": "shares", "type": "uint256" }
868
+ ],
869
+ "name": "previewMint",
870
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
871
+ "stateMutability": "view",
872
+ "type": "function"
873
+ },
874
+ {
875
+ "inputs": [
876
+ { "internalType": "uint256", "name": "shares", "type": "uint256" }
877
+ ],
878
+ "name": "previewRedeem",
879
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
880
+ "stateMutability": "view",
881
+ "type": "function"
882
+ },
883
+ {
884
+ "inputs": [
885
+ { "internalType": "uint256", "name": "assets", "type": "uint256" }
886
+ ],
887
+ "name": "previewWithdraw",
888
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
889
+ "stateMutability": "view",
890
+ "type": "function"
891
+ },
892
+ {
893
+ "inputs": [
894
+ { "internalType": "uint256", "name": "shares", "type": "uint256" },
895
+ { "internalType": "address", "name": "receiver", "type": "address" },
896
+ { "internalType": "address", "name": "owner", "type": "address" }
897
+ ],
898
+ "name": "redeem",
899
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
900
+ "stateMutability": "nonpayable",
901
+ "type": "function"
902
+ },
903
+ {
904
+ "inputs": [
905
+ { "internalType": "uint256", "name": "shares", "type": "uint256" },
906
+ { "internalType": "address", "name": "receiver", "type": "address" },
907
+ { "internalType": "address", "name": "owner", "type": "address" }
908
+ ],
909
+ "name": "redeemATokens",
910
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
911
+ "stateMutability": "nonpayable",
912
+ "type": "function"
913
+ },
914
+ {
915
+ "inputs": [],
916
+ "name": "refreshRewardTokens",
917
+ "outputs": [],
918
+ "stateMutability": "nonpayable",
919
+ "type": "function"
920
+ },
921
+ {
922
+ "inputs": [],
923
+ "name": "rewardTokens",
924
+ "outputs": [
925
+ { "internalType": "address[]", "name": "", "type": "address[]" }
926
+ ],
927
+ "stateMutability": "view",
928
+ "type": "function"
929
+ },
930
+ {
931
+ "inputs": [{ "internalType": "bool", "name": "paused", "type": "bool" }],
932
+ "name": "setPaused",
933
+ "outputs": [],
934
+ "stateMutability": "nonpayable",
935
+ "type": "function"
936
+ },
937
+ {
938
+ "inputs": [],
939
+ "name": "symbol",
940
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
941
+ "stateMutability": "view",
942
+ "type": "function"
943
+ },
944
+ {
945
+ "inputs": [],
946
+ "name": "totalAssets",
947
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
948
+ "stateMutability": "view",
949
+ "type": "function"
950
+ },
951
+ {
952
+ "inputs": [],
953
+ "name": "totalSupply",
954
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
955
+ "stateMutability": "view",
956
+ "type": "function"
957
+ },
958
+ {
959
+ "inputs": [
960
+ { "internalType": "address", "name": "to", "type": "address" },
961
+ { "internalType": "uint256", "name": "value", "type": "uint256" }
962
+ ],
963
+ "name": "transfer",
964
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
965
+ "stateMutability": "nonpayable",
966
+ "type": "function"
967
+ },
968
+ {
969
+ "inputs": [
970
+ { "internalType": "address", "name": "from", "type": "address" },
971
+ { "internalType": "address", "name": "to", "type": "address" },
972
+ { "internalType": "uint256", "name": "value", "type": "uint256" }
973
+ ],
974
+ "name": "transferFrom",
975
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
976
+ "stateMutability": "nonpayable",
977
+ "type": "function"
978
+ },
979
+ {
980
+ "inputs": [],
981
+ "name": "whoCanRescue",
982
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
983
+ "stateMutability": "view",
984
+ "type": "function"
985
+ },
986
+ {
987
+ "inputs": [
988
+ { "internalType": "uint256", "name": "assets", "type": "uint256" },
989
+ { "internalType": "address", "name": "receiver", "type": "address" },
990
+ { "internalType": "address", "name": "owner", "type": "address" }
991
+ ],
992
+ "name": "withdraw",
993
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
994
+ "stateMutability": "nonpayable",
995
+ "type": "function"
996
+ }
997
+ ]