From e52618676b0a595a8230feba202af485baa9a4fc Mon Sep 17 00:00:00 2001 From: Alexander van der Bourg Date: Wed, 8 Nov 2023 10:31:19 +0100 Subject: [PATCH 1/4] BIP-476: Enable sDAI/DUSD Gauge [Ethereum] - add sDAI/DUSD gauge on mainnet - Tenderly-sim: https://dashboard.tenderly.co/public/safe/safe-apps/simulator/8b0a6633-8ec3-4dae-811c-d81c0c6f0621 - add core pool 0x35c5c8c7b77942f9d44b535fa590d8b503b2b00c00000000000000000000060d --- BIPs/2023-W45/BIP-476.json | 40 ++++++++++++++++++++++++++++++++++++++ config/core_pools.json | 3 ++- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 BIPs/2023-W45/BIP-476.json diff --git a/BIPs/2023-W45/BIP-476.json b/BIPs/2023-W45/BIP-476.json new file mode 100644 index 000000000..5009d15d1 --- /dev/null +++ b/BIPs/2023-W45/BIP-476.json @@ -0,0 +1,40 @@ +{ + "version": "1.0", + "chainId": "1", + "createdAt": 1699435640612, + "meta": { + "name": "Transactions Batch", + "description": "Add new gauges", + "txBuilderVersion": "1.16.3", + "createdFromSafeAddress": "0xc38c5f97B34E175FFd35407fc91a937300E33860", + "createdFromOwnerAddress": "", + "checksum": "" + }, + "transactions": [ + { + "to": "0x5DbAd78818D4c8958EfF2d5b95b28385A22113Cd", + "value": "0", + "data": null, + "contractMethod": { + "inputs": [ + { + "name": "gauge", + "type": "address", + "internalType": "address" + }, + { + "name": "gaugeType", + "type": "string", + "internalType": "string" + } + ], + "name": "addGauge", + "payable": false + }, + "contractInputsValues": { + "gauge": "0x08e179Cf6F2Ca5dff67E93CdfBE2a29B2d8A27F7", + "gaugeType": "Ethereum" + } + } + ] +} \ No newline at end of file diff --git a/config/core_pools.json b/config/core_pools.json index 6a45d0197..394ab198a 100644 --- a/config/core_pools.json +++ b/config/core_pools.json @@ -21,7 +21,8 @@ "0x127ecc2318d002664cc4515c9f2b22b09b6aea85000200000000000000000602": "ECLP-swETH-wstETH", "0xcf7b51ce5755513d4be016b0e28d6edeffa1d52a000200000000000000000617": "80RDNT-20wETH", "0x02ca8086498552c071451724d3a34caa3922b65a000200000000000000000613": "80ROOT-20wETH", - "0xb3b675a9a3cb0df8f66caf08549371bfb76a9867000200000000000000000611": "ECLP-mevETH-wETH" + "0xb3b675a9a3cb0df8f66caf08549371bfb76a9867000200000000000000000611": "ECLP-mevETH-wETH", + "0x35c5c8c7b77942f9d44b535fa590d8b503b2b00c00000000000000000000060d": "sDAI-DUSD" }, "polygon": { "0xf0ad209e2e969eaaa8c882aac71f02d8a047d5c2000200000000000000000b49": "ECLP-WMATIC-stMATIC", From a682bc82e64ed5606568de7727c801f92c62f4ba Mon Sep 17 00:00:00 2001 From: Xeonus Date: Wed, 8 Nov 2023 09:35:14 +0000 Subject: [PATCH 2/4] Reformatted JSON files --- BIPs/2023-W45/BIP-476.json | 2 +- BIPs/2023-W45/BIP-476.report.txt | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 BIPs/2023-W45/BIP-476.report.txt diff --git a/BIPs/2023-W45/BIP-476.json b/BIPs/2023-W45/BIP-476.json index 5009d15d1..56501c4da 100644 --- a/BIPs/2023-W45/BIP-476.json +++ b/BIPs/2023-W45/BIP-476.json @@ -37,4 +37,4 @@ } } ] -} \ No newline at end of file +} diff --git a/BIPs/2023-W45/BIP-476.report.txt b/BIPs/2023-W45/BIP-476.report.txt new file mode 100644 index 000000000..8abe4db40 --- /dev/null +++ b/BIPs/2023-W45/BIP-476.report.txt @@ -0,0 +1,12 @@ +File name: BIPs/2023-W45/BIP-476.json +COMMIT: `e52618676b0a595a8230feba202af485baa9a4fc` +CHAIN(S): `mainnet` +``` ++-----------------------+---------------------------------------------------------------------+--------------------------+--------------------------------------------+----------------------------------------------------------+-------------------------------------------------+---------+------------+ +| function | pool_id_and_address | symbol_and_info | gauge_address_and_info | tokens | rate_providers | bip | tx_index | ++=======================+=====================================================================+==========================+============================================+==========================================================+=================================================+=========+============+ +| GaugeAdderV4/addGauge | 0x35c5c8c7b77942f9d44b535fa590d8b503b2b00c00000000000000000000060d | DUSD/sDAI | 0x08e179Cf6F2Ca5dff67E93CdfBE2a29B2d8A27F7 | "DUSD/sDAI(0x35c5C8C7B77942f9D44B535Fa590D8b503B2b00C)", | "0x0000000000000000000000000000000000000000", | BIP-476 | 0 | +| | pool_address: 0x35c5C8C7B77942f9D44B535Fa590D8b503B2b00C | fee: 0.04, a-factor: 500 | Style: mainnet, cap: 100.0% | "sDAI(0x83F20F44975D03b1b09e64809B757c47f942BEeA)", | "0xc7177B6E18c1Abd725F5b75792e5F7A3bA5DBC2c", | | | +| | | | | "DUSD(0xa48F322F8b3edff967629Af79E027628b9Dd1298)" | "0x0000000000000000000000000000000000000000" | | | ++-----------------------+---------------------------------------------------------------------+--------------------------+--------------------------------------------+----------------------------------------------------------+-------------------------------------------------+---------+------------+ +``` From f1b419940bf4b0f5774b269d7c0c4a05484c54a1 Mon Sep 17 00:00:00 2001 From: Tritium Date: Wed, 8 Nov 2023 23:45:32 +0100 Subject: [PATCH 3/4] remove duplicate --- config/core_pools.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/core_pools.json b/config/core_pools.json index d6b62cb1b..590d77095 100644 --- a/config/core_pools.json +++ b/config/core_pools.json @@ -21,8 +21,7 @@ "0x127ecc2318d002664cc4515c9f2b22b09b6aea85000200000000000000000602": "ECLP-swETH-wstETH", "0xcf7b51ce5755513d4be016b0e28d6edeffa1d52a000200000000000000000617": "80RDNT-20wETH", "0xb3b675a9a3cb0df8f66caf08549371bfb76a9867000200000000000000000611": "ECLP-mevETH-wETH", - "0x35c5c8c7b77942f9d44b535fa590d8b503b2b00c00000000000000000000060d": "sDAI-DUSD", - "0xb3b675a9a3cb0df8f66caf08549371bfb76a9867000200000000000000000611": "ECLP-mevETH-wETH" + "0x35c5c8c7b77942f9d44b535fa590d8b503b2b00c00000000000000000000060d": "sDAI-DUSD" }, "polygon": { "0xf0ad209e2e969eaaa8c882aac71f02d8a047d5c2000200000000000000000b49": "ECLP-WMATIC-stMATIC", From c581c552bf6879670caf3000d0079d797bf9d9dc Mon Sep 17 00:00:00 2001 From: Tritium-VLK Date: Wed, 8 Nov 2023 22:49:22 +0000 Subject: [PATCH 4/4] Reformatted JSON files --- BIPs/2023-W45/BIP-476.report.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BIPs/2023-W45/BIP-476.report.txt b/BIPs/2023-W45/BIP-476.report.txt index 8abe4db40..982a13fd2 100644 --- a/BIPs/2023-W45/BIP-476.report.txt +++ b/BIPs/2023-W45/BIP-476.report.txt @@ -1,5 +1,5 @@ File name: BIPs/2023-W45/BIP-476.json -COMMIT: `e52618676b0a595a8230feba202af485baa9a4fc` +COMMIT: `f1b419940bf4b0f5774b269d7c0c4a05484c54a1` CHAIN(S): `mainnet` ``` +-----------------------+---------------------------------------------------------------------+--------------------------+--------------------------------------------+----------------------------------------------------------+-------------------------------------------------+---------+------------+