terminal-fill: launchpad curves and ETH-quoted v4 pools priced on BasedBot's router family (Robinhood draws 8/40 -> 33/35) - #2559
Merged
Conversation
…riced (previous trade on the curve, quote = gas coin / stable / WETH / a route-bought token), ETH-quoted v4 pools priced as the gas coin when no ERC20 moved the quote, a launch's first buy rejected as launch_first_trade: Robinhood Chain draws priced 8 of 40 -> 33 of 35 fills Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L4rjxemTvgRwrCG6D2iK5D
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why BasedBot's (and Axiom's, GMGN's) Robinhood Chain rows stayed under the ranking floor: 74 to 79 % of the drawn router swaps were unpriced. A probe over the last 40 router swaps (harness
nativeRow, keyed node) tallied: no_pool 15, no_quote_leg 7, priced 8.buy 0xec36bf57…[gas coin in, tokens out, fee 1, fee 2] andsell 0x8113d738…[tokens in, gas coin out, fee 1, fee 2], fees 1 % + 2 % on the gross amount. Newrhcurve.go: pool = the reserve's side of the trade, other = the curve's fees, reference = the previous trade on the curve at the reserve-side price (walked in 9,000-block chunks up to two hours: the keyed node caps eth_getLogs at 10,000 blocks and Robinhood Chain makes ~590 a minute). The quote is the gas coin unless an ERC20 moved the amount to or from the curve (stable, WETH, or a token the route bought on the way, priced through that swap: a curve quoted in0x4a0e65a3…bought on a v3 pool from WETH was 16x off before that). A token launch's first buy (minted to the curve in the same transaction) is rejected aslaunch_first_trade, not counted as unpriced.nativeV4Quote: when no ERC20 flow of half the quote or more moved through the manager, the quote is the gas coin at the exchange's price.Probe after: priced 33, launch_first_trade 5, unpriced 2 (a v4 pool with no previous swap, one quote leg). Spec reference bullet, unpriced-draws bullet and README updated. The same code covers BNB, Base and Ethereum where the router family runs.
Deploy: harness image, worker rebuild + materialize reset (spec).
🤖 Generated with Claude Code
https://claude.ai/code/session_01L4rjxemTvgRwrCG6D2iK5D