Document per-hook fees + redeploy HeavierHand/CapGate to 7 chains - #14
Merged
Merged
Conversation
Add a structured 'fee' field to schema.json (kind none/fixed/dynamic, bps, recipient, note): the hook's own cut on a swap, on top of the pool LP fee and the universal 10 bps AeonFee. - Fill fee for all 12 fleet hooks (CrownClash 0.07%, LegacyLedger 0.05%, DynamicFee dynamic, the rest none) - Submit form gains a 'Fee taken' question; from_issue/scaffold parse it - CONTRIBUTING field table + HOOKS.md catalog gain a Fee column - Regenerate hooklist.json + HOOKS.md
New on-chain addresses (confirmed via the fixed getters) on Ethereum, Base, Robinhood, Monad, BNB, Arbitrum and Unichain. HeavierHand flags move 0xC4 -> 0x10C4 (now lights afterInitialize). Regenerate hooklist.json + HOOKS.md.
aaronjmars
force-pushed
the
add-hook-fee-field
branch
from
September 5, 2026 21:39
1d2fe36 to
40406a3
Compare
aaronjmars
added a commit
that referenced
this pull request
Sep 5, 2026
…ENTS to the fixed redeploy (#15) PR #14 already landed the new 7-chain addresses and HeavierHand's 0x10C4 flag in the hook JSONs + generated hooklist.json/HOOKS.md, but the human-facing prose and the DEPLOYMENTS ledger still described the old, buggy behavior. This aligns them: - hooks/heavierhand.json: mechanic/plain/rules now describe the price-anchored gate (keeps the pool within ~10% of its OWN opening price; works for any pair and any start price), retiring the false "pushes back toward 50/50" narrative. - hooks/capgate.json: mechanic/plain/rules now describe the 5%-of-reserve cap (decimals-safe) instead of a fixed token-count cap. - hooklist.json + HOOKS.md: regenerated via scripts/aggregate.py. - DEPLOYMENTS.md: HeavierHand + CapGate rows updated to the new addresses, a section added for the Arbitrum/BNB/Unichain redeploys + their PoolManagers, and the old addresses recorded as superseded (immutable, still on-chain).
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.
Fee field
Adds a structured
feeobject toschema.json- the fee a hook takes on a swap, on top of the pool LP fee and the universal 10 bps AeonFee:{ kind: none|fixed|dynamic, bps, recipient, note }.from_issue.py/scaffold_hook.pyparse free text into the object, maintainer confirms on merge.Redeploy
HeavierHand + CapGate redeployed with new on-chain addresses (confirmed via the fixed getters) across 7 chains (Ethereum, Base, Robinhood, Monad, BNB, Arbitrum, Unichain). HeavierHand flags move
0xC4->0x10C4(now lights afterInitialize).validate.py+aggregate.py --checkpass;hooklist.json+HOOKS.mdregenerated.