Skip to content
Merged
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-controller/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 Robinhood Chain (`4663`/`0x1237`) in `MulticallClient` ([#9443](https://github.com/MetaMask/core/pull/9443))

### Changed

- `MulticallClient` memoizes `balanceOf` and `getEthBalance` call encodings per account address when building multicall batches, reducing redundant ABI encoding for wallets with many tokens ([#9425](https://github.com/MetaMask/core/pull/9425))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,8 @@ const MULTICALL3_ADDRESS_BY_CHAIN: Record<Hex, Hex> = {
'0xa5bf': '0xcA11bde05977b3631167028862bE2a173976CA11',
// Arc (5042)
'0x13b2': '0xcA11bde05977b3631167028862bE2a173976CA11',
// Robinhood Chain (4663)
'0x1237': '0xcA11bde05977b3631167028862bE2a173976CA11',
};

// =============================================================================
Expand Down
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 Robinhood Chain (`4663`/`0x1237`) entries in `multicall.ts` and `codefi-v2.ts` ([#9443](https://github.com/MetaMask/core/pull/9443))

## [109.3.1]

### Changed
Expand Down
2 changes: 2 additions & 0 deletions packages/assets-controllers/src/multicall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,8 @@ const MULTICALL_CONTRACT_BY_CHAINID = {
'0x1079': '0xcA11bde05977b3631167028862bE2a173976CA11',
// Arc (5042)
'0x13b2': '0xcA11bde05977b3631167028862bE2a173976CA11',
// Robinhood Chain (4663)
'0x1237': '0xcA11bde05977b3631167028862bE2a173976CA11',
} as Record<Hex, Hex>;

const multicallAbi = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ export const SPOT_PRICES_SUPPORT_INFO = {
'0x13b2': 'eip155:5042/erc20:0x0000000000000000000000000000000000000000', // Arc - Native symbol: USDC
'0x1b58': 'eip155:7000/slip44:7000', // ZetaChain - Native symbol: ZETA
'0x2105': 'eip155:8453/slip44:60', // Base - Native symbol: ETH
'0x1237': 'eip155:4663/slip44:60', // Robinhood Chain - Native symbol: ETH

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

'0x2611': 'eip155:9745/erc20:0x0000000000000000000000000000000000000000', // Plasma mainnet - native symbol: XPL
'0x2710': 'eip155:10000/slip44:145', // Smart Bitcoin Cash - Native symbol: BCH
'0x8173': 'eip155:33139/erc20:0x0000000000000000000000000000000000000000', // Apechain Mainnet - Native symbol: APE
Expand Down