@paraswap/dex-lib 4.8.24 → 4.8.25

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 (432) hide show
  1. package/build/abi/AaveV2_lending_pool.json +53 -0
  2. package/build/abi/Bancor.json +392 -0
  3. package/build/abi/Compound_CETH.json +12 -0
  4. package/build/abi/SSPM.json +829 -0
  5. package/build/abi/Smoothy.json +1049 -0
  6. package/build/abi/StaderOracle.json +2170 -0
  7. package/build/abi/aave-weth-gateway-avalanche.json +242 -0
  8. package/build/abi/aave-weth-gateway-polygon.json +242 -0
  9. package/build/abi/aave-weth-gateway.json +24 -0
  10. package/build/abi/bunni-v2/BunniHook.abi.json +1921 -0
  11. package/build/abi/bunni-v2/BunniHub.abi.json +1598 -0
  12. package/build/abi/bunni-v2/BunniToken.abi.json +833 -0
  13. package/build/abi/bunni-v2/FeeOverrideHooklet.abi.json +1947 -0
  14. package/build/abi/bunni-v2/FloodPlain.abi.json +1195 -0
  15. package/build/abi/bunni-v2/PoolManager.abi.json +1366 -0
  16. package/build/abi/bunni-v2/V4Quoter.abi.json +637 -0
  17. package/build/abi/concentrator/arUSD.json +568 -0
  18. package/build/abi/concentrator/arUSD5115.json +1746 -0
  19. package/build/abi/gmx/fast-price-events.json +70 -0
  20. package/build/abi/gmx/fast-price-feed.json +748 -0
  21. package/build/abi/gmx/reader.json +337 -0
  22. package/build/abi/gmx/vault-price-feed.json +477 -0
  23. package/build/abi/gmx/vault.json +2002 -0
  24. package/build/abi/jarvis/ChainlinkAccessControlledOffchainAggregator.json +1009 -0
  25. package/build/abi/jarvis/SynthereumPriceFeed.json +381 -0
  26. package/build/abi/jarvis/jarvis-v6-pool.json +1041 -0
  27. package/build/abi/kyberdmm/kyber-dmm-exchange-router.abi.json +1148 -0
  28. package/build/abi/kyberdmm/kyber-dmm-factory.abi.json +335 -0
  29. package/build/abi/kyberdmm/kyber-dmm-pool.abi.json +803 -0
  30. package/build/abi/synthetix/CombinedSynthetix.abi.json +442 -0
  31. package/build/abi/wombat/asset.json +743 -0
  32. package/build/abi/wombat/bmw.json +1247 -0
  33. package/build/abi/wombat/pool-v2.json +1289 -0
  34. package/build/abi/wombat/pool-v3.json +2013 -0
  35. package/build/dex/aave-v2/aave-v2.d.ts +33 -0
  36. package/build/dex/aave-v2/aave-v2.js +328 -0
  37. package/build/dex/aave-v2/aave-v2.js.map +1 -0
  38. package/build/dex/aave-v2/config.d.ts +14 -0
  39. package/build/dex/aave-v2/config.js +49 -0
  40. package/build/dex/aave-v2/config.js.map +1 -0
  41. package/build/dex/aave-v2/tokenlist.json +904 -0
  42. package/build/dex/aave-v2/tokens.d.ts +8 -0
  43. package/build/dex/aave-v2/tokens.js +65 -0
  44. package/build/dex/aave-v2/tokens.js.map +1 -0
  45. package/build/dex/aave-v2/types.d.ts +33 -0
  46. package/build/dex/aave-v2/types.js +11 -0
  47. package/build/dex/aave-v2/types.js.map +1 -0
  48. package/build/dex/bancor/bancor.d.ts +15 -0
  49. package/build/dex/bancor/bancor.js +74 -0
  50. package/build/dex/bancor/bancor.js.map +1 -0
  51. package/build/dex/bancor/config.d.ts +6 -0
  52. package/build/dex/bancor/config.js +11 -0
  53. package/build/dex/bancor/config.js.map +1 -0
  54. package/build/dex/bancor/types.d.ts +16 -0
  55. package/build/dex/bancor/types.js +8 -0
  56. package/build/dex/bancor/types.js.map +1 -0
  57. package/build/dex/bebop/bebop.js +1 -1
  58. package/build/dex/bebop/bebop.js.map +1 -1
  59. package/build/dex/bunni-v2/bunni-v2-pool.d.ts +62 -0
  60. package/build/dex/bunni-v2/bunni-v2-pool.js +505 -0
  61. package/build/dex/bunni-v2/bunni-v2-pool.js.map +1 -0
  62. package/build/dex/bunni-v2/bunni-v2.d.ts +51 -0
  63. package/build/dex/bunni-v2/bunni-v2.js +460 -0
  64. package/build/dex/bunni-v2/bunni-v2.js.map +1 -0
  65. package/build/dex/{renegade → bunni-v2}/config.d.ts +1 -1
  66. package/build/dex/bunni-v2/config.js +130 -0
  67. package/build/dex/bunni-v2/config.js.map +1 -0
  68. package/build/dex/bunni-v2/encoder.d.ts +19 -0
  69. package/build/dex/{pancakeswap-infinity → bunni-v2}/encoder.js +199 -88
  70. package/build/dex/bunni-v2/encoder.js.map +1 -0
  71. package/build/dex/bunni-v2/getOnChainState.d.ts +26 -0
  72. package/build/dex/bunni-v2/getOnChainState.js +493 -0
  73. package/build/dex/bunni-v2/getOnChainState.js.map +1 -0
  74. package/build/dex/bunni-v2/hook/BunniSwapMath.d.ts +7 -0
  75. package/build/dex/bunni-v2/hook/BunniSwapMath.js +198 -0
  76. package/build/dex/bunni-v2/hook/BunniSwapMath.js.map +1 -0
  77. package/build/dex/bunni-v2/hook/SwapMath.d.ts +8 -0
  78. package/build/dex/bunni-v2/hook/SwapMath.js +65 -0
  79. package/build/dex/bunni-v2/hook/SwapMath.js.map +1 -0
  80. package/build/dex/bunni-v2/hooklet/FeeOverrideHooklet.d.ts +33 -0
  81. package/build/dex/bunni-v2/hooklet/FeeOverrideHooklet.js +33 -0
  82. package/build/dex/bunni-v2/hooklet/FeeOverrideHooklet.js.map +1 -0
  83. package/build/dex/bunni-v2/hooklet/index.d.ts +21 -0
  84. package/build/dex/bunni-v2/hooklet/index.js +64 -0
  85. package/build/dex/bunni-v2/hooklet/index.js.map +1 -0
  86. package/build/dex/bunni-v2/ldf/CarpetedDoubleGeometricDistribution.d.ts +70 -0
  87. package/build/dex/bunni-v2/ldf/CarpetedDoubleGeometricDistribution.js +277 -0
  88. package/build/dex/bunni-v2/ldf/CarpetedDoubleGeometricDistribution.js.map +1 -0
  89. package/build/dex/bunni-v2/ldf/CarpetedGeometricDistribution.d.ts +64 -0
  90. package/build/dex/bunni-v2/ldf/CarpetedGeometricDistribution.js +262 -0
  91. package/build/dex/bunni-v2/ldf/CarpetedGeometricDistribution.js.map +1 -0
  92. package/build/dex/bunni-v2/ldf/DoubleGeometricDistribution.d.ts +60 -0
  93. package/build/dex/bunni-v2/ldf/DoubleGeometricDistribution.js +224 -0
  94. package/build/dex/bunni-v2/ldf/DoubleGeometricDistribution.js.map +1 -0
  95. package/build/dex/bunni-v2/ldf/GeometricDistribution.d.ts +56 -0
  96. package/build/dex/bunni-v2/ldf/GeometricDistribution.js +489 -0
  97. package/build/dex/bunni-v2/ldf/GeometricDistribution.js.map +1 -0
  98. package/build/dex/bunni-v2/ldf/LDFType.d.ts +5 -0
  99. package/build/dex/bunni-v2/ldf/LDFType.js +10 -0
  100. package/build/dex/bunni-v2/ldf/LDFType.js.map +1 -0
  101. package/build/dex/bunni-v2/ldf/ShiftMode.d.ts +7 -0
  102. package/build/dex/bunni-v2/ldf/ShiftMode.js +19 -0
  103. package/build/dex/bunni-v2/ldf/ShiftMode.js.map +1 -0
  104. package/build/dex/bunni-v2/ldf/UniformDistribution.d.ts +55 -0
  105. package/build/dex/bunni-v2/ldf/UniformDistribution.js +291 -0
  106. package/build/dex/bunni-v2/ldf/UniformDistribution.js.map +1 -0
  107. package/build/dex/bunni-v2/ldf/index.d.ts +15 -0
  108. package/build/dex/bunni-v2/ldf/index.js +21 -0
  109. package/build/dex/bunni-v2/ldf/index.js.map +1 -0
  110. package/build/dex/bunni-v2/lib/AmAmmPayload.d.ts +4 -0
  111. package/build/dex/bunni-v2/lib/AmAmmPayload.js +10 -0
  112. package/build/dex/bunni-v2/lib/AmAmmPayload.js.map +1 -0
  113. package/build/dex/bunni-v2/lib/BitMath.d.ts +4 -0
  114. package/build/dex/bunni-v2/lib/BitMath.js +24 -0
  115. package/build/dex/bunni-v2/lib/BitMath.js.map +1 -0
  116. package/build/dex/bunni-v2/lib/Constants.d.ts +15 -0
  117. package/build/dex/bunni-v2/lib/Constants.js +19 -0
  118. package/build/dex/bunni-v2/lib/Constants.js.map +1 -0
  119. package/build/dex/bunni-v2/lib/ExpMath.d.ts +5 -0
  120. package/build/dex/bunni-v2/lib/ExpMath.js +121 -0
  121. package/build/dex/bunni-v2/lib/ExpMath.js.map +1 -0
  122. package/build/dex/bunni-v2/lib/FeeMath.d.ts +2 -0
  123. package/build/dex/bunni-v2/lib/FeeMath.js +27 -0
  124. package/build/dex/bunni-v2/lib/FeeMath.js.map +1 -0
  125. package/build/dex/bunni-v2/lib/FixedPointMath.d.ts +3 -0
  126. package/build/dex/bunni-v2/lib/FixedPointMath.js +15 -0
  127. package/build/dex/bunni-v2/lib/FixedPointMath.js.map +1 -0
  128. package/build/dex/bunni-v2/lib/FullMathX96.d.ts +4 -0
  129. package/build/dex/bunni-v2/lib/FullMathX96.js +21 -0
  130. package/build/dex/bunni-v2/lib/FullMathX96.js.map +1 -0
  131. package/build/dex/bunni-v2/lib/IdleBalance.d.ts +11 -0
  132. package/build/dex/bunni-v2/lib/IdleBalance.js +33 -0
  133. package/build/dex/bunni-v2/lib/IdleBalance.js.map +1 -0
  134. package/build/dex/bunni-v2/lib/LiquidityAmounts.d.ts +6 -0
  135. package/build/dex/bunni-v2/lib/LiquidityAmounts.js +25 -0
  136. package/build/dex/bunni-v2/lib/LiquidityAmounts.js.map +1 -0
  137. package/build/dex/bunni-v2/lib/Math.d.ts +28 -0
  138. package/build/dex/bunni-v2/lib/Math.js +169 -0
  139. package/build/dex/bunni-v2/lib/Math.js.map +1 -0
  140. package/build/dex/bunni-v2/lib/Oracle.d.ts +27 -0
  141. package/build/dex/bunni-v2/lib/Oracle.js +180 -0
  142. package/build/dex/bunni-v2/lib/Oracle.js.map +1 -0
  143. package/build/dex/bunni-v2/lib/QueryLDF.d.ts +12 -0
  144. package/build/dex/bunni-v2/lib/QueryLDF.js +90 -0
  145. package/build/dex/bunni-v2/lib/QueryLDF.js.map +1 -0
  146. package/build/dex/bunni-v2/lib/QueryTwap.d.ts +2 -0
  147. package/build/dex/bunni-v2/lib/QueryTwap.js +13 -0
  148. package/build/dex/bunni-v2/lib/QueryTwap.js.map +1 -0
  149. package/build/dex/bunni-v2/lib/SqrtPriceMath.d.ts +8 -0
  150. package/build/dex/bunni-v2/lib/SqrtPriceMath.js +84 -0
  151. package/build/dex/bunni-v2/lib/SqrtPriceMath.js.map +1 -0
  152. package/build/dex/bunni-v2/lib/TickMath.d.ts +11 -0
  153. package/build/dex/bunni-v2/lib/TickMath.js +100 -0
  154. package/build/dex/bunni-v2/lib/TickMath.js.map +1 -0
  155. package/build/dex/bunni-v2/lib/VaultMath.d.ts +2 -0
  156. package/build/dex/bunni-v2/lib/VaultMath.js +11 -0
  157. package/build/dex/bunni-v2/lib/VaultMath.js.map +1 -0
  158. package/build/dex/bunni-v2/logic/AmAmm.d.ts +11 -0
  159. package/build/dex/bunni-v2/logic/AmAmm.js +156 -0
  160. package/build/dex/bunni-v2/logic/AmAmm.js.map +1 -0
  161. package/build/dex/bunni-v2/logic/BunniHookLogic.d.ts +10 -0
  162. package/build/dex/bunni-v2/logic/BunniHookLogic.js +298 -0
  163. package/build/dex/bunni-v2/logic/BunniHookLogic.js.map +1 -0
  164. package/build/dex/bunni-v2/logic/BunniHubLogic.d.ts +5 -0
  165. package/build/dex/bunni-v2/logic/BunniHubLogic.js +245 -0
  166. package/build/dex/bunni-v2/logic/BunniHubLogic.js.map +1 -0
  167. package/build/dex/bunni-v2/logic/BunniQuoter.d.ts +12 -0
  168. package/build/dex/bunni-v2/logic/BunniQuoter.js +201 -0
  169. package/build/dex/bunni-v2/logic/BunniQuoter.js.map +1 -0
  170. package/build/dex/bunni-v2/subgraph.d.ts +7 -0
  171. package/build/dex/bunni-v2/subgraph.js +184 -0
  172. package/build/dex/bunni-v2/subgraph.js.map +1 -0
  173. package/build/dex/bunni-v2/types.d.ts +257 -0
  174. package/build/dex/{renegade/api → bunni-v2}/types.js.map +1 -1
  175. package/build/dex/bunni-v2/utils.d.ts +12 -0
  176. package/build/dex/bunni-v2/utils.js +182 -0
  177. package/build/dex/bunni-v2/utils.js.map +1 -0
  178. package/build/dex/compound/compound.d.ts +15 -0
  179. package/build/dex/compound/compound.js +57 -0
  180. package/build/dex/compound/compound.js.map +1 -0
  181. package/build/dex/compound/types.d.ts +8 -0
  182. package/build/dex/compound/types.js +9 -0
  183. package/build/dex/compound/types.js.map +1 -0
  184. package/build/dex/concentrator-arusd/concentrator-arusd-event.d.ts +17 -0
  185. package/build/dex/concentrator-arusd/concentrator-arusd-event.js +69 -0
  186. package/build/dex/concentrator-arusd/concentrator-arusd-event.js.map +1 -0
  187. package/build/dex/concentrator-arusd/concentrator-arusd.d.ts +41 -0
  188. package/build/dex/concentrator-arusd/concentrator-arusd.js +202 -0
  189. package/build/dex/concentrator-arusd/concentrator-arusd.js.map +1 -0
  190. package/build/dex/concentrator-arusd/config.d.ts +3 -0
  191. package/build/dex/concentrator-arusd/config.js +14 -0
  192. package/build/dex/concentrator-arusd/config.js.map +1 -0
  193. package/build/dex/concentrator-arusd/types.d.ts +14 -0
  194. package/build/dex/concentrator-arusd/types.js.map +1 -0
  195. package/build/dex/concentrator-arusd/utils.d.ts +4 -0
  196. package/build/dex/concentrator-arusd/utils.js +26 -0
  197. package/build/dex/concentrator-arusd/utils.js.map +1 -0
  198. package/build/dex/curve-v1/forks/swerve/config.d.ts +4 -0
  199. package/build/dex/curve-v1/forks/swerve/config.js +47 -0
  200. package/build/dex/curve-v1/forks/swerve/config.js.map +1 -0
  201. package/build/dex/curve-v1/forks/swerve/swerve.d.ts +16 -0
  202. package/build/dex/curve-v1/forks/swerve/swerve.js +46 -0
  203. package/build/dex/curve-v1/forks/swerve/swerve.js.map +1 -0
  204. package/build/dex/gmx/config.d.ts +11 -0
  205. package/build/dex/gmx/config.js +61 -0
  206. package/build/dex/gmx/config.js.map +1 -0
  207. package/build/dex/gmx/fast-price-feed.d.ts +26 -0
  208. package/build/dex/gmx/fast-price-feed.js +184 -0
  209. package/build/dex/gmx/fast-price-feed.js.map +1 -0
  210. package/build/dex/gmx/gmx.d.ts +54 -0
  211. package/build/dex/gmx/gmx.js +247 -0
  212. package/build/dex/gmx/gmx.js.map +1 -0
  213. package/build/dex/gmx/pool.d.ts +21 -0
  214. package/build/dex/gmx/pool.js +212 -0
  215. package/build/dex/gmx/pool.js.map +1 -0
  216. package/build/dex/gmx/types.d.ts +100 -0
  217. package/build/dex/gmx/types.js +3 -0
  218. package/build/dex/gmx/types.js.map +1 -0
  219. package/build/dex/gmx/usdg.d.ts +15 -0
  220. package/build/dex/gmx/usdg.js +62 -0
  221. package/build/dex/gmx/usdg.js.map +1 -0
  222. package/build/dex/gmx/vault-price-feed.d.ts +47 -0
  223. package/build/dex/gmx/vault-price-feed.js +245 -0
  224. package/build/dex/gmx/vault-price-feed.js.map +1 -0
  225. package/build/dex/gmx/vault-utils.d.ts +8 -0
  226. package/build/dex/gmx/vault-utils.js +42 -0
  227. package/build/dex/gmx/vault-utils.js.map +1 -0
  228. package/build/dex/gmx/vault.d.ts +46 -0
  229. package/build/dex/gmx/vault.js +182 -0
  230. package/build/dex/gmx/vault.js.map +1 -0
  231. package/build/dex/jarvis-v6/chainLinkpriceFeed-event.d.ts +15 -0
  232. package/build/dex/jarvis-v6/chainLinkpriceFeed-event.js +51 -0
  233. package/build/dex/jarvis-v6/chainLinkpriceFeed-event.js.map +1 -0
  234. package/build/dex/jarvis-v6/config.d.ts +4 -0
  235. package/build/dex/jarvis-v6/config.js +244 -0
  236. package/build/dex/jarvis-v6/config.js.map +1 -0
  237. package/build/dex/jarvis-v6/jarvis-v6-events.d.ts +27 -0
  238. package/build/dex/jarvis-v6/jarvis-v6-events.js +54 -0
  239. package/build/dex/jarvis-v6/jarvis-v6-events.js.map +1 -0
  240. package/build/dex/jarvis-v6/jarvis-v6.d.ts +49 -0
  241. package/build/dex/jarvis-v6/jarvis-v6.js +321 -0
  242. package/build/dex/jarvis-v6/jarvis-v6.js.map +1 -0
  243. package/build/dex/jarvis-v6/syntheteumPool-event.d.ts +15 -0
  244. package/build/dex/jarvis-v6/syntheteumPool-event.js +49 -0
  245. package/build/dex/jarvis-v6/syntheteumPool-event.js.map +1 -0
  246. package/build/dex/jarvis-v6/types.d.ts +48 -0
  247. package/build/dex/jarvis-v6/types.js +9 -0
  248. package/build/dex/jarvis-v6/types.js.map +1 -0
  249. package/build/dex/jarvis-v6/utils.d.ts +13 -0
  250. package/build/dex/jarvis-v6/utils.js +75 -0
  251. package/build/dex/jarvis-v6/utils.js.map +1 -0
  252. package/build/dex/kyberdmm/config.d.ts +9 -0
  253. package/build/dex/kyberdmm/config.js +59 -0
  254. package/build/dex/kyberdmm/config.js.map +1 -0
  255. package/build/dex/kyberdmm/fee-formula.d.ts +15 -0
  256. package/build/dex/kyberdmm/fee-formula.js +88 -0
  257. package/build/dex/kyberdmm/fee-formula.js.map +1 -0
  258. package/build/dex/kyberdmm/kyberdmm.d.ts +55 -0
  259. package/build/dex/kyberdmm/kyberdmm.js +447 -0
  260. package/build/dex/kyberdmm/kyberdmm.js.map +1 -0
  261. package/build/dex/kyberdmm/math-ext.d.ts +2 -0
  262. package/build/dex/kyberdmm/math-ext.js +27 -0
  263. package/build/dex/kyberdmm/math-ext.js.map +1 -0
  264. package/build/dex/kyberdmm/pool.d.ts +50 -0
  265. package/build/dex/kyberdmm/pool.js +157 -0
  266. package/build/dex/kyberdmm/pool.js.map +1 -0
  267. package/build/dex/kyberdmm/types.d.ts +81 -0
  268. package/build/dex/kyberdmm/types.js +9 -0
  269. package/build/dex/kyberdmm/types.js.map +1 -0
  270. package/build/dex/quickswap/thena-fusion.d.ts +6 -0
  271. package/build/dex/quickswap/thena-fusion.js +19 -0
  272. package/build/dex/quickswap/thena-fusion.js.map +1 -0
  273. package/build/dex/smoothy/smoothy.d.ts +16 -0
  274. package/build/dex/smoothy/smoothy.js +60 -0
  275. package/build/dex/smoothy/smoothy.js.map +1 -0
  276. package/build/dex/smoothy/types.d.ts +15 -0
  277. package/build/dex/smoothy/types.js +8 -0
  278. package/build/dex/smoothy/types.js.map +1 -0
  279. package/build/dex/stader/config.d.ts +3 -0
  280. package/build/dex/stader/config.js +14 -0
  281. package/build/dex/stader/config.js.map +1 -0
  282. package/build/dex/stader/stader-pool.d.ts +19 -0
  283. package/build/dex/stader/stader-pool.js +56 -0
  284. package/build/dex/stader/stader-pool.js.map +1 -0
  285. package/build/dex/stader/stader.d.ts +42 -0
  286. package/build/dex/stader/stader.js +195 -0
  287. package/build/dex/stader/stader.js.map +1 -0
  288. package/build/dex/stader/types.d.ts +13 -0
  289. package/build/dex/stader/types.js +8 -0
  290. package/build/dex/stader/types.js.map +1 -0
  291. package/build/dex/stader/utils.d.ts +4 -0
  292. package/build/dex/stader/utils.js +23 -0
  293. package/build/dex/stader/utils.js.map +1 -0
  294. package/build/dex/synthetix/config.d.ts +4 -0
  295. package/build/dex/synthetix/config.js +53 -0
  296. package/build/dex/synthetix/config.js.map +1 -0
  297. package/build/dex/synthetix/constants.d.ts +23 -0
  298. package/build/dex/synthetix/constants.js +32 -0
  299. package/build/dex/synthetix/constants.js.map +1 -0
  300. package/build/dex/synthetix/contract-math/DexPriceAggregatorUniswapV3.d.ts +17 -0
  301. package/build/dex/synthetix/contract-math/DexPriceAggregatorUniswapV3.js +102 -0
  302. package/build/dex/synthetix/contract-math/DexPriceAggregatorUniswapV3.js.map +1 -0
  303. package/build/dex/synthetix/contract-math/ExchangeRates.d.ts +8 -0
  304. package/build/dex/synthetix/contract-math/ExchangeRates.js +77 -0
  305. package/build/dex/synthetix/contract-math/ExchangeRates.js.map +1 -0
  306. package/build/dex/synthetix/contract-math/ExchangeRatesWithDexPricing.d.ts +17 -0
  307. package/build/dex/synthetix/contract-math/ExchangeRatesWithDexPricing.js +126 -0
  308. package/build/dex/synthetix/contract-math/ExchangeRatesWithDexPricing.js.map +1 -0
  309. package/build/dex/synthetix/contract-math/FullMath.d.ts +3 -0
  310. package/build/dex/synthetix/contract-math/FullMath.js +14 -0
  311. package/build/dex/synthetix/contract-math/FullMath.js.map +1 -0
  312. package/build/dex/synthetix/contract-math/OracleLibrary.d.ts +8 -0
  313. package/build/dex/synthetix/contract-math/OracleLibrary.js +60 -0
  314. package/build/dex/synthetix/contract-math/OracleLibrary.js.map +1 -0
  315. package/build/dex/synthetix/contract-math/SafeDecimalMath.d.ts +9 -0
  316. package/build/dex/synthetix/contract-math/SafeDecimalMath.js +41 -0
  317. package/build/dex/synthetix/contract-math/SafeDecimalMath.js.map +1 -0
  318. package/build/dex/synthetix/contract-math/TickMath.d.ts +7 -0
  319. package/build/dex/synthetix/contract-math/TickMath.js +63 -0
  320. package/build/dex/synthetix/contract-math/TickMath.js.map +1 -0
  321. package/build/dex/synthetix/contract-math/synthetix-math.d.ts +17 -0
  322. package/build/dex/synthetix/contract-math/synthetix-math.js +127 -0
  323. package/build/dex/synthetix/contract-math/synthetix-math.js.map +1 -0
  324. package/build/dex/synthetix/synthetix-state.d.ts +36 -0
  325. package/build/dex/synthetix/synthetix-state.js +615 -0
  326. package/build/dex/synthetix/synthetix-state.js.map +1 -0
  327. package/build/dex/synthetix/synthetix.d.ts +45 -0
  328. package/build/dex/synthetix/synthetix.js +304 -0
  329. package/build/dex/synthetix/synthetix.js.map +1 -0
  330. package/build/dex/synthetix/types.d.ts +90 -0
  331. package/build/dex/synthetix/types.js +3 -0
  332. package/build/dex/synthetix/types.js.map +1 -0
  333. package/build/dex/synthetix/utils.d.ts +10 -0
  334. package/build/dex/synthetix/utils.js +91 -0
  335. package/build/dex/synthetix/utils.js.map +1 -0
  336. package/build/dex/trader-joe-v2.1/trader-joe-v2.1.d.ts +7 -0
  337. package/build/dex/trader-joe-v2.1/trader-joe-v2.1.js +20 -0
  338. package/build/dex/trader-joe-v2.1/trader-joe-v2.1.js.map +1 -0
  339. package/build/dex/uniswap-v4/api-go/compare-pricing.d.ts +1 -0
  340. package/build/dex/uniswap-v4/api-go/compare-pricing.js +187 -0
  341. package/build/dex/uniswap-v4/api-go/compare-pricing.js.map +1 -0
  342. package/build/dex/uniswap-v4/api-go/compare-states.d.ts +1 -0
  343. package/build/dex/uniswap-v4/api-go/compare-states.js +149 -0
  344. package/build/dex/uniswap-v4/api-go/compare-states.js.map +1 -0
  345. package/build/dex/uniswap-v4/api-go/fetch-pool-key.d.ts +0 -0
  346. package/build/dex/uniswap-v4/api-go/fetch-pool-key.js +140 -0
  347. package/build/dex/uniswap-v4/api-go/fetch-pool-key.js.map +1 -0
  348. package/build/dex/wombat/config.d.ts +4 -0
  349. package/build/dex/wombat/config.js +77 -0
  350. package/build/dex/wombat/config.js.map +1 -0
  351. package/build/dex/wombat/types.d.ts +34 -0
  352. package/build/dex/wombat/types.js +3 -0
  353. package/build/dex/wombat/types.js.map +1 -0
  354. package/build/dex/wombat/utils.d.ts +10 -0
  355. package/build/dex/wombat/utils.js +79 -0
  356. package/build/dex/wombat/utils.js.map +1 -0
  357. package/build/dex/wombat/wombat-bmw.d.ts +40 -0
  358. package/build/dex/wombat/wombat-bmw.js +136 -0
  359. package/build/dex/wombat/wombat-bmw.js.map +1 -0
  360. package/build/dex/wombat/wombat-pool.d.ts +60 -0
  361. package/build/dex/wombat/wombat-pool.js +488 -0
  362. package/build/dex/wombat/wombat-pool.js.map +1 -0
  363. package/build/dex/wombat/wombat-quoter.d.ts +17 -0
  364. package/build/dex/wombat/wombat-quoter.js +192 -0
  365. package/build/dex/wombat/wombat-quoter.js.map +1 -0
  366. package/build/dex/wombat/wombat.d.ts +58 -0
  367. package/build/dex/wombat/wombat.js +298 -0
  368. package/build/dex/wombat/wombat.js.map +1 -0
  369. package/build/tenderly-simulation.d.ts +221 -0
  370. package/build/tenderly-simulation.js +517 -0
  371. package/build/tenderly-simulation.js.map +1 -0
  372. package/package.json +1 -1
  373. package/build/abi/pancakeswap-infinity/cl-pool-manager.abi.json +0 -136
  374. package/build/abi/pancakeswap-infinity/cl-quoter.abi.json +0 -66
  375. package/build/abi/pancakeswap-infinity/router.abi.json +0 -23
  376. package/build/dex/pancakeswap-infinity/config.d.ts +0 -4
  377. package/build/dex/pancakeswap-infinity/config.js +0 -30
  378. package/build/dex/pancakeswap-infinity/config.js.map +0 -1
  379. package/build/dex/pancakeswap-infinity/constants.d.ts +0 -11
  380. package/build/dex/pancakeswap-infinity/constants.js +0 -15
  381. package/build/dex/pancakeswap-infinity/constants.js.map +0 -1
  382. package/build/dex/pancakeswap-infinity/encoder.d.ts +0 -16
  383. package/build/dex/pancakeswap-infinity/encoder.js.map +0 -1
  384. package/build/dex/pancakeswap-infinity/liquidity.d.ts +0 -1
  385. package/build/dex/pancakeswap-infinity/liquidity.js +0 -7
  386. package/build/dex/pancakeswap-infinity/liquidity.js.map +0 -1
  387. package/build/dex/pancakeswap-infinity/optimizer.d.ts +0 -2
  388. package/build/dex/pancakeswap-infinity/optimizer.js +0 -48
  389. package/build/dex/pancakeswap-infinity/optimizer.js.map +0 -1
  390. package/build/dex/pancakeswap-infinity/pancakeswap-infinity-pool-manager.d.ts +0 -36
  391. package/build/dex/pancakeswap-infinity/pancakeswap-infinity-pool-manager.js +0 -393
  392. package/build/dex/pancakeswap-infinity/pancakeswap-infinity-pool-manager.js.map +0 -1
  393. package/build/dex/pancakeswap-infinity/pancakeswap-infinity-pool.d.ts +0 -37
  394. package/build/dex/pancakeswap-infinity/pancakeswap-infinity-pool.js +0 -289
  395. package/build/dex/pancakeswap-infinity/pancakeswap-infinity-pool.js.map +0 -1
  396. package/build/dex/pancakeswap-infinity/pancakeswap-infinity.d.ts +0 -42
  397. package/build/dex/pancakeswap-infinity/pancakeswap-infinity.js +0 -350
  398. package/build/dex/pancakeswap-infinity/pancakeswap-infinity.js.map +0 -1
  399. package/build/dex/pancakeswap-infinity/subgraph.d.ts +0 -8
  400. package/build/dex/pancakeswap-infinity/subgraph.js +0 -122
  401. package/build/dex/pancakeswap-infinity/subgraph.js.map +0 -1
  402. package/build/dex/pancakeswap-infinity/types.d.ts +0 -101
  403. package/build/dex/pancakeswap-infinity/types.js.map +0 -1
  404. package/build/dex/pancakeswap-infinity/utils.d.ts +0 -5
  405. package/build/dex/pancakeswap-infinity/utils.js +0 -45
  406. package/build/dex/pancakeswap-infinity/utils.js.map +0 -1
  407. package/build/dex/renegade/api/auth.d.ts +0 -1
  408. package/build/dex/renegade/api/auth.js +0 -63
  409. package/build/dex/renegade/api/auth.js.map +0 -1
  410. package/build/dex/renegade/api/renegade-client.d.ts +0 -18
  411. package/build/dex/renegade/api/renegade-client.js +0 -82
  412. package/build/dex/renegade/api/renegade-client.js.map +0 -1
  413. package/build/dex/renegade/api/types.d.ts +0 -110
  414. package/build/dex/renegade/config.js +0 -16
  415. package/build/dex/renegade/config.js.map +0 -1
  416. package/build/dex/renegade/constants.d.ts +0 -25
  417. package/build/dex/renegade/constants.js +0 -47
  418. package/build/dex/renegade/constants.js.map +0 -1
  419. package/build/dex/renegade/rate-fetcher.d.ts +0 -23
  420. package/build/dex/renegade/rate-fetcher.js +0 -135
  421. package/build/dex/renegade/rate-fetcher.js.map +0 -1
  422. package/build/dex/renegade/renegade-levels-response.d.ts +0 -22
  423. package/build/dex/renegade/renegade-levels-response.js +0 -99
  424. package/build/dex/renegade/renegade-levels-response.js.map +0 -1
  425. package/build/dex/renegade/renegade.d.ts +0 -57
  426. package/build/dex/renegade/renegade.js +0 -499
  427. package/build/dex/renegade/renegade.js.map +0 -1
  428. package/build/dex/renegade/types.d.ts +0 -38
  429. package/build/dex/renegade/types.js +0 -4
  430. package/build/dex/renegade/types.js.map +0 -1
  431. /package/build/dex/{pancakeswap-infinity → bunni-v2}/types.js +0 -0
  432. /package/build/dex/{renegade/api → concentrator-arusd}/types.js +0 -0
@@ -0,0 +1,1195 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "permit2",
7
+ "type": "address"
8
+ }
9
+ ],
10
+ "stateMutability": "nonpayable",
11
+ "type": "constructor"
12
+ },
13
+ {
14
+ "inputs": [
15
+ {
16
+ "internalType": "address",
17
+ "name": "target",
18
+ "type": "address"
19
+ }
20
+ ],
21
+ "name": "AddressEmptyCode",
22
+ "type": "error"
23
+ },
24
+ {
25
+ "inputs": [
26
+ {
27
+ "internalType": "address",
28
+ "name": "account",
29
+ "type": "address"
30
+ }
31
+ ],
32
+ "name": "AddressInsufficientBalance",
33
+ "type": "error"
34
+ },
35
+ {
36
+ "inputs": [],
37
+ "name": "ArrayLengthMismatch",
38
+ "type": "error"
39
+ },
40
+ {
41
+ "inputs": [],
42
+ "name": "DuplicateItems",
43
+ "type": "error"
44
+ },
45
+ {
46
+ "inputs": [],
47
+ "name": "FailedInnerCall",
48
+ "type": "error"
49
+ },
50
+ {
51
+ "inputs": [],
52
+ "name": "InsufficientAmountReceived",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [],
57
+ "name": "NotAContract",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "ReentrancyGuardReentrantCall",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "address",
69
+ "name": "token",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "SafeERC20FailedOperation",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [],
78
+ "name": "ZoneDenied",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "anonymous": false,
83
+ "inputs": [
84
+ {
85
+ "indexed": true,
86
+ "internalType": "uint256",
87
+ "name": "decoderId",
88
+ "type": "uint256"
89
+ },
90
+ {
91
+ "indexed": true,
92
+ "internalType": "address",
93
+ "name": "decoder",
94
+ "type": "address"
95
+ }
96
+ ],
97
+ "name": "DecoderAdded",
98
+ "type": "event"
99
+ },
100
+ {
101
+ "anonymous": false,
102
+ "inputs": [
103
+ {
104
+ "indexed": true,
105
+ "internalType": "bytes32",
106
+ "name": "orderHash",
107
+ "type": "bytes32"
108
+ },
109
+ {
110
+ "components": [
111
+ {
112
+ "components": [
113
+ {
114
+ "internalType": "address",
115
+ "name": "offerer",
116
+ "type": "address"
117
+ },
118
+ {
119
+ "internalType": "address",
120
+ "name": "zone",
121
+ "type": "address"
122
+ },
123
+ {
124
+ "internalType": "address",
125
+ "name": "recipient",
126
+ "type": "address"
127
+ },
128
+ {
129
+ "components": [
130
+ {
131
+ "internalType": "address",
132
+ "name": "token",
133
+ "type": "address"
134
+ },
135
+ {
136
+ "internalType": "uint256",
137
+ "name": "amount",
138
+ "type": "uint256"
139
+ }
140
+ ],
141
+ "internalType": "struct IFloodPlain.Item[]",
142
+ "name": "offer",
143
+ "type": "tuple[]"
144
+ },
145
+ {
146
+ "components": [
147
+ {
148
+ "internalType": "address",
149
+ "name": "token",
150
+ "type": "address"
151
+ },
152
+ {
153
+ "internalType": "uint256",
154
+ "name": "amount",
155
+ "type": "uint256"
156
+ }
157
+ ],
158
+ "internalType": "struct IFloodPlain.Item",
159
+ "name": "consideration",
160
+ "type": "tuple"
161
+ },
162
+ {
163
+ "internalType": "uint256",
164
+ "name": "deadline",
165
+ "type": "uint256"
166
+ },
167
+ {
168
+ "internalType": "uint256",
169
+ "name": "nonce",
170
+ "type": "uint256"
171
+ },
172
+ {
173
+ "components": [
174
+ {
175
+ "internalType": "address",
176
+ "name": "target",
177
+ "type": "address"
178
+ },
179
+ {
180
+ "internalType": "bytes",
181
+ "name": "data",
182
+ "type": "bytes"
183
+ }
184
+ ],
185
+ "internalType": "struct IFloodPlain.Hook[]",
186
+ "name": "preHooks",
187
+ "type": "tuple[]"
188
+ },
189
+ {
190
+ "components": [
191
+ {
192
+ "internalType": "address",
193
+ "name": "target",
194
+ "type": "address"
195
+ },
196
+ {
197
+ "internalType": "bytes",
198
+ "name": "data",
199
+ "type": "bytes"
200
+ }
201
+ ],
202
+ "internalType": "struct IFloodPlain.Hook[]",
203
+ "name": "postHooks",
204
+ "type": "tuple[]"
205
+ }
206
+ ],
207
+ "internalType": "struct IFloodPlain.Order",
208
+ "name": "order",
209
+ "type": "tuple"
210
+ },
211
+ {
212
+ "internalType": "bytes",
213
+ "name": "signature",
214
+ "type": "bytes"
215
+ }
216
+ ],
217
+ "indexed": false,
218
+ "internalType": "struct IFloodPlain.SignedOrder",
219
+ "name": "signedOrder",
220
+ "type": "tuple"
221
+ }
222
+ ],
223
+ "name": "OrderEtched",
224
+ "type": "event"
225
+ },
226
+ {
227
+ "anonymous": false,
228
+ "inputs": [
229
+ {
230
+ "indexed": true,
231
+ "internalType": "bytes32",
232
+ "name": "orderHash",
233
+ "type": "bytes32"
234
+ },
235
+ {
236
+ "indexed": true,
237
+ "internalType": "address",
238
+ "name": "zone",
239
+ "type": "address"
240
+ },
241
+ {
242
+ "indexed": true,
243
+ "internalType": "address",
244
+ "name": "fulfiller",
245
+ "type": "address"
246
+ },
247
+ {
248
+ "indexed": false,
249
+ "internalType": "uint256",
250
+ "name": "amountOut",
251
+ "type": "uint256"
252
+ }
253
+ ],
254
+ "name": "OrderFulfilled",
255
+ "type": "event"
256
+ },
257
+ {
258
+ "stateMutability": "nonpayable",
259
+ "type": "fallback"
260
+ },
261
+ {
262
+ "inputs": [],
263
+ "name": "FALLBACK_SELECTOR",
264
+ "outputs": [
265
+ {
266
+ "internalType": "bytes1",
267
+ "name": "",
268
+ "type": "bytes1"
269
+ }
270
+ ],
271
+ "stateMutability": "view",
272
+ "type": "function"
273
+ },
274
+ {
275
+ "inputs": [],
276
+ "name": "PERMIT2",
277
+ "outputs": [
278
+ {
279
+ "internalType": "contract ISignatureTransfer",
280
+ "name": "",
281
+ "type": "address"
282
+ }
283
+ ],
284
+ "stateMutability": "view",
285
+ "type": "function"
286
+ },
287
+ {
288
+ "inputs": [
289
+ {
290
+ "internalType": "address",
291
+ "name": "decoder",
292
+ "type": "address"
293
+ }
294
+ ],
295
+ "name": "addDecoder",
296
+ "outputs": [
297
+ {
298
+ "internalType": "uint256",
299
+ "name": "id",
300
+ "type": "uint256"
301
+ }
302
+ ],
303
+ "stateMutability": "nonpayable",
304
+ "type": "function"
305
+ },
306
+ {
307
+ "inputs": [
308
+ {
309
+ "internalType": "uint256",
310
+ "name": "",
311
+ "type": "uint256"
312
+ }
313
+ ],
314
+ "name": "decoders",
315
+ "outputs": [
316
+ {
317
+ "internalType": "address",
318
+ "name": "",
319
+ "type": "address"
320
+ }
321
+ ],
322
+ "stateMutability": "view",
323
+ "type": "function"
324
+ },
325
+ {
326
+ "inputs": [
327
+ {
328
+ "components": [
329
+ {
330
+ "components": [
331
+ {
332
+ "internalType": "address",
333
+ "name": "offerer",
334
+ "type": "address"
335
+ },
336
+ {
337
+ "internalType": "address",
338
+ "name": "zone",
339
+ "type": "address"
340
+ },
341
+ {
342
+ "internalType": "address",
343
+ "name": "recipient",
344
+ "type": "address"
345
+ },
346
+ {
347
+ "components": [
348
+ {
349
+ "internalType": "address",
350
+ "name": "token",
351
+ "type": "address"
352
+ },
353
+ {
354
+ "internalType": "uint256",
355
+ "name": "amount",
356
+ "type": "uint256"
357
+ }
358
+ ],
359
+ "internalType": "struct IFloodPlain.Item[]",
360
+ "name": "offer",
361
+ "type": "tuple[]"
362
+ },
363
+ {
364
+ "components": [
365
+ {
366
+ "internalType": "address",
367
+ "name": "token",
368
+ "type": "address"
369
+ },
370
+ {
371
+ "internalType": "uint256",
372
+ "name": "amount",
373
+ "type": "uint256"
374
+ }
375
+ ],
376
+ "internalType": "struct IFloodPlain.Item",
377
+ "name": "consideration",
378
+ "type": "tuple"
379
+ },
380
+ {
381
+ "internalType": "uint256",
382
+ "name": "deadline",
383
+ "type": "uint256"
384
+ },
385
+ {
386
+ "internalType": "uint256",
387
+ "name": "nonce",
388
+ "type": "uint256"
389
+ },
390
+ {
391
+ "components": [
392
+ {
393
+ "internalType": "address",
394
+ "name": "target",
395
+ "type": "address"
396
+ },
397
+ {
398
+ "internalType": "bytes",
399
+ "name": "data",
400
+ "type": "bytes"
401
+ }
402
+ ],
403
+ "internalType": "struct IFloodPlain.Hook[]",
404
+ "name": "preHooks",
405
+ "type": "tuple[]"
406
+ },
407
+ {
408
+ "components": [
409
+ {
410
+ "internalType": "address",
411
+ "name": "target",
412
+ "type": "address"
413
+ },
414
+ {
415
+ "internalType": "bytes",
416
+ "name": "data",
417
+ "type": "bytes"
418
+ }
419
+ ],
420
+ "internalType": "struct IFloodPlain.Hook[]",
421
+ "name": "postHooks",
422
+ "type": "tuple[]"
423
+ }
424
+ ],
425
+ "internalType": "struct IFloodPlain.Order",
426
+ "name": "order",
427
+ "type": "tuple"
428
+ },
429
+ {
430
+ "internalType": "bytes",
431
+ "name": "signature",
432
+ "type": "bytes"
433
+ }
434
+ ],
435
+ "internalType": "struct IFloodPlain.SignedOrder",
436
+ "name": "signedOrder",
437
+ "type": "tuple"
438
+ }
439
+ ],
440
+ "name": "etchOrder",
441
+ "outputs": [],
442
+ "stateMutability": "nonpayable",
443
+ "type": "function"
444
+ },
445
+ {
446
+ "inputs": [
447
+ {
448
+ "components": [
449
+ {
450
+ "components": [
451
+ {
452
+ "internalType": "address",
453
+ "name": "offerer",
454
+ "type": "address"
455
+ },
456
+ {
457
+ "internalType": "address",
458
+ "name": "zone",
459
+ "type": "address"
460
+ },
461
+ {
462
+ "internalType": "address",
463
+ "name": "recipient",
464
+ "type": "address"
465
+ },
466
+ {
467
+ "components": [
468
+ {
469
+ "internalType": "address",
470
+ "name": "token",
471
+ "type": "address"
472
+ },
473
+ {
474
+ "internalType": "uint256",
475
+ "name": "amount",
476
+ "type": "uint256"
477
+ }
478
+ ],
479
+ "internalType": "struct IFloodPlain.Item[]",
480
+ "name": "offer",
481
+ "type": "tuple[]"
482
+ },
483
+ {
484
+ "components": [
485
+ {
486
+ "internalType": "address",
487
+ "name": "token",
488
+ "type": "address"
489
+ },
490
+ {
491
+ "internalType": "uint256",
492
+ "name": "amount",
493
+ "type": "uint256"
494
+ }
495
+ ],
496
+ "internalType": "struct IFloodPlain.Item",
497
+ "name": "consideration",
498
+ "type": "tuple"
499
+ },
500
+ {
501
+ "internalType": "uint256",
502
+ "name": "deadline",
503
+ "type": "uint256"
504
+ },
505
+ {
506
+ "internalType": "uint256",
507
+ "name": "nonce",
508
+ "type": "uint256"
509
+ },
510
+ {
511
+ "components": [
512
+ {
513
+ "internalType": "address",
514
+ "name": "target",
515
+ "type": "address"
516
+ },
517
+ {
518
+ "internalType": "bytes",
519
+ "name": "data",
520
+ "type": "bytes"
521
+ }
522
+ ],
523
+ "internalType": "struct IFloodPlain.Hook[]",
524
+ "name": "preHooks",
525
+ "type": "tuple[]"
526
+ },
527
+ {
528
+ "components": [
529
+ {
530
+ "internalType": "address",
531
+ "name": "target",
532
+ "type": "address"
533
+ },
534
+ {
535
+ "internalType": "bytes",
536
+ "name": "data",
537
+ "type": "bytes"
538
+ }
539
+ ],
540
+ "internalType": "struct IFloodPlain.Hook[]",
541
+ "name": "postHooks",
542
+ "type": "tuple[]"
543
+ }
544
+ ],
545
+ "internalType": "struct IFloodPlain.Order",
546
+ "name": "order",
547
+ "type": "tuple"
548
+ },
549
+ {
550
+ "internalType": "bytes",
551
+ "name": "signature",
552
+ "type": "bytes"
553
+ }
554
+ ],
555
+ "internalType": "struct IFloodPlain.SignedOrder",
556
+ "name": "package",
557
+ "type": "tuple"
558
+ },
559
+ {
560
+ "internalType": "address",
561
+ "name": "fulfiller",
562
+ "type": "address"
563
+ },
564
+ {
565
+ "internalType": "bytes",
566
+ "name": "swapData",
567
+ "type": "bytes"
568
+ }
569
+ ],
570
+ "name": "fulfillOrder",
571
+ "outputs": [],
572
+ "stateMutability": "nonpayable",
573
+ "type": "function"
574
+ },
575
+ {
576
+ "inputs": [
577
+ {
578
+ "components": [
579
+ {
580
+ "components": [
581
+ {
582
+ "internalType": "address",
583
+ "name": "offerer",
584
+ "type": "address"
585
+ },
586
+ {
587
+ "internalType": "address",
588
+ "name": "zone",
589
+ "type": "address"
590
+ },
591
+ {
592
+ "internalType": "address",
593
+ "name": "recipient",
594
+ "type": "address"
595
+ },
596
+ {
597
+ "components": [
598
+ {
599
+ "internalType": "address",
600
+ "name": "token",
601
+ "type": "address"
602
+ },
603
+ {
604
+ "internalType": "uint256",
605
+ "name": "amount",
606
+ "type": "uint256"
607
+ }
608
+ ],
609
+ "internalType": "struct IFloodPlain.Item[]",
610
+ "name": "offer",
611
+ "type": "tuple[]"
612
+ },
613
+ {
614
+ "components": [
615
+ {
616
+ "internalType": "address",
617
+ "name": "token",
618
+ "type": "address"
619
+ },
620
+ {
621
+ "internalType": "uint256",
622
+ "name": "amount",
623
+ "type": "uint256"
624
+ }
625
+ ],
626
+ "internalType": "struct IFloodPlain.Item",
627
+ "name": "consideration",
628
+ "type": "tuple"
629
+ },
630
+ {
631
+ "internalType": "uint256",
632
+ "name": "deadline",
633
+ "type": "uint256"
634
+ },
635
+ {
636
+ "internalType": "uint256",
637
+ "name": "nonce",
638
+ "type": "uint256"
639
+ },
640
+ {
641
+ "components": [
642
+ {
643
+ "internalType": "address",
644
+ "name": "target",
645
+ "type": "address"
646
+ },
647
+ {
648
+ "internalType": "bytes",
649
+ "name": "data",
650
+ "type": "bytes"
651
+ }
652
+ ],
653
+ "internalType": "struct IFloodPlain.Hook[]",
654
+ "name": "preHooks",
655
+ "type": "tuple[]"
656
+ },
657
+ {
658
+ "components": [
659
+ {
660
+ "internalType": "address",
661
+ "name": "target",
662
+ "type": "address"
663
+ },
664
+ {
665
+ "internalType": "bytes",
666
+ "name": "data",
667
+ "type": "bytes"
668
+ }
669
+ ],
670
+ "internalType": "struct IFloodPlain.Hook[]",
671
+ "name": "postHooks",
672
+ "type": "tuple[]"
673
+ }
674
+ ],
675
+ "internalType": "struct IFloodPlain.Order",
676
+ "name": "order",
677
+ "type": "tuple"
678
+ },
679
+ {
680
+ "internalType": "bytes",
681
+ "name": "signature",
682
+ "type": "bytes"
683
+ }
684
+ ],
685
+ "internalType": "struct IFloodPlain.SignedOrder",
686
+ "name": "package",
687
+ "type": "tuple"
688
+ }
689
+ ],
690
+ "name": "fulfillOrder",
691
+ "outputs": [],
692
+ "stateMutability": "payable",
693
+ "type": "function"
694
+ },
695
+ {
696
+ "inputs": [
697
+ {
698
+ "components": [
699
+ {
700
+ "components": [
701
+ {
702
+ "internalType": "address",
703
+ "name": "offerer",
704
+ "type": "address"
705
+ },
706
+ {
707
+ "internalType": "address",
708
+ "name": "zone",
709
+ "type": "address"
710
+ },
711
+ {
712
+ "internalType": "address",
713
+ "name": "recipient",
714
+ "type": "address"
715
+ },
716
+ {
717
+ "components": [
718
+ {
719
+ "internalType": "address",
720
+ "name": "token",
721
+ "type": "address"
722
+ },
723
+ {
724
+ "internalType": "uint256",
725
+ "name": "amount",
726
+ "type": "uint256"
727
+ }
728
+ ],
729
+ "internalType": "struct IFloodPlain.Item[]",
730
+ "name": "offer",
731
+ "type": "tuple[]"
732
+ },
733
+ {
734
+ "components": [
735
+ {
736
+ "internalType": "address",
737
+ "name": "token",
738
+ "type": "address"
739
+ },
740
+ {
741
+ "internalType": "uint256",
742
+ "name": "amount",
743
+ "type": "uint256"
744
+ }
745
+ ],
746
+ "internalType": "struct IFloodPlain.Item",
747
+ "name": "consideration",
748
+ "type": "tuple"
749
+ },
750
+ {
751
+ "internalType": "uint256",
752
+ "name": "deadline",
753
+ "type": "uint256"
754
+ },
755
+ {
756
+ "internalType": "uint256",
757
+ "name": "nonce",
758
+ "type": "uint256"
759
+ },
760
+ {
761
+ "components": [
762
+ {
763
+ "internalType": "address",
764
+ "name": "target",
765
+ "type": "address"
766
+ },
767
+ {
768
+ "internalType": "bytes",
769
+ "name": "data",
770
+ "type": "bytes"
771
+ }
772
+ ],
773
+ "internalType": "struct IFloodPlain.Hook[]",
774
+ "name": "preHooks",
775
+ "type": "tuple[]"
776
+ },
777
+ {
778
+ "components": [
779
+ {
780
+ "internalType": "address",
781
+ "name": "target",
782
+ "type": "address"
783
+ },
784
+ {
785
+ "internalType": "bytes",
786
+ "name": "data",
787
+ "type": "bytes"
788
+ }
789
+ ],
790
+ "internalType": "struct IFloodPlain.Hook[]",
791
+ "name": "postHooks",
792
+ "type": "tuple[]"
793
+ }
794
+ ],
795
+ "internalType": "struct IFloodPlain.Order",
796
+ "name": "order",
797
+ "type": "tuple"
798
+ },
799
+ {
800
+ "internalType": "bytes",
801
+ "name": "signature",
802
+ "type": "bytes"
803
+ }
804
+ ],
805
+ "internalType": "struct IFloodPlain.SignedOrder[]",
806
+ "name": "packages",
807
+ "type": "tuple[]"
808
+ },
809
+ {
810
+ "internalType": "address",
811
+ "name": "fulfiller",
812
+ "type": "address"
813
+ },
814
+ {
815
+ "internalType": "bytes",
816
+ "name": "swapData",
817
+ "type": "bytes"
818
+ }
819
+ ],
820
+ "name": "fulfillOrders",
821
+ "outputs": [],
822
+ "stateMutability": "nonpayable",
823
+ "type": "function"
824
+ },
825
+ {
826
+ "inputs": [
827
+ {
828
+ "internalType": "address",
829
+ "name": "user",
830
+ "type": "address"
831
+ },
832
+ {
833
+ "internalType": "uint256",
834
+ "name": "nonce",
835
+ "type": "uint256"
836
+ }
837
+ ],
838
+ "name": "getNonceStatus",
839
+ "outputs": [
840
+ {
841
+ "internalType": "bool",
842
+ "name": "",
843
+ "type": "bool"
844
+ }
845
+ ],
846
+ "stateMutability": "view",
847
+ "type": "function"
848
+ },
849
+ {
850
+ "inputs": [
851
+ {
852
+ "components": [
853
+ {
854
+ "internalType": "address",
855
+ "name": "offerer",
856
+ "type": "address"
857
+ },
858
+ {
859
+ "internalType": "address",
860
+ "name": "zone",
861
+ "type": "address"
862
+ },
863
+ {
864
+ "internalType": "address",
865
+ "name": "recipient",
866
+ "type": "address"
867
+ },
868
+ {
869
+ "components": [
870
+ {
871
+ "internalType": "address",
872
+ "name": "token",
873
+ "type": "address"
874
+ },
875
+ {
876
+ "internalType": "uint256",
877
+ "name": "amount",
878
+ "type": "uint256"
879
+ }
880
+ ],
881
+ "internalType": "struct IFloodPlain.Item[]",
882
+ "name": "offer",
883
+ "type": "tuple[]"
884
+ },
885
+ {
886
+ "components": [
887
+ {
888
+ "internalType": "address",
889
+ "name": "token",
890
+ "type": "address"
891
+ },
892
+ {
893
+ "internalType": "uint256",
894
+ "name": "amount",
895
+ "type": "uint256"
896
+ }
897
+ ],
898
+ "internalType": "struct IFloodPlain.Item",
899
+ "name": "consideration",
900
+ "type": "tuple"
901
+ },
902
+ {
903
+ "internalType": "uint256",
904
+ "name": "deadline",
905
+ "type": "uint256"
906
+ },
907
+ {
908
+ "internalType": "uint256",
909
+ "name": "nonce",
910
+ "type": "uint256"
911
+ },
912
+ {
913
+ "components": [
914
+ {
915
+ "internalType": "address",
916
+ "name": "target",
917
+ "type": "address"
918
+ },
919
+ {
920
+ "internalType": "bytes",
921
+ "name": "data",
922
+ "type": "bytes"
923
+ }
924
+ ],
925
+ "internalType": "struct IFloodPlain.Hook[]",
926
+ "name": "preHooks",
927
+ "type": "tuple[]"
928
+ },
929
+ {
930
+ "components": [
931
+ {
932
+ "internalType": "address",
933
+ "name": "target",
934
+ "type": "address"
935
+ },
936
+ {
937
+ "internalType": "bytes",
938
+ "name": "data",
939
+ "type": "bytes"
940
+ }
941
+ ],
942
+ "internalType": "struct IFloodPlain.Hook[]",
943
+ "name": "postHooks",
944
+ "type": "tuple[]"
945
+ }
946
+ ],
947
+ "internalType": "struct IFloodPlain.Order",
948
+ "name": "order",
949
+ "type": "tuple"
950
+ }
951
+ ],
952
+ "name": "getOrderHash",
953
+ "outputs": [
954
+ {
955
+ "internalType": "bytes32",
956
+ "name": "",
957
+ "type": "bytes32"
958
+ }
959
+ ],
960
+ "stateMutability": "pure",
961
+ "type": "function"
962
+ },
963
+ {
964
+ "inputs": [
965
+ {
966
+ "components": [
967
+ {
968
+ "internalType": "address",
969
+ "name": "offerer",
970
+ "type": "address"
971
+ },
972
+ {
973
+ "internalType": "address",
974
+ "name": "zone",
975
+ "type": "address"
976
+ },
977
+ {
978
+ "internalType": "address",
979
+ "name": "recipient",
980
+ "type": "address"
981
+ },
982
+ {
983
+ "components": [
984
+ {
985
+ "internalType": "address",
986
+ "name": "token",
987
+ "type": "address"
988
+ },
989
+ {
990
+ "internalType": "uint256",
991
+ "name": "amount",
992
+ "type": "uint256"
993
+ }
994
+ ],
995
+ "internalType": "struct IFloodPlain.Item[]",
996
+ "name": "offer",
997
+ "type": "tuple[]"
998
+ },
999
+ {
1000
+ "components": [
1001
+ {
1002
+ "internalType": "address",
1003
+ "name": "token",
1004
+ "type": "address"
1005
+ },
1006
+ {
1007
+ "internalType": "uint256",
1008
+ "name": "amount",
1009
+ "type": "uint256"
1010
+ }
1011
+ ],
1012
+ "internalType": "struct IFloodPlain.Item",
1013
+ "name": "consideration",
1014
+ "type": "tuple"
1015
+ },
1016
+ {
1017
+ "internalType": "uint256",
1018
+ "name": "deadline",
1019
+ "type": "uint256"
1020
+ },
1021
+ {
1022
+ "internalType": "uint256",
1023
+ "name": "nonce",
1024
+ "type": "uint256"
1025
+ },
1026
+ {
1027
+ "components": [
1028
+ {
1029
+ "internalType": "address",
1030
+ "name": "target",
1031
+ "type": "address"
1032
+ },
1033
+ {
1034
+ "internalType": "bytes",
1035
+ "name": "data",
1036
+ "type": "bytes"
1037
+ }
1038
+ ],
1039
+ "internalType": "struct IFloodPlain.Hook[]",
1040
+ "name": "preHooks",
1041
+ "type": "tuple[]"
1042
+ },
1043
+ {
1044
+ "components": [
1045
+ {
1046
+ "internalType": "address",
1047
+ "name": "target",
1048
+ "type": "address"
1049
+ },
1050
+ {
1051
+ "internalType": "bytes",
1052
+ "name": "data",
1053
+ "type": "bytes"
1054
+ }
1055
+ ],
1056
+ "internalType": "struct IFloodPlain.Hook[]",
1057
+ "name": "postHooks",
1058
+ "type": "tuple[]"
1059
+ }
1060
+ ],
1061
+ "internalType": "struct IFloodPlain.Order",
1062
+ "name": "order",
1063
+ "type": "tuple"
1064
+ }
1065
+ ],
1066
+ "name": "getOrderStatus",
1067
+ "outputs": [
1068
+ {
1069
+ "internalType": "bool",
1070
+ "name": "",
1071
+ "type": "bool"
1072
+ }
1073
+ ],
1074
+ "stateMutability": "view",
1075
+ "type": "function"
1076
+ },
1077
+ {
1078
+ "inputs": [
1079
+ {
1080
+ "components": [
1081
+ {
1082
+ "internalType": "address",
1083
+ "name": "offerer",
1084
+ "type": "address"
1085
+ },
1086
+ {
1087
+ "internalType": "address",
1088
+ "name": "zone",
1089
+ "type": "address"
1090
+ },
1091
+ {
1092
+ "internalType": "address",
1093
+ "name": "recipient",
1094
+ "type": "address"
1095
+ },
1096
+ {
1097
+ "components": [
1098
+ {
1099
+ "internalType": "address",
1100
+ "name": "token",
1101
+ "type": "address"
1102
+ },
1103
+ {
1104
+ "internalType": "uint256",
1105
+ "name": "amount",
1106
+ "type": "uint256"
1107
+ }
1108
+ ],
1109
+ "internalType": "struct IFloodPlain.Item[]",
1110
+ "name": "offer",
1111
+ "type": "tuple[]"
1112
+ },
1113
+ {
1114
+ "components": [
1115
+ {
1116
+ "internalType": "address",
1117
+ "name": "token",
1118
+ "type": "address"
1119
+ },
1120
+ {
1121
+ "internalType": "uint256",
1122
+ "name": "amount",
1123
+ "type": "uint256"
1124
+ }
1125
+ ],
1126
+ "internalType": "struct IFloodPlain.Item",
1127
+ "name": "consideration",
1128
+ "type": "tuple"
1129
+ },
1130
+ {
1131
+ "internalType": "uint256",
1132
+ "name": "deadline",
1133
+ "type": "uint256"
1134
+ },
1135
+ {
1136
+ "internalType": "uint256",
1137
+ "name": "nonce",
1138
+ "type": "uint256"
1139
+ },
1140
+ {
1141
+ "components": [
1142
+ {
1143
+ "internalType": "address",
1144
+ "name": "target",
1145
+ "type": "address"
1146
+ },
1147
+ {
1148
+ "internalType": "bytes",
1149
+ "name": "data",
1150
+ "type": "bytes"
1151
+ }
1152
+ ],
1153
+ "internalType": "struct IFloodPlain.Hook[]",
1154
+ "name": "preHooks",
1155
+ "type": "tuple[]"
1156
+ },
1157
+ {
1158
+ "components": [
1159
+ {
1160
+ "internalType": "address",
1161
+ "name": "target",
1162
+ "type": "address"
1163
+ },
1164
+ {
1165
+ "internalType": "bytes",
1166
+ "name": "data",
1167
+ "type": "bytes"
1168
+ }
1169
+ ],
1170
+ "internalType": "struct IFloodPlain.Hook[]",
1171
+ "name": "postHooks",
1172
+ "type": "tuple[]"
1173
+ }
1174
+ ],
1175
+ "internalType": "struct IFloodPlain.Order",
1176
+ "name": "order",
1177
+ "type": "tuple"
1178
+ }
1179
+ ],
1180
+ "name": "getPermitHash",
1181
+ "outputs": [
1182
+ {
1183
+ "internalType": "bytes32",
1184
+ "name": "",
1185
+ "type": "bytes32"
1186
+ }
1187
+ ],
1188
+ "stateMutability": "view",
1189
+ "type": "function"
1190
+ },
1191
+ {
1192
+ "stateMutability": "payable",
1193
+ "type": "receive"
1194
+ }
1195
+ ]