chore: add monad mUSD#29897
Conversation
…to chore--add-monad-mUSD
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 209d97b. Configure here.
…to chore--add-monad-mUSD
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
SmokeMoney is the primary tag since these changes directly affect the Card/Money Account deposit flow - specifically the SmokeConfirmations is included per the SmokeMoney tag description: "When selecting SmokeMoney for Card Add Funds or similar flows that execute swaps, also select SmokeConfirmations" - the Add Funds deposit flow involves on-chain transactions that go through confirmations. SmokeStake is not selected as these changes don't touch staking/lending flows. The Earn/mUSD constants change is additive (adding Monad support) and doesn't break existing chains. Performance Test Selection: |
|




Description
Changelog
CHANGELOG entry: Add mUSD support on Monad
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Medium Risk
Changes the Money Account deposit asset from a hardcoded USDC address to chain-specific
mUSDresolution, affecting transaction calldata and failure modes on unsupported networks. Also updates default vault config and constants for Monad, so misconfiguration could cause deposits/withdrawals to target incorrect contracts.Overview
Adds Monad to mUSD chain mappings (
MUSD_TOKEN_ADDRESS_BY_CHAINandMUSD_TOKEN_ASSET_ID_BY_CHAIN).Updates Money Account deposit logic to use
MUSD_TOKEN_ADDRESS_BY_CHAINviagetMoneyAccountDepositAssetAddress(removing the temporary hardcoded USDC address) and throws when mUSD isn’t deployed for the selected chain.Switches the Money Account dev vault fallback config and related tests to Monad (
0x8f) with updated contract addresses.Reviewed by Cursor Bugbot for commit e98c8e1. Bugbot is set up for automated code reviews on this repo. Configure here.