Skip to content

Commit d184a38

Browse files
authored
Merge pull request #30 from KyberNetwork/remove-outdated-hooks
fix: remove outdated hooks
2 parents 3831bbf + a6b3c5b commit d184a38

File tree

13 files changed

+12
-1673
lines changed

13 files changed

+12
-1673
lines changed

script/config/chain-name.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

script/config/hook-configs.json

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,19 @@
11
{
2-
"KSPriceBasedDCAHook": {
3-
"constructorParams": [
4-
"routers"
5-
],
6-
"exported": "price-based-dca-hook"
7-
},
82
"KSRemoveLiquidityPancakeV4CLHook": {
9-
"constructorParams": [
10-
"weth"
11-
],
3+
"constructorParams": ["weth"],
124
"exported": "remove-liquidity-pancake-v4cl-hook"
135
},
146
"KSRemoveLiquidityUniswapV3Hook": {
15-
"constructorParams": [
16-
"weth"
17-
],
7+
"constructorParams": ["weth"],
188
"exported": "remove-liquidity-uniswap-v3-hook"
199
},
2010
"KSRemoveLiquidityUniswapV4Hook": {
21-
"constructorParams": [
22-
"weth"
23-
],
11+
"constructorParams": ["weth"],
2412
"exported": "remove-liquidity-uniswap-v4-hook"
2513
},
26-
"KSSwapHook": {
27-
"constructorParams": [],
28-
"exported": "swap-hook"
29-
},
30-
"KSTimeBasedDCAHook": {
31-
"constructorParams": [
32-
"routers"
33-
],
34-
"exported": "time-based-dca-hook"
14+
"KSConditionalSwapHook": {
15+
"constructorParams": ["routers"],
16+
"exported": "conditional-swap-hook"
3517
},
3618
"KSZapOutUniswapV2Hook": {
3719
"constructorParams": [],
@@ -45,4 +27,4 @@
4527
"constructorParams": [],
4628
"exported": "zap-out-uniswap-v4-hook"
4729
}
48-
}
30+
}

script/config/router.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"0": "0x0000000000000000000000000000000000000000"
3+
}

script/config/swap-inputs.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

script/onchains/Base.s.sol

Lines changed: 0 additions & 238 deletions
This file was deleted.

script/onchains/DCA.s.sol

Lines changed: 0 additions & 75 deletions
This file was deleted.

0 commit comments

Comments
 (0)