Skip to content

Add RareFriendsHook (mainnet) to routing allowlist - #5

Open
spokesz wants to merge 1 commit into
Uniswap:mainfrom
spokesz:rarefriends-hook-mainnet
Open

spokesz wants to merge 1 commit into
Uniswap:mainfrom
spokesz:rarefriends-hook-mainnet

Conversation

@spokesz

@spokesz spokesz commented Sep 16, 2026

Copy link
Copy Markdown

Summary

Adds the Rare Friends hook on Robinhood Chain (4663) so its RF/WETH v4 pool can route through the Uniswap interface.

The hook collects a fixed 500-bps WETH-side fee on buys and sells, funding rewards for activated Rare Friends NFTs.

Addresses

  • Hook: 0x7A65d0194e6Cc43971C31CE7D1471Da01D42A0cC
  • RF token: 0x0779369854d3EcdEA927206718FFD7730C67B71f

Routing details

Trading is not restricted to this hooked pool. RF can trade in other pools, and swaps through this pool do not require a particular router or
custom hook data.

Both return-delta flags are used because fees are always collected in WETH:

Exact-input RF buy / exact-output RF sell =

  • beforeSwap: WETH is specified

Exact-input RF sell / exact-output RF buy

  • afterSwap: WETH is unspecified; use the actual WETH delta

Only one fee path runs per swap. Specified-WETH fees use the requested amount; our Market rejects partial fills.

Safety notes

  • Non-upgradeable hook with a constant fee rate. The owner can change the rewards destination.
  • Permissions: beforeInitialize, beforeSwap, afterSwap, and both swap-return-delta flags.
  • Bound to one RF/WETH pool and its PoolManager.
  • Reward funding occurs synchronously; a funding failure reverts the swap.
  • RF has no additional minting, transfer tax, blacklist, or pause. Balance changes synchronize temporary Friends through the immutable Generations
    contract.

@spokesz spokesz changed the title Add SPXC Strategy hook (mainnet) to routing allowlist Add RareFriendshook (mainnet) to routing allowlist Sep 16, 2026
@spokesz spokesz changed the title Add RareFriendshook (mainnet) to routing allowlist Add RareFriendsHook (mainnet) to routing allowlist Sep 16, 2026
@Ukeex

Ukeex commented Sep 16, 2026

Copy link
Copy Markdown

let do it

@spokesz

spokesz commented Sep 16, 2026

Copy link
Copy Markdown
Author

would love this added asap

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.

3 participants