From 5d55dd3a9d2a4c2080ca0bf1583033db14efd409 Mon Sep 17 00:00:00 2001 From: Jean-Grimal <83286814+Jean-Grimal@users.noreply.github.com> Date: Mon, 28 Oct 2024 16:28:16 +0100 Subject: [PATCH 1/7] feat: add morpho on testnets --- data/MORPHO/data.json | 13 +++++++++++++ data/MORPHO/logo.svg | 14 ++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 data/MORPHO/data.json create mode 100644 data/MORPHO/logo.svg diff --git a/data/MORPHO/data.json b/data/MORPHO/data.json new file mode 100644 index 000000000..9d166084e --- /dev/null +++ b/data/MORPHO/data.json @@ -0,0 +1,13 @@ +{ + "name": "Morpho Token", + "symbol": "MORPHO", + "decimals": 18, + "tokens": { + "ethereum": { + "sepolia": "0x6a73B1Ff3769a1C968dF3BCc42808A2Fb71EdECF" + }, + "base-sepolia": { + "address": "0xaA003acD8eB05d0e08A1d61A3B8Ec0166bDf8eb4" + } + } +} \ No newline at end of file diff --git a/data/MORPHO/logo.svg b/data/MORPHO/logo.svg new file mode 100644 index 000000000..ffc221c69 --- /dev/null +++ b/data/MORPHO/logo.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + From 5cac50119766e247fea62104cdf289f0c3c252a4 Mon Sep 17 00:00:00 2001 From: Jean-Grimal <83286814+Jean-Grimal@users.noreply.github.com> Date: Wed, 30 Oct 2024 14:13:40 +0100 Subject: [PATCH 2/7] fix: metadata --- data/MORPHO/data.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/MORPHO/data.json b/data/MORPHO/data.json index 9d166084e..30d642715 100644 --- a/data/MORPHO/data.json +++ b/data/MORPHO/data.json @@ -3,8 +3,8 @@ "symbol": "MORPHO", "decimals": 18, "tokens": { - "ethereum": { - "sepolia": "0x6a73B1Ff3769a1C968dF3BCc42808A2Fb71EdECF" + "sepolia": { + "address": "0x6a73B1Ff3769a1C968dF3BCc42808A2Fb71EdECF" }, "base-sepolia": { "address": "0xaA003acD8eB05d0e08A1d61A3B8Ec0166bDf8eb4" From 9eb0d6989e89592fdd2d96224121f2303e074fb4 Mon Sep 17 00:00:00 2001 From: Jean-Grimal <83286814+Jean-Grimal@users.noreply.github.com> Date: Tue, 5 Nov 2024 18:42:44 +0100 Subject: [PATCH 3/7] fix: new addresses (verified contracts) --- data/MORPHO/data.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/MORPHO/data.json b/data/MORPHO/data.json index 30d642715..d0e6e84aa 100644 --- a/data/MORPHO/data.json +++ b/data/MORPHO/data.json @@ -4,10 +4,10 @@ "decimals": 18, "tokens": { "sepolia": { - "address": "0x6a73B1Ff3769a1C968dF3BCc42808A2Fb71EdECF" + "address": "0x3CF66a662390e37ff260D0cBAa8Af6d426D60D43" }, "base-sepolia": { - "address": "0xaA003acD8eB05d0e08A1d61A3B8Ec0166bDf8eb4" + "address": "0x3CF66a662390e37ff260D0cBAa8Af6d426D60D43" } } } \ No newline at end of file From f0beabfa0afd8937f5541fbfd5b51799a26794ef Mon Sep 17 00:00:00 2001 From: Jean-Grimal <83286814+Jean-Grimal@users.noreply.github.com> Date: Thu, 7 Nov 2024 09:39:49 +0100 Subject: [PATCH 4/7] feat: add ethereum and base addresses --- data/MORPHO/data.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/data/MORPHO/data.json b/data/MORPHO/data.json index d0e6e84aa..51c62550e 100644 --- a/data/MORPHO/data.json +++ b/data/MORPHO/data.json @@ -3,6 +3,12 @@ "symbol": "MORPHO", "decimals": 18, "tokens": { + "ethereum": { + "address": "0x039b598c6b99e70058E1e9021E000BdacD33d026" + }, + "base": { + "address": "0x039b598c6b99e70058E1e9021E000BdacD33d026" + }, "sepolia": { "address": "0x3CF66a662390e37ff260D0cBAa8Af6d426D60D43" }, From 59b55f985e6321965f729262745cb2cafef04566 Mon Sep 17 00:00:00 2001 From: Jean-Grimal <83286814+Jean-Grimal@users.noreply.github.com> Date: Thu, 7 Nov 2024 16:52:07 +0100 Subject: [PATCH 5/7] fix: override bridge --- data/MORPHO/data.json | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/data/MORPHO/data.json b/data/MORPHO/data.json index 51c62550e..2eb379743 100644 --- a/data/MORPHO/data.json +++ b/data/MORPHO/data.json @@ -3,17 +3,19 @@ "symbol": "MORPHO", "decimals": 18, "tokens": { - "ethereum": { - "address": "0x039b598c6b99e70058E1e9021E000BdacD33d026" - }, - "base": { - "address": "0x039b598c6b99e70058E1e9021E000BdacD33d026" - }, - "sepolia": { - "address": "0x3CF66a662390e37ff260D0cBAa8Af6d426D60D43" + "sepolia": { + "address": "0x3CF66a662390e37ff260D0cBAa8Af6d426D60D43", + "overrides": { + "bridge": { + "base-sepolia": "0xfd0Bf71F60660E2f608ed56e1659C450eB113120" + } + } }, "base-sepolia": { - "address": "0x3CF66a662390e37ff260D0cBAa8Af6d426D60D43" + "address": "0x3CF66a662390e37ff260D0cBAa8Af6d426D60D43", + "overrides": { + "bridge": "0x4200000000000000000000000000000000000010" + } } } } \ No newline at end of file From fa6c6aa8243a98064ef408ff7ca112aead402146 Mon Sep 17 00:00:00 2001 From: Jean-Grimal <83286814+Jean-Grimal@users.noreply.github.com> Date: Thu, 7 Nov 2024 17:05:42 +0100 Subject: [PATCH 6/7] fix: overiding mainnets briges --- data/MORPHO/data.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/data/MORPHO/data.json b/data/MORPHO/data.json index 2eb379743..eb35fde03 100644 --- a/data/MORPHO/data.json +++ b/data/MORPHO/data.json @@ -3,6 +3,20 @@ "symbol": "MORPHO", "decimals": 18, "tokens": { + "ethereum": { + "address": "0x039b598c6b99e70058E1e9021E000BdacD33d026", + "overrides": { + "bridge": { + "base": "0x3154Cf16ccdb4C6d922629664174b904d80F2C35" + } + } + }, + "base": { + "address": "0x039b598c6b99e70058E1e9021E000BdacD33d026", + "overrides": { + "bridge": "0x4200000000000000000000000000000000000010" + } + }, "sepolia": { "address": "0x3CF66a662390e37ff260D0cBAa8Af6d426D60D43", "overrides": { @@ -17,5 +31,6 @@ "bridge": "0x4200000000000000000000000000000000000010" } } + } } \ No newline at end of file From 3b3a9328a13e225776eb6f8e294382bf8758093b Mon Sep 17 00:00:00 2001 From: Jean-Grimal <83286814+Jean-Grimal@users.noreply.github.com> Date: Thu, 7 Nov 2024 18:17:06 +0100 Subject: [PATCH 7/7] fix: remove mainnet addresses --- data/MORPHO/data.json | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/data/MORPHO/data.json b/data/MORPHO/data.json index eb35fde03..08ce60f1f 100644 --- a/data/MORPHO/data.json +++ b/data/MORPHO/data.json @@ -3,20 +3,6 @@ "symbol": "MORPHO", "decimals": 18, "tokens": { - "ethereum": { - "address": "0x039b598c6b99e70058E1e9021E000BdacD33d026", - "overrides": { - "bridge": { - "base": "0x3154Cf16ccdb4C6d922629664174b904d80F2C35" - } - } - }, - "base": { - "address": "0x039b598c6b99e70058E1e9021E000BdacD33d026", - "overrides": { - "bridge": "0x4200000000000000000000000000000000000010" - } - }, "sepolia": { "address": "0x3CF66a662390e37ff260D0cBAa8Af6d426D60D43", "overrides": {