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
2 changes: 2 additions & 0 deletions packages/assets-controllers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Update spot-prices endpoint list of supported chains and assets ([#7543](https://github.com/MetaMask/core/pull/7543))
- Export `selectAllAssets` ([#7496](https://github.com/MetaMask/core/pull/7496))
- Add multicall address for `MSU (MapleStory Universe)` ([#7453](https://github.com/MetaMask/core/pull/7453))
- Add MSU (MapleStory Universe) and Etherlink in Spot Prices support ([#7453](https://github.com/MetaMask/core/pull/7453))

### Changed

Expand Down
5 changes: 5 additions & 0 deletions packages/assets-controllers/src/multicall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ const MULTICALL_CONTRACT_BY_CHAINID = {
'0xe9fe': '0xcA11bde05977b3631167028862bE2a173976CA11',
'0xd3a0': '0xcA11bde05977b3631167028862bE2a173976CA11',
'0x84444': '0xcA11bde05977b3631167028862bE2a173976CA11',
// Rootstock, bytecode OK and referenced as "RSK" in https://www.multicall3.com/deployments
'0x1e': '0xcA11bde05977b3631167028862bE2a173976CA11',
'0x1f': '0xcA11bde05977b3631167028862bE2a173976CA11',
'0x2329': '0xcA11bde05977b3631167028862bE2a173976CA11',
Expand Down Expand Up @@ -177,6 +178,7 @@ const MULTICALL_CONTRACT_BY_CHAINID = {
'0x45b': '0xcA11bde05977b3631167028862bE2a173976CA11',
'0x3d': '0xcA11bde05977b3631167028862bE2a173976CA11',
'0x41a6ace': '0xcA11bde05977b3631167028862bE2a173976CA11',
// Etherlink mainnet, bytecode OK and referenced in https://www.multicall3.com/deployments
'0xa729': '0xcA11bde05977b3631167028862bE2a173976CA11',
'0x1f47b': '0xcA11bde05977b3631167028862bE2a173976CA11',
'0x1b59': '0xca11bde05977b3631167028862be2a173976ca11',
Expand Down Expand Up @@ -246,6 +248,7 @@ const MULTICALL_CONTRACT_BY_CHAINID = {
'0x46f': '0xcA11bde05977b3631167028862bE2a173976CA11',
'0x659': '0xca11bde05977b3631167028862be2a173976ca11',
'0x139c968f9': '0xcA11bde05977b3631167028862bE2a173976CA11',
// BOB, bytecode OK and referenced in https://www.multicall3.com/deployments
'0xed88': '0xcA11bde05977b3631167028862bE2a173976CA11',
'0xd036': '0xcA11bde05977b3631167028862bE2a173976CA11',
'0x1f3': '0xcA11bde05977b3631167028862bE2a173976CA11',
Expand Down Expand Up @@ -301,6 +304,8 @@ const MULTICALL_CONTRACT_BY_CHAINID = {
'0x18c7': '0xcA11bde05977b3631167028862bE2a173976CA11',
// MegaETH mainnet, contract found matching multicall3 bytecode
'0x10e6': '0xcA11bde05977b3631167028862bE2a173976CA11',
// MSU (contract they deployed by their team for us)
'0x10b3e': '0x99423C88EB5723A590b4C644426069042f137B9e',
} as Record<Hex, Hex>;

const multicallAbi = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ export const SPOT_PRICES_SUPPORT_INFO = {
'0xe8': 'eip155:232/erc20:0x0000000000000000000000000000000000000000', // Lens Mainnet - Native symbol: GHO
'0xfa': 'eip155:250/slip44:1007', // Fantom Opera - Native symbol: FTM
'0xfc': 'eip155:252/erc20:0x0000000000000000000000000000000000000000', // Fraxtal - native symbol: FRAX
'0x10b3e': 'eip155:68414/erc20:0x0000000000000000000000000000000000000000', // MapleStory Universe - no slip44
'0x120': 'eip155:288/slip44:60', // Boba Network (Ethereum L2) - Native symbol: ETH
'0x141': 'eip155:321/slip44:641', // KCC Mainnet - Native symbol: KCS
'0x144': 'eip155:324/slip44:60', // zkSync Era Mainnet (Ethereum L2) - Native symbol: ETH
Expand All @@ -270,6 +271,7 @@ export const SPOT_PRICES_SUPPORT_INFO = {
'0x505': 'eip155:1285/slip44:1285', // Moonriver - Native symbol: MOVR
'0x531': 'eip155:1329/slip44:19000118', // Sei Mainnet - Native symbol: SEI
'0x74c': 'eip155:1868/erc20:0x0000000000000000000000000000000000000000', // Soneium - Native symbol: ETH
'0xa729': 'eip155:42793/erc20:0x0000000000000000000000000000000000000000', // Etherlink - Native symbol: XTZ (Tezos L2)
'0xab5': 'eip155:2741/erc20:0x0000000000000000000000000000000000000000', // Abstract - Native symbol: ETH
'0x10e6': 'eip155:4326/erc20:0x0000000000000000000000000000000000000000', // MegaETH Mainnet - Native symbol: ETH
'0x1388': 'eip155:5000/erc20:0xdeaddeaddeaddeaddeaddeaddeaddeaddead0000', // Mantle - Native symbol: MNT
Expand Down
Loading