Skip to content

feat: hyperevm and monad treasury addies#11890

Merged
NeOMakinG merged 3 commits intodevelopfrom
feat/hyperevm-monad-treasury-addies
Feb 17, 2026
Merged

feat: hyperevm and monad treasury addies#11890
NeOMakinG merged 3 commits intodevelopfrom
feat/hyperevm-monad-treasury-addies

Conversation

@gomesalexandre
Copy link
Contributor

@gomesalexandre gomesalexandre commented Feb 16, 2026

Description

Add HyperEVM and Monad treasury addresses, as sent by prof.

  • HyperEVM: 0x35339070f178dC4119732982C23F5a8d88D3f8a3
  • Monad: 0x35339070f178dC4119732982C23F5a8d88D3f8a3

Issue (if applicable)

N/A

Risk

Low - adding new treasury address constants and chain ID mappings only.

What protocols, transaction types, wallets or contract interactions might be affected by this PR?

Across swapper treasury address resolution for HyperEVM and Monad chains.

Testing

Engineering

  • Test with Across and ensure those treasury addresses are used

Operations

  • 🏁 My feature is behind a flag and doesn't require operations testing (yet)

N/A - Across not live yet

Screenshots (if applicable)

N/A

Summary by CodeRabbit

  • New Features
    • Monad Mainnet and HyperEVM Mainnet are now supported.
    • Native asset recognition extended to include the new networks.
    • Treasury handling updated to include the new networks, ensuring proper routing and display of treasury-related data.

As sent by prof.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gomesalexandre gomesalexandre requested a review from a team as a code owner February 16, 2026 14:21
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 16, 2026

No actionable comments were generated in the recent review. 🎉


📝 Walkthrough

Walkthrough

These changes add two new DAO treasury constants and register MonadMainnet and HyperEvmMainnet in treasury and swapper helper mappings to recognize those networks.

Changes

Cohort / File(s) Summary
Treasury Configuration
packages/utils/src/treasury.ts
Added DAO_TREASURY_MONAD and DAO_TREASURY_HYPEREVM exports and included KnownChainIds.MonadMainnet and KnownChainIds.HyperEvmMainnet in treasuryChainIds.
Swapper Helpers
packages/swapper/src/swappers/utils/helpers/helpers.ts
Imported new treasury constants and extended DAO_TREASURY_BY_CHAIN_ID mapping to include MonadMainnet and HyperEvmMainnet.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested labels

capy

Suggested reviewers

  • NeOMakinG
  • 0xApotheosis

Poem

🐰✨ I hopped through lines of code today,
Two treasuries added along the way,
Monad and HyperEVM now in view,
Mapped and ready—hip, hop, whoo! 🥕

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: adding treasury address constants for HyperEVM and Monad chains, which is reflected in both modified files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into develop

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/hyperevm-monad-treasury-addies

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
packages/swapper/src/swappers/utils/helpers/helpers.ts (1)

36-63: ⚠️ Potential issue | 🟠 Major

Add missing HyperEvmMainnet case to isNativeEvmAsset

HyperEvmMainnet is included in the treasury mapping (line 80) and is fully supported across the codebase, but has no corresponding case in isNativeEvmAsset. This causes HyperEVM's native asset to incorrectly return false, affecting multiple swappers that use this function to determine approval requirements and handle native assets. Add the case using the existing hyperEvmAssetId constant.

Copy link
Collaborator

@NeOMakinG NeOMakinG left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://jam.dev/c/d52352f2-915e-4485-b958-98c82a20eb66

I did log and try a swap (which is useless btw as relay use our BASE treasury address and near the near one!

But: https://jam.dev/c/316928f9-7ed6-42aa-af12-ac42db5bcb55

Tested with accross and noticed the treasury address in the TX details, looks good to me!

@NeOMakinG NeOMakinG enabled auto-merge (squash) February 17, 2026 12:40
@NeOMakinG NeOMakinG merged commit 662360c into develop Feb 17, 2026
4 checks passed
@NeOMakinG NeOMakinG deleted the feat/hyperevm-monad-treasury-addies branch February 17, 2026 12:53
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.

2 participants