Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/assets-controllers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Add 0G (`16661`/`0x4115`) entries in `multicall.ts` and `codefi-v2.ts` ([#9760](https://github.com/MetaMask/core/pull/9760))

### Changed

- Bump `@metamask/network-controller` from `^35.0.0` to `^35.0.1` ([#9758](https://github.com/MetaMask/core/pull/9758))
Expand Down
3 changes: 3 additions & 0 deletions packages/assets-controllers/src/multicall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,9 @@ const MULTICALL_CONTRACT_BY_CHAINID = {
'0x1237': '0xcA11bde05977b3631167028862bE2a173976CA11',
// Somnia (5031), MultiCallV3 per docs.somnia.network/developer/smart-contracts
'0x13a7': '0x5e44F178E8cF9B2F5409B6f18ce936aB817C5a11',
// 0G (16661), canonical mds1/multicall3 deployment, live-verified
// (matching bytecode across primary + both fallback RPCs)
'0x4115': '0xcA11bde05977b3631167028862bE2a173976CA11',
} as Record<Hex, Hex>;

const multicallAbi = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ export const SPOT_PRICES_SUPPORT_INFO = {
'0x15f900': 'eip155:1440000/erc20:0x0000000000000000000000000000000000000000', // xrpl-evm - native symbol: XRP
'0x4e454152': 'eip155:1313161554/slip44:60', // Aurora Mainnet (Ethereum L2 on NEAR) - Native symbol: ETH
'0x63564c40': 'eip155:1666600000/slip44:1023', // Harmony Mainnet Shard 0 - Native symbol: ONE
'0x4115': 'eip155:16661/slip44:1111116661', // 0G Chain - Native symbol: 0G
} as const;

// MISSING CHAINS WITH NO NATIVE ASSET PRICES
Expand Down