fix: add monad tokens to coingecko adapter#11257
Conversation
📝 WalkthroughWalkthroughAdds Monad blockchain support to the CoinGecko adapter: imports Monad constants, updates token-parsing to recognize Monad ERC20 tokens, and extends default asset-id mappings; tests updated to include a USDC asset on Monad and a new chain mapping for EIP-155:143. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (4)**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
**/*.{ts,tsx}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
**/*.test.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
**/*.{js,jsx,ts,tsx}📄 CodeRabbit inference engine (.cursor/rules/naming-conventions.mdc)
Files:
🧠 Learnings (6)📓 Common learnings📚 Learning: 2025-08-17T21:53:03.806ZApplied to files:
📚 Learning: 2025-11-24T21:20:04.979ZApplied to files:
📚 Learning: 2025-11-24T21:20:57.909ZApplied to files:
📚 Learning: 2025-11-20T12:00:45.005ZApplied to files:
📚 Learning: 2025-11-24T21:20:57.909ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (2)
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. Comment |
Added test expectations for Monad chain in CoinGecko adapter tests: - Added USDC on Monad to USDC multi-chain test - Added Monad native asset to parseData test Fixes failing tests after Monad CoinGecko integration. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Improvements based on recent gotchas and missing sections: - Add comprehensive CoinGecko adapter integration section - Platform enum registration - Chain ID to platform mapping - Test coverage requirements - Based on PR #11257 (Monad tokens fix) - Add Swapper Integration section (Step 5.3) - Relay Swapper chain mapping - Native asset case handling - Reference to Relay docs - Checklist for other swappers - Update file checklist to include: - CoinGecko adapter test files - Swapper integration files - Relay constant and relayTokenToAssetId files This addresses commonly forgotten steps that caused issues in recent chain integrations. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>

Description
i.e only native Monad asset was added there currently
Issue (if applicable)
closes N/A
Risk
None
Testing
Engineering
Operations
Screenshots (if applicable)
develop vs. this diff:
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.