diff --git a/.changeset/ten-badgers-work.md b/.changeset/ten-badgers-work.md new file mode 100644 index 00000000..54f87894 --- /dev/null +++ b/.changeset/ten-badgers-work.md @@ -0,0 +1,5 @@ +--- +"@enzymefinance/environment": patch +--- + +Fix Morpho optimizers data diff --git a/packages/environment/src/assets/ethereum.ts b/packages/environment/src/assets/ethereum.ts index b1250290..98ef8b36 100644 --- a/packages/environment/src/assets/ethereum.ts +++ b/packages/environment/src/assets/ethereum.ts @@ -737,7 +737,9 @@ export default defineAssetList(Network.ETHEREUM, [ symbol: "maWBTC", name: "Morpho-Aave Wrapped BTC Supply Vault", id: "0xd508f85f1511aaec63434e26aeb6d10be0188dc7", - type: AssetType.PRIMITIVE, + type: AssetType.ERC_4626, + protocol: Erc4626Protocol.MORPHO, + underlying: "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599", releases: [], decimals: 18, priceFeed: { @@ -748,7 +750,9 @@ export default defineAssetList(Network.ETHEREUM, [ symbol: "maWETH", name: "Morpho-Aave Wrapped Ether Supply Vault", id: "0x490bbbc2485e99989ba39b34802fafa58e26aba4", - type: AssetType.PRIMITIVE, + type: AssetType.ERC_4626, + protocol: Erc4626Protocol.MORPHO, + underlying: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", releases: [], decimals: 18, priceFeed: { @@ -759,7 +763,9 @@ export default defineAssetList(Network.ETHEREUM, [ symbol: "maDAI", name: "Morpho-Aave Dai Stablecoin Supply Vault", id: "0x36f8d0d0573ae92326827c4a82fe4ce4c244cab6", - type: AssetType.PRIMITIVE, + type: AssetType.ERC_4626, + protocol: Erc4626Protocol.MORPHO, + underlying: "0x6b175474e89094c44da98b954eedeac495271d0f", releases: [], decimals: 18, priceFeed: { @@ -770,7 +776,9 @@ export default defineAssetList(Network.ETHEREUM, [ symbol: "maUSDC", name: "Morpho-Aave USD Coin Supply Vault", id: "0xa5269a8e31b93ff27b887b56720a25f844db0529", - type: AssetType.PRIMITIVE, + type: AssetType.ERC_4626, + protocol: Erc4626Protocol.MORPHO, + underlying: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", releases: [], decimals: 18, priceFeed: { @@ -781,7 +789,9 @@ export default defineAssetList(Network.ETHEREUM, [ symbol: "maUSDT", name: "Morpho-Aave Tether USD Supply Vault", id: "0xafe7131a57e44f832cb2de78ade38cad644aac2f", - type: AssetType.PRIMITIVE, + type: AssetType.ERC_4626, + protocol: Erc4626Protocol.MORPHO, + underlying: "0xdac17f958d2ee523a2206206994597c13d831ec7", releases: [], decimals: 18, priceFeed: { @@ -792,7 +802,9 @@ export default defineAssetList(Network.ETHEREUM, [ symbol: "maCRV", name: "Morpho-Aave Curve DAO Token Supply Vault", id: "0x9dc7094530cb1bcf5442c3b9389ee386738a190c", - type: AssetType.PRIMITIVE, + type: AssetType.ERC_4626, + protocol: Erc4626Protocol.MORPHO, + underlying: "0xd533a949740bb3306d119cc777fa900ba034cd52", releases: [], decimals: 18, priceFeed: { @@ -803,7 +815,9 @@ export default defineAssetList(Network.ETHEREUM, [ symbol: "ma3WETH", name: "AaveV3-ETH Optimizer Supply Vault WETH", id: "0x39dd7790e75c6f663731f7e1fdc0f35007d3879b", - type: AssetType.PRIMITIVE, + type: AssetType.ERC_4626, + protocol: Erc4626Protocol.MORPHO, + underlying: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", releases: [], decimals: 18, priceFeed: {