@paraswap/dex-lib 4.7.27 → 4.8.0

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 (364) hide show
  1. package/build/abi/PendleRouterStatic.json +19 -0
  2. package/build/abi/apex-defi/ApexDefiFactory.abi.json +1749 -0
  3. package/build/abi/apex-defi/ApexDefiRouter.abi.json +1120 -0
  4. package/build/abi/apex-defi/ApexDefiToken.abi.json +229 -0
  5. package/build/abi/apex-defi/ApexDefiWrapper.abi.json +92 -0
  6. package/build/abi/apex-defi/ApexDefiWrapperFactory.abi.json +1107 -0
  7. package/build/abi/ekubo-v3/core.json +797 -0
  8. package/build/abi/ekubo-v3/mev-capture-router.json +936 -0
  9. package/build/abi/ekubo-v3/quote-data-fetcher.json +161 -0
  10. package/build/abi/ekubo-v3/twamm-data-fetcher.json +216 -0
  11. package/build/abi/ekubo-v3/twamm.json +613 -0
  12. package/build/abi/idle-dao/idle-cdo-factory.json +38 -0
  13. package/build/abi/idle-dao/idle-cdo.json +1245 -0
  14. package/build/abi/infusion/InfusionFactory.json +147 -0
  15. package/build/abi/infusion/InfusionPair.json +658 -0
  16. package/build/abi/infusion/InfusionRouter.json +442 -0
  17. package/build/abi/maker-psm/pot.json +322 -0
  18. package/build/abi/maker-psm/psm.json +243 -0
  19. package/build/abi/maker-psm/vat.json +363 -0
  20. package/build/abi/nomiswap-v2/nomiswap-v2-pool.json +773 -0
  21. package/build/abi/pangolin-v3/PangolinV3StateMulticall.abi.json +796 -0
  22. package/build/abi/pendle/pendle-deployer.abi.json +520 -0
  23. package/build/abi/pendle/pendle-oracle.abi.json +413 -0
  24. package/build/abi/quick-perps/fast-price-events.json +70 -0
  25. package/build/abi/quick-perps/fast-price-feed.json +741 -0
  26. package/build/abi/quick-perps/reader.json +313 -0
  27. package/build/abi/quick-perps/vault-price-feed.json +323 -0
  28. package/build/abi/quick-perps/vault.json +1953 -0
  29. package/build/abi/ring-v2/few-wrapped-token.json +587 -0
  30. package/build/abi/ring-v2/ring-v2-factory.json +125 -0
  31. package/build/abi/ring-v2/ring-v2-pool.json +461 -0
  32. package/build/abi/ring-v2/ring-v2-router.json +332 -0
  33. package/build/abi/stabull/stabull-curve.json +738 -0
  34. package/build/abi/stabull/stabull-router.json +76 -0
  35. package/build/abi/uniswap-v2/excalibur-pool.json +881 -0
  36. package/build/abi/uniswap-v2/mdex-factory.json +759 -0
  37. package/build/abi/uniswap-v4/hooks/SpotDynamicFeeManager.json +26 -0
  38. package/build/abi/uniswap-v4/hooks/SpotHook.json +54 -0
  39. package/build/abi/uniswap-v4/hooks/SpotPolicyManager.json +45 -0
  40. package/build/abi/uniswap-v4/hooks/cabalcoin-hook.abi.json +682 -0
  41. package/build/abi/uniswap-v4/hooks/fee-hook.abi.json +1335 -0
  42. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.d.ts +29 -0
  43. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js +153 -0
  44. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js.map +1 -0
  45. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.d.ts +40 -0
  46. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js +323 -0
  47. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js.map +1 -0
  48. package/build/dex/aave-pt-to-underlying/config.d.ts +3 -0
  49. package/build/dex/aave-pt-to-underlying/config.js +24 -0
  50. package/build/dex/aave-pt-to-underlying/config.js.map +1 -0
  51. package/build/dex/aave-pt-to-underlying/constants.d.ts +2 -0
  52. package/build/dex/aave-pt-to-underlying/constants.js +6 -0
  53. package/build/dex/aave-pt-to-underlying/constants.js.map +1 -0
  54. package/build/dex/aave-pt-to-underlying/types.d.ts +24 -0
  55. package/build/dex/aave-pt-to-underlying/types.js +3 -0
  56. package/build/dex/aave-pt-to-underlying/types.js.map +1 -0
  57. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.d.ts +39 -0
  58. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js +244 -0
  59. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js.map +1 -0
  60. package/build/dex/aave-pt-to-usdc/config.d.ts +3 -0
  61. package/build/dex/aave-pt-to-usdc/config.js +47 -0
  62. package/build/dex/aave-pt-to-usdc/config.js.map +1 -0
  63. package/build/dex/aave-pt-to-usdc/constants.d.ts +2 -0
  64. package/build/dex/aave-pt-to-usdc/constants.js +6 -0
  65. package/build/dex/aave-pt-to-usdc/constants.js.map +1 -0
  66. package/build/dex/aave-pt-to-usdc/types.d.ts +22 -0
  67. package/build/dex/aave-pt-to-usdc/types.js +3 -0
  68. package/build/dex/aave-pt-to-usdc/types.js.map +1 -0
  69. package/build/dex/algebra/config.js +0 -30
  70. package/build/dex/algebra/config.js.map +1 -1
  71. package/build/dex/algebra-integral/config.js +0 -7
  72. package/build/dex/algebra-integral/config.js.map +1 -1
  73. package/build/dex/angle-staked-stable/config.js +0 -32
  74. package/build/dex/angle-staked-stable/config.js.map +1 -1
  75. package/build/dex/angle-transmuter/config.js +0 -20
  76. package/build/dex/angle-transmuter/config.js.map +1 -1
  77. package/build/dex/apex-defi/apex-defi-factory.d.ts +26 -0
  78. package/build/dex/apex-defi/apex-defi-factory.js +53 -0
  79. package/build/dex/apex-defi/apex-defi-factory.js.map +1 -0
  80. package/build/dex/apex-defi/apex-defi-pool.d.ts +55 -0
  81. package/build/dex/apex-defi/apex-defi-pool.js +247 -0
  82. package/build/dex/apex-defi/apex-defi-pool.js.map +1 -0
  83. package/build/dex/apex-defi/apex-defi-wrapper-factory.d.ts +57 -0
  84. package/build/dex/apex-defi/apex-defi-wrapper-factory.js +250 -0
  85. package/build/dex/apex-defi/apex-defi-wrapper-factory.js.map +1 -0
  86. package/build/dex/apex-defi/apex-defi.d.ts +97 -0
  87. package/build/dex/apex-defi/apex-defi.js +1021 -0
  88. package/build/dex/apex-defi/apex-defi.js.map +1 -0
  89. package/build/dex/apex-defi/config.d.ts +4 -0
  90. package/build/dex/apex-defi/config.js +138 -0
  91. package/build/dex/apex-defi/config.js.map +1 -0
  92. package/build/dex/apex-defi/types.d.ts +32 -0
  93. package/build/dex/apex-defi/types.js +3 -0
  94. package/build/dex/apex-defi/types.js.map +1 -0
  95. package/build/dex/apex-defi/utils.d.ts +46 -0
  96. package/build/dex/apex-defi/utils.js +133 -0
  97. package/build/dex/apex-defi/utils.js.map +1 -0
  98. package/build/dex/curve-v1/constants.js +2 -4
  99. package/build/dex/curve-v1/constants.js.map +1 -1
  100. package/build/dex/dodo-v1/config.js +0 -10
  101. package/build/dex/dodo-v1/config.js.map +1 -1
  102. package/build/dex/dodo-v2.js +0 -3
  103. package/build/dex/dodo-v2.js.map +1 -1
  104. package/build/dex/ekubo/pools/base-pool.d.ts +47 -0
  105. package/build/dex/ekubo/pools/base-pool.js +184 -0
  106. package/build/dex/ekubo/pools/base-pool.js.map +1 -0
  107. package/build/dex/ekubo/pools/iface.d.ts +46 -0
  108. package/build/dex/ekubo/pools/iface.js +75 -0
  109. package/build/dex/ekubo/pools/iface.js.map +1 -0
  110. package/build/dex/ekubo/pools/math/price.d.ts +7 -0
  111. package/build/dex/ekubo/pools/math/price.js +112 -0
  112. package/build/dex/ekubo/pools/math/price.js.map +1 -0
  113. package/build/dex/ekubo/pools/oracle-pool.d.ts +10 -0
  114. package/build/dex/ekubo/pools/oracle-pool.js +19 -0
  115. package/build/dex/ekubo/pools/oracle-pool.js.map +1 -0
  116. package/build/dex/ekubo/pools/pool-utils.d.ts +44 -0
  117. package/build/dex/ekubo/pools/pool-utils.js +240 -0
  118. package/build/dex/ekubo/pools/pool-utils.js.map +1 -0
  119. package/build/dex/ekubo-v3/config.d.ts +13 -0
  120. package/build/dex/ekubo-v3/config.js +23 -0
  121. package/build/dex/ekubo-v3/config.js.map +1 -0
  122. package/build/dex/ekubo-v3/ekubo-v3-pool-manager.d.ts +34 -0
  123. package/build/dex/ekubo-v3/ekubo-v3-pool-manager.js +421 -0
  124. package/build/dex/ekubo-v3/ekubo-v3-pool-manager.js.map +1 -0
  125. package/build/dex/ekubo-v3/ekubo-v3.d.ts +38 -0
  126. package/build/dex/ekubo-v3/ekubo-v3.js +274 -0
  127. package/build/dex/ekubo-v3/ekubo-v3.js.map +1 -0
  128. package/build/dex/ekubo-v3/pools/base.d.ts +42 -0
  129. package/build/dex/ekubo-v3/pools/base.js +307 -0
  130. package/build/dex/ekubo-v3/pools/base.js.map +1 -0
  131. package/build/dex/ekubo-v3/pools/full-range.d.ts +25 -0
  132. package/build/dex/ekubo-v3/pools/full-range.js +105 -0
  133. package/build/dex/ekubo-v3/pools/full-range.js.map +1 -0
  134. package/build/dex/ekubo-v3/pools/math/constants.d.ts +12 -0
  135. package/build/dex/ekubo-v3/pools/math/constants.js +16 -0
  136. package/build/dex/ekubo-v3/pools/math/constants.js.map +1 -0
  137. package/build/dex/ekubo-v3/pools/math/delta.d.ts +2 -0
  138. package/build/dex/ekubo-v3/pools/math/delta.js +51 -0
  139. package/build/dex/ekubo-v3/pools/math/delta.js.map +1 -0
  140. package/build/dex/ekubo-v3/pools/math/sqrt-ratio.d.ts +8 -0
  141. package/build/dex/ekubo-v3/pools/math/sqrt-ratio.js +113 -0
  142. package/build/dex/ekubo-v3/pools/math/sqrt-ratio.js.map +1 -0
  143. package/build/dex/ekubo-v3/pools/math/swap.d.ts +18 -0
  144. package/build/dex/ekubo-v3/pools/math/swap.js +128 -0
  145. package/build/dex/ekubo-v3/pools/math/swap.js.map +1 -0
  146. package/build/dex/ekubo-v3/pools/math/tick.d.ts +8 -0
  147. package/build/dex/ekubo-v3/pools/math/tick.js +129 -0
  148. package/build/dex/ekubo-v3/pools/math/tick.js.map +1 -0
  149. package/build/dex/ekubo-v3/pools/math/twamm/exp2.d.ts +1 -0
  150. package/build/dex/ekubo-v3/pools/math/twamm/exp2.js +86 -0
  151. package/build/dex/ekubo-v3/pools/math/twamm/exp2.js.map +1 -0
  152. package/build/dex/ekubo-v3/pools/math/twamm/sqrt-ratio.d.ts +1 -0
  153. package/build/dex/ekubo-v3/pools/math/twamm/sqrt-ratio.js +56 -0
  154. package/build/dex/ekubo-v3/pools/math/twamm/sqrt-ratio.js.map +1 -0
  155. package/build/dex/ekubo-v3/pools/mev-capture.d.ts +8 -0
  156. package/build/dex/ekubo-v3/pools/mev-capture.js +42 -0
  157. package/build/dex/ekubo-v3/pools/mev-capture.js.map +1 -0
  158. package/build/dex/ekubo-v3/pools/oracle.d.ts +8 -0
  159. package/build/dex/ekubo-v3/pools/oracle.js +18 -0
  160. package/build/dex/ekubo-v3/pools/oracle.js.map +1 -0
  161. package/build/dex/ekubo-v3/pools/pool.d.ts +56 -0
  162. package/build/dex/ekubo-v3/pools/pool.js +88 -0
  163. package/build/dex/ekubo-v3/pools/pool.js.map +1 -0
  164. package/build/dex/ekubo-v3/pools/stableswap.d.ts +22 -0
  165. package/build/dex/ekubo-v3/pools/stableswap.js +123 -0
  166. package/build/dex/ekubo-v3/pools/stableswap.js.map +1 -0
  167. package/build/dex/ekubo-v3/pools/twamm.d.ts +40 -0
  168. package/build/dex/ekubo-v3/pools/twamm.js +265 -0
  169. package/build/dex/ekubo-v3/pools/twamm.js.map +1 -0
  170. package/build/dex/ekubo-v3/pools/utils.d.ts +62 -0
  171. package/build/dex/ekubo-v3/pools/utils.js +160 -0
  172. package/build/dex/ekubo-v3/pools/utils.js.map +1 -0
  173. package/build/dex/ekubo-v3/types.d.ts +58 -0
  174. package/build/dex/ekubo-v3/types.js +3 -0
  175. package/build/dex/ekubo-v3/types.js.map +1 -0
  176. package/build/dex/ekubo-v3/utils.d.ts +10 -0
  177. package/build/dex/ekubo-v3/utils.js +54 -0
  178. package/build/dex/ekubo-v3/utils.js.map +1 -0
  179. package/build/dex/erc4626/config.js +0 -22
  180. package/build/dex/erc4626/config.js.map +1 -1
  181. package/build/dex/generic-rfq/validators.js +1 -1
  182. package/build/dex/generic-rfq/validators.js.map +1 -1
  183. package/build/dex/idle-dao/config.d.ts +5 -0
  184. package/build/dex/idle-dao/config.js +24 -0
  185. package/build/dex/idle-dao/config.js.map +1 -0
  186. package/build/dex/idle-dao/idle-dao.d.ts +42 -0
  187. package/build/dex/idle-dao/idle-dao.js +279 -0
  188. package/build/dex/idle-dao/idle-dao.js.map +1 -0
  189. package/build/dex/idle-dao/token_list.d.ts +4 -0
  190. package/build/dex/idle-dao/token_list.js +289 -0
  191. package/build/dex/idle-dao/token_list.js.map +1 -0
  192. package/build/dex/idle-dao/tokens.d.ts +9 -0
  193. package/build/dex/idle-dao/tokens.js +68 -0
  194. package/build/dex/idle-dao/tokens.js.map +1 -0
  195. package/build/dex/idle-dao/types.d.ts +35 -0
  196. package/build/dex/idle-dao/types.js +11 -0
  197. package/build/dex/idle-dao/types.js.map +1 -0
  198. package/build/dex/idle-dao/utils.d.ts +8 -0
  199. package/build/dex/idle-dao/utils.js +149 -0
  200. package/build/dex/idle-dao/utils.js.map +1 -0
  201. package/build/dex/index.js +0 -28
  202. package/build/dex/index.js.map +1 -1
  203. package/build/dex/infusion/config.d.ts +3 -0
  204. package/build/dex/infusion/config.js +20 -0
  205. package/build/dex/infusion/config.js.map +1 -0
  206. package/build/dex/infusion/infusion-stable-pool.d.ts +4 -0
  207. package/build/dex/infusion/infusion-stable-pool.js +74 -0
  208. package/build/dex/infusion/infusion-stable-pool.js.map +1 -0
  209. package/build/dex/infusion/infusion.d.ts +51 -0
  210. package/build/dex/infusion/infusion.js +461 -0
  211. package/build/dex/infusion/infusion.js.map +1 -0
  212. package/build/dex/infusion/types.d.ts +45 -0
  213. package/build/dex/infusion/types.js +3 -0
  214. package/build/dex/infusion/types.js.map +1 -0
  215. package/build/dex/infusion/utils/isStablePair.d.ts +2 -0
  216. package/build/dex/infusion/utils/isStablePair.js +18 -0
  217. package/build/dex/infusion/utils/isStablePair.js.map +1 -0
  218. package/build/dex/maker-psm/config.d.ts +11 -0
  219. package/build/dex/maker-psm/config.js +53 -0
  220. package/build/dex/maker-psm/config.js.map +1 -0
  221. package/build/dex/maker-psm/maker-psm-event-pool.d.ts +43 -0
  222. package/build/dex/maker-psm/maker-psm-event-pool.js +132 -0
  223. package/build/dex/maker-psm/maker-psm-event-pool.js.map +1 -0
  224. package/build/dex/maker-psm/maker-psm.d.ts +103 -0
  225. package/build/dex/maker-psm/maker-psm.js +493 -0
  226. package/build/dex/maker-psm/maker-psm.js.map +1 -0
  227. package/build/dex/maker-psm/types.d.ts +39 -0
  228. package/build/dex/maker-psm/types.js +3 -0
  229. package/build/dex/maker-psm/types.js.map +1 -0
  230. package/build/dex/miro-migrator/miro-migrator-state.d.ts +27 -0
  231. package/build/dex/miro-migrator/miro-migrator-state.js +89 -0
  232. package/build/dex/miro-migrator/miro-migrator-state.js.map +1 -0
  233. package/build/dex/nerve/config.js +0 -435
  234. package/build/dex/nerve/config.js.map +1 -1
  235. package/build/dex/oswap/oswap-pool.js.map +1 -1
  236. package/build/dex/quick-perps/config.d.ts +11 -0
  237. package/build/dex/quick-perps/config.js +27 -0
  238. package/build/dex/quick-perps/config.js.map +1 -0
  239. package/build/dex/quick-perps/fast-price-feed.d.ts +26 -0
  240. package/build/dex/quick-perps/fast-price-feed.js +184 -0
  241. package/build/dex/quick-perps/fast-price-feed.js.map +1 -0
  242. package/build/dex/quick-perps/pool.d.ts +21 -0
  243. package/build/dex/quick-perps/pool.js +229 -0
  244. package/build/dex/quick-perps/pool.js.map +1 -0
  245. package/build/dex/quick-perps/quick-perps.d.ts +53 -0
  246. package/build/dex/quick-perps/quick-perps.js +247 -0
  247. package/build/dex/quick-perps/quick-perps.js.map +1 -0
  248. package/build/dex/quick-perps/types.d.ts +98 -0
  249. package/build/dex/quick-perps/types.js +3 -0
  250. package/build/dex/quick-perps/types.js.map +1 -0
  251. package/build/dex/quick-perps/usdq.d.ts +15 -0
  252. package/build/dex/quick-perps/usdq.js +62 -0
  253. package/build/dex/quick-perps/usdq.js.map +1 -0
  254. package/build/dex/quick-perps/vault-price-feed.d.ts +43 -0
  255. package/build/dex/quick-perps/vault-price-feed.js +203 -0
  256. package/build/dex/quick-perps/vault-price-feed.js.map +1 -0
  257. package/build/dex/quick-perps/vault-utils.d.ts +8 -0
  258. package/build/dex/quick-perps/vault-utils.js +42 -0
  259. package/build/dex/quick-perps/vault-utils.js.map +1 -0
  260. package/build/dex/quick-perps/vault.d.ts +46 -0
  261. package/build/dex/quick-perps/vault.js +182 -0
  262. package/build/dex/quick-perps/vault.js.map +1 -0
  263. package/build/dex/solidly/forks-override/aerodrome.d.ts +14 -0
  264. package/build/dex/solidly/forks-override/aerodrome.js +50 -0
  265. package/build/dex/solidly/forks-override/aerodrome.js.map +1 -0
  266. package/build/dex/solidly/forks-override/chronos.d.ts +23 -0
  267. package/build/dex/solidly/forks-override/chronos.js +141 -0
  268. package/build/dex/solidly/forks-override/chronos.js.map +1 -0
  269. package/build/dex/solidly/forks-override/usdfi.d.ts +8 -0
  270. package/build/dex/solidly/forks-override/usdfi.js +15 -0
  271. package/build/dex/solidly/forks-override/usdfi.js.map +1 -0
  272. package/build/dex/solidly/forks-override/velocimeter.d.ts +23 -0
  273. package/build/dex/solidly/forks-override/velocimeter.js +77 -0
  274. package/build/dex/solidly/forks-override/velocimeter.js.map +1 -0
  275. package/build/dex/stable-pool/stable-pool.js +1 -1
  276. package/build/dex/stable-pool/stable-pool.js.map +1 -1
  277. package/build/dex/stabull/config.d.ts +3 -0
  278. package/build/dex/stabull/config.js +177 -0
  279. package/build/dex/stabull/config.js.map +1 -0
  280. package/build/dex/stabull/stabull-pool.d.ts +46 -0
  281. package/build/dex/stabull/stabull-pool.js +113 -0
  282. package/build/dex/stabull/stabull-pool.js.map +1 -0
  283. package/build/dex/stabull/stabull.d.ts +55 -0
  284. package/build/dex/stabull/stabull.js +286 -0
  285. package/build/dex/stabull/stabull.js.map +1 -0
  286. package/build/dex/stabull/types.d.ts +21 -0
  287. package/build/dex/stabull/types.js +3 -0
  288. package/build/dex/stabull/types.js.map +1 -0
  289. package/build/dex/trader-joe-v2.1/config.d.ts +0 -3
  290. package/build/dex/trader-joe-v2.1/config.js +1 -8
  291. package/build/dex/trader-joe-v2.1/config.js.map +1 -1
  292. package/build/dex/uniswap-v2/config.js +0 -8
  293. package/build/dex/uniswap-v2/config.js.map +1 -1
  294. package/build/dex/uniswap-v2/dfyn.d.ts +19 -0
  295. package/build/dex/uniswap-v2/dfyn.js +61 -0
  296. package/build/dex/uniswap-v2/dfyn.js.map +1 -0
  297. package/build/dex/uniswap-v2/excalibur.d.ts +24 -0
  298. package/build/dex/uniswap-v2/excalibur.js +47 -0
  299. package/build/dex/uniswap-v2/excalibur.js.map +1 -0
  300. package/build/dex/uniswap-v2/mdex.d.ts +24 -0
  301. package/build/dex/uniswap-v2/mdex.js +50 -0
  302. package/build/dex/uniswap-v2/mdex.js.map +1 -0
  303. package/build/dex/uniswap-v2/nomiswap-v2.d.ts +24 -0
  304. package/build/dex/uniswap-v2/nomiswap-v2.js +57 -0
  305. package/build/dex/uniswap-v2/nomiswap-v2.js.map +1 -0
  306. package/build/dex/uniswap-v2/uniswap-v2.js +0 -10
  307. package/build/dex/uniswap-v2/uniswap-v2.js.map +1 -1
  308. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.d.ts +4 -0
  309. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js +56 -0
  310. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js.map +1 -0
  311. package/build/dex/uniswap-v4/contract-math/Position.d.ts +9 -0
  312. package/build/dex/uniswap-v4/contract-math/Position.js +39 -0
  313. package/build/dex/uniswap-v4/contract-math/Position.js.map +1 -0
  314. package/build/dex/uniswap-v4/hooks/arena.d.ts +6 -0
  315. package/build/dex/uniswap-v4/hooks/arena.js +10 -0
  316. package/build/dex/uniswap-v4/hooks/arena.js.map +1 -0
  317. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.d.ts +0 -0
  318. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.js +2 -0
  319. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.js.map +1 -0
  320. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.d.ts +7 -0
  321. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js +28 -0
  322. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js.map +1 -0
  323. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.d.ts +0 -0
  324. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js +2 -0
  325. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js.map +1 -0
  326. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.d.ts +7 -0
  327. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js +28 -0
  328. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js.map +1 -0
  329. package/build/dex/uniswap-v4/hooks/fee-hook/types.d.ts +0 -0
  330. package/build/dex/uniswap-v4/hooks/fee-hook/types.js +2 -0
  331. package/build/dex/uniswap-v4/hooks/fee-hook/types.js.map +1 -0
  332. package/build/dex/uniswap-v4/hooks/index.d.ts +1 -0
  333. package/build/dex/uniswap-v4/hooks/index.js +18 -0
  334. package/build/dex/uniswap-v4/hooks/index.js.map +1 -0
  335. package/build/dex/uniswap-v4/hooks/spot.d.ts +15 -0
  336. package/build/dex/uniswap-v4/hooks/spot.js +109 -0
  337. package/build/dex/uniswap-v4/hooks/spot.js.map +1 -0
  338. package/build/dex/uniswap-v4/hooks/template.d.ts +150 -0
  339. package/build/dex/uniswap-v4/hooks/template.js +104 -0
  340. package/build/dex/uniswap-v4/hooks/template.js.map +1 -0
  341. package/build/dex/usdc-transmuter/usdc-transmuter-pool.d.ts +26 -0
  342. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js +75 -0
  343. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js.map +1 -0
  344. package/build/dex/usual/usual-usdc-usdc.d.ts +17 -0
  345. package/build/dex/usual/usual-usdc-usdc.js +59 -0
  346. package/build/dex/usual/usual-usdc-usdc.js.map +1 -0
  347. package/build/dex/wombat/config.js +0 -12
  348. package/build/dex/wombat/config.js.map +1 -1
  349. package/build/dex/yo/config.d.ts +3 -0
  350. package/build/dex/yo/config.js +21 -0
  351. package/build/dex/yo/config.js.map +1 -0
  352. package/build/dex/yo/types.d.ts +13 -0
  353. package/build/dex/yo/types.js +3 -0
  354. package/build/dex/yo/types.js.map +1 -0
  355. package/build/dex/yo/yo-pool.d.ts +13 -0
  356. package/build/dex/yo/yo-pool.js +26 -0
  357. package/build/dex/yo/yo-pool.js.map +1 -0
  358. package/build/dex/yo/yo.d.ts +39 -0
  359. package/build/dex/yo/yo.js +248 -0
  360. package/build/dex/yo/yo.js.map +1 -0
  361. package/build/implementations/api-paraswap-sdk.d.ts +25 -0
  362. package/build/implementations/api-paraswap-sdk.js +102 -0
  363. package/build/implementations/api-paraswap-sdk.js.map +1 -0
  364. package/package.json +1 -1
@@ -0,0 +1,741 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "uint256",
6
+ "name": "_priceDuration",
7
+ "type": "uint256"
8
+ },
9
+ {
10
+ "internalType": "uint256",
11
+ "name": "_maxPriceUpdateDelay",
12
+ "type": "uint256"
13
+ },
14
+ {
15
+ "internalType": "uint256",
16
+ "name": "_minBlockInterval",
17
+ "type": "uint256"
18
+ },
19
+ {
20
+ "internalType": "uint256",
21
+ "name": "_maxDeviationBasisPoints",
22
+ "type": "uint256"
23
+ },
24
+ {
25
+ "internalType": "address",
26
+ "name": "_fastPriceEvents",
27
+ "type": "address"
28
+ },
29
+ { "internalType": "address", "name": "_tokenManager", "type": "address" }
30
+ ],
31
+ "stateMutability": "nonpayable",
32
+ "type": "constructor"
33
+ },
34
+ {
35
+ "anonymous": false,
36
+ "inputs": [
37
+ {
38
+ "indexed": false,
39
+ "internalType": "address",
40
+ "name": "signer",
41
+ "type": "address"
42
+ }
43
+ ],
44
+ "name": "DisableFastPrice",
45
+ "type": "event"
46
+ },
47
+ {
48
+ "anonymous": false,
49
+ "inputs": [
50
+ {
51
+ "indexed": false,
52
+ "internalType": "address",
53
+ "name": "signer",
54
+ "type": "address"
55
+ }
56
+ ],
57
+ "name": "EnableFastPrice",
58
+ "type": "event"
59
+ },
60
+ {
61
+ "anonymous": false,
62
+ "inputs": [
63
+ {
64
+ "indexed": false,
65
+ "internalType": "address",
66
+ "name": "token",
67
+ "type": "address"
68
+ },
69
+ {
70
+ "indexed": false,
71
+ "internalType": "uint256",
72
+ "name": "refPrice",
73
+ "type": "uint256"
74
+ },
75
+ {
76
+ "indexed": false,
77
+ "internalType": "uint256",
78
+ "name": "fastPrice",
79
+ "type": "uint256"
80
+ },
81
+ {
82
+ "indexed": false,
83
+ "internalType": "uint256",
84
+ "name": "cumulativeRefDelta",
85
+ "type": "uint256"
86
+ },
87
+ {
88
+ "indexed": false,
89
+ "internalType": "uint256",
90
+ "name": "cumulativeFastDelta",
91
+ "type": "uint256"
92
+ }
93
+ ],
94
+ "name": "MaxCumulativeDeltaDiffExceeded",
95
+ "type": "event"
96
+ },
97
+ {
98
+ "anonymous": false,
99
+ "inputs": [
100
+ {
101
+ "indexed": false,
102
+ "internalType": "address",
103
+ "name": "token",
104
+ "type": "address"
105
+ },
106
+ {
107
+ "indexed": false,
108
+ "internalType": "uint256",
109
+ "name": "refPrice",
110
+ "type": "uint256"
111
+ },
112
+ {
113
+ "indexed": false,
114
+ "internalType": "uint256",
115
+ "name": "fastPrice",
116
+ "type": "uint256"
117
+ },
118
+ {
119
+ "indexed": false,
120
+ "internalType": "uint256",
121
+ "name": "cumulativeRefDelta",
122
+ "type": "uint256"
123
+ },
124
+ {
125
+ "indexed": false,
126
+ "internalType": "uint256",
127
+ "name": "cumulativeFastDelta",
128
+ "type": "uint256"
129
+ }
130
+ ],
131
+ "name": "PriceData",
132
+ "type": "event"
133
+ },
134
+ {
135
+ "inputs": [],
136
+ "name": "BASIS_POINTS_DIVISOR",
137
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
138
+ "stateMutability": "view",
139
+ "type": "function"
140
+ },
141
+ {
142
+ "inputs": [],
143
+ "name": "BITMASK_32",
144
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
145
+ "stateMutability": "view",
146
+ "type": "function"
147
+ },
148
+ {
149
+ "inputs": [],
150
+ "name": "CUMULATIVE_DELTA_PRECISION",
151
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
152
+ "stateMutability": "view",
153
+ "type": "function"
154
+ },
155
+ {
156
+ "inputs": [],
157
+ "name": "MAX_CUMULATIVE_FAST_DELTA",
158
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
159
+ "stateMutability": "view",
160
+ "type": "function"
161
+ },
162
+ {
163
+ "inputs": [],
164
+ "name": "MAX_CUMULATIVE_REF_DELTA",
165
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
166
+ "stateMutability": "view",
167
+ "type": "function"
168
+ },
169
+ {
170
+ "inputs": [],
171
+ "name": "MAX_PRICE_DURATION",
172
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
173
+ "stateMutability": "view",
174
+ "type": "function"
175
+ },
176
+ {
177
+ "inputs": [],
178
+ "name": "MAX_REF_PRICE",
179
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
180
+ "stateMutability": "view",
181
+ "type": "function"
182
+ },
183
+ {
184
+ "inputs": [],
185
+ "name": "PRICE_PRECISION",
186
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
187
+ "stateMutability": "view",
188
+ "type": "function"
189
+ },
190
+ {
191
+ "inputs": [],
192
+ "name": "disableFastPrice",
193
+ "outputs": [],
194
+ "stateMutability": "nonpayable",
195
+ "type": "function"
196
+ },
197
+ {
198
+ "inputs": [],
199
+ "name": "disableFastPriceVoteCount",
200
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
201
+ "stateMutability": "view",
202
+ "type": "function"
203
+ },
204
+ {
205
+ "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
206
+ "name": "disableFastPriceVotes",
207
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
208
+ "stateMutability": "view",
209
+ "type": "function"
210
+ },
211
+ {
212
+ "inputs": [],
213
+ "name": "enableFastPrice",
214
+ "outputs": [],
215
+ "stateMutability": "nonpayable",
216
+ "type": "function"
217
+ },
218
+ {
219
+ "inputs": [],
220
+ "name": "fastPriceEvents",
221
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
222
+ "stateMutability": "view",
223
+ "type": "function"
224
+ },
225
+ {
226
+ "inputs": [
227
+ { "internalType": "address", "name": "_token", "type": "address" }
228
+ ],
229
+ "name": "favorFastPrice",
230
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
231
+ "stateMutability": "view",
232
+ "type": "function"
233
+ },
234
+ {
235
+ "inputs": [
236
+ { "internalType": "address", "name": "_token", "type": "address" },
237
+ { "internalType": "uint256", "name": "_refPrice", "type": "uint256" },
238
+ { "internalType": "bool", "name": "_maximise", "type": "bool" }
239
+ ],
240
+ "name": "getPrice",
241
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
242
+ "stateMutability": "view",
243
+ "type": "function"
244
+ },
245
+ {
246
+ "inputs": [
247
+ { "internalType": "address", "name": "_token", "type": "address" }
248
+ ],
249
+ "name": "getPriceData",
250
+ "outputs": [
251
+ { "internalType": "uint256", "name": "", "type": "uint256" },
252
+ { "internalType": "uint256", "name": "", "type": "uint256" },
253
+ { "internalType": "uint256", "name": "", "type": "uint256" },
254
+ { "internalType": "uint256", "name": "", "type": "uint256" }
255
+ ],
256
+ "stateMutability": "view",
257
+ "type": "function"
258
+ },
259
+ {
260
+ "inputs": [],
261
+ "name": "gov",
262
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
263
+ "stateMutability": "view",
264
+ "type": "function"
265
+ },
266
+ {
267
+ "inputs": [
268
+ {
269
+ "internalType": "uint256",
270
+ "name": "_minAuthorizations",
271
+ "type": "uint256"
272
+ },
273
+ { "internalType": "address[]", "name": "_signers", "type": "address[]" },
274
+ { "internalType": "address[]", "name": "_updaters", "type": "address[]" }
275
+ ],
276
+ "name": "initialize",
277
+ "outputs": [],
278
+ "stateMutability": "nonpayable",
279
+ "type": "function"
280
+ },
281
+ {
282
+ "inputs": [],
283
+ "name": "isInitialized",
284
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
285
+ "stateMutability": "view",
286
+ "type": "function"
287
+ },
288
+ {
289
+ "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
290
+ "name": "isSigner",
291
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
292
+ "stateMutability": "view",
293
+ "type": "function"
294
+ },
295
+ {
296
+ "inputs": [],
297
+ "name": "isSpreadEnabled",
298
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
299
+ "stateMutability": "view",
300
+ "type": "function"
301
+ },
302
+ {
303
+ "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
304
+ "name": "isUpdater",
305
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
306
+ "stateMutability": "view",
307
+ "type": "function"
308
+ },
309
+ {
310
+ "inputs": [],
311
+ "name": "lastUpdatedAt",
312
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
313
+ "stateMutability": "view",
314
+ "type": "function"
315
+ },
316
+ {
317
+ "inputs": [],
318
+ "name": "lastUpdatedBlock",
319
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
320
+ "stateMutability": "view",
321
+ "type": "function"
322
+ },
323
+ {
324
+ "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
325
+ "name": "maxCumulativeDeltaDiffs",
326
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
327
+ "stateMutability": "view",
328
+ "type": "function"
329
+ },
330
+ {
331
+ "inputs": [],
332
+ "name": "maxDeviationBasisPoints",
333
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
334
+ "stateMutability": "view",
335
+ "type": "function"
336
+ },
337
+ {
338
+ "inputs": [],
339
+ "name": "maxPriceUpdateDelay",
340
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
341
+ "stateMutability": "view",
342
+ "type": "function"
343
+ },
344
+ {
345
+ "inputs": [],
346
+ "name": "maxTimeDeviation",
347
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
348
+ "stateMutability": "view",
349
+ "type": "function"
350
+ },
351
+ {
352
+ "inputs": [],
353
+ "name": "minAuthorizations",
354
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
355
+ "stateMutability": "view",
356
+ "type": "function"
357
+ },
358
+ {
359
+ "inputs": [],
360
+ "name": "minBlockInterval",
361
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
362
+ "stateMutability": "view",
363
+ "type": "function"
364
+ },
365
+ {
366
+ "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
367
+ "name": "priceData",
368
+ "outputs": [
369
+ { "internalType": "uint160", "name": "refPrice", "type": "uint160" },
370
+ { "internalType": "uint32", "name": "refTime", "type": "uint32" },
371
+ {
372
+ "internalType": "uint32",
373
+ "name": "cumulativeRefDelta",
374
+ "type": "uint32"
375
+ },
376
+ {
377
+ "internalType": "uint32",
378
+ "name": "cumulativeFastDelta",
379
+ "type": "uint32"
380
+ }
381
+ ],
382
+ "stateMutability": "view",
383
+ "type": "function"
384
+ },
385
+ {
386
+ "inputs": [],
387
+ "name": "priceDataInterval",
388
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
389
+ "stateMutability": "view",
390
+ "type": "function"
391
+ },
392
+ {
393
+ "inputs": [],
394
+ "name": "priceDuration",
395
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
396
+ "stateMutability": "view",
397
+ "type": "function"
398
+ },
399
+ {
400
+ "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
401
+ "name": "prices",
402
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
403
+ "stateMutability": "view",
404
+ "type": "function"
405
+ },
406
+ {
407
+ "inputs": [
408
+ {
409
+ "internalType": "uint256[]",
410
+ "name": "_priceBitArray",
411
+ "type": "uint256[]"
412
+ },
413
+ { "internalType": "uint256", "name": "_timestamp", "type": "uint256" }
414
+ ],
415
+ "name": "setCompactedPrices",
416
+ "outputs": [],
417
+ "stateMutability": "nonpayable",
418
+ "type": "function"
419
+ },
420
+ {
421
+ "inputs": [
422
+ {
423
+ "internalType": "address",
424
+ "name": "_fastPriceEvents",
425
+ "type": "address"
426
+ }
427
+ ],
428
+ "name": "setFastPriceEvents",
429
+ "outputs": [],
430
+ "stateMutability": "nonpayable",
431
+ "type": "function"
432
+ },
433
+ {
434
+ "inputs": [
435
+ { "internalType": "address", "name": "_gov", "type": "address" }
436
+ ],
437
+ "name": "setGov",
438
+ "outputs": [],
439
+ "stateMutability": "nonpayable",
440
+ "type": "function"
441
+ },
442
+ {
443
+ "inputs": [
444
+ { "internalType": "bool", "name": "_isSpreadEnabled", "type": "bool" }
445
+ ],
446
+ "name": "setIsSpreadEnabled",
447
+ "outputs": [],
448
+ "stateMutability": "nonpayable",
449
+ "type": "function"
450
+ },
451
+ {
452
+ "inputs": [
453
+ { "internalType": "uint256", "name": "_lastUpdatedAt", "type": "uint256" }
454
+ ],
455
+ "name": "setLastUpdatedAt",
456
+ "outputs": [],
457
+ "stateMutability": "nonpayable",
458
+ "type": "function"
459
+ },
460
+ {
461
+ "inputs": [
462
+ { "internalType": "address[]", "name": "_tokens", "type": "address[]" },
463
+ {
464
+ "internalType": "uint256[]",
465
+ "name": "_maxCumulativeDeltaDiffs",
466
+ "type": "uint256[]"
467
+ }
468
+ ],
469
+ "name": "setMaxCumulativeDeltaDiffs",
470
+ "outputs": [],
471
+ "stateMutability": "nonpayable",
472
+ "type": "function"
473
+ },
474
+ {
475
+ "inputs": [
476
+ {
477
+ "internalType": "uint256",
478
+ "name": "_maxDeviationBasisPoints",
479
+ "type": "uint256"
480
+ }
481
+ ],
482
+ "name": "setMaxDeviationBasisPoints",
483
+ "outputs": [],
484
+ "stateMutability": "nonpayable",
485
+ "type": "function"
486
+ },
487
+ {
488
+ "inputs": [
489
+ {
490
+ "internalType": "uint256",
491
+ "name": "_maxPriceUpdateDelay",
492
+ "type": "uint256"
493
+ }
494
+ ],
495
+ "name": "setMaxPriceUpdateDelay",
496
+ "outputs": [],
497
+ "stateMutability": "nonpayable",
498
+ "type": "function"
499
+ },
500
+ {
501
+ "inputs": [
502
+ {
503
+ "internalType": "uint256",
504
+ "name": "_maxTimeDeviation",
505
+ "type": "uint256"
506
+ }
507
+ ],
508
+ "name": "setMaxTimeDeviation",
509
+ "outputs": [],
510
+ "stateMutability": "nonpayable",
511
+ "type": "function"
512
+ },
513
+ {
514
+ "inputs": [
515
+ {
516
+ "internalType": "uint256",
517
+ "name": "_minAuthorizations",
518
+ "type": "uint256"
519
+ }
520
+ ],
521
+ "name": "setMinAuthorizations",
522
+ "outputs": [],
523
+ "stateMutability": "nonpayable",
524
+ "type": "function"
525
+ },
526
+ {
527
+ "inputs": [
528
+ {
529
+ "internalType": "uint256",
530
+ "name": "_minBlockInterval",
531
+ "type": "uint256"
532
+ }
533
+ ],
534
+ "name": "setMinBlockInterval",
535
+ "outputs": [],
536
+ "stateMutability": "nonpayable",
537
+ "type": "function"
538
+ },
539
+ {
540
+ "inputs": [
541
+ {
542
+ "internalType": "uint256",
543
+ "name": "_priceDataInterval",
544
+ "type": "uint256"
545
+ }
546
+ ],
547
+ "name": "setPriceDataInterval",
548
+ "outputs": [],
549
+ "stateMutability": "nonpayable",
550
+ "type": "function"
551
+ },
552
+ {
553
+ "inputs": [
554
+ { "internalType": "uint256", "name": "_priceDuration", "type": "uint256" }
555
+ ],
556
+ "name": "setPriceDuration",
557
+ "outputs": [],
558
+ "stateMutability": "nonpayable",
559
+ "type": "function"
560
+ },
561
+ {
562
+ "inputs": [
563
+ { "internalType": "address[]", "name": "_tokens", "type": "address[]" },
564
+ { "internalType": "uint256[]", "name": "_prices", "type": "uint256[]" },
565
+ { "internalType": "uint256", "name": "_timestamp", "type": "uint256" }
566
+ ],
567
+ "name": "setPrices",
568
+ "outputs": [],
569
+ "stateMutability": "nonpayable",
570
+ "type": "function"
571
+ },
572
+ {
573
+ "inputs": [
574
+ { "internalType": "uint256", "name": "_priceBits", "type": "uint256" },
575
+ { "internalType": "uint256", "name": "_timestamp", "type": "uint256" }
576
+ ],
577
+ "name": "setPricesWithBits",
578
+ "outputs": [],
579
+ "stateMutability": "nonpayable",
580
+ "type": "function"
581
+ },
582
+ {
583
+ "inputs": [
584
+ {
585
+ "internalType": "address",
586
+ "name": "_positionRouter",
587
+ "type": "address"
588
+ },
589
+ { "internalType": "uint256", "name": "_priceBits", "type": "uint256" },
590
+ { "internalType": "uint256", "name": "_timestamp", "type": "uint256" },
591
+ {
592
+ "internalType": "uint256",
593
+ "name": "_endIndexForIncreasePositions",
594
+ "type": "uint256"
595
+ },
596
+ {
597
+ "internalType": "uint256",
598
+ "name": "_endIndexForDecreasePositions",
599
+ "type": "uint256"
600
+ },
601
+ {
602
+ "internalType": "uint256",
603
+ "name": "_maxIncreasePositions",
604
+ "type": "uint256"
605
+ },
606
+ {
607
+ "internalType": "uint256",
608
+ "name": "_maxDecreasePositions",
609
+ "type": "uint256"
610
+ }
611
+ ],
612
+ "name": "setPricesWithBitsAndExecute",
613
+ "outputs": [],
614
+ "stateMutability": "nonpayable",
615
+ "type": "function"
616
+ },
617
+ {
618
+ "inputs": [
619
+ { "internalType": "address", "name": "_account", "type": "address" },
620
+ { "internalType": "bool", "name": "_isActive", "type": "bool" }
621
+ ],
622
+ "name": "setSigner",
623
+ "outputs": [],
624
+ "stateMutability": "nonpayable",
625
+ "type": "function"
626
+ },
627
+ {
628
+ "inputs": [
629
+ {
630
+ "internalType": "uint256",
631
+ "name": "_spreadBasisPointsIfChainError",
632
+ "type": "uint256"
633
+ }
634
+ ],
635
+ "name": "setSpreadBasisPointsIfChainError",
636
+ "outputs": [],
637
+ "stateMutability": "nonpayable",
638
+ "type": "function"
639
+ },
640
+ {
641
+ "inputs": [
642
+ {
643
+ "internalType": "uint256",
644
+ "name": "_spreadBasisPointsIfInactive",
645
+ "type": "uint256"
646
+ }
647
+ ],
648
+ "name": "setSpreadBasisPointsIfInactive",
649
+ "outputs": [],
650
+ "stateMutability": "nonpayable",
651
+ "type": "function"
652
+ },
653
+ {
654
+ "inputs": [
655
+ { "internalType": "address", "name": "_tokenManager", "type": "address" }
656
+ ],
657
+ "name": "setTokenManager",
658
+ "outputs": [],
659
+ "stateMutability": "nonpayable",
660
+ "type": "function"
661
+ },
662
+ {
663
+ "inputs": [
664
+ { "internalType": "address[]", "name": "_tokens", "type": "address[]" },
665
+ {
666
+ "internalType": "uint256[]",
667
+ "name": "_tokenPrecisions",
668
+ "type": "uint256[]"
669
+ }
670
+ ],
671
+ "name": "setTokens",
672
+ "outputs": [],
673
+ "stateMutability": "nonpayable",
674
+ "type": "function"
675
+ },
676
+ {
677
+ "inputs": [
678
+ { "internalType": "address", "name": "_account", "type": "address" },
679
+ { "internalType": "bool", "name": "_isActive", "type": "bool" }
680
+ ],
681
+ "name": "setUpdater",
682
+ "outputs": [],
683
+ "stateMutability": "nonpayable",
684
+ "type": "function"
685
+ },
686
+ {
687
+ "inputs": [
688
+ {
689
+ "internalType": "address",
690
+ "name": "_vaultPriceFeed",
691
+ "type": "address"
692
+ }
693
+ ],
694
+ "name": "setVaultPriceFeed",
695
+ "outputs": [],
696
+ "stateMutability": "nonpayable",
697
+ "type": "function"
698
+ },
699
+ {
700
+ "inputs": [],
701
+ "name": "spreadBasisPointsIfChainError",
702
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
703
+ "stateMutability": "view",
704
+ "type": "function"
705
+ },
706
+ {
707
+ "inputs": [],
708
+ "name": "spreadBasisPointsIfInactive",
709
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
710
+ "stateMutability": "view",
711
+ "type": "function"
712
+ },
713
+ {
714
+ "inputs": [],
715
+ "name": "tokenManager",
716
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
717
+ "stateMutability": "view",
718
+ "type": "function"
719
+ },
720
+ {
721
+ "inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
722
+ "name": "tokenPrecisions",
723
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
724
+ "stateMutability": "view",
725
+ "type": "function"
726
+ },
727
+ {
728
+ "inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
729
+ "name": "tokens",
730
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
731
+ "stateMutability": "view",
732
+ "type": "function"
733
+ },
734
+ {
735
+ "inputs": [],
736
+ "name": "vaultPriceFeed",
737
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
738
+ "stateMutability": "view",
739
+ "type": "function"
740
+ }
741
+ ]