@paraswap/dex-lib 4.0.18 → 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 (269) 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/uniswap-v3/AlienBaseV3Router.abi.json +52 -0
  5. package/build/abi/usual-m-smart-m/usualM.abi.json +483 -0
  6. package/build/abi/{USDM.json → usual-pp/abi.json} +269 -326
  7. package/build/abi/{angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json → wombat/pool.json} +637 -594
  8. package/build/dex/aave-v1/aave-v1.js +1 -0
  9. package/build/dex/aave-v1/aave-v1.js.map +1 -1
  10. package/build/dex/aave-v2/tokens-avalanche.json +44 -0
  11. package/build/dex/aave-v2/tokens-mainnet.json +188 -0
  12. package/build/dex/aave-v2/tokens-polygon.json +44 -0
  13. package/build/dex/bProtocol.d.ts +18 -0
  14. package/build/dex/bProtocol.js +39 -0
  15. package/build/dex/bProtocol.js.map +1 -0
  16. package/build/dex/balancer-v3/abi/balancerBatchRouter.d.ts +729 -0
  17. package/build/dex/balancer-v3/abi/balancerBatchRouter.js +732 -0
  18. package/build/dex/balancer-v3/abi/balancerBatchRouter.js.map +1 -0
  19. package/build/dex/balancer-v3/abi/balancerRouter.d.ts +1406 -0
  20. package/build/dex/balancer-v3/abi/balancerRouter.js +1175 -0
  21. package/build/dex/balancer-v3/abi/balancerRouter.js.map +1 -0
  22. package/build/dex/balancer-v3/abi/vaultExtension.V3.d.ts +2081 -0
  23. package/build/dex/balancer-v3/abi/vaultExtension.V3.js +1851 -0
  24. package/build/dex/balancer-v3/abi/vaultExtension.V3.js.map +1 -0
  25. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.d.ts +34 -0
  26. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js +406 -0
  27. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js.map +1 -0
  28. package/build/dex/bancor.d.ts +26 -0
  29. package/build/dex/bancor.js +58 -0
  30. package/build/dex/bancor.js.map +1 -0
  31. package/build/dex/compound.d.ts +18 -0
  32. package/build/dex/compound.js +46 -0
  33. package/build/dex/compound.js.map +1 -0
  34. package/build/dex/curve-v2.d.ts +58 -0
  35. package/build/dex/curve-v2.js +180 -0
  36. package/build/dex/curve-v2.js.map +1 -0
  37. package/build/dex/dodo-v1.d.ts +33 -0
  38. package/build/dex/dodo-v1.js +63 -0
  39. package/build/dex/dodo-v1.js.map +1 -0
  40. package/build/dex/inception/inception-event-pool.d.ts +4 -4
  41. package/build/dex/inception/inception-event-pool.js +7 -9
  42. package/build/dex/inception/inception-event-pool.js.map +1 -1
  43. package/build/dex/inception/inception.d.ts +6 -6
  44. package/build/dex/inception/inception.js +16 -40
  45. package/build/dex/inception/inception.js.map +1 -1
  46. package/build/dex/inception/utils.d.ts +1 -0
  47. package/build/dex/inception/utils.js +22 -1
  48. package/build/dex/inception/utils.js.map +1 -1
  49. package/build/dex/index.js +2 -0
  50. package/build/dex/index.js.map +1 -1
  51. package/build/dex/lido.d.ts +19 -0
  52. package/build/dex/lido.js +42 -0
  53. package/build/dex/lido.js.map +1 -0
  54. package/build/dex/maker-psm/scripts/gem.abi.json +136 -0
  55. package/build/dex/maker-psm/scripts/validate-state.d.ts +0 -0
  56. package/build/dex/maker-psm/scripts/validate-state.js +185 -0
  57. package/build/dex/maker-psm/scripts/validate-state.js.map +1 -0
  58. package/build/dex/maker-psm/scripts/vat.abi.json +243 -0
  59. package/build/dex/onebit.d.ts +25 -0
  60. package/build/dex/onebit.js +42 -0
  61. package/build/dex/onebit.js.map +1 -0
  62. package/build/dex/platypus/platypus.js +17 -3
  63. package/build/dex/platypus/platypus.js.map +1 -1
  64. package/build/dex/smoothy.d.ts +26 -0
  65. package/build/dex/smoothy.js +48 -0
  66. package/build/dex/smoothy.js.map +1 -0
  67. package/build/dex/solidly-v3/scripts/check-event-pool-event.d.ts +1 -0
  68. package/build/dex/solidly-v3/scripts/check-event-pool-event.js +53 -0
  69. package/build/dex/solidly-v3/scripts/check-event-pool-event.js.map +1 -0
  70. package/build/dex/stable-pool.d.ts +28 -0
  71. package/build/dex/stable-pool.js +55 -0
  72. package/build/dex/stable-pool.js.map +1 -0
  73. package/build/dex/swaap-v1/swaap-v1.js +4 -0
  74. package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
  75. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.d.ts +7 -0
  76. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js +20 -0
  77. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js.map +1 -0
  78. package/build/dex/trader-joe-v2.1.d.ts +43 -0
  79. package/build/dex/trader-joe-v2.1.js +79 -0
  80. package/build/dex/trader-joe-v2.1.js.map +1 -0
  81. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.d.ts +17 -0
  82. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js +64 -0
  83. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js.map +1 -0
  84. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.d.ts +17 -0
  85. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js +79 -0
  86. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js.map +1 -0
  87. package/build/dex/uniswap-v3/uniswap-v3-pricing.d.ts +4 -0
  88. package/build/dex/uniswap-v3/uniswap-v3-pricing.js +43 -0
  89. package/build/dex/uniswap-v3/uniswap-v3-pricing.js.map +1 -0
  90. package/build/dex/uniswap-v3/uniswap-v3-worker.d.ts +1 -0
  91. package/build/dex/uniswap-v3/uniswap-v3-worker.js +10 -0
  92. package/build/dex/uniswap-v3/uniswap-v3-worker.js.map +1 -0
  93. package/build/dex/usual/usual-m-smart-m.d.ts +17 -0
  94. package/build/dex/usual/usual-m-smart-m.js +50 -0
  95. package/build/dex/usual/usual-m-smart-m.js.map +1 -0
  96. package/build/dex/usual/usual.js +1 -1
  97. package/build/dex/usual/usual.js.map +1 -1
  98. package/build/dex/usual-m-smart-m/config.d.ts +3 -0
  99. package/build/dex/usual-m-smart-m/config.js +13 -0
  100. package/build/dex/usual-m-smart-m/config.js.map +1 -0
  101. package/build/dex/usual-m-smart-m/types.d.ts +7 -0
  102. package/build/dex/usual-m-smart-m/types.js +3 -0
  103. package/build/dex/usual-m-smart-m/types.js.map +1 -0
  104. package/build/dex/usual-m-smart-m/usual-m-smart-m.d.ts +35 -0
  105. package/build/dex/usual-m-smart-m/usual-m-smart-m.js +161 -0
  106. package/build/dex/usual-m-smart-m/usual-m-smart-m.js.map +1 -0
  107. package/build/dex/usual-m-usd0/config.d.ts +3 -0
  108. package/build/dex/usual-m-usd0/config.js +14 -0
  109. package/build/dex/usual-m-usd0/config.js.map +1 -0
  110. package/build/dex/usual-m-usd0/types.d.ts +8 -0
  111. package/build/dex/usual-m-usd0/types.js +3 -0
  112. package/build/dex/usual-m-usd0/types.js.map +1 -0
  113. package/build/dex/usual-m-usd0/usual-m-usd0.d.ts +35 -0
  114. package/build/dex/usual-m-usd0/usual-m-usd0.js +159 -0
  115. package/build/dex/usual-m-usd0/usual-m-usd0.js.map +1 -0
  116. package/build/dex/usual-pp/config.d.ts +3 -0
  117. package/build/dex/usual-pp/config.js +19 -0
  118. package/build/dex/usual-pp/config.js.map +1 -0
  119. package/build/dex/usual-pp/pool.d.ts +17 -0
  120. package/build/dex/usual-pp/pool.js +57 -0
  121. package/build/dex/usual-pp/pool.js.map +1 -0
  122. package/build/dex/usual-pp/types.d.ts +15 -0
  123. package/build/dex/usual-pp/types.js +3 -0
  124. package/build/dex/usual-pp/types.js.map +1 -0
  125. package/build/dex/usual-pp/usual-pp.d.ts +35 -0
  126. package/build/dex/usual-pp/usual-pp.js +167 -0
  127. package/build/dex/usual-pp/usual-pp.js.map +1 -0
  128. package/build/dex/usual-pp/utils.d.ts +4 -0
  129. package/build/dex/usual-pp/utils.js +18 -0
  130. package/build/dex/usual-pp/utils.js.map +1 -0
  131. package/package.json +1 -1
  132. package/src/abi/usual-pp/abi.json +750 -0
  133. package/src/dex/fluid-dex/fluid-dex-e2e.test.ts +0 -10
  134. package/src/dex/index.ts +2 -0
  135. package/src/dex/usual/usual.ts +1 -1
  136. package/src/dex/usual-pp/config.ts +18 -0
  137. package/src/dex/usual-pp/pool.ts +77 -0
  138. package/src/dex/usual-pp/types.ts +12 -0
  139. package/src/dex/usual-pp/usual-events.test.ts +70 -0
  140. package/src/dex/usual-pp/usual-integration.test.ts +143 -0
  141. package/src/dex/usual-pp/usual-pp.e2e.test.ts +76 -0
  142. package/src/dex/usual-pp/usual-pp.ts +207 -0
  143. package/src/dex/usual-pp/utils.ts +27 -0
  144. package/build/abi/Aave_GSM.json +0 -751
  145. package/build/abi/Balancer.json +0 -257
  146. package/build/abi/BalancerV2.json +0 -1179
  147. package/build/abi/RamsesV2Pool.abi.json +0 -1554
  148. package/build/abi/RamsesV2Quoter.abi.json +0 -274
  149. package/build/abi/UniswapV2Router.json +0 -397
  150. package/build/abi/angle-transmuter/ChainlinkEACAggregatorProxy.json +0 -509
  151. package/build/abi/curve-v1/CurveBUSDv2.abi.json +0 -1356
  152. package/build/abi/curve-v1/CurveTokenV1.json +0 -305
  153. package/build/abi/curve-v1/CurveTokenV2.json +0 -318
  154. package/build/abi/curve-v1/CurveV1StableNg.json +0 -1452
  155. package/build/abi/curve-v1/CurveV2Swap.json +0 -700
  156. package/build/abi/curve-v1/FactoryCryptoRegistry.json +0 -316
  157. package/build/abi/curve-v1/FactoryRegistry.json +0 -508
  158. package/build/abi/curve-v1/StableSwapAave.json +0 -1152
  159. package/build/abi/curve-v1/StableSwapBUSD.json +0 -814
  160. package/build/abi/curve-v1/StableSwapCompound.json +0 -814
  161. package/build/abi/curve-v1/StableSwapIDLE.json +0 -1253
  162. package/build/abi/curve-v1/StableSwapPax.json +0 -865
  163. package/build/abi/curve-v1/StableSwapSnow.json +0 -900
  164. package/build/abi/curve-v1/StableSwapUSDN.json +0 -1004
  165. package/build/abi/curve-v1/StableSwapUSDT.json +0 -814
  166. package/build/abi/curve-v1/StableSwapY.json +0 -814
  167. package/build/abi/inception/inception-ineth.json +0 -609
  168. package/build/abi/kyberdmm/kyber-storage.abi.json +0 -824
  169. package/build/abi/kyberdmm.abi.json +0 -1148
  170. package/build/abi/maverick-v2/MaverickV2Quoter.json +0 -278
  171. package/build/abi/nerve/nerve-metapool.json +0 -790
  172. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +0 -193
  173. package/build/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +0 -267
  174. package/build/dex/balancer-v1/balancer-pools.json +0 -33333
  175. package/build/dex/bebop/websocket-fetcher.d.ts +0 -35
  176. package/build/dex/bebop/websocket-fetcher.js +0 -87
  177. package/build/dex/bebop/websocket-fetcher.js.map +0 -1
  178. package/build/dex/idle-dao/idle-dao-pool.d.ts +0 -56
  179. package/build/dex/idle-dao/idle-dao-pool.js +0 -176
  180. package/build/dex/idle-dao/idle-dao-pool.js.map +0 -1
  181. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +0 -16
  182. package/build/dex/idle-dao/idle-dao-pooling-pool.js +0 -57
  183. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +0 -1
  184. package/build/dex/idle-dao/scripts.d.ts +0 -9
  185. package/build/dex/idle-dao/scripts.js +0 -552
  186. package/build/dex/idle-dao/scripts.js.map +0 -1
  187. package/build/dex/inception/inception-native.d.ts +0 -43
  188. package/build/dex/inception/inception-native.js +0 -131
  189. package/build/dex/inception/inception-native.js.map +0 -1
  190. package/build/dex/inception/inception-pool.d.ts +0 -18
  191. package/build/dex/inception/inception-pool.js +0 -32
  192. package/build/dex/inception/inception-pool.js.map +0 -1
  193. package/build/dex/inception/inception-price-feed.d.ts +0 -19
  194. package/build/dex/inception/inception-price-feed.js +0 -51
  195. package/build/dex/inception/inception-price-feed.js.map +0 -1
  196. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -16
  197. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -16
  198. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -16
  199. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -16
  200. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -16
  201. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -16
  202. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -16
  203. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -16
  204. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -9
  205. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -9
  206. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -9
  207. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +0 -9
  208. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +0 -9
  209. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -9
  210. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +0 -9
  211. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +0 -9
  212. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +0 -9
  213. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -12
  214. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -7
  215. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -7
  216. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -7
  217. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -7
  218. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -12
  219. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +0 -7
  220. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +0 -7
  221. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -78
  222. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -81
  223. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -78
  224. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -78
  225. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -81
  226. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -81
  227. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -81
  228. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -81
  229. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -64
  230. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -85
  231. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -64
  232. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +0 -52
  233. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +0 -52
  234. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -52
  235. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +0 -55
  236. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +0 -55
  237. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +0 -55
  238. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -23
  239. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -37
  240. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -23
  241. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -23
  242. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -51
  243. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +0 -58
  244. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -23
  245. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -23
  246. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -9
  247. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -16
  248. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -23
  249. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -12
  250. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -7
  251. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -12
  252. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -12
  253. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -7
  254. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +0 -7
  255. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -7
  256. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -7
  257. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -7
  258. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -7
  259. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -130
  260. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -136
  261. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -100
  262. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -100
  263. package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -166
  264. package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +0 -190
  265. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -114
  266. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -114
  267. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -55
  268. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -73
  269. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -82
@@ -2,158 +2,171 @@
2
2
  { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" },
3
3
  {
4
4
  "inputs": [
5
- { "internalType": "address", "name": "spender", "type": "address" },
6
- { "internalType": "uint256", "name": "allowance", "type": "uint256" },
7
- { "internalType": "uint256", "name": "needed", "type": "uint256" }
5
+ { "internalType": "address", "name": "target", "type": "address" }
8
6
  ],
9
- "name": "ERC20InsufficientAllowance",
7
+ "name": "AddressEmptyCode",
10
8
  "type": "error"
11
9
  },
12
10
  {
13
11
  "inputs": [
14
- { "internalType": "address", "name": "sender", "type": "address" },
15
- { "internalType": "uint256", "name": "shares", "type": "uint256" },
16
- { "internalType": "uint256", "name": "sharesNeeded", "type": "uint256" }
12
+ { "internalType": "address", "name": "account", "type": "address" }
17
13
  ],
18
- "name": "ERC20InsufficientBalance",
14
+ "name": "AddressInsufficientBalance",
19
15
  "type": "error"
20
16
  },
17
+ { "inputs": [], "name": "AmountIsZero", "type": "error" },
18
+ { "inputs": [], "name": "AmountMustBeGreaterThanZero", "type": "error" },
19
+ { "inputs": [], "name": "AmountTooBig", "type": "error" },
20
+ { "inputs": [], "name": "ApprovalFailed", "type": "error" },
21
+ { "inputs": [], "name": "Blacklisted", "type": "error" },
22
+ { "inputs": [], "name": "BondFinished", "type": "error" },
23
+ { "inputs": [], "name": "BondNotFinished", "type": "error" },
24
+ { "inputs": [], "name": "BondNotStarted", "type": "error" },
25
+ { "inputs": [], "name": "ECDSAInvalidSignature", "type": "error" },
21
26
  {
22
27
  "inputs": [
23
- { "internalType": "address", "name": "approver", "type": "address" }
28
+ { "internalType": "uint256", "name": "length", "type": "uint256" }
24
29
  ],
25
- "name": "ERC20InvalidApprover",
30
+ "name": "ECDSAInvalidSignatureLength",
26
31
  "type": "error"
27
32
  },
28
33
  {
29
- "inputs": [
30
- { "internalType": "address", "name": "receiver", "type": "address" }
31
- ],
32
- "name": "ERC20InvalidReceiver",
34
+ "inputs": [{ "internalType": "bytes32", "name": "s", "type": "bytes32" }],
35
+ "name": "ECDSAInvalidSignatureS",
33
36
  "type": "error"
34
37
  },
35
38
  {
36
39
  "inputs": [
37
- { "internalType": "address", "name": "sender", "type": "address" }
40
+ { "internalType": "address", "name": "spender", "type": "address" },
41
+ { "internalType": "uint256", "name": "allowance", "type": "uint256" },
42
+ { "internalType": "uint256", "name": "needed", "type": "uint256" }
38
43
  ],
39
- "name": "ERC20InvalidSender",
44
+ "name": "ERC20InsufficientAllowance",
40
45
  "type": "error"
41
46
  },
42
47
  {
43
48
  "inputs": [
44
- { "internalType": "address", "name": "spender", "type": "address" }
49
+ { "internalType": "address", "name": "sender", "type": "address" },
50
+ { "internalType": "uint256", "name": "balance", "type": "uint256" },
51
+ { "internalType": "uint256", "name": "needed", "type": "uint256" }
45
52
  ],
46
- "name": "ERC20InvalidSpender",
53
+ "name": "ERC20InsufficientBalance",
47
54
  "type": "error"
48
55
  },
49
56
  {
50
57
  "inputs": [
51
- { "internalType": "uint256", "name": "deadline", "type": "uint256" },
52
- { "internalType": "uint256", "name": "blockTimestamp", "type": "uint256" }
58
+ { "internalType": "address", "name": "approver", "type": "address" }
53
59
  ],
54
- "name": "ERC2612ExpiredDeadline",
60
+ "name": "ERC20InvalidApprover",
55
61
  "type": "error"
56
62
  },
57
63
  {
58
64
  "inputs": [
59
- { "internalType": "address", "name": "owner", "type": "address" },
60
- { "internalType": "address", "name": "spender", "type": "address" }
65
+ { "internalType": "address", "name": "receiver", "type": "address" }
61
66
  ],
62
- "name": "ERC2612InvalidSignature",
67
+ "name": "ERC20InvalidReceiver",
63
68
  "type": "error"
64
69
  },
65
70
  {
66
71
  "inputs": [
67
72
  { "internalType": "address", "name": "sender", "type": "address" }
68
73
  ],
69
- "name": "USDMBlockedSender",
74
+ "name": "ERC20InvalidSender",
70
75
  "type": "error"
71
76
  },
72
77
  {
73
78
  "inputs": [
74
- { "internalType": "address", "name": "sender", "type": "address" },
75
- { "internalType": "uint256", "name": "shares", "type": "uint256" },
76
- { "internalType": "uint256", "name": "sharesNeeded", "type": "uint256" }
79
+ { "internalType": "address", "name": "spender", "type": "address" }
77
80
  ],
78
- "name": "USDMInsufficientBurnBalance",
81
+ "name": "ERC20InvalidSpender",
79
82
  "type": "error"
80
83
  },
81
84
  {
82
85
  "inputs": [
83
- { "internalType": "address", "name": "account", "type": "address" }
86
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" }
84
87
  ],
85
- "name": "USDMInvalidBlockedAccount",
88
+ "name": "ERC2612ExpiredSignature",
86
89
  "type": "error"
87
90
  },
88
91
  {
89
92
  "inputs": [
90
- { "internalType": "address", "name": "sender", "type": "address" }
93
+ { "internalType": "address", "name": "signer", "type": "address" },
94
+ { "internalType": "address", "name": "owner", "type": "address" }
91
95
  ],
92
- "name": "USDMInvalidBurnSender",
96
+ "name": "ERC2612InvalidSigner",
93
97
  "type": "error"
94
98
  },
99
+ { "inputs": [], "name": "EnforcedPause", "type": "error" },
100
+ { "inputs": [], "name": "ExpectedPause", "type": "error" },
101
+ { "inputs": [], "name": "FailedInnerCall", "type": "error" },
102
+ { "inputs": [], "name": "FloorPriceNotSet", "type": "error" },
103
+ { "inputs": [], "name": "FloorPriceTooHigh", "type": "error" },
104
+ { "inputs": [], "name": "InsufficientUsd0ppBalance", "type": "error" },
95
105
  {
96
106
  "inputs": [
97
- { "internalType": "address", "name": "receiver", "type": "address" }
107
+ { "internalType": "address", "name": "account", "type": "address" },
108
+ { "internalType": "uint256", "name": "currentNonce", "type": "uint256" }
98
109
  ],
99
- "name": "USDMInvalidMintReceiver",
110
+ "name": "InvalidAccountNonce",
100
111
  "type": "error"
101
112
  },
102
- {
103
- "inputs": [
104
- {
105
- "internalType": "uint256",
106
- "name": "rewardMultiplier",
107
- "type": "uint256"
108
- }
109
- ],
110
- "name": "USDMInvalidRewardMultiplier",
113
+ { "inputs": [], "name": "InvalidInitialization", "type": "error" },
114
+ { "inputs": [], "name": "InvalidInput", "type": "error" },
115
+ { "inputs": [], "name": "InvalidInputArraysLength", "type": "error" },
116
+ { "inputs": [], "name": "MathOverflowedMulDiv", "type": "error" },
117
+ { "inputs": [], "name": "NotAuthorized", "type": "error" },
118
+ { "inputs": [], "name": "NotInitializing", "type": "error" },
119
+ { "inputs": [], "name": "NotPermittedToEarlyUnlock", "type": "error" },
120
+ { "inputs": [], "name": "NullAddress", "type": "error" },
121
+ { "inputs": [], "name": "OutOfBounds", "type": "error" },
122
+ { "inputs": [], "name": "OutsideEarlyUnlockTimeframe", "type": "error" },
123
+ { "inputs": [], "name": "PARNotRequired", "type": "error" },
124
+ { "inputs": [], "name": "PARNotSuccessful", "type": "error" },
125
+ { "inputs": [], "name": "PARUSD0InputExceedsBalance", "type": "error" },
126
+ { "inputs": [], "name": "ReentrancyGuardReentrantCall", "type": "error" },
127
+ {
128
+ "inputs": [
129
+ { "internalType": "address", "name": "token", "type": "address" }
130
+ ],
131
+ "name": "SafeERC20FailedOperation",
111
132
  "type": "error"
112
133
  },
113
- { "inputs": [], "name": "USDMPausedTransfers", "type": "error" },
114
134
  {
115
135
  "anonymous": false,
116
136
  "inputs": [
117
137
  {
118
138
  "indexed": true,
119
139
  "internalType": "address",
120
- "name": "addr",
140
+ "name": "owner",
121
141
  "type": "address"
122
- }
123
- ],
124
- "name": "AccountBlocked",
125
- "type": "event"
126
- },
127
- {
128
- "anonymous": false,
129
- "inputs": [
142
+ },
130
143
  {
131
144
  "indexed": true,
132
145
  "internalType": "address",
133
- "name": "addr",
146
+ "name": "spender",
134
147
  "type": "address"
148
+ },
149
+ {
150
+ "indexed": false,
151
+ "internalType": "uint256",
152
+ "name": "value",
153
+ "type": "uint256"
135
154
  }
136
155
  ],
137
- "name": "AccountUnblocked",
156
+ "name": "Approval",
138
157
  "type": "event"
139
158
  },
140
159
  {
141
160
  "anonymous": false,
142
161
  "inputs": [
143
162
  {
144
- "indexed": false,
145
- "internalType": "address",
146
- "name": "previousAdmin",
147
- "type": "address"
148
- },
149
- {
150
- "indexed": false,
163
+ "indexed": true,
151
164
  "internalType": "address",
152
- "name": "newAdmin",
165
+ "name": "user",
153
166
  "type": "address"
154
167
  }
155
168
  ],
156
- "name": "AdminChanged",
169
+ "name": "BondEarlyUnlockDisabled",
157
170
  "type": "event"
158
171
  },
159
172
  {
@@ -162,23 +175,17 @@
162
175
  {
163
176
  "indexed": true,
164
177
  "internalType": "address",
165
- "name": "owner",
166
- "type": "address"
167
- },
168
- {
169
- "indexed": true,
170
- "internalType": "address",
171
- "name": "spender",
178
+ "name": "user",
172
179
  "type": "address"
173
180
  },
174
181
  {
175
182
  "indexed": false,
176
183
  "internalType": "uint256",
177
- "name": "value",
184
+ "name": "amount",
178
185
  "type": "uint256"
179
186
  }
180
187
  ],
181
- "name": "Approval",
188
+ "name": "BondUnwrapped",
182
189
  "type": "event"
183
190
  },
184
191
  {
@@ -187,11 +194,17 @@
187
194
  {
188
195
  "indexed": true,
189
196
  "internalType": "address",
190
- "name": "beacon",
197
+ "name": "user",
191
198
  "type": "address"
199
+ },
200
+ {
201
+ "indexed": false,
202
+ "internalType": "uint256",
203
+ "name": "amount",
204
+ "type": "uint256"
192
205
  }
193
206
  ],
194
- "name": "BeaconUpgraded",
207
+ "name": "BondUnwrappedDuringEarlyUnlock",
195
208
  "type": "event"
196
209
  },
197
210
  {
@@ -205,12 +218,18 @@
205
218
  "inputs": [
206
219
  {
207
220
  "indexed": false,
208
- "internalType": "uint8",
209
- "name": "version",
210
- "type": "uint8"
221
+ "internalType": "address[]",
222
+ "name": "addressesToAllocateTo",
223
+ "type": "address[]"
224
+ },
225
+ {
226
+ "indexed": false,
227
+ "internalType": "uint256[]",
228
+ "name": "earlyUnlockBalances",
229
+ "type": "uint256[]"
211
230
  }
212
231
  ],
213
- "name": "Initialized",
232
+ "name": "EarlyUnlockBalancesSet",
214
233
  "type": "event"
215
234
  },
216
235
  {
@@ -218,100 +237,95 @@
218
237
  "inputs": [
219
238
  {
220
239
  "indexed": false,
240
+ "internalType": "uint256",
241
+ "name": "earlyUnlockStart",
242
+ "type": "uint256"
243
+ },
244
+ {
245
+ "indexed": false,
246
+ "internalType": "uint256",
247
+ "name": "earlyUnlockEnd",
248
+ "type": "uint256"
249
+ }
250
+ ],
251
+ "name": "EarlyUnlockPeriodSet",
252
+ "type": "event"
253
+ },
254
+ {
255
+ "anonymous": false,
256
+ "inputs": [
257
+ {
258
+ "indexed": true,
221
259
  "internalType": "address",
222
260
  "name": "account",
223
261
  "type": "address"
262
+ },
263
+ {
264
+ "indexed": false,
265
+ "internalType": "uint256",
266
+ "name": "balance",
267
+ "type": "uint256"
224
268
  }
225
269
  ],
226
- "name": "Paused",
270
+ "name": "EmergencyWithdraw",
227
271
  "type": "event"
228
272
  },
229
273
  {
230
274
  "anonymous": false,
231
275
  "inputs": [
232
276
  {
233
- "indexed": true,
277
+ "indexed": false,
234
278
  "internalType": "uint256",
235
- "name": "value",
279
+ "name": "newFloorPrice",
236
280
  "type": "uint256"
237
281
  }
238
282
  ],
239
- "name": "RewardMultiplier",
283
+ "name": "FloorPriceUpdated",
240
284
  "type": "event"
241
285
  },
242
286
  {
243
287
  "anonymous": false,
244
288
  "inputs": [
245
289
  {
246
- "indexed": true,
247
- "internalType": "bytes32",
248
- "name": "role",
249
- "type": "bytes32"
250
- },
251
- {
252
- "indexed": true,
253
- "internalType": "bytes32",
254
- "name": "previousAdminRole",
255
- "type": "bytes32"
256
- },
257
- {
258
- "indexed": true,
259
- "internalType": "bytes32",
260
- "name": "newAdminRole",
261
- "type": "bytes32"
290
+ "indexed": false,
291
+ "internalType": "uint64",
292
+ "name": "version",
293
+ "type": "uint64"
262
294
  }
263
295
  ],
264
- "name": "RoleAdminChanged",
296
+ "name": "Initialized",
265
297
  "type": "event"
266
298
  },
267
299
  {
268
300
  "anonymous": false,
269
301
  "inputs": [
270
- {
271
- "indexed": true,
272
- "internalType": "bytes32",
273
- "name": "role",
274
- "type": "bytes32"
275
- },
276
302
  {
277
303
  "indexed": true,
278
304
  "internalType": "address",
279
- "name": "account",
305
+ "name": "user",
280
306
  "type": "address"
281
307
  },
282
308
  {
283
- "indexed": true,
284
- "internalType": "address",
285
- "name": "sender",
286
- "type": "address"
309
+ "indexed": false,
310
+ "internalType": "uint256",
311
+ "name": "amount",
312
+ "type": "uint256"
287
313
  }
288
314
  ],
289
- "name": "RoleGranted",
315
+ "name": "PARMechanismActivated",
290
316
  "type": "event"
291
317
  },
292
318
  {
293
319
  "anonymous": false,
294
320
  "inputs": [
295
321
  {
296
- "indexed": true,
297
- "internalType": "bytes32",
298
- "name": "role",
299
- "type": "bytes32"
300
- },
301
- {
302
- "indexed": true,
322
+ "indexed": false,
303
323
  "internalType": "address",
304
324
  "name": "account",
305
325
  "type": "address"
306
- },
307
- {
308
- "indexed": true,
309
- "internalType": "address",
310
- "name": "sender",
311
- "type": "address"
312
326
  }
313
327
  ],
314
- "name": "RoleRevoked",
328
+ "name": "Paused",
315
329
  "type": "event"
316
330
  },
317
331
  {
@@ -358,34 +372,25 @@
358
372
  {
359
373
  "indexed": true,
360
374
  "internalType": "address",
361
- "name": "implementation",
375
+ "name": "user",
362
376
  "type": "address"
377
+ },
378
+ {
379
+ "indexed": false,
380
+ "internalType": "uint256",
381
+ "name": "usd0ppAmount",
382
+ "type": "uint256"
383
+ },
384
+ {
385
+ "indexed": false,
386
+ "internalType": "uint256",
387
+ "name": "usd0Amount",
388
+ "type": "uint256"
363
389
  }
364
390
  ],
365
- "name": "Upgraded",
391
+ "name": "Usd0ppUnlockedFloorPrice",
366
392
  "type": "event"
367
393
  },
368
- {
369
- "inputs": [],
370
- "name": "BLOCKLIST_ROLE",
371
- "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
372
- "stateMutability": "view",
373
- "type": "function"
374
- },
375
- {
376
- "inputs": [],
377
- "name": "BURNER_ROLE",
378
- "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
379
- "stateMutability": "view",
380
- "type": "function"
381
- },
382
- {
383
- "inputs": [],
384
- "name": "DEFAULT_ADMIN_ROLE",
385
- "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
386
- "stateMutability": "view",
387
- "type": "function"
388
- },
389
394
  {
390
395
  "inputs": [],
391
396
  "name": "DOMAIN_SEPARATOR",
@@ -395,28 +400,7 @@
395
400
  },
396
401
  {
397
402
  "inputs": [],
398
- "name": "MINTER_ROLE",
399
- "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
400
- "stateMutability": "view",
401
- "type": "function"
402
- },
403
- {
404
- "inputs": [],
405
- "name": "ORACLE_ROLE",
406
- "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
407
- "stateMutability": "view",
408
- "type": "function"
409
- },
410
- {
411
- "inputs": [],
412
- "name": "PAUSE_ROLE",
413
- "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
414
- "stateMutability": "view",
415
- "type": "function"
416
- },
417
- {
418
- "inputs": [],
419
- "name": "UPGRADE_ROLE",
403
+ "name": "Usd0PPStorageV0Location",
420
404
  "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
421
405
  "stateMutability": "view",
422
406
  "type": "function"
@@ -424,12 +408,17 @@
424
408
  {
425
409
  "inputs": [
426
410
  {
427
- "internalType": "uint256",
428
- "name": "_rewardMultiplierIncrement",
429
- "type": "uint256"
411
+ "internalType": "address[]",
412
+ "name": "addressesToAllocateTo",
413
+ "type": "address[]"
414
+ },
415
+ {
416
+ "internalType": "uint256[]",
417
+ "name": "balancesToAllocate",
418
+ "type": "uint256[]"
430
419
  }
431
420
  ],
432
- "name": "addRewardMultiplier",
421
+ "name": "allocateEarlyUnlockBalance",
433
422
  "outputs": [],
434
423
  "stateMutability": "nonpayable",
435
424
  "type": "function"
@@ -447,7 +436,7 @@
447
436
  {
448
437
  "inputs": [
449
438
  { "internalType": "address", "name": "spender", "type": "address" },
450
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
439
+ { "internalType": "uint256", "name": "value", "type": "uint256" }
451
440
  ],
452
441
  "name": "approve",
453
442
  "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
@@ -463,62 +452,11 @@
463
452
  "stateMutability": "view",
464
453
  "type": "function"
465
454
  },
466
- {
467
- "inputs": [
468
- { "internalType": "address[]", "name": "addresses", "type": "address[]" }
469
- ],
470
- "name": "blockAccounts",
471
- "outputs": [],
472
- "stateMutability": "nonpayable",
473
- "type": "function"
474
- },
475
- {
476
- "inputs": [
477
- { "internalType": "address", "name": "from", "type": "address" },
478
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
479
- ],
480
- "name": "burn",
481
- "outputs": [],
482
- "stateMutability": "nonpayable",
483
- "type": "function"
484
- },
485
- {
486
- "inputs": [
487
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
488
- ],
489
- "name": "convertToShares",
490
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
491
- "stateMutability": "view",
492
- "type": "function"
493
- },
494
- {
495
- "inputs": [
496
- { "internalType": "uint256", "name": "shares", "type": "uint256" }
497
- ],
498
- "name": "convertToTokens",
499
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
500
- "stateMutability": "view",
501
- "type": "function"
502
- },
503
455
  {
504
456
  "inputs": [],
505
457
  "name": "decimals",
506
458
  "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],
507
- "stateMutability": "pure",
508
- "type": "function"
509
- },
510
- {
511
- "inputs": [
512
- { "internalType": "address", "name": "spender", "type": "address" },
513
- {
514
- "internalType": "uint256",
515
- "name": "subtractedValue",
516
- "type": "uint256"
517
- }
518
- ],
519
- "name": "decreaseAllowance",
520
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
521
- "stateMutability": "nonpayable",
459
+ "stateMutability": "view",
522
460
  "type": "function"
523
461
  },
524
462
  {
@@ -542,69 +480,91 @@
542
480
  },
543
481
  {
544
482
  "inputs": [
545
- { "internalType": "bytes32", "name": "role", "type": "bytes32" }
483
+ { "internalType": "address", "name": "safeAccount", "type": "address" }
546
484
  ],
547
- "name": "getRoleAdmin",
548
- "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
549
- "stateMutability": "view",
485
+ "name": "emergencyWithdraw",
486
+ "outputs": [],
487
+ "stateMutability": "nonpayable",
550
488
  "type": "function"
551
489
  },
552
490
  {
553
491
  "inputs": [
554
- { "internalType": "bytes32", "name": "role", "type": "bytes32" },
555
- { "internalType": "address", "name": "account", "type": "address" }
492
+ { "internalType": "address", "name": "addressToCheck", "type": "address" }
556
493
  ],
557
- "name": "grantRole",
558
- "outputs": [],
559
- "stateMutability": "nonpayable",
494
+ "name": "getAllocationEarlyUnlock",
495
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
496
+ "stateMutability": "view",
560
497
  "type": "function"
561
498
  },
562
499
  {
563
500
  "inputs": [
564
- { "internalType": "bytes32", "name": "role", "type": "bytes32" },
565
- { "internalType": "address", "name": "account", "type": "address" }
501
+ { "internalType": "address", "name": "user", "type": "address" }
566
502
  ],
567
- "name": "hasRole",
503
+ "name": "getBondEarlyUnlockDisabled",
568
504
  "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
569
505
  "stateMutability": "view",
570
506
  "type": "function"
571
507
  },
572
508
  {
573
- "inputs": [
574
- { "internalType": "address", "name": "spender", "type": "address" },
575
- { "internalType": "uint256", "name": "addedValue", "type": "uint256" }
576
- ],
577
- "name": "increaseAllowance",
578
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
579
- "stateMutability": "nonpayable",
509
+ "inputs": [],
510
+ "name": "getEndTime",
511
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
512
+ "stateMutability": "view",
580
513
  "type": "function"
581
514
  },
582
515
  {
583
- "inputs": [
584
- { "internalType": "string", "name": "name_", "type": "string" },
585
- { "internalType": "string", "name": "symbol_", "type": "string" },
586
- { "internalType": "address", "name": "owner", "type": "address" }
587
- ],
588
- "name": "initialize",
516
+ "inputs": [],
517
+ "name": "getFloorPrice",
518
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
519
+ "stateMutability": "view",
520
+ "type": "function"
521
+ },
522
+ {
523
+ "inputs": [],
524
+ "name": "getStartTime",
525
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
526
+ "stateMutability": "view",
527
+ "type": "function"
528
+ },
529
+ {
530
+ "inputs": [],
531
+ "name": "getTemporaryUnlockEndTime",
532
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
533
+ "stateMutability": "view",
534
+ "type": "function"
535
+ },
536
+ {
537
+ "inputs": [],
538
+ "name": "getTemporaryUnlockStartTime",
539
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
540
+ "stateMutability": "view",
541
+ "type": "function"
542
+ },
543
+ {
544
+ "inputs": [],
545
+ "name": "initializeV1",
589
546
  "outputs": [],
590
547
  "stateMutability": "nonpayable",
591
548
  "type": "function"
592
549
  },
593
550
  {
594
551
  "inputs": [
595
- { "internalType": "address", "name": "account", "type": "address" }
552
+ { "internalType": "uint256", "name": "amountUsd0", "type": "uint256" }
596
553
  ],
597
- "name": "isBlocked",
598
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
599
- "stateMutability": "view",
554
+ "name": "mint",
555
+ "outputs": [],
556
+ "stateMutability": "nonpayable",
600
557
  "type": "function"
601
558
  },
602
559
  {
603
560
  "inputs": [
604
- { "internalType": "address", "name": "to", "type": "address" },
605
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
561
+ { "internalType": "uint256", "name": "amountUsd0", "type": "uint256" },
562
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" },
563
+ { "internalType": "uint8", "name": "v", "type": "uint8" },
564
+ { "internalType": "bytes32", "name": "r", "type": "bytes32" },
565
+ { "internalType": "bytes32", "name": "s", "type": "bytes32" }
606
566
  ],
607
- "name": "mint",
567
+ "name": "mintWithPermit",
608
568
  "outputs": [],
609
569
  "stateMutability": "nonpayable",
610
570
  "type": "function"
@@ -654,83 +614,54 @@
654
614
  "stateMutability": "nonpayable",
655
615
  "type": "function"
656
616
  },
657
- {
658
- "inputs": [],
659
- "name": "proxiableUUID",
660
- "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
661
- "stateMutability": "view",
662
- "type": "function"
663
- },
664
617
  {
665
618
  "inputs": [
666
- { "internalType": "bytes32", "name": "role", "type": "bytes32" },
667
- { "internalType": "address", "name": "account", "type": "address" }
619
+ { "internalType": "address", "name": "user", "type": "address" }
668
620
  ],
669
- "name": "renounceRole",
621
+ "name": "setBondEarlyUnlockDisabled",
670
622
  "outputs": [],
671
623
  "stateMutability": "nonpayable",
672
624
  "type": "function"
673
625
  },
674
- {
675
- "inputs": [
676
- { "internalType": "bytes32", "name": "role", "type": "bytes32" },
677
- { "internalType": "address", "name": "account", "type": "address" }
678
- ],
679
- "name": "revokeRole",
680
- "outputs": [],
681
- "stateMutability": "nonpayable",
682
- "type": "function"
683
- },
684
- {
685
- "inputs": [],
686
- "name": "rewardMultiplier",
687
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
688
- "stateMutability": "view",
689
- "type": "function"
690
- },
691
626
  {
692
627
  "inputs": [
693
628
  {
694
629
  "internalType": "uint256",
695
- "name": "_rewardMultiplier",
630
+ "name": "bondEarlyUnlockStart",
631
+ "type": "uint256"
632
+ },
633
+ {
634
+ "internalType": "uint256",
635
+ "name": "bondEarlyUnlockEnd",
696
636
  "type": "uint256"
697
637
  }
698
638
  ],
699
- "name": "setRewardMultiplier",
639
+ "name": "setupEarlyUnlockPeriod",
700
640
  "outputs": [],
701
641
  "stateMutability": "nonpayable",
702
642
  "type": "function"
703
643
  },
704
644
  {
705
- "inputs": [
706
- { "internalType": "address", "name": "account", "type": "address" }
707
- ],
708
- "name": "sharesOf",
709
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
645
+ "inputs": [],
646
+ "name": "symbol",
647
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
710
648
  "stateMutability": "view",
711
649
  "type": "function"
712
650
  },
713
651
  {
714
652
  "inputs": [
715
- { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }
653
+ { "internalType": "uint256", "name": "amountToUnwrap", "type": "uint256" }
716
654
  ],
717
- "name": "supportsInterface",
718
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
719
- "stateMutability": "view",
720
- "type": "function"
721
- },
722
- {
723
- "inputs": [],
724
- "name": "symbol",
725
- "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
726
- "stateMutability": "view",
655
+ "name": "temporaryOneToOneExitUnwrap",
656
+ "outputs": [],
657
+ "stateMutability": "nonpayable",
727
658
  "type": "function"
728
659
  },
729
660
  {
730
661
  "inputs": [],
731
- "name": "totalShares",
662
+ "name": "totalBondTimes",
732
663
  "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
733
- "stateMutability": "view",
664
+ "stateMutability": "pure",
734
665
  "type": "function"
735
666
  },
736
667
  {
@@ -743,7 +674,7 @@
743
674
  {
744
675
  "inputs": [
745
676
  { "internalType": "address", "name": "to", "type": "address" },
746
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
677
+ { "internalType": "uint256", "name": "value", "type": "uint256" }
747
678
  ],
748
679
  "name": "transfer",
749
680
  "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
@@ -754,7 +685,7 @@
754
685
  "inputs": [
755
686
  { "internalType": "address", "name": "from", "type": "address" },
756
687
  { "internalType": "address", "name": "to", "type": "address" },
757
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
688
+ { "internalType": "uint256", "name": "value", "type": "uint256" }
758
689
  ],
759
690
  "name": "transferFrom",
760
691
  "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
@@ -763,9 +694,23 @@
763
694
  },
764
695
  {
765
696
  "inputs": [
766
- { "internalType": "address[]", "name": "addresses", "type": "address[]" }
697
+ { "internalType": "uint256", "name": "parUsd0Amount", "type": "uint256" },
698
+ {
699
+ "internalType": "uint256",
700
+ "name": "minimumPARMechanismGainedAmount",
701
+ "type": "uint256"
702
+ }
703
+ ],
704
+ "name": "triggerPARMechanismCurvepool",
705
+ "outputs": [],
706
+ "stateMutability": "nonpayable",
707
+ "type": "function"
708
+ },
709
+ {
710
+ "inputs": [
711
+ { "internalType": "uint256", "name": "usd0ppAmount", "type": "uint256" }
767
712
  ],
768
- "name": "unblockAccounts",
713
+ "name": "unlockUsd0ppFloorPrice",
769
714
  "outputs": [],
770
715
  "stateMutability": "nonpayable",
771
716
  "type": "function"
@@ -777,31 +722,29 @@
777
722
  "stateMutability": "nonpayable",
778
723
  "type": "function"
779
724
  },
725
+ {
726
+ "inputs": [],
727
+ "name": "unwrap",
728
+ "outputs": [],
729
+ "stateMutability": "nonpayable",
730
+ "type": "function"
731
+ },
780
732
  {
781
733
  "inputs": [
782
- {
783
- "internalType": "address",
784
- "name": "newImplementation",
785
- "type": "address"
786
- }
734
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
787
735
  ],
788
- "name": "upgradeTo",
736
+ "name": "unwrapPegMaintainer",
789
737
  "outputs": [],
790
738
  "stateMutability": "nonpayable",
791
739
  "type": "function"
792
740
  },
793
741
  {
794
742
  "inputs": [
795
- {
796
- "internalType": "address",
797
- "name": "newImplementation",
798
- "type": "address"
799
- },
800
- { "internalType": "bytes", "name": "data", "type": "bytes" }
743
+ { "internalType": "uint256", "name": "newFloorPrice", "type": "uint256" }
801
744
  ],
802
- "name": "upgradeToAndCall",
745
+ "name": "updateFloorPrice",
803
746
  "outputs": [],
804
- "stateMutability": "payable",
747
+ "stateMutability": "nonpayable",
805
748
  "type": "function"
806
749
  }
807
750
  ]