Commit 7f9c8eb
Replace KittenSwap KNOWN_NONCES with dynamic multicall scan
- Remove all hardcoded pool→nonce mappings
- Dynamic discovery: 55 token pairs × poolByPair → nonce 0-60 scan
- All via multicall (2 RPC calls: pool lookup + nonce batch)
- Runtime nonce cache (Map) for repeat queries
- 16 active farming pools found (was 3 hardcoded)
- 11 tokens in scan list (WHYPE, USDC, USDT0, UETH, UBTC, USDH, USDe, sUSDe, XAUt0, kHYPE, KITTEN)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 9f81f75 commit 7f9c8eb
11 files changed
Lines changed: 1112 additions & 604 deletions
File tree
- ts/packages
- defi-cli/dist
- defi-protocols
- dist
- src
- dex
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
| 131 | + | |
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
135 | | - | |
136 | | - | |
137 | | - | |
| 136 | + | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
172 | | - | |
173 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
174 | 178 | | |
175 | 179 | | |
176 | 180 | | |
| |||
0 commit comments