Skip to content

Document per-hook fees + redeploy HeavierHand/CapGate to 7 chains - #14

Merged
aaronjmars merged 2 commits into
mainfrom
add-hook-fee-field
Sep 5, 2026
Merged

aaronjmars merged 2 commits into
mainfrom
add-hook-fee-field

Conversation

@aaronjmars

Copy link
Copy Markdown
Contributor

Fee field

Adds a structured fee object to schema.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 }.

  • All 12 fleet hooks documented (CrownClash 0.07% to treasury, LegacyLedger 0.05%, DynamicFee dynamic, the rest none).
  • Submit form gains a Fee taken question; from_issue.py/scaffold_hook.py parse free text into the object, maintainer confirms on merge.
  • CONTRIBUTING field table + generated HOOKS.md catalog gain a Fee column.

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 --check pass; hooklist.json + HOOKS.md regenerated.

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
aaronjmars merged commit 8347f35 into main Sep 5, 2026
2 checks passed
@aaronjmars
aaronjmars deleted the add-hook-fee-field branch September 5, 2026 21:39
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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant