@paraswap/dex-lib 3.11.1 → 3.11.2

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 (280) hide show
  1. package/build/abi/Aave_GSM.json +751 -0
  2. package/build/abi/Balancer.json +257 -0
  3. package/build/abi/BalancerV2.json +1179 -0
  4. package/build/abi/RamsesV2Pool.abi.json +1554 -0
  5. package/build/abi/RamsesV2Quoter.abi.json +274 -0
  6. package/build/abi/USDM.json +807 -0
  7. package/build/abi/UniswapV2Router.json +397 -0
  8. package/build/abi/{wombat/pool.json → angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json} +594 -637
  9. package/build/abi/angle-transmuter/ChainlinkEACAggregatorProxy.json +509 -0
  10. package/build/abi/cables/CablesMainnetRFQ.json +1083 -0
  11. package/build/abi/curve-v1/CurveBUSDv2.abi.json +1356 -0
  12. package/build/abi/curve-v1/CurveTokenV1.json +305 -0
  13. package/build/abi/curve-v1/CurveTokenV2.json +318 -0
  14. package/build/abi/curve-v1/CurveV1StableNg.json +1452 -0
  15. package/build/abi/curve-v1/CurveV2Swap.json +700 -0
  16. package/build/abi/curve-v1/FactoryCryptoRegistry.json +316 -0
  17. package/build/abi/curve-v1/FactoryRegistry.json +508 -0
  18. package/build/abi/curve-v1/StableSwapAave.json +1152 -0
  19. package/build/abi/curve-v1/StableSwapBUSD.json +814 -0
  20. package/build/abi/curve-v1/StableSwapCompound.json +814 -0
  21. package/build/abi/curve-v1/StableSwapIDLE.json +1253 -0
  22. package/build/abi/curve-v1/StableSwapPax.json +865 -0
  23. package/build/abi/curve-v1/StableSwapSnow.json +900 -0
  24. package/build/abi/curve-v1/StableSwapUSDN.json +1004 -0
  25. package/build/abi/curve-v1/StableSwapUSDT.json +814 -0
  26. package/build/abi/curve-v1/StableSwapY.json +814 -0
  27. package/build/abi/inception/inception-ineth.json +609 -0
  28. package/build/abi/kyberdmm/kyber-storage.abi.json +824 -0
  29. package/build/abi/kyberdmm.abi.json +1148 -0
  30. package/build/abi/maverick-v2/MaverickV2Quoter.json +278 -0
  31. package/build/abi/nerve/nerve-metapool.json +790 -0
  32. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +193 -0
  33. package/build/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +267 -0
  34. package/build/config.js +1 -0
  35. package/build/config.js.map +1 -1
  36. package/build/dex/aave-v1/aave-v1.js +0 -1
  37. package/build/dex/aave-v1/aave-v1.js.map +1 -1
  38. package/build/dex/balancer-v1/balancer-pools.json +33333 -0
  39. package/build/dex/bebop/bebop.js +1 -1
  40. package/build/dex/bebop/bebop.js.map +1 -1
  41. package/build/dex/bebop/config.js +5 -0
  42. package/build/dex/bebop/config.js.map +1 -1
  43. package/build/dex/bebop/rate-fetcher.d.ts +3 -1
  44. package/build/dex/bebop/rate-fetcher.js +42 -2
  45. package/build/dex/bebop/rate-fetcher.js.map +1 -1
  46. package/build/dex/bebop/validators.d.ts +2 -0
  47. package/build/dex/bebop/validators.js +9 -1
  48. package/build/dex/bebop/validators.js.map +1 -1
  49. package/build/dex/bebop/websocket-fetcher.d.ts +35 -0
  50. package/build/dex/bebop/websocket-fetcher.js +87 -0
  51. package/build/dex/bebop/websocket-fetcher.js.map +1 -0
  52. package/build/dex/cables/cables.d.ts +57 -0
  53. package/build/dex/cables/cables.js +471 -0
  54. package/build/dex/cables/cables.js.map +1 -0
  55. package/build/dex/cables/config.d.ts +4 -0
  56. package/build/dex/cables/config.js +15 -0
  57. package/build/dex/cables/config.js.map +1 -0
  58. package/build/dex/cables/constants.d.ts +19 -0
  59. package/build/dex/cables/constants.js +26 -0
  60. package/build/dex/cables/constants.js.map +1 -0
  61. package/build/dex/cables/rate-fetcher.d.ts +34 -0
  62. package/build/dex/cables/rate-fetcher.js +106 -0
  63. package/build/dex/cables/rate-fetcher.js.map +1 -0
  64. package/build/dex/cables/types.d.ts +106 -0
  65. package/build/dex/cables/types.js +12 -0
  66. package/build/dex/cables/types.js.map +1 -0
  67. package/build/dex/cables/validators.d.ts +5 -0
  68. package/build/dex/cables/validators.js +49 -0
  69. package/build/dex/cables/validators.js.map +1 -0
  70. package/build/dex/idle-dao/idle-dao-pool.d.ts +56 -0
  71. package/build/dex/idle-dao/idle-dao-pool.js +176 -0
  72. package/build/dex/idle-dao/idle-dao-pool.js.map +1 -0
  73. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +16 -0
  74. package/build/dex/idle-dao/idle-dao-pooling-pool.js +57 -0
  75. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +1 -0
  76. package/build/dex/idle-dao/scripts.d.ts +9 -0
  77. package/build/dex/idle-dao/scripts.js +552 -0
  78. package/build/dex/idle-dao/scripts.js.map +1 -0
  79. package/build/dex/inception/inception-event-pool.d.ts +4 -4
  80. package/build/dex/inception/inception-event-pool.js +9 -7
  81. package/build/dex/inception/inception-event-pool.js.map +1 -1
  82. package/build/dex/inception/inception-native.d.ts +43 -0
  83. package/build/dex/inception/inception-native.js +131 -0
  84. package/build/dex/inception/inception-native.js.map +1 -0
  85. package/build/dex/inception/inception-pool.d.ts +18 -0
  86. package/build/dex/inception/inception-pool.js +32 -0
  87. package/build/dex/inception/inception-pool.js.map +1 -0
  88. package/build/dex/inception/inception-price-feed.d.ts +19 -0
  89. package/build/dex/inception/inception-price-feed.js +51 -0
  90. package/build/dex/inception/inception-price-feed.js.map +1 -0
  91. package/build/dex/inception/inception.d.ts +6 -6
  92. package/build/dex/inception/inception.js +40 -16
  93. package/build/dex/inception/inception.js.map +1 -1
  94. package/build/dex/inception/utils.d.ts +0 -1
  95. package/build/dex/inception/utils.js +1 -22
  96. package/build/dex/inception/utils.js.map +1 -1
  97. package/build/dex/platypus/platypus.js +3 -17
  98. package/build/dex/platypus/platypus.js.map +1 -1
  99. package/build/dex/swaap-v1/swaap-v1.js +0 -4
  100. package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
  101. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +16 -0
  102. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +16 -0
  103. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +16 -0
  104. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +16 -0
  105. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +16 -0
  106. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +16 -0
  107. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +16 -0
  108. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +16 -0
  109. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +9 -0
  110. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +9 -0
  111. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +9 -0
  112. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +9 -0
  113. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +9 -0
  114. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +9 -0
  115. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +9 -0
  116. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +9 -0
  117. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +9 -0
  118. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +12 -0
  119. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +7 -0
  120. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +7 -0
  121. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +7 -0
  122. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +7 -0
  123. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +12 -0
  124. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +7 -0
  125. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +7 -0
  126. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +78 -0
  127. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +81 -0
  128. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +78 -0
  129. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +78 -0
  130. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +81 -0
  131. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +81 -0
  132. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +81 -0
  133. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +81 -0
  134. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +64 -0
  135. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +85 -0
  136. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +64 -0
  137. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +52 -0
  138. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +52 -0
  139. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +52 -0
  140. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +55 -0
  141. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +55 -0
  142. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +55 -0
  143. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +23 -0
  144. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +37 -0
  145. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +23 -0
  146. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +23 -0
  147. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +51 -0
  148. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +58 -0
  149. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +23 -0
  150. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +23 -0
  151. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +9 -0
  152. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +16 -0
  153. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +23 -0
  154. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +12 -0
  155. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +7 -0
  156. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +12 -0
  157. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +12 -0
  158. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +7 -0
  159. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +7 -0
  160. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +7 -0
  161. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +7 -0
  162. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +7 -0
  163. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +7 -0
  164. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +130 -0
  165. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +136 -0
  166. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +100 -0
  167. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +100 -0
  168. package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +166 -0
  169. package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +190 -0
  170. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +114 -0
  171. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +114 -0
  172. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +55 -0
  173. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +73 -0
  174. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +82 -0
  175. package/build/lib/fetcher/wsFetcher.d.ts +7 -3
  176. package/build/lib/fetcher/wsFetcher.js +64 -51
  177. package/build/lib/fetcher/wsFetcher.js.map +1 -1
  178. package/package.json +4 -2
  179. package/src/config.ts +1 -0
  180. package/src/dex/bebop/bebop-e2e.test.ts +21 -0
  181. package/src/dex/bebop/bebop.json +72 -0
  182. package/src/dex/bebop/bebop.proto +15 -0
  183. package/src/dex/bebop/bebop.ts +1 -1
  184. package/src/dex/bebop/config.ts +5 -0
  185. package/src/dex/bebop/rate-fetcher.ts +51 -6
  186. package/src/dex/bebop/validators.ts +10 -0
  187. package/src/lib/fetcher/wsFetcher.ts +79 -66
  188. package/.vscode/launch.json +0 -53
  189. package/.vscode/settings.json +0 -2
  190. package/.vscode/tasks.json +0 -15
  191. package/build/abi/uniswap-v3/AlienBaseV3Router.abi.json +0 -52
  192. package/build/dex/aave-v2/tokens-avalanche.json +0 -44
  193. package/build/dex/aave-v2/tokens-mainnet.json +0 -188
  194. package/build/dex/aave-v2/tokens-polygon.json +0 -44
  195. package/build/dex/bProtocol.d.ts +0 -18
  196. package/build/dex/bProtocol.js +0 -39
  197. package/build/dex/bProtocol.js.map +0 -1
  198. package/build/dex/balancer-v3/abi/balancerBatchRouter.d.ts +0 -729
  199. package/build/dex/balancer-v3/abi/balancerBatchRouter.js +0 -732
  200. package/build/dex/balancer-v3/abi/balancerBatchRouter.js.map +0 -1
  201. package/build/dex/balancer-v3/abi/balancerRouter.d.ts +0 -1406
  202. package/build/dex/balancer-v3/abi/balancerRouter.js +0 -1175
  203. package/build/dex/balancer-v3/abi/balancerRouter.js.map +0 -1
  204. package/build/dex/balancer-v3/abi/vaultExtension.V3.d.ts +0 -2081
  205. package/build/dex/balancer-v3/abi/vaultExtension.V3.js +0 -1851
  206. package/build/dex/balancer-v3/abi/vaultExtension.V3.js.map +0 -1
  207. package/build/dex/balancer-v3/balancer-v3-pool.d.ts +0 -76
  208. package/build/dex/balancer-v3/balancer-v3-pool.js +0 -383
  209. package/build/dex/balancer-v3/balancer-v3-pool.js.map +0 -1
  210. package/build/dex/balancer-v3/balancer-v3.d.ts +0 -57
  211. package/build/dex/balancer-v3/balancer-v3.js +0 -373
  212. package/build/dex/balancer-v3/balancer-v3.js.map +0 -1
  213. package/build/dex/balancer-v3/config.d.ts +0 -8
  214. package/build/dex/balancer-v3/config.js +0 -24
  215. package/build/dex/balancer-v3/config.js.map +0 -1
  216. package/build/dex/balancer-v3/getOnChainState.d.ts +0 -10
  217. package/build/dex/balancer-v3/getOnChainState.js +0 -158
  218. package/build/dex/balancer-v3/getOnChainState.js.map +0 -1
  219. package/build/dex/balancer-v3/getPoolsApi.d.ts +0 -2
  220. package/build/dex/balancer-v3/getPoolsApi.js +0 -81
  221. package/build/dex/balancer-v3/getPoolsApi.js.map +0 -1
  222. package/build/dex/balancer-v3/getTopPoolsApi.d.ts +0 -13
  223. package/build/dex/balancer-v3/getTopPoolsApi.js +0 -62
  224. package/build/dex/balancer-v3/getTopPoolsApi.js.map +0 -1
  225. package/build/dex/balancer-v3/types.d.ts +0 -63
  226. package/build/dex/balancer-v3/types.js +0 -3
  227. package/build/dex/balancer-v3/types.js.map +0 -1
  228. package/build/dex/bancor.d.ts +0 -26
  229. package/build/dex/bancor.js +0 -58
  230. package/build/dex/bancor.js.map +0 -1
  231. package/build/dex/compound.d.ts +0 -18
  232. package/build/dex/compound.js +0 -46
  233. package/build/dex/compound.js.map +0 -1
  234. package/build/dex/curve-v2.d.ts +0 -58
  235. package/build/dex/curve-v2.js +0 -180
  236. package/build/dex/curve-v2.js.map +0 -1
  237. package/build/dex/dodo-v1.d.ts +0 -33
  238. package/build/dex/dodo-v1.js +0 -63
  239. package/build/dex/dodo-v1.js.map +0 -1
  240. package/build/dex/fluid-dex/fluid-dex-pool.d.ts +0 -47
  241. package/build/dex/fluid-dex/fluid-dex-pool.js +0 -119
  242. package/build/dex/fluid-dex/fluid-dex-pool.js.map +0 -1
  243. package/build/dex/lido.d.ts +0 -19
  244. package/build/dex/lido.js +0 -42
  245. package/build/dex/lido.js.map +0 -1
  246. package/build/dex/maker-psm/scripts/gem.abi.json +0 -136
  247. package/build/dex/maker-psm/scripts/validate-state.d.ts +0 -0
  248. package/build/dex/maker-psm/scripts/validate-state.js +0 -185
  249. package/build/dex/maker-psm/scripts/validate-state.js.map +0 -1
  250. package/build/dex/maker-psm/scripts/vat.abi.json +0 -243
  251. package/build/dex/onebit.d.ts +0 -25
  252. package/build/dex/onebit.js +0 -42
  253. package/build/dex/onebit.js.map +0 -1
  254. package/build/dex/smoothy.d.ts +0 -26
  255. package/build/dex/smoothy.js +0 -48
  256. package/build/dex/smoothy.js.map +0 -1
  257. package/build/dex/solidly-v3/scripts/check-event-pool-event.d.ts +0 -1
  258. package/build/dex/solidly-v3/scripts/check-event-pool-event.js +0 -53
  259. package/build/dex/solidly-v3/scripts/check-event-pool-event.js.map +0 -1
  260. package/build/dex/stable-pool.d.ts +0 -28
  261. package/build/dex/stable-pool.js +0 -55
  262. package/build/dex/stable-pool.js.map +0 -1
  263. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.d.ts +0 -7
  264. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js +0 -20
  265. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js.map +0 -1
  266. package/build/dex/trader-joe-v2.1.d.ts +0 -43
  267. package/build/dex/trader-joe-v2.1.js +0 -79
  268. package/build/dex/trader-joe-v2.1.js.map +0 -1
  269. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.d.ts +0 -17
  270. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js +0 -64
  271. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js.map +0 -1
  272. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.d.ts +0 -17
  273. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js +0 -79
  274. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js.map +0 -1
  275. package/build/dex/uniswap-v3/uniswap-v3-pricing.d.ts +0 -4
  276. package/build/dex/uniswap-v3/uniswap-v3-pricing.js +0 -43
  277. package/build/dex/uniswap-v3/uniswap-v3-pricing.js.map +0 -1
  278. package/build/dex/uniswap-v3/uniswap-v3-worker.d.ts +0 -1
  279. package/build/dex/uniswap-v3/uniswap-v3-worker.js +0 -10
  280. package/build/dex/uniswap-v3/uniswap-v3-worker.js.map +0 -1
@@ -1,40 +1,86 @@
1
1
  [
2
2
  {
3
- "anonymous": false,
4
3
  "inputs": [
5
4
  {
6
- "indexed": true,
5
+ "internalType": "uint32",
6
+ "name": "_maximumGasPrice",
7
+ "type": "uint32"
8
+ },
9
+ {
10
+ "internalType": "uint32",
11
+ "name": "_reasonableGasPrice",
12
+ "type": "uint32"
13
+ },
14
+ {
15
+ "internalType": "uint32",
16
+ "name": "_microLinkPerEth",
17
+ "type": "uint32"
18
+ },
19
+ {
20
+ "internalType": "uint32",
21
+ "name": "_linkGweiPerObservation",
22
+ "type": "uint32"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "_linkGweiPerTransmission",
27
+ "type": "uint32"
28
+ },
29
+ {
7
30
  "internalType": "address",
8
- "name": "token",
31
+ "name": "_link",
9
32
  "type": "address"
10
33
  },
11
34
  {
12
- "indexed": true,
13
35
  "internalType": "address",
14
- "name": "asset",
36
+ "name": "_validator",
37
+ "type": "address"
38
+ },
39
+ {
40
+ "internalType": "int192",
41
+ "name": "_minAnswer",
42
+ "type": "int192"
43
+ },
44
+ {
45
+ "internalType": "int192",
46
+ "name": "_maxAnswer",
47
+ "type": "int192"
48
+ },
49
+ {
50
+ "internalType": "contract AccessControllerInterface",
51
+ "name": "_billingAccessController",
15
52
  "type": "address"
53
+ },
54
+ {
55
+ "internalType": "contract AccessControllerInterface",
56
+ "name": "_requesterAccessController",
57
+ "type": "address"
58
+ },
59
+ {
60
+ "internalType": "uint8",
61
+ "name": "_decimals",
62
+ "type": "uint8"
63
+ },
64
+ {
65
+ "internalType": "string",
66
+ "name": "description",
67
+ "type": "string"
16
68
  }
17
69
  ],
18
- "name": "AssetAdded",
19
- "type": "event"
70
+ "stateMutability": "nonpayable",
71
+ "type": "constructor"
20
72
  },
21
73
  {
22
74
  "anonymous": false,
23
75
  "inputs": [
24
76
  {
25
- "indexed": true,
26
- "internalType": "address",
27
- "name": "token",
28
- "type": "address"
29
- },
30
- {
31
- "indexed": true,
77
+ "indexed": false,
32
78
  "internalType": "address",
33
- "name": "asset",
79
+ "name": "user",
34
80
  "type": "address"
35
81
  }
36
82
  ],
37
- "name": "AssetRemoved",
83
+ "name": "AddedAccess",
38
84
  "type": "event"
39
85
  },
40
86
  {
@@ -42,36 +88,24 @@
42
88
  "inputs": [
43
89
  {
44
90
  "indexed": true,
45
- "internalType": "address",
46
- "name": "sender",
47
- "type": "address"
48
- },
49
- {
50
- "indexed": false,
51
- "internalType": "address",
52
- "name": "token",
53
- "type": "address"
91
+ "internalType": "int256",
92
+ "name": "current",
93
+ "type": "int256"
54
94
  },
55
95
  {
56
- "indexed": false,
96
+ "indexed": true,
57
97
  "internalType": "uint256",
58
- "name": "amount",
98
+ "name": "roundId",
59
99
  "type": "uint256"
60
100
  },
61
101
  {
62
102
  "indexed": false,
63
103
  "internalType": "uint256",
64
- "name": "liquidity",
104
+ "name": "updatedAt",
65
105
  "type": "uint256"
66
- },
67
- {
68
- "indexed": true,
69
- "internalType": "address",
70
- "name": "to",
71
- "type": "address"
72
106
  }
73
107
  ],
74
- "name": "Deposit",
108
+ "name": "AnswerUpdated",
75
109
  "type": "event"
76
110
  },
77
111
  {
@@ -79,18 +113,18 @@
79
113
  "inputs": [
80
114
  {
81
115
  "indexed": false,
82
- "internalType": "address",
83
- "name": "token",
116
+ "internalType": "contract AccessControllerInterface",
117
+ "name": "old",
84
118
  "type": "address"
85
119
  },
86
120
  {
87
121
  "indexed": false,
88
- "internalType": "uint256",
89
- "name": "amount",
90
- "type": "uint256"
122
+ "internalType": "contract AccessControllerInterface",
123
+ "name": "current",
124
+ "type": "address"
91
125
  }
92
126
  ],
93
- "name": "FillPool",
127
+ "name": "BillingAccessControllerSet",
94
128
  "type": "event"
95
129
  },
96
130
  {
@@ -98,44 +132,48 @@
98
132
  "inputs": [
99
133
  {
100
134
  "indexed": false,
101
- "internalType": "uint8",
102
- "name": "version",
103
- "type": "uint8"
135
+ "internalType": "uint32",
136
+ "name": "maximumGasPrice",
137
+ "type": "uint32"
138
+ },
139
+ {
140
+ "indexed": false,
141
+ "internalType": "uint32",
142
+ "name": "reasonableGasPrice",
143
+ "type": "uint32"
144
+ },
145
+ {
146
+ "indexed": false,
147
+ "internalType": "uint32",
148
+ "name": "microLinkPerEth",
149
+ "type": "uint32"
150
+ },
151
+ {
152
+ "indexed": false,
153
+ "internalType": "uint32",
154
+ "name": "linkGweiPerObservation",
155
+ "type": "uint32"
156
+ },
157
+ {
158
+ "indexed": false,
159
+ "internalType": "uint32",
160
+ "name": "linkGweiPerTransmission",
161
+ "type": "uint32"
104
162
  }
105
163
  ],
106
- "name": "Initialized",
164
+ "name": "BillingSet",
107
165
  "type": "event"
108
166
  },
109
167
  {
110
168
  "anonymous": false,
111
- "inputs": [
112
- {
113
- "indexed": true,
114
- "internalType": "address",
115
- "name": "previousOwner",
116
- "type": "address"
117
- },
118
- {
119
- "indexed": true,
120
- "internalType": "address",
121
- "name": "newOwner",
122
- "type": "address"
123
- }
124
- ],
125
- "name": "OwnershipTransferred",
169
+ "inputs": [],
170
+ "name": "CheckAccessDisabled",
126
171
  "type": "event"
127
172
  },
128
173
  {
129
174
  "anonymous": false,
130
- "inputs": [
131
- {
132
- "indexed": false,
133
- "internalType": "address",
134
- "name": "account",
135
- "type": "address"
136
- }
137
- ],
138
- "name": "Paused",
175
+ "inputs": [],
176
+ "name": "CheckAccessEnabled",
139
177
  "type": "event"
140
178
  },
141
179
  {
@@ -143,63 +181,116 @@
143
181
  "inputs": [
144
182
  {
145
183
  "indexed": false,
146
- "internalType": "address",
147
- "name": "token",
148
- "type": "address"
184
+ "internalType": "uint32",
185
+ "name": "previousConfigBlockNumber",
186
+ "type": "uint32"
149
187
  },
150
188
  {
151
189
  "indexed": false,
152
- "internalType": "address",
153
- "name": "account",
154
- "type": "address"
190
+ "internalType": "uint64",
191
+ "name": "configCount",
192
+ "type": "uint64"
193
+ },
194
+ {
195
+ "indexed": false,
196
+ "internalType": "address[]",
197
+ "name": "signers",
198
+ "type": "address[]"
199
+ },
200
+ {
201
+ "indexed": false,
202
+ "internalType": "address[]",
203
+ "name": "transmitters",
204
+ "type": "address[]"
205
+ },
206
+ {
207
+ "indexed": false,
208
+ "internalType": "uint8",
209
+ "name": "threshold",
210
+ "type": "uint8"
211
+ },
212
+ {
213
+ "indexed": false,
214
+ "internalType": "uint64",
215
+ "name": "encodedConfigVersion",
216
+ "type": "uint64"
217
+ },
218
+ {
219
+ "indexed": false,
220
+ "internalType": "bytes",
221
+ "name": "encoded",
222
+ "type": "bytes"
155
223
  }
156
224
  ],
157
- "name": "PausedAsset",
225
+ "name": "ConfigSet",
158
226
  "type": "event"
159
227
  },
160
228
  {
161
229
  "anonymous": false,
162
230
  "inputs": [
231
+ {
232
+ "indexed": true,
233
+ "internalType": "uint256",
234
+ "name": "roundId",
235
+ "type": "uint256"
236
+ },
237
+ {
238
+ "indexed": true,
239
+ "internalType": "address",
240
+ "name": "startedBy",
241
+ "type": "address"
242
+ },
163
243
  {
164
244
  "indexed": false,
165
245
  "internalType": "uint256",
166
- "name": "value",
246
+ "name": "startedAt",
167
247
  "type": "uint256"
168
248
  }
169
249
  ],
170
- "name": "SetAmpFactor",
250
+ "name": "NewRound",
171
251
  "type": "event"
172
252
  },
173
253
  {
174
254
  "anonymous": false,
175
255
  "inputs": [
256
+ {
257
+ "indexed": true,
258
+ "internalType": "uint32",
259
+ "name": "aggregatorRoundId",
260
+ "type": "uint32"
261
+ },
262
+ {
263
+ "indexed": false,
264
+ "internalType": "int192",
265
+ "name": "answer",
266
+ "type": "int192"
267
+ },
176
268
  {
177
269
  "indexed": false,
178
270
  "internalType": "address",
179
- "name": "addr",
271
+ "name": "transmitter",
180
272
  "type": "address"
181
- }
182
- ],
183
- "name": "SetDev",
184
- "type": "event"
185
- },
186
- {
187
- "anonymous": false,
188
- "inputs": [
273
+ },
189
274
  {
190
275
  "indexed": false,
191
- "internalType": "uint256",
192
- "name": "lpDividendRatio",
193
- "type": "uint256"
276
+ "internalType": "int192[]",
277
+ "name": "observations",
278
+ "type": "int192[]"
194
279
  },
195
280
  {
196
281
  "indexed": false,
197
- "internalType": "uint256",
198
- "name": "retentionRatio",
199
- "type": "uint256"
282
+ "internalType": "bytes",
283
+ "name": "observers",
284
+ "type": "bytes"
285
+ },
286
+ {
287
+ "indexed": false,
288
+ "internalType": "bytes32",
289
+ "name": "rawReportContext",
290
+ "type": "bytes32"
200
291
  }
201
292
  ],
202
- "name": "SetFee",
293
+ "name": "NewTransmission",
203
294
  "type": "event"
204
295
  },
205
296
  {
@@ -208,50 +299,61 @@
208
299
  {
209
300
  "indexed": false,
210
301
  "internalType": "address",
211
- "name": "addr",
302
+ "name": "transmitter",
212
303
  "type": "address"
213
- }
214
- ],
215
- "name": "SetFeeTo",
216
- "type": "event"
217
- },
218
- {
219
- "anonymous": false,
220
- "inputs": [
304
+ },
305
+ {
306
+ "indexed": false,
307
+ "internalType": "address",
308
+ "name": "payee",
309
+ "type": "address"
310
+ },
221
311
  {
222
312
  "indexed": false,
223
313
  "internalType": "uint256",
224
- "name": "value",
314
+ "name": "amount",
225
315
  "type": "uint256"
226
316
  }
227
317
  ],
228
- "name": "SetHaircutRate",
318
+ "name": "OraclePaid",
229
319
  "type": "event"
230
320
  },
231
321
  {
232
322
  "anonymous": false,
233
323
  "inputs": [
234
324
  {
235
- "indexed": false,
325
+ "indexed": true,
326
+ "internalType": "address",
327
+ "name": "from",
328
+ "type": "address"
329
+ },
330
+ {
331
+ "indexed": true,
236
332
  "internalType": "address",
237
- "name": "addr",
333
+ "name": "to",
238
334
  "type": "address"
239
335
  }
240
336
  ],
241
- "name": "SetMasterWombat",
337
+ "name": "OwnershipTransferRequested",
242
338
  "type": "event"
243
339
  },
244
340
  {
245
341
  "anonymous": false,
246
342
  "inputs": [
247
343
  {
248
- "indexed": false,
249
- "internalType": "uint256",
250
- "name": "value",
251
- "type": "uint256"
344
+ "indexed": true,
345
+ "internalType": "address",
346
+ "name": "from",
347
+ "type": "address"
348
+ },
349
+ {
350
+ "indexed": true,
351
+ "internalType": "address",
352
+ "name": "to",
353
+ "type": "address"
252
354
  }
253
355
  ],
254
- "name": "SetMintFeeThreshold",
356
+ "name": "OwnershipTransferred",
255
357
  "type": "event"
256
358
  },
257
359
  {
@@ -260,66 +362,48 @@
260
362
  {
261
363
  "indexed": true,
262
364
  "internalType": "address",
263
- "name": "sender",
264
- "type": "address"
265
- },
266
- {
267
- "indexed": false,
268
- "internalType": "address",
269
- "name": "fromToken",
365
+ "name": "transmitter",
270
366
  "type": "address"
271
367
  },
272
368
  {
273
- "indexed": false,
369
+ "indexed": true,
274
370
  "internalType": "address",
275
- "name": "toToken",
371
+ "name": "current",
276
372
  "type": "address"
277
373
  },
278
- {
279
- "indexed": false,
280
- "internalType": "uint256",
281
- "name": "fromAmount",
282
- "type": "uint256"
283
- },
284
- {
285
- "indexed": false,
286
- "internalType": "uint256",
287
- "name": "toAmount",
288
- "type": "uint256"
289
- },
290
374
  {
291
375
  "indexed": true,
292
376
  "internalType": "address",
293
- "name": "to",
377
+ "name": "proposed",
294
378
  "type": "address"
295
379
  }
296
380
  ],
297
- "name": "Swap",
381
+ "name": "PayeeshipTransferRequested",
298
382
  "type": "event"
299
383
  },
300
384
  {
301
385
  "anonymous": false,
302
386
  "inputs": [
303
387
  {
304
- "indexed": false,
388
+ "indexed": true,
305
389
  "internalType": "address",
306
- "name": "token",
390
+ "name": "transmitter",
307
391
  "type": "address"
308
392
  },
309
393
  {
310
- "indexed": false,
311
- "internalType": "uint256",
312
- "name": "amount",
313
- "type": "uint256"
394
+ "indexed": true,
395
+ "internalType": "address",
396
+ "name": "previous",
397
+ "type": "address"
314
398
  },
315
399
  {
316
- "indexed": false,
400
+ "indexed": true,
317
401
  "internalType": "address",
318
- "name": "to",
402
+ "name": "current",
319
403
  "type": "address"
320
404
  }
321
405
  ],
322
- "name": "TransferTipBucket",
406
+ "name": "PayeeshipTransferred",
323
407
  "type": "event"
324
408
  },
325
409
  {
@@ -328,11 +412,11 @@
328
412
  {
329
413
  "indexed": false,
330
414
  "internalType": "address",
331
- "name": "account",
415
+ "name": "user",
332
416
  "type": "address"
333
417
  }
334
418
  ],
335
- "name": "Unpaused",
419
+ "name": "RemovedAccess",
336
420
  "type": "event"
337
421
  },
338
422
  {
@@ -340,18 +424,18 @@
340
424
  "inputs": [
341
425
  {
342
426
  "indexed": false,
343
- "internalType": "address",
344
- "name": "token",
427
+ "internalType": "contract AccessControllerInterface",
428
+ "name": "old",
345
429
  "type": "address"
346
430
  },
347
431
  {
348
432
  "indexed": false,
349
- "internalType": "address",
350
- "name": "account",
433
+ "internalType": "contract AccessControllerInterface",
434
+ "name": "current",
351
435
  "type": "address"
352
436
  }
353
437
  ],
354
- "name": "UnpausedAsset",
438
+ "name": "RequesterAccessControllerSet",
355
439
  "type": "event"
356
440
  },
357
441
  {
@@ -360,67 +444,56 @@
360
444
  {
361
445
  "indexed": true,
362
446
  "internalType": "address",
363
- "name": "sender",
447
+ "name": "requester",
364
448
  "type": "address"
365
449
  },
366
450
  {
367
451
  "indexed": false,
368
- "internalType": "address",
369
- "name": "token",
370
- "type": "address"
452
+ "internalType": "bytes16",
453
+ "name": "configDigest",
454
+ "type": "bytes16"
371
455
  },
372
456
  {
373
457
  "indexed": false,
374
- "internalType": "uint256",
375
- "name": "amount",
376
- "type": "uint256"
458
+ "internalType": "uint32",
459
+ "name": "epoch",
460
+ "type": "uint32"
377
461
  },
378
462
  {
379
463
  "indexed": false,
380
- "internalType": "uint256",
381
- "name": "liquidity",
382
- "type": "uint256"
383
- },
384
- {
385
- "indexed": true,
386
- "internalType": "address",
387
- "name": "to",
388
- "type": "address"
464
+ "internalType": "uint8",
465
+ "name": "round",
466
+ "type": "uint8"
389
467
  }
390
468
  ],
391
- "name": "Withdraw",
469
+ "name": "RoundRequested",
392
470
  "type": "event"
393
471
  },
394
472
  {
473
+ "anonymous": false,
395
474
  "inputs": [
396
475
  {
476
+ "indexed": true,
397
477
  "internalType": "address",
398
- "name": "token",
478
+ "name": "previous",
399
479
  "type": "address"
400
480
  },
401
481
  {
482
+ "indexed": true,
402
483
  "internalType": "address",
403
- "name": "asset",
484
+ "name": "current",
404
485
  "type": "address"
405
486
  }
406
487
  ],
407
- "name": "addAsset",
408
- "outputs": [],
409
- "stateMutability": "nonpayable",
410
- "type": "function"
488
+ "name": "ValidatorUpdated",
489
+ "type": "event"
411
490
  },
412
491
  {
413
- "inputs": [
414
- {
415
- "internalType": "address",
416
- "name": "token",
417
- "type": "address"
418
- }
419
- ],
420
- "name": "addressOfAsset",
492
+ "inputs": [],
493
+ "name": "LINK",
421
494
  "outputs": [
422
495
  {
423
- "internalType": "address",
496
+ "internalType": "contract LinkTokenInterface",
424
497
  "name": "",
425
498
  "type": "address"
426
499
  }
@@ -430,67 +503,43 @@
430
503
  },
431
504
  {
432
505
  "inputs": [],
433
- "name": "ampFactor",
434
- "outputs": [
435
- {
436
- "internalType": "uint256",
437
- "name": "",
438
- "type": "uint256"
439
- }
440
- ],
441
- "stateMutability": "view",
506
+ "name": "acceptOwnership",
507
+ "outputs": [],
508
+ "stateMutability": "nonpayable",
442
509
  "type": "function"
443
510
  },
444
511
  {
445
512
  "inputs": [
446
513
  {
447
514
  "internalType": "address",
448
- "name": "token",
515
+ "name": "_transmitter",
449
516
  "type": "address"
450
- },
451
- {
452
- "internalType": "uint256",
453
- "name": "amount",
454
- "type": "uint256"
455
- },
456
- {
457
- "internalType": "uint256",
458
- "name": "minimumLiquidity",
459
- "type": "uint256"
460
- },
461
- {
462
- "internalType": "address",
463
- "name": "to",
464
- "type": "address"
465
- },
466
- {
467
- "internalType": "uint256",
468
- "name": "deadline",
469
- "type": "uint256"
470
- },
471
- {
472
- "internalType": "bool",
473
- "name": "shouldStake",
474
- "type": "bool"
475
517
  }
476
518
  ],
477
- "name": "deposit",
478
- "outputs": [
519
+ "name": "acceptPayeeship",
520
+ "outputs": [],
521
+ "stateMutability": "nonpayable",
522
+ "type": "function"
523
+ },
524
+ {
525
+ "inputs": [
479
526
  {
480
- "internalType": "uint256",
481
- "name": "liquidity",
482
- "type": "uint256"
527
+ "internalType": "address",
528
+ "name": "_user",
529
+ "type": "address"
483
530
  }
484
531
  ],
532
+ "name": "addAccess",
533
+ "outputs": [],
485
534
  "stateMutability": "nonpayable",
486
535
  "type": "function"
487
536
  },
488
537
  {
489
538
  "inputs": [],
490
- "name": "dev",
539
+ "name": "billingAccessController",
491
540
  "outputs": [
492
541
  {
493
- "internalType": "address",
542
+ "internalType": "contract AccessControllerInterface",
494
543
  "name": "",
495
544
  "type": "address"
496
545
  }
@@ -500,31 +549,25 @@
500
549
  },
501
550
  {
502
551
  "inputs": [],
503
- "name": "endCovRatio",
552
+ "name": "checkEnabled",
504
553
  "outputs": [
505
554
  {
506
- "internalType": "uint128",
555
+ "internalType": "bool",
507
556
  "name": "",
508
- "type": "uint128"
557
+ "type": "bool"
509
558
  }
510
559
  ],
511
560
  "stateMutability": "view",
512
561
  "type": "function"
513
562
  },
514
563
  {
515
- "inputs": [
516
- {
517
- "internalType": "address",
518
- "name": "token",
519
- "type": "address"
520
- }
521
- ],
522
- "name": "exchangeRate",
564
+ "inputs": [],
565
+ "name": "decimals",
523
566
  "outputs": [
524
567
  {
525
- "internalType": "uint256",
526
- "name": "xr",
527
- "type": "uint256"
568
+ "internalType": "uint8",
569
+ "name": "",
570
+ "type": "uint8"
528
571
  }
529
572
  ],
530
573
  "stateMutability": "view",
@@ -532,43 +575,45 @@
532
575
  },
533
576
  {
534
577
  "inputs": [],
535
- "name": "feeTo",
578
+ "name": "description",
536
579
  "outputs": [
537
580
  {
538
- "internalType": "address",
581
+ "internalType": "string",
539
582
  "name": "",
540
- "type": "address"
583
+ "type": "string"
541
584
  }
542
585
  ],
543
586
  "stateMutability": "view",
544
587
  "type": "function"
545
588
  },
546
589
  {
547
- "inputs": [
548
- {
549
- "internalType": "address",
550
- "name": "token",
551
- "type": "address"
552
- },
553
- {
554
- "internalType": "uint256",
555
- "name": "amount",
556
- "type": "uint256"
557
- }
558
- ],
559
- "name": "fillPool",
590
+ "inputs": [],
591
+ "name": "disableAccessCheck",
560
592
  "outputs": [],
561
593
  "stateMutability": "nonpayable",
562
594
  "type": "function"
563
595
  },
564
596
  {
565
597
  "inputs": [],
566
- "name": "getTokens",
598
+ "name": "enableAccessCheck",
599
+ "outputs": [],
600
+ "stateMutability": "nonpayable",
601
+ "type": "function"
602
+ },
603
+ {
604
+ "inputs": [
605
+ {
606
+ "internalType": "uint256",
607
+ "name": "_roundId",
608
+ "type": "uint256"
609
+ }
610
+ ],
611
+ "name": "getAnswer",
567
612
  "outputs": [
568
613
  {
569
- "internalType": "address[]",
614
+ "internalType": "int256",
570
615
  "name": "",
571
- "type": "address[]"
616
+ "type": "int256"
572
617
  }
573
618
  ],
574
619
  "stateMutability": "view",
@@ -576,30 +621,71 @@
576
621
  },
577
622
  {
578
623
  "inputs": [],
579
- "name": "globalEquilCovRatio",
624
+ "name": "getBilling",
580
625
  "outputs": [
581
626
  {
582
- "internalType": "uint256",
583
- "name": "equilCovRatio",
584
- "type": "uint256"
627
+ "internalType": "uint32",
628
+ "name": "maximumGasPrice",
629
+ "type": "uint32"
585
630
  },
586
631
  {
587
- "internalType": "uint256",
588
- "name": "invariantInUint",
589
- "type": "uint256"
632
+ "internalType": "uint32",
633
+ "name": "reasonableGasPrice",
634
+ "type": "uint32"
635
+ },
636
+ {
637
+ "internalType": "uint32",
638
+ "name": "microLinkPerEth",
639
+ "type": "uint32"
640
+ },
641
+ {
642
+ "internalType": "uint32",
643
+ "name": "linkGweiPerObservation",
644
+ "type": "uint32"
645
+ },
646
+ {
647
+ "internalType": "uint32",
648
+ "name": "linkGweiPerTransmission",
649
+ "type": "uint32"
590
650
  }
591
651
  ],
592
652
  "stateMutability": "view",
593
653
  "type": "function"
594
654
  },
595
655
  {
596
- "inputs": [],
597
- "name": "haircutRate",
656
+ "inputs": [
657
+ {
658
+ "internalType": "uint80",
659
+ "name": "_roundId",
660
+ "type": "uint80"
661
+ }
662
+ ],
663
+ "name": "getRoundData",
598
664
  "outputs": [
665
+ {
666
+ "internalType": "uint80",
667
+ "name": "roundId",
668
+ "type": "uint80"
669
+ },
670
+ {
671
+ "internalType": "int256",
672
+ "name": "answer",
673
+ "type": "int256"
674
+ },
599
675
  {
600
676
  "internalType": "uint256",
601
- "name": "",
677
+ "name": "startedAt",
678
+ "type": "uint256"
679
+ },
680
+ {
681
+ "internalType": "uint256",
682
+ "name": "updatedAt",
602
683
  "type": "uint256"
684
+ },
685
+ {
686
+ "internalType": "uint80",
687
+ "name": "answeredInRound",
688
+ "type": "uint80"
603
689
  }
604
690
  ],
605
691
  "stateMutability": "view",
@@ -609,29 +695,35 @@
609
695
  "inputs": [
610
696
  {
611
697
  "internalType": "uint256",
612
- "name": "ampFactor_",
698
+ "name": "_roundId",
613
699
  "type": "uint256"
614
- },
700
+ }
701
+ ],
702
+ "name": "getTimestamp",
703
+ "outputs": [
615
704
  {
616
705
  "internalType": "uint256",
617
- "name": "haircutRate_",
706
+ "name": "",
618
707
  "type": "uint256"
619
708
  }
620
709
  ],
621
- "name": "initialize",
622
- "outputs": [],
623
- "stateMutability": "nonpayable",
710
+ "stateMutability": "view",
624
711
  "type": "function"
625
712
  },
626
713
  {
627
714
  "inputs": [
628
715
  {
629
716
  "internalType": "address",
630
- "name": "token",
717
+ "name": "_user",
631
718
  "type": "address"
719
+ },
720
+ {
721
+ "internalType": "bytes",
722
+ "name": "_calldata",
723
+ "type": "bytes"
632
724
  }
633
725
  ],
634
- "name": "isPaused",
726
+ "name": "hasAccess",
635
727
  "outputs": [
636
728
  {
637
729
  "internalType": "bool",
@@ -644,12 +736,12 @@
644
736
  },
645
737
  {
646
738
  "inputs": [],
647
- "name": "lpDividendRatio",
739
+ "name": "latestAnswer",
648
740
  "outputs": [
649
741
  {
650
- "internalType": "uint256",
742
+ "internalType": "int256",
651
743
  "name": "",
652
- "type": "uint256"
744
+ "type": "int256"
653
745
  }
654
746
  ],
655
747
  "stateMutability": "view",
@@ -657,44 +749,68 @@
657
749
  },
658
750
  {
659
751
  "inputs": [],
660
- "name": "masterWombat",
752
+ "name": "latestConfigDetails",
661
753
  "outputs": [
662
754
  {
663
- "internalType": "address",
664
- "name": "",
665
- "type": "address"
755
+ "internalType": "uint32",
756
+ "name": "configCount",
757
+ "type": "uint32"
758
+ },
759
+ {
760
+ "internalType": "uint32",
761
+ "name": "blockNumber",
762
+ "type": "uint32"
763
+ },
764
+ {
765
+ "internalType": "bytes16",
766
+ "name": "configDigest",
767
+ "type": "bytes16"
666
768
  }
667
769
  ],
668
770
  "stateMutability": "view",
669
771
  "type": "function"
670
772
  },
671
773
  {
672
- "inputs": [
673
- {
674
- "internalType": "address",
675
- "name": "token",
676
- "type": "address"
677
- }
678
- ],
679
- "name": "mintFee",
774
+ "inputs": [],
775
+ "name": "latestRound",
680
776
  "outputs": [
681
777
  {
682
778
  "internalType": "uint256",
683
- "name": "feeCollected",
779
+ "name": "",
684
780
  "type": "uint256"
685
781
  }
686
782
  ],
687
- "stateMutability": "nonpayable",
783
+ "stateMutability": "view",
688
784
  "type": "function"
689
785
  },
690
786
  {
691
787
  "inputs": [],
692
- "name": "mintFeeThreshold",
788
+ "name": "latestRoundData",
693
789
  "outputs": [
790
+ {
791
+ "internalType": "uint80",
792
+ "name": "roundId",
793
+ "type": "uint80"
794
+ },
795
+ {
796
+ "internalType": "int256",
797
+ "name": "answer",
798
+ "type": "int256"
799
+ },
694
800
  {
695
801
  "internalType": "uint256",
696
- "name": "",
802
+ "name": "startedAt",
697
803
  "type": "uint256"
804
+ },
805
+ {
806
+ "internalType": "uint256",
807
+ "name": "updatedAt",
808
+ "type": "uint256"
809
+ },
810
+ {
811
+ "internalType": "uint80",
812
+ "name": "answeredInRound",
813
+ "type": "uint80"
698
814
  }
699
815
  ],
700
816
  "stateMutability": "view",
@@ -702,12 +818,12 @@
702
818
  },
703
819
  {
704
820
  "inputs": [],
705
- "name": "owner",
821
+ "name": "latestTimestamp",
706
822
  "outputs": [
707
823
  {
708
- "internalType": "address",
824
+ "internalType": "uint256",
709
825
  "name": "",
710
- "type": "address"
826
+ "type": "uint256"
711
827
  }
712
828
  ],
713
829
  "stateMutability": "view",
@@ -715,95 +831,71 @@
715
831
  },
716
832
  {
717
833
  "inputs": [],
718
- "name": "pause",
719
- "outputs": [],
720
- "stateMutability": "nonpayable",
721
- "type": "function"
722
- },
723
- {
724
- "inputs": [
834
+ "name": "latestTransmissionDetails",
835
+ "outputs": [
725
836
  {
726
- "internalType": "address",
727
- "name": "token",
728
- "type": "address"
837
+ "internalType": "bytes16",
838
+ "name": "configDigest",
839
+ "type": "bytes16"
840
+ },
841
+ {
842
+ "internalType": "uint32",
843
+ "name": "epoch",
844
+ "type": "uint32"
845
+ },
846
+ {
847
+ "internalType": "uint8",
848
+ "name": "round",
849
+ "type": "uint8"
850
+ },
851
+ {
852
+ "internalType": "int192",
853
+ "name": "latestAnswer",
854
+ "type": "int192"
855
+ },
856
+ {
857
+ "internalType": "uint64",
858
+ "name": "latestTimestamp",
859
+ "type": "uint64"
729
860
  }
730
861
  ],
731
- "name": "pauseAsset",
732
- "outputs": [],
733
- "stateMutability": "nonpayable",
862
+ "stateMutability": "view",
734
863
  "type": "function"
735
864
  },
736
865
  {
737
866
  "inputs": [],
738
- "name": "paused",
867
+ "name": "linkAvailableForPayment",
739
868
  "outputs": [
740
869
  {
741
- "internalType": "bool",
742
- "name": "",
743
- "type": "bool"
870
+ "internalType": "int256",
871
+ "name": "availableBalance",
872
+ "type": "int256"
744
873
  }
745
874
  ],
746
875
  "stateMutability": "view",
747
876
  "type": "function"
748
877
  },
749
878
  {
750
- "inputs": [
751
- {
752
- "internalType": "address",
753
- "name": "fromToken",
754
- "type": "address"
755
- },
756
- {
757
- "internalType": "address",
758
- "name": "toToken",
759
- "type": "address"
760
- },
761
- {
762
- "internalType": "int256",
763
- "name": "toAmount",
764
- "type": "int256"
765
- }
766
- ],
767
- "name": "quoteAmountIn",
879
+ "inputs": [],
880
+ "name": "maxAnswer",
768
881
  "outputs": [
769
882
  {
770
- "internalType": "uint256",
771
- "name": "amountIn",
772
- "type": "uint256"
773
- },
774
- {
775
- "internalType": "uint256",
776
- "name": "haircut",
777
- "type": "uint256"
883
+ "internalType": "int192",
884
+ "name": "",
885
+ "type": "int192"
778
886
  }
779
887
  ],
780
888
  "stateMutability": "view",
781
889
  "type": "function"
782
890
  },
783
891
  {
784
- "inputs": [
785
- {
786
- "internalType": "address",
787
- "name": "token",
788
- "type": "address"
789
- },
790
- {
791
- "internalType": "uint256",
792
- "name": "amount",
793
- "type": "uint256"
794
- }
795
- ],
796
- "name": "quotePotentialDeposit",
892
+ "inputs": [],
893
+ "name": "minAnswer",
797
894
  "outputs": [
798
895
  {
799
- "internalType": "uint256",
800
- "name": "liquidity",
801
- "type": "uint256"
802
- },
803
- {
804
- "internalType": "uint256",
805
- "name": "reward",
806
- "type": "uint256"
896
+ "internalType": "int192",
897
+ "name": "",
898
+ "type": "int192"
807
899
  }
808
900
  ],
809
901
  "stateMutability": "view",
@@ -813,31 +905,16 @@
813
905
  "inputs": [
814
906
  {
815
907
  "internalType": "address",
816
- "name": "fromToken",
817
- "type": "address"
818
- },
819
- {
820
- "internalType": "address",
821
- "name": "toToken",
908
+ "name": "_signerOrTransmitter",
822
909
  "type": "address"
823
- },
824
- {
825
- "internalType": "int256",
826
- "name": "fromAmount",
827
- "type": "int256"
828
910
  }
829
911
  ],
830
- "name": "quotePotentialSwap",
912
+ "name": "oracleObservationCount",
831
913
  "outputs": [
832
914
  {
833
- "internalType": "uint256",
834
- "name": "potentialOutcome",
835
- "type": "uint256"
836
- },
837
- {
838
- "internalType": "uint256",
839
- "name": "haircut",
840
- "type": "uint256"
915
+ "internalType": "uint16",
916
+ "name": "",
917
+ "type": "uint16"
841
918
  }
842
919
  ],
843
920
  "stateMutability": "view",
@@ -847,25 +924,15 @@
847
924
  "inputs": [
848
925
  {
849
926
  "internalType": "address",
850
- "name": "token",
927
+ "name": "_transmitter",
851
928
  "type": "address"
852
- },
853
- {
854
- "internalType": "uint256",
855
- "name": "liquidity",
856
- "type": "uint256"
857
929
  }
858
930
  ],
859
- "name": "quotePotentialWithdraw",
931
+ "name": "owedPayment",
860
932
  "outputs": [
861
933
  {
862
934
  "internalType": "uint256",
863
- "name": "amount",
864
- "type": "uint256"
865
- },
866
- {
867
- "internalType": "uint256",
868
- "name": "fee",
935
+ "name": "",
869
936
  "type": "uint256"
870
937
  }
871
938
  ],
@@ -873,34 +940,13 @@
873
940
  "type": "function"
874
941
  },
875
942
  {
876
- "inputs": [
877
- {
878
- "internalType": "address",
879
- "name": "fromToken",
880
- "type": "address"
881
- },
882
- {
883
- "internalType": "address",
884
- "name": "toToken",
885
- "type": "address"
886
- },
887
- {
888
- "internalType": "uint256",
889
- "name": "liquidity",
890
- "type": "uint256"
891
- }
892
- ],
893
- "name": "quotePotentialWithdrawFromOtherAsset",
943
+ "inputs": [],
944
+ "name": "owner",
894
945
  "outputs": [
895
946
  {
896
- "internalType": "uint256",
897
- "name": "amount",
898
- "type": "uint256"
899
- },
900
- {
901
- "internalType": "uint256",
902
- "name": "withdrewAmount",
903
- "type": "uint256"
947
+ "internalType": "address payable",
948
+ "name": "",
949
+ "type": "address"
904
950
  }
905
951
  ],
906
952
  "stateMutability": "view",
@@ -910,30 +956,36 @@
910
956
  "inputs": [
911
957
  {
912
958
  "internalType": "address",
913
- "name": "token",
959
+ "name": "_user",
914
960
  "type": "address"
915
961
  }
916
962
  ],
917
- "name": "removeAsset",
963
+ "name": "removeAccess",
918
964
  "outputs": [],
919
965
  "stateMutability": "nonpayable",
920
966
  "type": "function"
921
967
  },
922
968
  {
923
969
  "inputs": [],
924
- "name": "renounceOwnership",
925
- "outputs": [],
970
+ "name": "requestNewRound",
971
+ "outputs": [
972
+ {
973
+ "internalType": "uint80",
974
+ "name": "",
975
+ "type": "uint80"
976
+ }
977
+ ],
926
978
  "stateMutability": "nonpayable",
927
979
  "type": "function"
928
980
  },
929
981
  {
930
982
  "inputs": [],
931
- "name": "retentionRatio",
983
+ "name": "requesterAccessController",
932
984
  "outputs": [
933
985
  {
934
- "internalType": "uint256",
986
+ "internalType": "contract AccessControllerInterface",
935
987
  "name": "",
936
- "type": "uint256"
988
+ "type": "address"
937
989
  }
938
990
  ],
939
991
  "stateMutability": "view",
@@ -942,30 +994,32 @@
942
994
  {
943
995
  "inputs": [
944
996
  {
945
- "internalType": "uint256",
946
- "name": "ampFactor_",
947
- "type": "uint256"
948
- }
949
- ],
950
- "name": "setAmpFactor",
951
- "outputs": [],
952
- "stateMutability": "nonpayable",
953
- "type": "function"
954
- },
955
- {
956
- "inputs": [
997
+ "internalType": "uint32",
998
+ "name": "_maximumGasPrice",
999
+ "type": "uint32"
1000
+ },
957
1001
  {
958
- "internalType": "uint128",
959
- "name": "startCovRatio_",
960
- "type": "uint128"
1002
+ "internalType": "uint32",
1003
+ "name": "_reasonableGasPrice",
1004
+ "type": "uint32"
961
1005
  },
962
1006
  {
963
- "internalType": "uint128",
964
- "name": "endCovRatio_",
965
- "type": "uint128"
1007
+ "internalType": "uint32",
1008
+ "name": "_microLinkPerEth",
1009
+ "type": "uint32"
1010
+ },
1011
+ {
1012
+ "internalType": "uint32",
1013
+ "name": "_linkGweiPerObservation",
1014
+ "type": "uint32"
1015
+ },
1016
+ {
1017
+ "internalType": "uint32",
1018
+ "name": "_linkGweiPerTransmission",
1019
+ "type": "uint32"
966
1020
  }
967
1021
  ],
968
- "name": "setCovRatioFeeParam",
1022
+ "name": "setBilling",
969
1023
  "outputs": [],
970
1024
  "stateMutability": "nonpayable",
971
1025
  "type": "function"
@@ -973,12 +1027,12 @@
973
1027
  {
974
1028
  "inputs": [
975
1029
  {
976
- "internalType": "address",
977
- "name": "dev_",
1030
+ "internalType": "contract AccessControllerInterface",
1031
+ "name": "_billingAccessController",
978
1032
  "type": "address"
979
1033
  }
980
1034
  ],
981
- "name": "setDev",
1035
+ "name": "setBillingAccessController",
982
1036
  "outputs": [],
983
1037
  "stateMutability": "nonpayable",
984
1038
  "type": "function"
@@ -986,30 +1040,32 @@
986
1040
  {
987
1041
  "inputs": [
988
1042
  {
989
- "internalType": "uint256",
990
- "name": "lpDividendRatio_",
991
- "type": "uint256"
1043
+ "internalType": "address[]",
1044
+ "name": "_signers",
1045
+ "type": "address[]"
992
1046
  },
993
1047
  {
994
- "internalType": "uint256",
995
- "name": "retentionRatio_",
996
- "type": "uint256"
997
- }
998
- ],
999
- "name": "setFee",
1000
- "outputs": [],
1001
- "stateMutability": "nonpayable",
1002
- "type": "function"
1003
- },
1004
- {
1005
- "inputs": [
1048
+ "internalType": "address[]",
1049
+ "name": "_transmitters",
1050
+ "type": "address[]"
1051
+ },
1006
1052
  {
1007
- "internalType": "address",
1008
- "name": "feeTo_",
1009
- "type": "address"
1053
+ "internalType": "uint8",
1054
+ "name": "_threshold",
1055
+ "type": "uint8"
1056
+ },
1057
+ {
1058
+ "internalType": "uint64",
1059
+ "name": "_encodedConfigVersion",
1060
+ "type": "uint64"
1061
+ },
1062
+ {
1063
+ "internalType": "bytes",
1064
+ "name": "_encoded",
1065
+ "type": "bytes"
1010
1066
  }
1011
1067
  ],
1012
- "name": "setFeeTo",
1068
+ "name": "setConfig",
1013
1069
  "outputs": [],
1014
1070
  "stateMutability": "nonpayable",
1015
1071
  "type": "function"
@@ -1017,12 +1073,17 @@
1017
1073
  {
1018
1074
  "inputs": [
1019
1075
  {
1020
- "internalType": "uint256",
1021
- "name": "haircutRate_",
1022
- "type": "uint256"
1076
+ "internalType": "address[]",
1077
+ "name": "_transmitters",
1078
+ "type": "address[]"
1079
+ },
1080
+ {
1081
+ "internalType": "address[]",
1082
+ "name": "_payees",
1083
+ "type": "address[]"
1023
1084
  }
1024
1085
  ],
1025
- "name": "setHaircutRate",
1086
+ "name": "setPayees",
1026
1087
  "outputs": [],
1027
1088
  "stateMutability": "nonpayable",
1028
1089
  "type": "function"
@@ -1030,12 +1091,12 @@
1030
1091
  {
1031
1092
  "inputs": [
1032
1093
  {
1033
- "internalType": "address",
1034
- "name": "masterWombat_",
1094
+ "internalType": "contract AccessControllerInterface",
1095
+ "name": "_requesterAccessController",
1035
1096
  "type": "address"
1036
1097
  }
1037
1098
  ],
1038
- "name": "setMasterWombat",
1099
+ "name": "setRequesterAccessController",
1039
1100
  "outputs": [],
1040
1101
  "stateMutability": "nonpayable",
1041
1102
  "type": "function"
@@ -1043,75 +1104,26 @@
1043
1104
  {
1044
1105
  "inputs": [
1045
1106
  {
1046
- "internalType": "uint256",
1047
- "name": "mintFeeThreshold_",
1048
- "type": "uint256"
1107
+ "internalType": "address",
1108
+ "name": "_newValidator",
1109
+ "type": "address"
1049
1110
  }
1050
1111
  ],
1051
- "name": "setMintFeeThreshold",
1112
+ "name": "setValidator",
1052
1113
  "outputs": [],
1053
1114
  "stateMutability": "nonpayable",
1054
1115
  "type": "function"
1055
1116
  },
1056
- {
1057
- "inputs": [],
1058
- "name": "startCovRatio",
1059
- "outputs": [
1060
- {
1061
- "internalType": "uint128",
1062
- "name": "",
1063
- "type": "uint128"
1064
- }
1065
- ],
1066
- "stateMutability": "view",
1067
- "type": "function"
1068
- },
1069
1117
  {
1070
1118
  "inputs": [
1071
1119
  {
1072
1120
  "internalType": "address",
1073
- "name": "fromToken",
1074
- "type": "address"
1075
- },
1076
- {
1077
- "internalType": "address",
1078
- "name": "toToken",
1121
+ "name": "_to",
1079
1122
  "type": "address"
1080
- },
1081
- {
1082
- "internalType": "uint256",
1083
- "name": "fromAmount",
1084
- "type": "uint256"
1085
- },
1086
- {
1087
- "internalType": "uint256",
1088
- "name": "minimumToAmount",
1089
- "type": "uint256"
1090
- },
1091
- {
1092
- "internalType": "address",
1093
- "name": "to",
1094
- "type": "address"
1095
- },
1096
- {
1097
- "internalType": "uint256",
1098
- "name": "deadline",
1099
- "type": "uint256"
1100
- }
1101
- ],
1102
- "name": "swap",
1103
- "outputs": [
1104
- {
1105
- "internalType": "uint256",
1106
- "name": "actualToAmount",
1107
- "type": "uint256"
1108
- },
1109
- {
1110
- "internalType": "uint256",
1111
- "name": "haircut",
1112
- "type": "uint256"
1113
1123
  }
1114
1124
  ],
1125
+ "name": "transferOwnership",
1126
+ "outputs": [],
1115
1127
  "stateMutability": "nonpayable",
1116
1128
  "type": "function"
1117
1129
  },
@@ -1119,30 +1131,16 @@
1119
1131
  "inputs": [
1120
1132
  {
1121
1133
  "internalType": "address",
1122
- "name": "token",
1134
+ "name": "_transmitter",
1123
1135
  "type": "address"
1124
- }
1125
- ],
1126
- "name": "tipBucketBalance",
1127
- "outputs": [
1128
- {
1129
- "internalType": "uint256",
1130
- "name": "balance",
1131
- "type": "uint256"
1132
- }
1133
- ],
1134
- "stateMutability": "view",
1135
- "type": "function"
1136
- },
1137
- {
1138
- "inputs": [
1136
+ },
1139
1137
  {
1140
1138
  "internalType": "address",
1141
- "name": "newOwner",
1139
+ "name": "_proposed",
1142
1140
  "type": "address"
1143
1141
  }
1144
1142
  ],
1145
- "name": "transferOwnership",
1143
+ "name": "transferPayeeship",
1146
1144
  "outputs": [],
1147
1145
  "stateMutability": "nonpayable",
1148
1146
  "type": "function"
@@ -1150,140 +1148,99 @@
1150
1148
  {
1151
1149
  "inputs": [
1152
1150
  {
1153
- "internalType": "address",
1154
- "name": "token",
1155
- "type": "address"
1151
+ "internalType": "bytes",
1152
+ "name": "_report",
1153
+ "type": "bytes"
1156
1154
  },
1157
1155
  {
1158
- "internalType": "uint256",
1159
- "name": "amount",
1160
- "type": "uint256"
1156
+ "internalType": "bytes32[]",
1157
+ "name": "_rs",
1158
+ "type": "bytes32[]"
1161
1159
  },
1162
1160
  {
1163
- "internalType": "address",
1164
- "name": "to",
1165
- "type": "address"
1161
+ "internalType": "bytes32[]",
1162
+ "name": "_ss",
1163
+ "type": "bytes32[]"
1164
+ },
1165
+ {
1166
+ "internalType": "bytes32",
1167
+ "name": "_rawVs",
1168
+ "type": "bytes32"
1166
1169
  }
1167
1170
  ],
1168
- "name": "transferTipBucket",
1171
+ "name": "transmit",
1169
1172
  "outputs": [],
1170
1173
  "stateMutability": "nonpayable",
1171
1174
  "type": "function"
1172
1175
  },
1173
1176
  {
1174
1177
  "inputs": [],
1175
- "name": "unpause",
1176
- "outputs": [],
1177
- "stateMutability": "nonpayable",
1178
- "type": "function"
1179
- },
1180
- {
1181
- "inputs": [
1178
+ "name": "transmitters",
1179
+ "outputs": [
1182
1180
  {
1183
- "internalType": "address",
1184
- "name": "token",
1185
- "type": "address"
1181
+ "internalType": "address[]",
1182
+ "name": "",
1183
+ "type": "address[]"
1186
1184
  }
1187
1185
  ],
1188
- "name": "unpauseAsset",
1189
- "outputs": [],
1190
- "stateMutability": "nonpayable",
1186
+ "stateMutability": "view",
1191
1187
  "type": "function"
1192
1188
  },
1193
1189
  {
1194
- "inputs": [
1195
- {
1196
- "internalType": "address",
1197
- "name": "token",
1198
- "type": "address"
1199
- },
1200
- {
1201
- "internalType": "uint256",
1202
- "name": "liquidity",
1203
- "type": "uint256"
1204
- },
1205
- {
1206
- "internalType": "uint256",
1207
- "name": "minimumAmount",
1208
- "type": "uint256"
1209
- },
1190
+ "inputs": [],
1191
+ "name": "validator",
1192
+ "outputs": [
1210
1193
  {
1211
- "internalType": "address",
1212
- "name": "to",
1194
+ "internalType": "contract AggregatorValidatorInterface",
1195
+ "name": "",
1213
1196
  "type": "address"
1214
- },
1215
- {
1216
- "internalType": "uint256",
1217
- "name": "deadline",
1218
- "type": "uint256"
1219
1197
  }
1220
1198
  ],
1221
- "name": "withdraw",
1199
+ "stateMutability": "view",
1200
+ "type": "function"
1201
+ },
1202
+ {
1203
+ "inputs": [],
1204
+ "name": "version",
1222
1205
  "outputs": [
1223
1206
  {
1224
1207
  "internalType": "uint256",
1225
- "name": "amount",
1208
+ "name": "",
1226
1209
  "type": "uint256"
1227
1210
  }
1228
1211
  ],
1229
- "stateMutability": "nonpayable",
1212
+ "stateMutability": "view",
1230
1213
  "type": "function"
1231
1214
  },
1232
1215
  {
1233
1216
  "inputs": [
1234
1217
  {
1235
1218
  "internalType": "address",
1236
- "name": "fromToken",
1237
- "type": "address"
1238
- },
1239
- {
1240
- "internalType": "address",
1241
- "name": "toToken",
1219
+ "name": "_recipient",
1242
1220
  "type": "address"
1243
1221
  },
1244
1222
  {
1245
1223
  "internalType": "uint256",
1246
- "name": "liquidity",
1247
- "type": "uint256"
1248
- },
1249
- {
1250
- "internalType": "uint256",
1251
- "name": "minimumAmount",
1252
- "type": "uint256"
1253
- },
1254
- {
1255
- "internalType": "address",
1256
- "name": "to",
1257
- "type": "address"
1258
- },
1259
- {
1260
- "internalType": "uint256",
1261
- "name": "deadline",
1262
- "type": "uint256"
1263
- }
1264
- ],
1265
- "name": "withdrawFromOtherAsset",
1266
- "outputs": [
1267
- {
1268
- "internalType": "uint256",
1269
- "name": "toAmount",
1224
+ "name": "_amount",
1270
1225
  "type": "uint256"
1271
1226
  }
1272
1227
  ],
1228
+ "name": "withdrawFunds",
1229
+ "outputs": [],
1273
1230
  "stateMutability": "nonpayable",
1274
1231
  "type": "function"
1275
1232
  },
1276
1233
  {
1277
- "inputs": [],
1278
- "name": "creditForTokensHaircut",
1279
- "outputs": [
1234
+ "inputs": [
1280
1235
  {
1281
- "internalType": "uint128",
1282
- "name": "",
1283
- "type": "uint128"
1236
+ "internalType": "address",
1237
+ "name": "_transmitter",
1238
+ "type": "address"
1284
1239
  }
1285
1240
  ],
1286
- "stateMutability": "view",
1241
+ "name": "withdrawPayment",
1242
+ "outputs": [],
1243
+ "stateMutability": "nonpayable",
1287
1244
  "type": "function"
1288
1245
  }
1289
1246
  ]