@paraswap/dex-lib 4.1.7-pub-sub → 4.1.8

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 (360) hide show
  1. package/.idea/codeStyles/Project.xml +59 -0
  2. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  3. package/.idea/inspectionProfiles/Project_Default.xml +6 -0
  4. package/.idea/modules.xml +8 -0
  5. package/.idea/paraswap-dex-lib.iml +12 -0
  6. package/.idea/vcs.xml +6 -0
  7. package/build/dex/angle-staked-stable/angle-staked-stable.js +2 -1
  8. package/build/dex/angle-staked-stable/angle-staked-stable.js.map +1 -1
  9. package/build/dex/angle-transmuter/angle-transmuter.js.map +1 -1
  10. package/build/dex/balancer-v1/config.js +2 -1
  11. package/build/dex/balancer-v1/config.js.map +1 -1
  12. package/build/dex/generic-rfq/generic-rfq.js +2 -1
  13. package/build/dex/generic-rfq/generic-rfq.js.map +1 -1
  14. package/build/dex/generic-rfq/rate-fetcher.d.ts +1 -4
  15. package/build/dex/generic-rfq/rate-fetcher.js +20 -65
  16. package/build/dex/generic-rfq/rate-fetcher.js.map +1 -1
  17. package/build/dex/weth/weth.js +2 -1
  18. package/build/dex/weth/weth.js.map +1 -1
  19. package/build/dex/zerox/index.d.ts +1 -1
  20. package/build/dex/zerox/index.js.map +1 -1
  21. package/build/lib/pub-sub.d.ts +0 -17
  22. package/build/lib/pub-sub.js +4 -84
  23. package/build/lib/pub-sub.js.map +1 -1
  24. package/package.json +1 -1
  25. package/scripts/get-uniswap-v3-dexes.ts +64 -0
  26. package/src/abi/balancer-v3/directionalFeeHook.json +677 -677
  27. package/src/abi/balancer-v3/stableSurgeHook.json +975 -975
  28. package/src/dex/aave-gsm/aave-gsm-gas-estimation.test.ts +32 -0
  29. package/src/dex/aave-v2/aave-v2-gas-estimation.test.ts +28 -0
  30. package/src/dex/aave-v3/aave-v3-gas-estimation.test.ts +66 -0
  31. package/src/dex/aave-v3-stata/aave-v3-stata-gas-estimation.test.ts +41 -0
  32. package/src/dex/aave-v3-stata-v2/aave-v3-stata-v2-gas-estimation.test.ts +41 -0
  33. package/src/dex/angle-staked-stable/angle-staked-stable-gas-estimation.test.ts +29 -0
  34. package/src/dex/angle-staked-stable/angle-staked-stable.ts +2 -1
  35. package/src/dex/angle-transmuter/angle-transmuter-gas-estimation.test.ts +41 -0
  36. package/src/dex/angle-transmuter/angle-transmuter.ts +0 -1
  37. package/src/dex/balancer-v1/balancer-v1-gas-estimation.test.ts +29 -0
  38. package/src/dex/balancer-v1/config.ts +2 -1
  39. package/src/dex/balancer-v2/balancer-v2-gas-estimation.test.ts +98 -0
  40. package/src/dex/balancer-v3/balancer-v3-gas-estimation.test.ts +30 -0
  41. package/src/dex/bancor/bancor-gas-estimation.test.ts +30 -0
  42. package/src/dex/bebop/bebop-gas-estimation.test.ts +30 -0
  43. package/src/dex/concentrator-arusd/concentrator-arusd-gas-estimation.test.ts +29 -0
  44. package/src/dex/curve-v1/curve-v1-gas-estimation.test.ts +29 -0
  45. package/src/dex/curve-v2/curve-v2-gas-estimation.test.ts +29 -0
  46. package/src/dex/fluid-dex/fluid-dex-gas-estimation.test.ts +29 -0
  47. package/src/dex/fx-protocol-rusd/fx-protocol-rusd-gas-estimation.test.ts +29 -0
  48. package/src/dex/generic-rfq/generic-rfq.ts +6 -1
  49. package/src/dex/generic-rfq/rate-fetcher.ts +47 -112
  50. package/src/dex/hashflow/hashflow-gas-estimation.test.ts +30 -0
  51. package/src/dex/idle-dao/idle-dao--gas-estimation.test.ts +30 -0
  52. package/src/dex/lido/lido-gas-estimation.test.ts +29 -0
  53. package/src/dex/lite-psm/lite-psm-gas-estimation.test.ts +34 -0
  54. package/src/dex/maker-psm/maker-psm-gas-estimation.test.ts +34 -0
  55. package/src/dex/maverick-v1/maverick-v1-gas-estimation.test.ts +29 -0
  56. package/src/dex/maverick-v2/maverick-v2-gas-estimation.test.ts +29 -0
  57. package/src/dex/pancakeswap-v3/pancakeswap-v3-gas-estimation.test.ts +29 -0
  58. package/src/dex/polygon-migrator/polygon-migrator-gas-estimation.test.ts +41 -0
  59. package/src/dex/sky-converter/sky-converter-gas-estimation.test.ts +78 -0
  60. package/src/dex/solidly/solidly-gas-estimation.test.ts +29 -0
  61. package/src/dex/solidly-v3/solidly-v3-gas-estimation.test.ts +29 -0
  62. package/src/dex/spark/spark-gas-estimation.test.ts +29 -0
  63. package/src/dex/stader/stader-gas-estimation.test.ts +29 -0
  64. package/src/dex/stkgho/stkgho-gas-estimation.test.ts +29 -0
  65. package/src/dex/swaap-v2/swaap-v2-estimation.test.ts +29 -0
  66. package/src/dex/swell/swell-estimation.test.ts +29 -0
  67. package/src/dex/trader-joe-v2.1/trader-joe-v2.1-gas-estimation.test.ts +29 -0
  68. package/src/dex/uniswap-v2/uniswap-v2-gas-estimation.test.ts +98 -0
  69. package/src/dex/uniswap-v3/uniswap-v3-gas-estimation.test.ts +98 -0
  70. package/src/dex/usual/usual-gas-estimation.test.ts +54 -0
  71. package/src/dex/usual-pp/usual-pp-gas-estimation.test.ts +29 -0
  72. package/src/dex/weth/weth-gas-estimation.test.ts +42 -0
  73. package/src/dex/weth/weth.ts +3 -1
  74. package/src/dex/wombat/wombat-gas-estimation.test.ts +29 -0
  75. package/src/dex/wsteth/wsteth-gas-estimation.test.ts +41 -0
  76. package/src/dex/wusdm/wusdm-gas-estimation.test.ts +41 -0
  77. package/src/lib/pub-sub.ts +3 -107
  78. package/tests/constants-e2e.ts +8 -0
  79. package/tests/tenderly-simulation-new.test.ts +151 -0
  80. package/tests/tenderly-simulation-new.ts +698 -0
  81. package/tests/token-storage-slots.json +532 -0
  82. package/tests/utils-e2e.ts +137 -1
  83. package/build/abi/AaveV1_lending_pool.json +0 -27
  84. package/build/abi/Aave_GSM.json +0 -751
  85. package/build/abi/Balancer.json +0 -257
  86. package/build/abi/BalancerV2.json +0 -1179
  87. package/build/abi/RamsesV2Pool.abi.json +0 -1554
  88. package/build/abi/RamsesV2Quoter.abi.json +0 -274
  89. package/build/abi/USDM.json +0 -807
  90. package/build/abi/UniswapV2Router.json +0 -397
  91. package/build/abi/angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json +0 -1246
  92. package/build/abi/angle-transmuter/ChainlinkEACAggregatorProxy.json +0 -509
  93. package/build/abi/curve-v1/CurveBUSDv2.abi.json +0 -1356
  94. package/build/abi/curve-v1/CurveTokenV1.json +0 -305
  95. package/build/abi/curve-v1/CurveTokenV2.json +0 -318
  96. package/build/abi/curve-v1/CurveV1StableNg.json +0 -1452
  97. package/build/abi/curve-v1/CurveV2Swap.json +0 -700
  98. package/build/abi/curve-v1/FactoryCryptoRegistry.json +0 -316
  99. package/build/abi/curve-v1/FactoryRegistry.json +0 -508
  100. package/build/abi/curve-v1/StableSwapAave.json +0 -1152
  101. package/build/abi/curve-v1/StableSwapBUSD.json +0 -814
  102. package/build/abi/curve-v1/StableSwapCompound.json +0 -814
  103. package/build/abi/curve-v1/StableSwapIDLE.json +0 -1253
  104. package/build/abi/curve-v1/StableSwapPax.json +0 -865
  105. package/build/abi/curve-v1/StableSwapSnow.json +0 -900
  106. package/build/abi/curve-v1/StableSwapUSDN.json +0 -1004
  107. package/build/abi/curve-v1/StableSwapUSDT.json +0 -814
  108. package/build/abi/curve-v1/StableSwapY.json +0 -814
  109. package/build/abi/inception/inception-ineth-pool.json +0 -1062
  110. package/build/abi/inception/inception-ineth.json +0 -609
  111. package/build/abi/inception/inception-ratio-feed.json +0 -329
  112. package/build/abi/inception/inception-vault.json +0 -991
  113. package/build/abi/kyberdmm/kyber-storage.abi.json +0 -824
  114. package/build/abi/kyberdmm.abi.json +0 -1148
  115. package/build/abi/maverick-v2/MaverickV2Quoter.json +0 -278
  116. package/build/abi/nerve/nerve-metapool.json +0 -790
  117. package/build/abi/platypus/asset.json +0 -490
  118. package/build/abi/platypus/avax-pool.json +0 -820
  119. package/build/abi/platypus/oracle.json +0 -119
  120. package/build/abi/platypus/pool.json +0 -677
  121. package/build/abi/smardex/all/smardex-router.json +0 -648
  122. package/build/abi/smardex/layer-1/smardex-factory.json +0 -242
  123. package/build/abi/smardex/layer-1/smardex-pool.json +0 -506
  124. package/build/abi/smardex/layer-2/smardex-factory.json +0 -185
  125. package/build/abi/smardex/layer-2/smardex-pool.json +0 -578
  126. package/build/abi/swaap-v1/pool.json +0 -1346
  127. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +0 -193
  128. package/build/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +0 -267
  129. package/build/dex/aave-v1/aave-v1.d.ts +0 -34
  130. package/build/dex/aave-v1/aave-v1.js +0 -180
  131. package/build/dex/aave-v1/aave-v1.js.map +0 -1
  132. package/build/dex/aave-v1/config.d.ts +0 -11
  133. package/build/dex/aave-v1/config.js +0 -20
  134. package/build/dex/aave-v1/config.js.map +0 -1
  135. package/build/dex/aave-v1/tokens-mainnet.json +0 -134
  136. package/build/dex/aave-v1/tokens.d.ts +0 -3
  137. package/build/dex/aave-v1/tokens.js +0 -50
  138. package/build/dex/aave-v1/tokens.js.map +0 -1
  139. package/build/dex/aave-v1/types.d.ts +0 -12
  140. package/build/dex/aave-v1/types.js +0 -3
  141. package/build/dex/aave-v1/types.js.map +0 -1
  142. package/build/dex/balancer-v1/balancer-pools.json +0 -33333
  143. package/build/dex/bebop/websocket-fetcher.d.ts +0 -35
  144. package/build/dex/bebop/websocket-fetcher.js +0 -87
  145. package/build/dex/bebop/websocket-fetcher.js.map +0 -1
  146. package/build/dex/idle-dao/idle-dao-pool.d.ts +0 -56
  147. package/build/dex/idle-dao/idle-dao-pool.js +0 -176
  148. package/build/dex/idle-dao/idle-dao-pool.js.map +0 -1
  149. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +0 -16
  150. package/build/dex/idle-dao/idle-dao-pooling-pool.js +0 -57
  151. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +0 -1
  152. package/build/dex/idle-dao/scripts.d.ts +0 -9
  153. package/build/dex/idle-dao/scripts.js +0 -552
  154. package/build/dex/idle-dao/scripts.js.map +0 -1
  155. package/build/dex/inception/config.d.ts +0 -4
  156. package/build/dex/inception/config.js +0 -109
  157. package/build/dex/inception/config.js.map +0 -1
  158. package/build/dex/inception/inception-event-pool.d.ts +0 -16
  159. package/build/dex/inception/inception-event-pool.js +0 -51
  160. package/build/dex/inception/inception-event-pool.js.map +0 -1
  161. package/build/dex/inception/inception-native.d.ts +0 -43
  162. package/build/dex/inception/inception-native.js +0 -131
  163. package/build/dex/inception/inception-native.js.map +0 -1
  164. package/build/dex/inception/inception-pool.d.ts +0 -18
  165. package/build/dex/inception/inception-pool.js +0 -32
  166. package/build/dex/inception/inception-pool.js.map +0 -1
  167. package/build/dex/inception/inception-price-feed.d.ts +0 -19
  168. package/build/dex/inception/inception-price-feed.js +0 -51
  169. package/build/dex/inception/inception-price-feed.js.map +0 -1
  170. package/build/dex/inception/inception.d.ts +0 -43
  171. package/build/dex/inception/inception.js +0 -204
  172. package/build/dex/inception/inception.js.map +0 -1
  173. package/build/dex/inception/tokens.d.ts +0 -9
  174. package/build/dex/inception/tokens.js +0 -28
  175. package/build/dex/inception/tokens.js.map +0 -1
  176. package/build/dex/inception/types.d.ts +0 -22
  177. package/build/dex/inception/types.js +0 -3
  178. package/build/dex/inception/types.js.map +0 -1
  179. package/build/dex/inception/utils.d.ts +0 -6
  180. package/build/dex/inception/utils.js +0 -37
  181. package/build/dex/inception/utils.js.map +0 -1
  182. package/build/dex/platypus/asset.d.ts +0 -14
  183. package/build/dex/platypus/asset.js +0 -97
  184. package/build/dex/platypus/asset.js.map +0 -1
  185. package/build/dex/platypus/config.d.ts +0 -11
  186. package/build/dex/platypus/config.js +0 -69
  187. package/build/dex/platypus/config.js.map +0 -1
  188. package/build/dex/platypus/platypus.d.ts +0 -63
  189. package/build/dex/platypus/platypus.js +0 -473
  190. package/build/dex/platypus/platypus.js.map +0 -1
  191. package/build/dex/platypus/pool-avax.d.ts +0 -8
  192. package/build/dex/platypus/pool-avax.js +0 -54
  193. package/build/dex/platypus/pool-avax.js.map +0 -1
  194. package/build/dex/platypus/pool-base.d.ts +0 -19
  195. package/build/dex/platypus/pool-base.js +0 -86
  196. package/build/dex/platypus/pool-base.js.map +0 -1
  197. package/build/dex/platypus/pool-pure.d.ts +0 -8
  198. package/build/dex/platypus/pool-pure.js +0 -37
  199. package/build/dex/platypus/pool-pure.js.map +0 -1
  200. package/build/dex/platypus/pool-subscriber.d.ts +0 -14
  201. package/build/dex/platypus/pool-subscriber.js +0 -167
  202. package/build/dex/platypus/pool-subscriber.js.map +0 -1
  203. package/build/dex/platypus/pool.d.ts +0 -8
  204. package/build/dex/platypus/pool.js +0 -58
  205. package/build/dex/platypus/pool.js.map +0 -1
  206. package/build/dex/platypus/types.d.ts +0 -92
  207. package/build/dex/platypus/types.js +0 -10
  208. package/build/dex/platypus/types.js.map +0 -1
  209. package/build/dex/quickswap/spiritswap-v3.d.ts +0 -6
  210. package/build/dex/quickswap/spiritswap-v3.js +0 -19
  211. package/build/dex/quickswap/spiritswap-v3.js.map +0 -1
  212. package/build/dex/smardex/config.d.ts +0 -4
  213. package/build/dex/smardex/config.js +0 -64
  214. package/build/dex/smardex/config.js.map +0 -1
  215. package/build/dex/smardex/constants.d.ts +0 -18
  216. package/build/dex/smardex/constants.js +0 -33
  217. package/build/dex/smardex/constants.js.map +0 -1
  218. package/build/dex/smardex/sdk/constants.d.ts +0 -6
  219. package/build/dex/smardex/sdk/constants.js +0 -13
  220. package/build/dex/smardex/sdk/constants.js.map +0 -1
  221. package/build/dex/smardex/sdk/core.d.ts +0 -113
  222. package/build/dex/smardex/sdk/core.js +0 -499
  223. package/build/dex/smardex/sdk/core.js.map +0 -1
  224. package/build/dex/smardex/sdk/errors.d.ts +0 -15
  225. package/build/dex/smardex/sdk/errors.js +0 -22
  226. package/build/dex/smardex/sdk/errors.js.map +0 -1
  227. package/build/dex/smardex/sdk/types.d.ts +0 -62
  228. package/build/dex/smardex/sdk/types.js +0 -3
  229. package/build/dex/smardex/sdk/types.js.map +0 -1
  230. package/build/dex/smardex/sdk/utils.d.ts +0 -44
  231. package/build/dex/smardex/sdk/utils.js +0 -133
  232. package/build/dex/smardex/sdk/utils.js.map +0 -1
  233. package/build/dex/smardex/smardex-event-pool.d.ts +0 -28
  234. package/build/dex/smardex/smardex-event-pool.js +0 -119
  235. package/build/dex/smardex/smardex-event-pool.js.map +0 -1
  236. package/build/dex/smardex/smardex.d.ts +0 -65
  237. package/build/dex/smardex/smardex.js +0 -519
  238. package/build/dex/smardex/smardex.js.map +0 -1
  239. package/build/dex/smardex/types.d.ts +0 -55
  240. package/build/dex/smardex/types.js +0 -3
  241. package/build/dex/smardex/types.js.map +0 -1
  242. package/build/dex/solidly/forks-override/cone.d.ts +0 -22
  243. package/build/dex/solidly/forks-override/cone.js +0 -53
  244. package/build/dex/solidly/forks-override/cone.js.map +0 -1
  245. package/build/dex/solidly/forks-override/solisnek.d.ts +0 -8
  246. package/build/dex/solidly/forks-override/solisnek.js +0 -15
  247. package/build/dex/solidly/forks-override/solisnek.js.map +0 -1
  248. package/build/dex/swaap-v1/config.d.ts +0 -17
  249. package/build/dex/swaap-v1/config.js +0 -56
  250. package/build/dex/swaap-v1/config.js.map +0 -1
  251. package/build/dex/swaap-v1/constants.d.ts +0 -6
  252. package/build/dex/swaap-v1/constants.js +0 -17
  253. package/build/dex/swaap-v1/constants.js.map +0 -1
  254. package/build/dex/swaap-v1/libraries/ChainlinkUtils.d.ts +0 -25
  255. package/build/dex/swaap-v1/libraries/ChainlinkUtils.js +0 -62
  256. package/build/dex/swaap-v1/libraries/ChainlinkUtils.js.map +0 -1
  257. package/build/dex/swaap-v1/libraries/Const.d.ts +0 -18
  258. package/build/dex/swaap-v1/libraries/Const.js +0 -26
  259. package/build/dex/swaap-v1/libraries/Const.js.map +0 -1
  260. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.d.ts +0 -77
  261. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.js +0 -316
  262. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.js.map +0 -1
  263. package/build/dex/swaap-v1/libraries/LogExpMath.d.ts +0 -75
  264. package/build/dex/swaap-v1/libraries/LogExpMath.js +0 -418
  265. package/build/dex/swaap-v1/libraries/LogExpMath.js.map +0 -1
  266. package/build/dex/swaap-v1/libraries/MathMMM.d.ts +0 -185
  267. package/build/dex/swaap-v1/libraries/MathMMM.js +0 -453
  268. package/build/dex/swaap-v1/libraries/MathMMM.js.map +0 -1
  269. package/build/dex/swaap-v1/libraries/Num.d.ts +0 -31
  270. package/build/dex/swaap-v1/libraries/Num.js +0 -167
  271. package/build/dex/swaap-v1/libraries/Num.js.map +0 -1
  272. package/build/dex/swaap-v1/libraries/PoolQuotations.d.ts +0 -23
  273. package/build/dex/swaap-v1/libraries/PoolQuotations.js +0 -131
  274. package/build/dex/swaap-v1/libraries/PoolQuotations.js.map +0 -1
  275. package/build/dex/swaap-v1/libraries/Struct.d.ts +0 -56
  276. package/build/dex/swaap-v1/libraries/Struct.js +0 -3
  277. package/build/dex/swaap-v1/libraries/Struct.js.map +0 -1
  278. package/build/dex/swaap-v1/swaap-v1-pool.d.ts +0 -45
  279. package/build/dex/swaap-v1/swaap-v1-pool.js +0 -656
  280. package/build/dex/swaap-v1/swaap-v1-pool.js.map +0 -1
  281. package/build/dex/swaap-v1/swaap-v1.d.ts +0 -62
  282. package/build/dex/swaap-v1/swaap-v1.js +0 -379
  283. package/build/dex/swaap-v1/swaap-v1.js.map +0 -1
  284. package/build/dex/swaap-v1/types.d.ts +0 -106
  285. package/build/dex/swaap-v1/types.js +0 -9
  286. package/build/dex/swaap-v1/types.js.map +0 -1
  287. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -16
  288. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -16
  289. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -16
  290. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -16
  291. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -16
  292. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -16
  293. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -16
  294. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -16
  295. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -9
  296. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -9
  297. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -9
  298. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +0 -9
  299. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +0 -9
  300. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -9
  301. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +0 -9
  302. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +0 -9
  303. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +0 -9
  304. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -12
  305. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -7
  306. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -7
  307. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -7
  308. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -7
  309. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -12
  310. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +0 -7
  311. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +0 -7
  312. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -78
  313. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -81
  314. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -78
  315. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -78
  316. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -81
  317. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -81
  318. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -81
  319. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -81
  320. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -64
  321. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -85
  322. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -64
  323. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +0 -52
  324. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +0 -52
  325. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -52
  326. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +0 -55
  327. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +0 -55
  328. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +0 -55
  329. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -23
  330. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -37
  331. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -23
  332. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -23
  333. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -51
  334. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +0 -58
  335. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -23
  336. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -23
  337. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -9
  338. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -16
  339. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -23
  340. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -12
  341. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -7
  342. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -12
  343. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -12
  344. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -7
  345. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +0 -7
  346. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -7
  347. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -7
  348. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -7
  349. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -7
  350. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -130
  351. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -136
  352. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -100
  353. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -100
  354. package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -166
  355. package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +0 -190
  356. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -114
  357. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -114
  358. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -55
  359. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -73
  360. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -82
@@ -1,824 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- { "internalType": "address", "name": "_admin", "type": "address" },
5
- {
6
- "internalType": "contract IKyberHistory",
7
- "name": "_kyberNetworkHistory",
8
- "type": "address"
9
- },
10
- {
11
- "internalType": "contract IKyberHistory",
12
- "name": "_kyberFeeHandlerHistory",
13
- "type": "address"
14
- },
15
- {
16
- "internalType": "contract IKyberHistory",
17
- "name": "_kyberDaoHistory",
18
- "type": "address"
19
- },
20
- {
21
- "internalType": "contract IKyberHistory",
22
- "name": "_kyberMatchingEngineHistory",
23
- "type": "address"
24
- }
25
- ],
26
- "stateMutability": "nonpayable",
27
- "type": "constructor"
28
- },
29
- {
30
- "anonymous": false,
31
- "inputs": [
32
- {
33
- "indexed": true,
34
- "internalType": "address",
35
- "name": "reserve",
36
- "type": "address"
37
- },
38
- {
39
- "indexed": true,
40
- "internalType": "bytes32",
41
- "name": "reserveId",
42
- "type": "bytes32"
43
- },
44
- {
45
- "indexed": false,
46
- "internalType": "enum IKyberStorage.ReserveType",
47
- "name": "reserveType",
48
- "type": "uint8"
49
- },
50
- {
51
- "indexed": true,
52
- "internalType": "address",
53
- "name": "rebateWallet",
54
- "type": "address"
55
- }
56
- ],
57
- "name": "AddReserveToStorage",
58
- "type": "event"
59
- },
60
- {
61
- "anonymous": false,
62
- "inputs": [
63
- {
64
- "indexed": false,
65
- "internalType": "address",
66
- "name": "newAdmin",
67
- "type": "address"
68
- },
69
- {
70
- "indexed": false,
71
- "internalType": "address",
72
- "name": "previousAdmin",
73
- "type": "address"
74
- }
75
- ],
76
- "name": "AdminClaimed",
77
- "type": "event"
78
- },
79
- {
80
- "anonymous": false,
81
- "inputs": [
82
- {
83
- "indexed": false,
84
- "internalType": "address",
85
- "name": "newAlerter",
86
- "type": "address"
87
- },
88
- {
89
- "indexed": false,
90
- "internalType": "bool",
91
- "name": "isAdd",
92
- "type": "bool"
93
- }
94
- ],
95
- "name": "AlerterAdded",
96
- "type": "event"
97
- },
98
- {
99
- "anonymous": false,
100
- "inputs": [
101
- {
102
- "indexed": false,
103
- "internalType": "contract IKyberNetwork",
104
- "name": "newKyberNetwork",
105
- "type": "address"
106
- }
107
- ],
108
- "name": "KyberNetworkUpdated",
109
- "type": "event"
110
- },
111
- {
112
- "anonymous": false,
113
- "inputs": [
114
- {
115
- "indexed": true,
116
- "internalType": "bytes32",
117
- "name": "reserveId",
118
- "type": "bytes32"
119
- },
120
- {
121
- "indexed": false,
122
- "internalType": "address",
123
- "name": "reserve",
124
- "type": "address"
125
- },
126
- {
127
- "indexed": true,
128
- "internalType": "contract IERC20",
129
- "name": "src",
130
- "type": "address"
131
- },
132
- {
133
- "indexed": true,
134
- "internalType": "contract IERC20",
135
- "name": "dest",
136
- "type": "address"
137
- },
138
- {
139
- "indexed": false,
140
- "internalType": "bool",
141
- "name": "add",
142
- "type": "bool"
143
- }
144
- ],
145
- "name": "ListReservePairs",
146
- "type": "event"
147
- },
148
- {
149
- "anonymous": false,
150
- "inputs": [
151
- {
152
- "indexed": false,
153
- "internalType": "address",
154
- "name": "newOperator",
155
- "type": "address"
156
- },
157
- {
158
- "indexed": false,
159
- "internalType": "bool",
160
- "name": "isAdd",
161
- "type": "bool"
162
- }
163
- ],
164
- "name": "OperatorAdded",
165
- "type": "event"
166
- },
167
- {
168
- "anonymous": false,
169
- "inputs": [
170
- {
171
- "indexed": true,
172
- "internalType": "address",
173
- "name": "reserve",
174
- "type": "address"
175
- },
176
- {
177
- "indexed": true,
178
- "internalType": "bytes32",
179
- "name": "reserveId",
180
- "type": "bytes32"
181
- }
182
- ],
183
- "name": "RemoveReserveFromStorage",
184
- "type": "event"
185
- },
186
- {
187
- "anonymous": false,
188
- "inputs": [
189
- {
190
- "indexed": true,
191
- "internalType": "bytes32",
192
- "name": "reserveId",
193
- "type": "bytes32"
194
- },
195
- {
196
- "indexed": true,
197
- "internalType": "address",
198
- "name": "rebateWallet",
199
- "type": "address"
200
- }
201
- ],
202
- "name": "ReserveRebateWalletSet",
203
- "type": "event"
204
- },
205
- {
206
- "anonymous": false,
207
- "inputs": [
208
- {
209
- "indexed": false,
210
- "internalType": "address",
211
- "name": "pendingAdmin",
212
- "type": "address"
213
- }
214
- ],
215
- "name": "TransferAdminPending",
216
- "type": "event"
217
- },
218
- {
219
- "inputs": [
220
- { "internalType": "address", "name": "newAlerter", "type": "address" }
221
- ],
222
- "name": "addAlerter",
223
- "outputs": [],
224
- "stateMutability": "nonpayable",
225
- "type": "function"
226
- },
227
- {
228
- "inputs": [
229
- { "internalType": "address", "name": "kyberProxy", "type": "address" },
230
- {
231
- "internalType": "uint256",
232
- "name": "maxApprovedProxies",
233
- "type": "uint256"
234
- }
235
- ],
236
- "name": "addKyberProxy",
237
- "outputs": [],
238
- "stateMutability": "nonpayable",
239
- "type": "function"
240
- },
241
- {
242
- "inputs": [
243
- { "internalType": "address", "name": "newOperator", "type": "address" }
244
- ],
245
- "name": "addOperator",
246
- "outputs": [],
247
- "stateMutability": "nonpayable",
248
- "type": "function"
249
- },
250
- {
251
- "inputs": [
252
- { "internalType": "address", "name": "reserve", "type": "address" },
253
- { "internalType": "bytes32", "name": "reserveId", "type": "bytes32" },
254
- {
255
- "internalType": "enum IKyberStorage.ReserveType",
256
- "name": "resType",
257
- "type": "uint8"
258
- },
259
- {
260
- "internalType": "address payable",
261
- "name": "rebateWallet",
262
- "type": "address"
263
- }
264
- ],
265
- "name": "addReserve",
266
- "outputs": [],
267
- "stateMutability": "nonpayable",
268
- "type": "function"
269
- },
270
- {
271
- "inputs": [],
272
- "name": "admin",
273
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
274
- "stateMutability": "view",
275
- "type": "function"
276
- },
277
- {
278
- "inputs": [],
279
- "name": "claimAdmin",
280
- "outputs": [],
281
- "stateMutability": "nonpayable",
282
- "type": "function"
283
- },
284
- {
285
- "inputs": [],
286
- "name": "getAlerters",
287
- "outputs": [
288
- { "internalType": "address[]", "name": "", "type": "address[]" }
289
- ],
290
- "stateMutability": "view",
291
- "type": "function"
292
- },
293
- {
294
- "inputs": [],
295
- "name": "getContracts",
296
- "outputs": [
297
- {
298
- "internalType": "address[]",
299
- "name": "kyberDaoAddresses",
300
- "type": "address[]"
301
- },
302
- {
303
- "internalType": "address[]",
304
- "name": "kyberFeeHandlerAddresses",
305
- "type": "address[]"
306
- },
307
- {
308
- "internalType": "address[]",
309
- "name": "kyberMatchingEngineAddresses",
310
- "type": "address[]"
311
- },
312
- {
313
- "internalType": "address[]",
314
- "name": "kyberNetworkAddresses",
315
- "type": "address[]"
316
- }
317
- ],
318
- "stateMutability": "view",
319
- "type": "function"
320
- },
321
- {
322
- "inputs": [
323
- { "internalType": "bytes32[]", "name": "reserveIds", "type": "bytes32[]" }
324
- ],
325
- "name": "getEntitledRebateData",
326
- "outputs": [
327
- {
328
- "internalType": "bool[]",
329
- "name": "entitledRebateArr",
330
- "type": "bool[]"
331
- }
332
- ],
333
- "stateMutability": "view",
334
- "type": "function"
335
- },
336
- {
337
- "inputs": [
338
- { "internalType": "bytes32[]", "name": "reserveIds", "type": "bytes32[]" }
339
- ],
340
- "name": "getFeeAccountedData",
341
- "outputs": [
342
- { "internalType": "bool[]", "name": "feeAccountedArr", "type": "bool[]" }
343
- ],
344
- "stateMutability": "view",
345
- "type": "function"
346
- },
347
- {
348
- "inputs": [],
349
- "name": "getKyberProxies",
350
- "outputs": [
351
- {
352
- "internalType": "contract IKyberNetworkProxy[]",
353
- "name": "",
354
- "type": "address[]"
355
- }
356
- ],
357
- "stateMutability": "view",
358
- "type": "function"
359
- },
360
- {
361
- "inputs": [
362
- { "internalType": "bytes32", "name": "reserveId", "type": "bytes32" }
363
- ],
364
- "name": "getListedTokensByReserveId",
365
- "outputs": [
366
- {
367
- "internalType": "contract IERC20[]",
368
- "name": "srcTokens",
369
- "type": "address[]"
370
- },
371
- {
372
- "internalType": "contract IERC20[]",
373
- "name": "destTokens",
374
- "type": "address[]"
375
- }
376
- ],
377
- "stateMutability": "view",
378
- "type": "function"
379
- },
380
- {
381
- "inputs": [],
382
- "name": "getOperators",
383
- "outputs": [
384
- { "internalType": "address[]", "name": "", "type": "address[]" }
385
- ],
386
- "stateMutability": "view",
387
- "type": "function"
388
- },
389
- {
390
- "inputs": [
391
- { "internalType": "bytes32[]", "name": "reserveIds", "type": "bytes32[]" }
392
- ],
393
- "name": "getRebateWalletsFromIds",
394
- "outputs": [
395
- {
396
- "internalType": "address[]",
397
- "name": "rebateWallets",
398
- "type": "address[]"
399
- }
400
- ],
401
- "stateMutability": "view",
402
- "type": "function"
403
- },
404
- {
405
- "inputs": [
406
- { "internalType": "bytes32", "name": "reserveId", "type": "bytes32" }
407
- ],
408
- "name": "getReserveAddressesByReserveId",
409
- "outputs": [
410
- {
411
- "internalType": "address[]",
412
- "name": "reserveAddresses",
413
- "type": "address[]"
414
- }
415
- ],
416
- "stateMutability": "view",
417
- "type": "function"
418
- },
419
- {
420
- "inputs": [
421
- { "internalType": "bytes32[]", "name": "reserveIds", "type": "bytes32[]" }
422
- ],
423
- "name": "getReserveAddressesFromIds",
424
- "outputs": [
425
- {
426
- "internalType": "address[]",
427
- "name": "reserveAddresses",
428
- "type": "address[]"
429
- }
430
- ],
431
- "stateMutability": "view",
432
- "type": "function"
433
- },
434
- {
435
- "inputs": [
436
- { "internalType": "contract IERC20", "name": "token", "type": "address" },
437
- { "internalType": "uint256", "name": "startIndex", "type": "uint256" },
438
- { "internalType": "uint256", "name": "endIndex", "type": "uint256" }
439
- ],
440
- "name": "getReserveAddressesPerTokenSrc",
441
- "outputs": [
442
- {
443
- "internalType": "address[]",
444
- "name": "reserveAddresses",
445
- "type": "address[]"
446
- }
447
- ],
448
- "stateMutability": "view",
449
- "type": "function"
450
- },
451
- {
452
- "inputs": [
453
- { "internalType": "address", "name": "reserve", "type": "address" }
454
- ],
455
- "name": "getReserveDetailsByAddress",
456
- "outputs": [
457
- { "internalType": "bytes32", "name": "reserveId", "type": "bytes32" },
458
- { "internalType": "address", "name": "rebateWallet", "type": "address" },
459
- {
460
- "internalType": "enum IKyberStorage.ReserveType",
461
- "name": "resType",
462
- "type": "uint8"
463
- },
464
- { "internalType": "bool", "name": "isFeeAccountedFlag", "type": "bool" },
465
- { "internalType": "bool", "name": "isEntitledRebateFlag", "type": "bool" }
466
- ],
467
- "stateMutability": "view",
468
- "type": "function"
469
- },
470
- {
471
- "inputs": [
472
- { "internalType": "bytes32", "name": "reserveId", "type": "bytes32" }
473
- ],
474
- "name": "getReserveDetailsById",
475
- "outputs": [
476
- {
477
- "internalType": "address",
478
- "name": "reserveAddress",
479
- "type": "address"
480
- },
481
- { "internalType": "address", "name": "rebateWallet", "type": "address" },
482
- {
483
- "internalType": "enum IKyberStorage.ReserveType",
484
- "name": "resType",
485
- "type": "uint8"
486
- },
487
- { "internalType": "bool", "name": "isFeeAccountedFlag", "type": "bool" },
488
- { "internalType": "bool", "name": "isEntitledRebateFlag", "type": "bool" }
489
- ],
490
- "stateMutability": "view",
491
- "type": "function"
492
- },
493
- {
494
- "inputs": [
495
- { "internalType": "address", "name": "reserve", "type": "address" }
496
- ],
497
- "name": "getReserveId",
498
- "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
499
- "stateMutability": "view",
500
- "type": "function"
501
- },
502
- {
503
- "inputs": [
504
- {
505
- "internalType": "address[]",
506
- "name": "reserveAddresses",
507
- "type": "address[]"
508
- }
509
- ],
510
- "name": "getReserveIdsFromAddresses",
511
- "outputs": [
512
- { "internalType": "bytes32[]", "name": "reserveIds", "type": "bytes32[]" }
513
- ],
514
- "stateMutability": "view",
515
- "type": "function"
516
- },
517
- {
518
- "inputs": [
519
- { "internalType": "contract IERC20", "name": "token", "type": "address" }
520
- ],
521
- "name": "getReserveIdsPerTokenDest",
522
- "outputs": [
523
- { "internalType": "bytes32[]", "name": "reserveIds", "type": "bytes32[]" }
524
- ],
525
- "stateMutability": "view",
526
- "type": "function"
527
- },
528
- {
529
- "inputs": [
530
- { "internalType": "contract IERC20", "name": "token", "type": "address" }
531
- ],
532
- "name": "getReserveIdsPerTokenSrc",
533
- "outputs": [
534
- { "internalType": "bytes32[]", "name": "reserveIds", "type": "bytes32[]" }
535
- ],
536
- "stateMutability": "view",
537
- "type": "function"
538
- },
539
- {
540
- "inputs": [],
541
- "name": "getReserves",
542
- "outputs": [
543
- {
544
- "internalType": "contract IKyberReserve[]",
545
- "name": "",
546
- "type": "address[]"
547
- }
548
- ],
549
- "stateMutability": "view",
550
- "type": "function"
551
- },
552
- {
553
- "inputs": [
554
- {
555
- "internalType": "bytes32[]",
556
- "name": "reserveIds",
557
- "type": "bytes32[]"
558
- },
559
- { "internalType": "contract IERC20", "name": "src", "type": "address" },
560
- { "internalType": "contract IERC20", "name": "dest", "type": "address" }
561
- ],
562
- "name": "getReservesData",
563
- "outputs": [
564
- {
565
- "internalType": "bool",
566
- "name": "areAllReservesListed",
567
- "type": "bool"
568
- },
569
- { "internalType": "bool[]", "name": "feeAccountedArr", "type": "bool[]" },
570
- {
571
- "internalType": "bool[]",
572
- "name": "entitledRebateArr",
573
- "type": "bool[]"
574
- },
575
- {
576
- "internalType": "contract IKyberReserve[]",
577
- "name": "reserveAddresses",
578
- "type": "address[]"
579
- }
580
- ],
581
- "stateMutability": "view",
582
- "type": "function"
583
- },
584
- {
585
- "inputs": [
586
- {
587
- "internalType": "enum IKyberStorage.ReserveType",
588
- "name": "resType",
589
- "type": "uint8"
590
- }
591
- ],
592
- "name": "getReservesPerType",
593
- "outputs": [
594
- { "internalType": "bytes32[]", "name": "", "type": "bytes32[]" }
595
- ],
596
- "stateMutability": "view",
597
- "type": "function"
598
- },
599
- {
600
- "inputs": [],
601
- "name": "isKyberProxyAdded",
602
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
603
- "stateMutability": "view",
604
- "type": "function"
605
- },
606
- {
607
- "inputs": [],
608
- "name": "kyberDaoHistory",
609
- "outputs": [
610
- {
611
- "internalType": "contract IKyberHistory",
612
- "name": "",
613
- "type": "address"
614
- }
615
- ],
616
- "stateMutability": "view",
617
- "type": "function"
618
- },
619
- {
620
- "inputs": [],
621
- "name": "kyberFeeHandlerHistory",
622
- "outputs": [
623
- {
624
- "internalType": "contract IKyberHistory",
625
- "name": "",
626
- "type": "address"
627
- }
628
- ],
629
- "stateMutability": "view",
630
- "type": "function"
631
- },
632
- {
633
- "inputs": [],
634
- "name": "kyberMatchingEngineHistory",
635
- "outputs": [
636
- {
637
- "internalType": "contract IKyberHistory",
638
- "name": "",
639
- "type": "address"
640
- }
641
- ],
642
- "stateMutability": "view",
643
- "type": "function"
644
- },
645
- {
646
- "inputs": [],
647
- "name": "kyberNetwork",
648
- "outputs": [
649
- {
650
- "internalType": "contract IKyberNetwork",
651
- "name": "",
652
- "type": "address"
653
- }
654
- ],
655
- "stateMutability": "view",
656
- "type": "function"
657
- },
658
- {
659
- "inputs": [],
660
- "name": "kyberNetworkHistory",
661
- "outputs": [
662
- {
663
- "internalType": "contract IKyberHistory",
664
- "name": "",
665
- "type": "address"
666
- }
667
- ],
668
- "stateMutability": "view",
669
- "type": "function"
670
- },
671
- {
672
- "inputs": [
673
- { "internalType": "bytes32", "name": "reserveId", "type": "bytes32" },
674
- { "internalType": "contract IERC20", "name": "token", "type": "address" },
675
- { "internalType": "bool", "name": "ethToToken", "type": "bool" },
676
- { "internalType": "bool", "name": "tokenToEth", "type": "bool" },
677
- { "internalType": "bool", "name": "add", "type": "bool" }
678
- ],
679
- "name": "listPairForReserve",
680
- "outputs": [],
681
- "stateMutability": "nonpayable",
682
- "type": "function"
683
- },
684
- {
685
- "inputs": [],
686
- "name": "pendingAdmin",
687
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
688
- "stateMutability": "view",
689
- "type": "function"
690
- },
691
- {
692
- "inputs": [
693
- { "internalType": "address", "name": "alerter", "type": "address" }
694
- ],
695
- "name": "removeAlerter",
696
- "outputs": [],
697
- "stateMutability": "nonpayable",
698
- "type": "function"
699
- },
700
- {
701
- "inputs": [
702
- { "internalType": "address", "name": "kyberProxy", "type": "address" }
703
- ],
704
- "name": "removeKyberProxy",
705
- "outputs": [],
706
- "stateMutability": "nonpayable",
707
- "type": "function"
708
- },
709
- {
710
- "inputs": [
711
- { "internalType": "address", "name": "operator", "type": "address" }
712
- ],
713
- "name": "removeOperator",
714
- "outputs": [],
715
- "stateMutability": "nonpayable",
716
- "type": "function"
717
- },
718
- {
719
- "inputs": [
720
- { "internalType": "bytes32", "name": "reserveId", "type": "bytes32" },
721
- { "internalType": "uint256", "name": "startIndex", "type": "uint256" }
722
- ],
723
- "name": "removeReserve",
724
- "outputs": [],
725
- "stateMutability": "nonpayable",
726
- "type": "function"
727
- },
728
- {
729
- "inputs": [
730
- {
731
- "internalType": "address",
732
- "name": "_kyberFeeHandler",
733
- "type": "address"
734
- },
735
- {
736
- "internalType": "address",
737
- "name": "_kyberMatchingEngine",
738
- "type": "address"
739
- }
740
- ],
741
- "name": "setContracts",
742
- "outputs": [],
743
- "stateMutability": "nonpayable",
744
- "type": "function"
745
- },
746
- {
747
- "inputs": [
748
- { "internalType": "bool", "name": "fpr", "type": "bool" },
749
- { "internalType": "bool", "name": "apr", "type": "bool" },
750
- { "internalType": "bool", "name": "bridge", "type": "bool" },
751
- { "internalType": "bool", "name": "utility", "type": "bool" },
752
- { "internalType": "bool", "name": "custom", "type": "bool" },
753
- { "internalType": "bool", "name": "orderbook", "type": "bool" }
754
- ],
755
- "name": "setEntitledRebatePerReserveType",
756
- "outputs": [],
757
- "stateMutability": "nonpayable",
758
- "type": "function"
759
- },
760
- {
761
- "inputs": [
762
- { "internalType": "bool", "name": "fpr", "type": "bool" },
763
- { "internalType": "bool", "name": "apr", "type": "bool" },
764
- { "internalType": "bool", "name": "bridge", "type": "bool" },
765
- { "internalType": "bool", "name": "utility", "type": "bool" },
766
- { "internalType": "bool", "name": "custom", "type": "bool" },
767
- { "internalType": "bool", "name": "orderbook", "type": "bool" }
768
- ],
769
- "name": "setFeeAccountedPerReserveType",
770
- "outputs": [],
771
- "stateMutability": "nonpayable",
772
- "type": "function"
773
- },
774
- {
775
- "inputs": [
776
- { "internalType": "address", "name": "_kyberDao", "type": "address" }
777
- ],
778
- "name": "setKyberDaoContract",
779
- "outputs": [],
780
- "stateMutability": "nonpayable",
781
- "type": "function"
782
- },
783
- {
784
- "inputs": [
785
- {
786
- "internalType": "contract IKyberNetwork",
787
- "name": "_kyberNetwork",
788
- "type": "address"
789
- }
790
- ],
791
- "name": "setNetworkContract",
792
- "outputs": [],
793
- "stateMutability": "nonpayable",
794
- "type": "function"
795
- },
796
- {
797
- "inputs": [
798
- { "internalType": "bytes32", "name": "reserveId", "type": "bytes32" },
799
- { "internalType": "address", "name": "rebateWallet", "type": "address" }
800
- ],
801
- "name": "setRebateWallet",
802
- "outputs": [],
803
- "stateMutability": "nonpayable",
804
- "type": "function"
805
- },
806
- {
807
- "inputs": [
808
- { "internalType": "address", "name": "newAdmin", "type": "address" }
809
- ],
810
- "name": "transferAdmin",
811
- "outputs": [],
812
- "stateMutability": "nonpayable",
813
- "type": "function"
814
- },
815
- {
816
- "inputs": [
817
- { "internalType": "address", "name": "newAdmin", "type": "address" }
818
- ],
819
- "name": "transferAdminQuickly",
820
- "outputs": [],
821
- "stateMutability": "nonpayable",
822
- "type": "function"
823
- }
824
- ]