From 259bdd65f50f0dc1eab26e30595019dbbcae4bb4 Mon Sep 17 00:00:00 2001 From: pmckelvy1 Date: Tue, 28 Nov 2023 16:39:15 -0500 Subject: [PATCH] fix scripts, add base support, update addys. (#1011) --- .env.example | 1 + docs/deployed-addresses/1-ETH+.md | 32 ++--- docs/deployed-addresses/1-USDC+.md | 24 ++++ docs/deployed-addresses/1-assets-2.0.0.md | 31 +++++ docs/deployed-addresses/1-assets-3.0.0.md | 55 ++++++++ docs/deployed-addresses/1-assets-3.0.1.md | 55 ++++++++ docs/deployed-addresses/1-components-2.0.0.md | 28 ++++ docs/deployed-addresses/1-components-2.1.0.md | 58 ++++---- docs/deployed-addresses/1-components-3.0.0.md | 30 +++++ docs/deployed-addresses/1-components-3.0.1.md | 30 +++++ docs/deployed-addresses/1-eUSD.md | 34 ++--- docs/deployed-addresses/1-hyUSD.md | 34 ++--- docs/deployed-addresses/8453-Vaya.md | 24 ++++ docs/deployed-addresses/8453-assets-3.0.0.md | 17 +++ docs/deployed-addresses/8453-assets-3.0.1.md | 18 +++ .../8453-components-3.0.0.md | 29 ++++ .../8453-components-3.0.1.md | 29 ++++ docs/deployed-addresses/8453-hyUSD.md | 24 ++++ hardhat.config.ts | 5 +- scripts/compile-addresses.sh | 37 +++++ tasks/deployment/get-addresses.ts | 126 +++++++++++------- utils/env.ts | 1 + 22 files changed, 592 insertions(+), 130 deletions(-) create mode 100644 docs/deployed-addresses/1-USDC+.md create mode 100644 docs/deployed-addresses/1-assets-2.0.0.md create mode 100644 docs/deployed-addresses/1-assets-3.0.0.md create mode 100644 docs/deployed-addresses/1-assets-3.0.1.md create mode 100644 docs/deployed-addresses/1-components-2.0.0.md create mode 100644 docs/deployed-addresses/1-components-3.0.0.md create mode 100644 docs/deployed-addresses/1-components-3.0.1.md create mode 100644 docs/deployed-addresses/8453-Vaya.md create mode 100644 docs/deployed-addresses/8453-assets-3.0.0.md create mode 100644 docs/deployed-addresses/8453-assets-3.0.1.md create mode 100644 docs/deployed-addresses/8453-components-3.0.0.md create mode 100644 docs/deployed-addresses/8453-components-3.0.1.md create mode 100644 docs/deployed-addresses/8453-hyUSD.md create mode 100755 scripts/compile-addresses.sh diff --git a/.env.example b/.env.example index 98f4a01a3..a9a6f277c 100644 --- a/.env.example +++ b/.env.example @@ -15,6 +15,7 @@ MNEMONIC='copy here your mnemonic words' # Etherscan API - for contract verification ETHERSCAN_API_KEY=ABC123ABC123ABC123ABC123ABC123ABC1 +BASESCAN_API_KEY=ABC123ABC123ABC123ABC123ABC123ABC1 # WARNING: all of the following will make SLOW a truthy value: # SLOW=0 diff --git a/docs/deployed-addresses/1-ETH+.md b/docs/deployed-addresses/1-ETH+.md index cbb06461a..0445b0a03 100644 --- a/docs/deployed-addresses/1-ETH+.md +++ b/docs/deployed-addresses/1-ETH+.md @@ -1,24 +1,24 @@ -# [ETH+ (ETHPlus)](https://etherscan.io/address/0xE72B141DF173b999AE7c1aDcbF60Cc9833Ce56a8) +# [ETH+ (ETHPlus) - Mainnet](https://etherscan.io/address/0xE72B141DF173b999AE7c1aDcbF60Cc9833Ce56a8) ## Component Addresses | Contract | Address | Implementation | Version | | --- | --- | --- | --- | -| RToken | [0xE72B141DF173b999AE7c1aDcbF60Cc9833Ce56a8](https://etherscan.io/address/0xE72B141DF173b999AE7c1aDcbF60Cc9833Ce56a8) | [0x5643d5ac6b79ae8467cf2f416da6d465d8e7d9c1](https://etherscan.io/address/0x5643d5ac6b79ae8467cf2f416da6d465d8e7d9c1#code) | 2.1.0 | -| Main | [0xb6A7d481719E97e142114e905E86a39a2Fa0dfD2](https://etherscan.io/address/0xb6A7d481719E97e142114e905E86a39a2Fa0dfD2) | [0x143c35bfe04720394ebd18abeca83ea9d8bede2f](https://etherscan.io/address/0x143c35bfe04720394ebd18abeca83ea9d8bede2f#code) | 2.0.0 | -| AssetRegistry | [0xf526f058858E4cD060cFDD775077999562b31bE0](https://etherscan.io/address/0xf526f058858E4cD060cFDD775077999562b31bE0) | [0x5a004f70b2450e909b4048050c585549ab8afeb8](https://etherscan.io/address/0x5a004f70b2450e909b4048050c585549ab8afeb8#code) | 2.0.0 | -| BackingManager | [0x608e1e01EF072c15E5Da7235ce793f4d24eCa67B](https://etherscan.io/address/0x608e1e01EF072c15E5Da7235ce793f4d24eCa67B) | [0xa0d4b6ad503e776457dbf4695d462ddf8621a1cc](https://etherscan.io/address/0xa0d4b6ad503e776457dbf4695d462ddf8621a1cc#code) | 2.0.0 | -| BasketHandler | [0x56f40A33e3a3fE2F1614bf82CBeb35987ac10194](https://etherscan.io/address/0x56f40A33e3a3fE2F1614bf82CBeb35987ac10194) | [0x5c13b3b6f40ad4bf7aa4793f844ba24e85482030](https://etherscan.io/address/0x5c13b3b6f40ad4bf7aa4793f844ba24e85482030#code) | 2.1.0 | -| Broker | [0x6ca42ce37e5ece334066C504ba37144b4f14D50a](https://etherscan.io/address/0x6ca42ce37e5ece334066C504ba37144b4f14D50a) | [0x89209a52d085d975b14555f3e828f43fb7eaf3b7](https://etherscan.io/address/0x89209a52d085d975b14555f3e828f43fb7eaf3b7#code) | 2.1.0 | -| RSRTrader | [0x6E20823cA50aA026b99789c8D468a01f8aA3581C](https://etherscan.io/address/0x6E20823cA50aA026b99789c8D468a01f8aA3581C) | [](https://etherscan.io/address/#code) | 2.0.0 | -| RTokenTrader | [0x977cb0e300a58978f597fc65ED5a2D2784D2DCF9](https://etherscan.io/address/0x977cb0e300a58978f597fc65ED5a2D2784D2DCF9) | [0xe5bd2249118b6a4b39be195951579dc9af05029a](https://etherscan.io/address/0xe5bd2249118b6a4b39be195951579dc9af05029a#code) | 2.0.0 | -| Distributor | [0x954B4770462e8894BcD2451543482F11DC160e1e](https://etherscan.io/address/0x954B4770462e8894BcD2451543482F11DC160e1e) | [](https://etherscan.io/address/#code) | 2.0.0 | -| Furnace | [0x9862efAB36F81524B24F787e07C97e2F5A6c206e](https://etherscan.io/address/0x9862efAB36F81524B24F787e07C97e2F5A6c206e) | [](https://etherscan.io/address/#code) | 2.0.0 | -| StRSR | [0xffa151Ad0A0e2e40F39f9e5E9F87cF9E45e819dd](https://etherscan.io/address/0xffa151Ad0A0e2e40F39f9e5E9F87cF9E45e819dd) | [0xfda8c62d86e426d5fb653b6c44a455bb657b693f](https://etherscan.io/address/0xfda8c62d86e426d5fb653b6c44a455bb657b693f#code) | 2.1.0 | +| RToken | [0xE72B141DF173b999AE7c1aDcbF60Cc9833Ce56a8](https://etherscan.io/address/0xE72B141DF173b999AE7c1aDcbF60Cc9833Ce56a8) |[0xb6f01aa21defa4a4de33bed16bcc06cfd23b6a6f](https://etherscan.io/address/0xb6f01aa21defa4a4de33bed16bcc06cfd23b6a6f#code) | 3.0.0 | +| Main | [0xb6A7d481719E97e142114e905E86a39a2Fa0dfD2](https://etherscan.io/address/0xb6A7d481719E97e142114e905E86a39a2Fa0dfD2) |[0xf5366f67ff66a3cefcb18809a762d5b5931febf8](https://etherscan.io/address/0xf5366f67ff66a3cefcb18809a762d5b5931febf8#code) | 3.0.0 | +| AssetRegistry | [0xf526f058858E4cD060cFDD775077999562b31bE0](https://etherscan.io/address/0xf526f058858E4cD060cFDD775077999562b31bE0) |[0x773cf50adcf1730964d4a9b664baed4b9ffc2450](https://etherscan.io/address/0x773cf50adcf1730964d4a9b664baed4b9ffc2450#code) | 3.0.0 | +| BackingManager | [0x608e1e01EF072c15E5Da7235ce793f4d24eCa67B](https://etherscan.io/address/0x608e1e01EF072c15E5Da7235ce793f4d24eCa67B) |[0xbbc532a80dd141449330c1232c953da6801aed01](https://etherscan.io/address/0xbbc532a80dd141449330c1232c953da6801aed01#code) | 3.0.1 | +| BasketHandler | [0x56f40A33e3a3fE2F1614bf82CBeb35987ac10194](https://etherscan.io/address/0x56f40A33e3a3fE2F1614bf82CBeb35987ac10194) |[0x5ccca36cbb66a4e4033b08b4f6d7bac96ba55cdc](https://etherscan.io/address/0x5ccca36cbb66a4e4033b08b4f6d7bac96ba55cdc#code) | 3.0.0 | +| Broker | [0x6ca42ce37e5ece334066C504ba37144b4f14D50a](https://etherscan.io/address/0x6ca42ce37e5ece334066C504ba37144b4f14D50a) |[0x9a5f8a9bb91a868b7501139eedb20dc129d28f04](https://etherscan.io/address/0x9a5f8a9bb91a868b7501139eedb20dc129d28f04#code) | 3.0.0 | +| RSRTrader | [0x6E20823cA50aA026b99789c8D468a01f8aA3581C](https://etherscan.io/address/0x6E20823cA50aA026b99789c8D468a01f8aA3581C) |[0x5e3e13d3d2a0adfe16f8ef5e7a2992a88e9e65af](https://etherscan.io/address/0x5e3e13d3d2a0adfe16f8ef5e7a2992a88e9e65af#code) | 3.0.1 | +| RTokenTrader | [0x977cb0e300a58978f597fc65ED5a2D2784D2DCF9](https://etherscan.io/address/0x977cb0e300a58978f597fc65ED5a2D2784D2DCF9) |[0x5e3e13d3d2a0adfe16f8ef5e7a2992a88e9e65af](https://etherscan.io/address/0x5e3e13d3d2a0adfe16f8ef5e7a2992a88e9e65af#code) | 3.0.1 | +| Distributor | [0x954B4770462e8894BcD2451543482F11DC160e1e](https://etherscan.io/address/0x954B4770462e8894BcD2451543482F11DC160e1e) |[0x0e8439a17ba5cbb2d9823c03a02566b9dd5d96ac](https://etherscan.io/address/0x0e8439a17ba5cbb2d9823c03a02566b9dd5d96ac#code) | 3.0.0 | +| Furnace | [0x9862efAB36F81524B24F787e07C97e2F5A6c206e](https://etherscan.io/address/0x9862efAB36F81524B24F787e07C97e2F5A6c206e) |[0x99580fc649c02347ebc7750524caae5cacf9d34c](https://etherscan.io/address/0x99580fc649c02347ebc7750524caae5cacf9d34c#code) | 3.0.0 | +| StRSR | [0xffa151Ad0A0e2e40F39f9e5E9F87cF9E45e819dd](https://etherscan.io/address/0xffa151Ad0A0e2e40F39f9e5E9F87cF9E45e819dd) |[0xc98eafc9f249d90e3e35e729e3679dd75a899c10](https://etherscan.io/address/0xc98eafc9f249d90e3e35e729e3679dd75a899c10#code) | 3.0.0 | ## Governance Addresses -| Contract | Address | Implementation | Version | -| --- | --- | --- | --- | -| Governor Alexios | [0x239cDcBE174B4728c870A24F77540dAB3dC5F981](https://etherscan.io/address/0x239cDcBE174B4728c870A24F77540dAB3dC5F981) | [](https://etherscan.io/address/#code) | 1 | -| Timelock | [0x5f4A10aE2fF68bE3cdA7d7FB432b10C6BFA6457B](https://etherscan.io/address/0x5f4A10aE2fF68bE3cdA7d7FB432b10C6BFA6457B) | [](https://etherscan.io/address/#code) | N/A | +| Contract | Address | +| --- | --- | +| Governor Alexios | [0x239cDcBE174B4728c870A24F77540dAB3dC5F981](https://etherscan.io/address/0x239cDcBE174B4728c870A24F77540dAB3dC5F981) | +| Timelock | [0x5f4A10aE2fF68bE3cdA7d7FB432b10C6BFA6457B](https://etherscan.io/address/0x5f4A10aE2fF68bE3cdA7d7FB432b10C6BFA6457B) | \ No newline at end of file diff --git a/docs/deployed-addresses/1-USDC+.md b/docs/deployed-addresses/1-USDC+.md new file mode 100644 index 000000000..ace1aba0a --- /dev/null +++ b/docs/deployed-addresses/1-USDC+.md @@ -0,0 +1,24 @@ +# [USDC+ (USDC Plus) - Mainnet](https://etherscan.io/address/0xFc0B1EEf20e4c68B3DCF36c4537Cfa7Ce46CA70b) +## Component Addresses +| Contract | Address | Implementation | Version | +| --- | --- | --- | --- | +| RToken | [0xFc0B1EEf20e4c68B3DCF36c4537Cfa7Ce46CA70b](https://etherscan.io/address/0xFc0B1EEf20e4c68B3DCF36c4537Cfa7Ce46CA70b) |[0xb6f01aa21defa4a4de33bed16bcc06cfd23b6a6f](https://etherscan.io/address/0xb6f01aa21defa4a4de33bed16bcc06cfd23b6a6f#code) | 3.0.0 | +| Main | [0xeC11Cf537497141aC820615F4f399be4a1638Af6](https://etherscan.io/address/0xeC11Cf537497141aC820615F4f399be4a1638Af6) |[0xf5366f67ff66a3cefcb18809a762d5b5931febf8](https://etherscan.io/address/0xf5366f67ff66a3cefcb18809a762d5b5931febf8#code) | 3.0.0 | +| AssetRegistry | [0xbCd2719E4862d1Eb32A36e8C956D3118ebB2f511](https://etherscan.io/address/0xbCd2719E4862d1Eb32A36e8C956D3118ebB2f511) |[0x773cf50adcf1730964d4a9b664baed4b9ffc2450](https://etherscan.io/address/0x773cf50adcf1730964d4a9b664baed4b9ffc2450#code) | 3.0.0 | +| BackingManager | [0x0Ea1f556fe149cBc75C25C12C9A804937144fbf2](https://etherscan.io/address/0x0Ea1f556fe149cBc75C25C12C9A804937144fbf2) |[0x0a388fc05aa017b31fb084e43e7aeafdbc043080](https://etherscan.io/address/0x0a388fc05aa017b31fb084e43e7aeafdbc043080#code) | 3.0.0 | +| BasketHandler | [0x162587b5B4c01d26AfaFD4A1ccA61CdC632c9508](https://etherscan.io/address/0x162587b5B4c01d26AfaFD4A1ccA61CdC632c9508) |[0x5ccca36cbb66a4e4033b08b4f6d7bac96ba55cdc](https://etherscan.io/address/0x5ccca36cbb66a4e4033b08b4f6d7bac96ba55cdc#code) | 3.0.0 | +| Broker | [0x7aFc1d0bDFE2F3887466534516447bA4cE97B305](https://etherscan.io/address/0x7aFc1d0bDFE2F3887466534516447bA4cE97B305) |[0x9a5f8a9bb91a868b7501139eedb20dc129d28f04](https://etherscan.io/address/0x9a5f8a9bb91a868b7501139eedb20dc129d28f04#code) | 3.0.0 | +| RSRTrader | [0x892E53828E264c142C929ce8f852352E6b799e19](https://etherscan.io/address/0x892E53828E264c142C929ce8f852352E6b799e19) |[0x1cca3fbb11c4b734183f997679d52defa74b613a](https://etherscan.io/address/0x1cca3fbb11c4b734183f997679d52defa74b613a#code) | 3.0.0 | +| RTokenTrader | [0x0a1c10727F7aE292521078Dfc1280c6C01277EEf](https://etherscan.io/address/0x0a1c10727F7aE292521078Dfc1280c6C01277EEf) |[0x1cca3fbb11c4b734183f997679d52defa74b613a](https://etherscan.io/address/0x1cca3fbb11c4b734183f997679d52defa74b613a#code) | 3.0.0 | +| Distributor | [0x348F00534b0aa8b575D24356E7C3e1a5e6403fA1](https://etherscan.io/address/0x348F00534b0aa8b575D24356E7C3e1a5e6403fA1) |[0x0e8439a17ba5cbb2d9823c03a02566b9dd5d96ac](https://etherscan.io/address/0x0e8439a17ba5cbb2d9823c03a02566b9dd5d96ac#code) | 3.0.0 | +| Furnace | [0x106f0A726cBcfAFadB6405860b37F78d287C44e1](https://etherscan.io/address/0x106f0A726cBcfAFadB6405860b37F78d287C44e1) |[0x99580fc649c02347ebc7750524caae5cacf9d34c](https://etherscan.io/address/0x99580fc649c02347ebc7750524caae5cacf9d34c#code) | 3.0.0 | +| StRSR | [0x1C77EBBab708153f5f899C29b155a6cc92A2Ac40](https://etherscan.io/address/0x1C77EBBab708153f5f899C29b155a6cc92A2Ac40) |[0xc98eafc9f249d90e3e35e729e3679dd75a899c10](https://etherscan.io/address/0xc98eafc9f249d90e3e35e729e3679dd75a899c10#code) | 3.0.0 | + + +## Governance Addresses +| Contract | Address | +| --- | --- | +| Governor Alexios | [0xc837C557071D604bCb1058c8c4891ddBe8FDD630](https://etherscan.io/address/0xc837C557071D604bCb1058c8c4891ddBe8FDD630) | +| Timelock | [0x6C957417cB6DF6e821eec8555DEE8b116C291999](https://etherscan.io/address/0x6C957417cB6DF6e821eec8555DEE8b116C291999) | + + \ No newline at end of file diff --git a/docs/deployed-addresses/1-assets-2.0.0.md b/docs/deployed-addresses/1-assets-2.0.0.md new file mode 100644 index 000000000..a748236e8 --- /dev/null +++ b/docs/deployed-addresses/1-assets-2.0.0.md @@ -0,0 +1,31 @@ +# Assets (Mainnet 2.0.0) +## Assets +| Contract | Address | +| --- | --- | +| stkAAVE | [0xC6e5CF6a9d215D2D3d4D433FABaeA44D5f396c43](https://etherscan.io/address/0xC6e5CF6a9d215D2D3d4D433FABaeA44D5f396c43) | +| COMP | [0xd5cc2875Bbc53AFBcc41Bf04E7bA37F2894CBFa1](https://etherscan.io/address/0xd5cc2875Bbc53AFBcc41Bf04E7bA37F2894CBFa1) | + +## Collaterals +| Contract | Address | +| --- | --- | +| DAI | [0x77CFE9fe00D45DF94a18aB34Af451199aAab2b5e](https://etherscan.io/address/0x77CFE9fe00D45DF94a18aB34Af451199aAab2b5e) | +| USDC | [0x9837ce9825d52672ca02533b5a160212bf901963](https://etherscan.io/address/0x9837ce9825d52672ca02533b5a160212bf901963) | +| USDT | [0x8960ae89C8fEe76515c1Fa5DAbc100996E143798](https://etherscan.io/address/0x8960ae89C8fEe76515c1Fa5DAbc100996E143798) | +| USDP | [0xFDC36294aF736122456687D14DE7d42598319b7C](https://etherscan.io/address/0xFDC36294aF736122456687D14DE7d42598319b7C) | +| TUSD | [0x95171C5C8602F889fD052e978B4B2a8D56e357a5](https://etherscan.io/address/0x95171C5C8602F889fD052e978B4B2a8D56e357a5) | +| BUSD | [0x9f99F37Fe0b419b3661403DeceA09bC44F615D46](https://etherscan.io/address/0x9f99F37Fe0b419b3661403DeceA09bC44F615D46) | +| aDAI | [0xF934c3dbD394E3D24DB539eF6c044a03090Cd702](https://etherscan.io/address/0xF934c3dbD394E3D24DB539eF6c044a03090Cd702) | +| aUSDC | [0xE5a1da41af2919A43daC3ea22C2Bdd230a3E19f5](https://etherscan.io/address/0xE5a1da41af2919A43daC3ea22C2Bdd230a3E19f5) | +| aUSDT | [0x7FDbE32980861CC63751a0aEa5a5b3Ecb5119ACD](https://etherscan.io/address/0x7FDbE32980861CC63751a0aEa5a5b3Ecb5119ACD) | +| aBUSD | [0xCBD013Dc8387B69620EE3c44c665826852686f24](https://etherscan.io/address/0xCBD013Dc8387B69620EE3c44c665826852686f24) | +| aUSDP | [0x1d51a359e113DBb71F3fE49108FF53990770b61c](https://etherscan.io/address/0x1d51a359e113DBb71F3fE49108FF53990770b61c) | +| cDAI | [0x2b28364A0E9c37BFb0685cB441f11D686F1a9b6c](https://etherscan.io/address/0x2b28364A0E9c37BFb0685cB441f11D686F1a9b6c) | +| cUSDC | [0x8a01936B12bcbEEC394ed497600eDe41D409a83F](https://etherscan.io/address/0x8a01936B12bcbEEC394ed497600eDe41D409a83F) | +| cUSDT | [0x69Bd37B82794d64DC0C8c9652a6151f8954fD378](https://etherscan.io/address/0x69Bd37B82794d64DC0C8c9652a6151f8954fD378) | +| cUSDP | [0xe4c0Ba009782A8908A3821b4950d9d75ECdB2dA6](https://etherscan.io/address/0xe4c0Ba009782A8908A3821b4950d9d75ECdB2dA6) | +| cWBTC | [0x03BCc97B6B0Bb7bc0D5497792F912A20bC64d162](https://etherscan.io/address/0x03BCc97B6B0Bb7bc0D5497792F912A20bC64d162) | +| cETH | [0xdDB74ee1Ce4fa8185217E73fD0666703f58c424C](https://etherscan.io/address/0xdDB74ee1Ce4fa8185217E73fD0666703f58c424C) | +| WBTC | [0xA9C7aE7a71355E5D7A901fB5153D7339f7195A13](https://etherscan.io/address/0xA9C7aE7a71355E5D7A901fB5153D7339f7195A13) | +| WETH | [0xB3522270B6d8a02AA6d789eA887B1D34af35A193](https://etherscan.io/address/0xB3522270B6d8a02AA6d789eA887B1D34af35A193) | +| EURT | [0xb4eB87250Ecd8f32BeA775dA6D164D92A398d05b](https://etherscan.io/address/0xb4eB87250Ecd8f32BeA775dA6D164D92A398d05b) | + \ No newline at end of file diff --git a/docs/deployed-addresses/1-assets-3.0.0.md b/docs/deployed-addresses/1-assets-3.0.0.md new file mode 100644 index 000000000..63a703592 --- /dev/null +++ b/docs/deployed-addresses/1-assets-3.0.0.md @@ -0,0 +1,55 @@ +# Assets (Mainnet 3.0.0) +## Assets +| Contract | Address | +| --- | --- | +| stkAAVE | [0x6647c880Eb8F57948AF50aB45fca8FE86C154D24](https://etherscan.io/address/0x6647c880Eb8F57948AF50aB45fca8FE86C154D24) | +| COMP | [0xCFA67f42A0fDe4F0Fb612ea5e66170B0465B84c1](https://etherscan.io/address/0xCFA67f42A0fDe4F0Fb612ea5e66170B0465B84c1) | +| CRV | [0x45B950AF443281c5F67c2c7A1d9bBc325ECb8eEA](https://etherscan.io/address/0x45B950AF443281c5F67c2c7A1d9bBc325ECb8eEA) | +| CVX | [0x4024c00bBD0C420E719527D88781bc1543e63dd5](https://etherscan.io/address/0x4024c00bBD0C420E719527D88781bc1543e63dd5) | + +## Collaterals +| Contract | Address | +| --- | --- | +| DAI | [0xf7d1C6eE4C0D84C6B530D53A897daa1E9eB56833](https://etherscan.io/address/0xf7d1C6eE4C0D84C6B530D53A897daa1E9eB56833) | +| USDC | [0xBE9D23040fe22E8Bd8A88BF5101061557355cA04](https://etherscan.io/address/0xBE9D23040fe22E8Bd8A88BF5101061557355cA04) | +| USDT | [0x58D7bF13D3572b08dE5d96373b8097d94B1325ad](https://etherscan.io/address/0x58D7bF13D3572b08dE5d96373b8097d94B1325ad) | +| USDP | [0x2f98bA77a8ca1c630255c4517b1b3878f6e60C89](https://etherscan.io/address/0x2f98bA77a8ca1c630255c4517b1b3878f6e60C89) | +| TUSD | [0x7F9999B2C9D310a5f48dfD070eb5129e1e8565E2](https://etherscan.io/address/0x7F9999B2C9D310a5f48dfD070eb5129e1e8565E2) | +| BUSD | [0xCBcd605088D5A5Da9ceEb3618bc01BFB87387423](https://etherscan.io/address/0xCBcd605088D5A5Da9ceEb3618bc01BFB87387423) | +| aDAI | [0x256b89658bD831CC40283F42e85B1fa8973Db0c9](https://etherscan.io/address/0x256b89658bD831CC40283F42e85B1fa8973Db0c9) | +| aUSDC | [0x7cd9ca6401f743b38b3b16ea314bbab8e9c1ac51](https://etherscan.io/address/0x7cd9ca6401f743b38b3b16ea314bbab8e9c1ac51) | +| aUSDT | [0xe39188ddd4eb27d1d25f5f58cc6a5fd9228eedef](https://etherscan.io/address/0xe39188ddd4eb27d1d25f5f58cc6a5fd9228eedef) | +| aBUSD | [0xeB1A036E83aD95f0a28d0c8E2F20bf7f1B299F05](https://etherscan.io/address/0xeB1A036E83aD95f0a28d0c8E2F20bf7f1B299F05) | +| aUSDP | [0x0d61Ce1801A460eB683b5ed1b6C7965d31b769Fd](https://etherscan.io/address/0x0d61Ce1801A460eB683b5ed1b6C7965d31b769Fd) | +| cDAI | [0x33A8d92B2BE84755441C2b6e39715c4b8938242c](https://etherscan.io/address/0x33A8d92B2BE84755441C2b6e39715c4b8938242c) | +| cUSDC | [0x073F98792ef4c00bB5f11B1F64f13cB25Cde0d8D](https://etherscan.io/address/0x073F98792ef4c00bB5f11B1F64f13cB25Cde0d8D) | +| cUSDT | [0x0EEa20c426EcE7D3dA5b73946bb1626697aA7c59](https://etherscan.io/address/0x0EEa20c426EcE7D3dA5b73946bb1626697aA7c59) | +| cUSDP | [0xA7eCF508CdF5a88ae93b899DE4fcACcB43112Ce8](https://etherscan.io/address/0xA7eCF508CdF5a88ae93b899DE4fcACcB43112Ce8) | +| cWBTC | [0xa570BF93FC51406809dBf52aB898913541C91C20](https://etherscan.io/address/0xa570BF93FC51406809dBf52aB898913541C91C20) | +| cETH | [0xeC12e8412a7AE4598d754f4016D487c269719856](https://etherscan.io/address/0xeC12e8412a7AE4598d754f4016D487c269719856) | +| WBTC | [0x87A959e0377C68A50b08a91ae5ab3aFA7F41ACA4](https://etherscan.io/address/0x87A959e0377C68A50b08a91ae5ab3aFA7F41ACA4) | +| WETH | [0x6B87142C7e6cA80aa3E6ead0351673C45c8990e3](https://etherscan.io/address/0x6B87142C7e6cA80aa3E6ead0351673C45c8990e3) | +| EURT | [0xEBD07CE38e2f46031c982136012472A4D24AE070](https://etherscan.io/address/0xEBD07CE38e2f46031c982136012472A4D24AE070) | +| wstETH | [0x29F2EB4A0D3dC211BB488E9aBe12740cafBCc49C](https://etherscan.io/address/0x29F2EB4A0D3dC211BB488E9aBe12740cafBCc49C) | +| rETH | [0x1103851D1FCDD3f88096fbed812c8FF01949cF9d](https://etherscan.io/address/0x1103851D1FCDD3f88096fbed812c8FF01949cF9d) | +| fUSDC | [0x3C0a9143063Fc306F7D3cBB923ff4879d70Cf1EA](https://etherscan.io/address/0x3C0a9143063Fc306F7D3cBB923ff4879d70Cf1EA) | +| fUSDT | [0xbe6Fb2b2908D85179e34ee0D996e32fa2BF4410A](https://etherscan.io/address/0xbe6Fb2b2908D85179e34ee0D996e32fa2BF4410A) | +| fDAI | [0x33C1665Eb1b3673213Daa5f068ae1026fC8D5875](https://etherscan.io/address/0x33C1665Eb1b3673213Daa5f068ae1026fC8D5875) | +| fFRAX | [0xaAeF84f6FfDE4D0390E14DA9c527d1a1ABf28B92](https://etherscan.io/address/0xaAeF84f6FfDE4D0390E14DA9c527d1a1ABf28B92) | +| cUSDCv3 | [0x85b256e9051B781A0BC0A987857AD6166C94040a](https://etherscan.io/address/0x85b256e9051B781A0BC0A987857AD6166C94040a) | +| cvx3Pool | [0x62C394620f674e85768a7618a6C202baE7fB8Dd1](https://etherscan.io/address/0x62C394620f674e85768a7618a6C202baE7fB8Dd1) | +| cvxeUSDFRAXBP | [0x890FAa00C16EAD6AA76F18A1A7fe9C40838F9122](https://etherscan.io/address/0x890FAa00C16EAD6AA76F18A1A7fe9C40838F9122) | +| cvxMIM3Pool | [0xCBE084C44e7A2223F76362Dcc4EbDacA5Fb1cbA7](https://etherscan.io/address/0xCBE084C44e7A2223F76362Dcc4EbDacA5Fb1cbA7) | +| crv3Pool | [0x8Af118a89c5023Bb2B03C70f70c8B396aE71963D](https://etherscan.io/address/0x8Af118a89c5023Bb2B03C70f70c8B396aE71963D) | +| crveUSDFRAXBP | [0xC87CDFFD680D57BF50De4C364BF4277B8A90098E](https://etherscan.io/address/0xC87CDFFD680D57BF50De4C364BF4277B8A90098E) | +| crvMIM3Pool | [0x14c443d8BdbE9A65F3a23FA4e199d8741D5B38Fa](https://etherscan.io/address/0x14c443d8BdbE9A65F3a23FA4e199d8741D5B38Fa) | +| sDAI | [0xde0e2f0c9792617d3908d92a024caa846354cea2](https://etherscan.io/address/0xde0e2f0c9792617d3908d92a024caa846354cea2) | +| cbETH | [0x3962695aCce0Efce11cFf997890f3D1D7467ec40](https://etherscan.io/address/0x3962695aCce0Efce11cFf997890f3D1D7467ec40) | +| maUSDT | [0xd000a79bd2a07eb6d2e02ecad73437de40e52d69](https://etherscan.io/address/0xd000a79bd2a07eb6d2e02ecad73437de40e52d69) | +| maUSDC | [0x2304E98cD1E2F0fd3b4E30A1Bc6E9594dE2ea9b7](https://etherscan.io/address/0x2304E98cD1E2F0fd3b4E30A1Bc6E9594dE2ea9b7) | +| maDAI | [0x9d38BFF9Af50738DF92a54Ceab2a2C2322BB1FAB](https://etherscan.io/address/0x9d38BFF9Af50738DF92a54Ceab2a2C2322BB1FAB) | +| maWBTC | [0x49A44d50d3B1E098DAC9402c4aF8D0C0E499F250](https://etherscan.io/address/0x49A44d50d3B1E098DAC9402c4aF8D0C0E499F250) | +| maWETH | [0x878b995bDD2D9900BEE896Bd78ADd877672e1637](https://etherscan.io/address/0x878b995bDD2D9900BEE896Bd78ADd877672e1637) | +| maStETH | [0x33E840e5711549358f6d4D11F9Ab2896B36E9822](https://etherscan.io/address/0x33E840e5711549358f6d4D11F9Ab2896B36E9822) | +| aEthUSDC | [0x12c3BB1B0da85fDaE0137aE8fDe901F7D0e106ba](https://etherscan.io/address/0x12c3BB1B0da85fDaE0137aE8fDe901F7D0e106ba) | + \ No newline at end of file diff --git a/docs/deployed-addresses/1-assets-3.0.1.md b/docs/deployed-addresses/1-assets-3.0.1.md new file mode 100644 index 000000000..2b586a2b8 --- /dev/null +++ b/docs/deployed-addresses/1-assets-3.0.1.md @@ -0,0 +1,55 @@ +# Assets (Mainnet 3.0.1) +## Assets +| Contract | Address | +| --- | --- | +| stkAAVE | [0x6647c880Eb8F57948AF50aB45fca8FE86C154D24](https://etherscan.io/address/0x6647c880Eb8F57948AF50aB45fca8FE86C154D24) | +| COMP | [0xCFA67f42A0fDe4F0Fb612ea5e66170B0465B84c1](https://etherscan.io/address/0xCFA67f42A0fDe4F0Fb612ea5e66170B0465B84c1) | +| CRV | [0x45B950AF443281c5F67c2c7A1d9bBc325ECb8eEA](https://etherscan.io/address/0x45B950AF443281c5F67c2c7A1d9bBc325ECb8eEA) | +| CVX | [0x4024c00bBD0C420E719527D88781bc1543e63dd5](https://etherscan.io/address/0x4024c00bBD0C420E719527D88781bc1543e63dd5) | + +## Collaterals +| Contract | Address | +| --- | --- | +| DAI | [0xf7d1C6eE4C0D84C6B530D53A897daa1E9eB56833](https://etherscan.io/address/0xf7d1C6eE4C0D84C6B530D53A897daa1E9eB56833) | +| USDC | [0xBE9D23040fe22E8Bd8A88BF5101061557355cA04](https://etherscan.io/address/0xBE9D23040fe22E8Bd8A88BF5101061557355cA04) | +| USDT | [0x58D7bF13D3572b08dE5d96373b8097d94B1325ad](https://etherscan.io/address/0x58D7bF13D3572b08dE5d96373b8097d94B1325ad) | +| USDP | [0x2f98bA77a8ca1c630255c4517b1b3878f6e60C89](https://etherscan.io/address/0x2f98bA77a8ca1c630255c4517b1b3878f6e60C89) | +| TUSD | [0x7F9999B2C9D310a5f48dfD070eb5129e1e8565E2](https://etherscan.io/address/0x7F9999B2C9D310a5f48dfD070eb5129e1e8565E2) | +| BUSD | [0xCBcd605088D5A5Da9ceEb3618bc01BFB87387423](https://etherscan.io/address/0xCBcd605088D5A5Da9ceEb3618bc01BFB87387423) | +| aDAI | [0x256b89658bD831CC40283F42e85B1fa8973Db0c9](https://etherscan.io/address/0x256b89658bD831CC40283F42e85B1fa8973Db0c9) | +| aUSDC | [0x7cd9ca6401f743b38b3b16ea314bbab8e9c1ac51](https://etherscan.io/address/0x7cd9ca6401f743b38b3b16ea314bbab8e9c1ac51) | +| aUSDT | [0xe39188ddd4eb27d1d25f5f58cc6a5fd9228eedef](https://etherscan.io/address/0xe39188ddd4eb27d1d25f5f58cc6a5fd9228eedef) | +| aBUSD | [0xeB1A036E83aD95f0a28d0c8E2F20bf7f1B299F05](https://etherscan.io/address/0xeB1A036E83aD95f0a28d0c8E2F20bf7f1B299F05) | +| aUSDP | [0x0d61Ce1801A460eB683b5ed1b6C7965d31b769Fd](https://etherscan.io/address/0x0d61Ce1801A460eB683b5ed1b6C7965d31b769Fd) | +| cDAI | [0x33A8d92B2BE84755441C2b6e39715c4b8938242c](https://etherscan.io/address/0x33A8d92B2BE84755441C2b6e39715c4b8938242c) | +| cUSDC | [0x073F98792ef4c00bB5f11B1F64f13cB25Cde0d8D](https://etherscan.io/address/0x073F98792ef4c00bB5f11B1F64f13cB25Cde0d8D) | +| cUSDT | [0x0EEa20c426EcE7D3dA5b73946bb1626697aA7c59](https://etherscan.io/address/0x0EEa20c426EcE7D3dA5b73946bb1626697aA7c59) | +| cUSDP | [0xA7eCF508CdF5a88ae93b899DE4fcACcB43112Ce8](https://etherscan.io/address/0xA7eCF508CdF5a88ae93b899DE4fcACcB43112Ce8) | +| cWBTC | [0xa570BF93FC51406809dBf52aB898913541C91C20](https://etherscan.io/address/0xa570BF93FC51406809dBf52aB898913541C91C20) | +| cETH | [0xeC12e8412a7AE4598d754f4016D487c269719856](https://etherscan.io/address/0xeC12e8412a7AE4598d754f4016D487c269719856) | +| WBTC | [0x87A959e0377C68A50b08a91ae5ab3aFA7F41ACA4](https://etherscan.io/address/0x87A959e0377C68A50b08a91ae5ab3aFA7F41ACA4) | +| WETH | [0x6B87142C7e6cA80aa3E6ead0351673C45c8990e3](https://etherscan.io/address/0x6B87142C7e6cA80aa3E6ead0351673C45c8990e3) | +| EURT | [0xEBD07CE38e2f46031c982136012472A4D24AE070](https://etherscan.io/address/0xEBD07CE38e2f46031c982136012472A4D24AE070) | +| wstETH | [0x29F2EB4A0D3dC211BB488E9aBe12740cafBCc49C](https://etherscan.io/address/0x29F2EB4A0D3dC211BB488E9aBe12740cafBCc49C) | +| rETH | [0x1103851D1FCDD3f88096fbed812c8FF01949cF9d](https://etherscan.io/address/0x1103851D1FCDD3f88096fbed812c8FF01949cF9d) | +| fUSDC | [0x3C0a9143063Fc306F7D3cBB923ff4879d70Cf1EA](https://etherscan.io/address/0x3C0a9143063Fc306F7D3cBB923ff4879d70Cf1EA) | +| fUSDT | [0xbe6Fb2b2908D85179e34ee0D996e32fa2BF4410A](https://etherscan.io/address/0xbe6Fb2b2908D85179e34ee0D996e32fa2BF4410A) | +| fDAI | [0x33C1665Eb1b3673213Daa5f068ae1026fC8D5875](https://etherscan.io/address/0x33C1665Eb1b3673213Daa5f068ae1026fC8D5875) | +| fFRAX | [0xaAeF84f6FfDE4D0390E14DA9c527d1a1ABf28B92](https://etherscan.io/address/0xaAeF84f6FfDE4D0390E14DA9c527d1a1ABf28B92) | +| cUSDCv3 | [0x85b256e9051B781A0BC0A987857AD6166C94040a](https://etherscan.io/address/0x85b256e9051B781A0BC0A987857AD6166C94040a) | +| cvx3Pool | [0x62C394620f674e85768a7618a6C202baE7fB8Dd1](https://etherscan.io/address/0x62C394620f674e85768a7618a6C202baE7fB8Dd1) | +| cvxeUSDFRAXBP | [0x890FAa00C16EAD6AA76F18A1A7fe9C40838F9122](https://etherscan.io/address/0x890FAa00C16EAD6AA76F18A1A7fe9C40838F9122) | +| cvxMIM3Pool | [0xCBE084C44e7A2223F76362Dcc4EbDacA5Fb1cbA7](https://etherscan.io/address/0xCBE084C44e7A2223F76362Dcc4EbDacA5Fb1cbA7) | +| crv3Pool | [0x8Af118a89c5023Bb2B03C70f70c8B396aE71963D](https://etherscan.io/address/0x8Af118a89c5023Bb2B03C70f70c8B396aE71963D) | +| crveUSDFRAXBP | [0xC87CDFFD680D57BF50De4C364BF4277B8A90098E](https://etherscan.io/address/0xC87CDFFD680D57BF50De4C364BF4277B8A90098E) | +| crvMIM3Pool | [0x14c443d8BdbE9A65F3a23FA4e199d8741D5B38Fa](https://etherscan.io/address/0x14c443d8BdbE9A65F3a23FA4e199d8741D5B38Fa) | +| sDAI | [0xde0e2f0c9792617d3908d92a024caa846354cea2](https://etherscan.io/address/0xde0e2f0c9792617d3908d92a024caa846354cea2) | +| cbETH | [0x3962695aCce0Efce11cFf997890f3D1D7467ec40](https://etherscan.io/address/0x3962695aCce0Efce11cFf997890f3D1D7467ec40) | +| maUSDT | [0xd000a79bd2a07eb6d2e02ecad73437de40e52d69](https://etherscan.io/address/0xd000a79bd2a07eb6d2e02ecad73437de40e52d69) | +| maUSDC | [0x2304E98cD1E2F0fd3b4E30A1Bc6E9594dE2ea9b7](https://etherscan.io/address/0x2304E98cD1E2F0fd3b4E30A1Bc6E9594dE2ea9b7) | +| maDAI | [0x9d38BFF9Af50738DF92a54Ceab2a2C2322BB1FAB](https://etherscan.io/address/0x9d38BFF9Af50738DF92a54Ceab2a2C2322BB1FAB) | +| maWBTC | [0x49A44d50d3B1E098DAC9402c4aF8D0C0E499F250](https://etherscan.io/address/0x49A44d50d3B1E098DAC9402c4aF8D0C0E499F250) | +| maWETH | [0x878b995bDD2D9900BEE896Bd78ADd877672e1637](https://etherscan.io/address/0x878b995bDD2D9900BEE896Bd78ADd877672e1637) | +| maStETH | [0x33E840e5711549358f6d4D11F9Ab2896B36E9822](https://etherscan.io/address/0x33E840e5711549358f6d4D11F9Ab2896B36E9822) | +| aEthUSDC | [0x12c3BB1B0da85fDaE0137aE8fDe901F7D0e106ba](https://etherscan.io/address/0x12c3BB1B0da85fDaE0137aE8fDe901F7D0e106ba) | + \ No newline at end of file diff --git a/docs/deployed-addresses/1-components-2.0.0.md b/docs/deployed-addresses/1-components-2.0.0.md new file mode 100644 index 000000000..7d1551fe1 --- /dev/null +++ b/docs/deployed-addresses/1-components-2.0.0.md @@ -0,0 +1,28 @@ +# Component Implementations (Mainnet 2.0.0) +## Component Addresses +| Contract | Address | Version | +| --- | --- | --- | +| AssetRegistry | [0x5a004F70b2450E909B4048050c585549Ab8afeB8](https://etherscan.io/address/0x5a004F70b2450E909B4048050c585549Ab8afeB8) | 2.0.0 | +| BackingManager | [0xa0D4b6aD503E776457dBF4695d462DdF8621A1CC](https://etherscan.io/address/0xa0D4b6aD503E776457dBF4695d462DdF8621A1CC) | 2.0.0 | +| BasketHandler | [0x0Ef3c7fE9c1cF7352D52E2867652b7547DeFdbe5](https://etherscan.io/address/0x0Ef3c7fE9c1cF7352D52E2867652b7547DeFdbe5) | 2.0.0 | +| Broker | [0x5a0f5e19E963206ec78FE8BF5fa53108918DD898](https://etherscan.io/address/0x5a0f5e19E963206ec78FE8BF5fa53108918DD898) | 2.0.0 | +| Deployer | [0xFd6CC4F251eaE6d02f9F7B41D1e80464D3d2F377](https://etherscan.io/address/0xFd6CC4F251eaE6d02f9F7B41D1e80464D3d2F377) | 2.0.0 | +| Distributor | [0xc78c5a84F30317B5F7D87170Ec21DC73Df38d569](https://etherscan.io/address/0xc78c5a84F30317B5F7D87170Ec21DC73Df38d569) | 2.0.0 | +| FacadeAct | [0xb80cb6068f743868D38b7abc2c55a720c06c44d0](https://etherscan.io/address/0xb80cb6068f743868D38b7abc2c55a720c06c44d0) | N/A | +| FacadeMonitor | [0xF3458200eDe2C5A592757dc0BA9A915e9CCA77C6](https://etherscan.io/address/0xF3458200eDe2C5A592757dc0BA9A915e9CCA77C6) | N/A | +| FacadeRead | [0x80b24e984e4fc92a4846b044286DcCcd66564DB9](https://etherscan.io/address/0x80b24e984e4fc92a4846b044286DcCcd66564DB9) | N/A | +| FacadeWrite | [0x24D0AAAC80a457Be7843C59d45a1B90fbb02ED8e](https://etherscan.io/address/0x24D0AAAC80a457Be7843C59d45a1B90fbb02ED8e) | N/A | +| FacadeWriteLib | [0x2117cb9b173077a5efd0e4ce0a21c6b3add65a26](https://etherscan.io/address/0x2117cb9b173077a5efd0e4ce0a21c6b3add65a26) | N/A | +| Furnace | [0x393002573ea4A3d74A80F3B1Af436a3ee3A30c96](https://etherscan.io/address/0x393002573ea4A3d74A80F3B1Af436a3ee3A30c96) | 2.0.0 | +| GNOSIS_EASY_AUCTION | [0x0b7fFc1f4AD541A4Ed16b40D8c37f0929158D101](https://etherscan.io/address/0x0b7fFc1f4AD541A4Ed16b40D8c37f0929158D101) | N/A | +| Main | [0x143C35bFe04720394eBd18AbECa83eA9D8BEdE2F](https://etherscan.io/address/0x143C35bFe04720394eBd18AbECa83eA9D8BEdE2F) | 2.0.0 | +| RSR | [0x320623b8e4ff03373931769a31fc52a4e78b5d70](https://etherscan.io/address/0x320623b8e4ff03373931769a31fc52a4e78b5d70) | N/A | +| RSR_FEED | [0x759bBC1be8F90eE6457C44abc7d443842a976d02](https://etherscan.io/address/0x759bBC1be8F90eE6457C44abc7d443842a976d02) | N/A | +| RsrAsset | [0x2c312da96f98a5b7822270f69afd2d7ae8e748dc](https://etherscan.io/address/0x2c312da96f98a5b7822270f69afd2d7ae8e748dc) | N/A | +| RsrTrader | [0xE5bD2249118b6a4B39Be195951579dC9Af05029a](https://etherscan.io/address/0xE5bD2249118b6a4B39Be195951579dC9Af05029a) | 2.0.0 | +| RToken | [0xEcbBA78d8cD654DFC582cB7FCF31D8a2A0B7A6cC](https://etherscan.io/address/0xEcbBA78d8cD654DFC582cB7FCF31D8a2A0B7A6cC) | 2.0.0 | +| RTokenTrader | [0xE5bD2249118b6a4B39Be195951579dC9Af05029a](https://etherscan.io/address/0xE5bD2249118b6a4B39Be195951579dC9Af05029a) | 2.0.0 | +| StRSR | [0x30B29539b5302Ebce52479275dfC9DFAbb66A047](https://etherscan.io/address/0x30B29539b5302Ebce52479275dfC9DFAbb66A047) | 2.0.0 | +| Trade | [0xAc543Ee89A2238945f7D7Ad4d9Cf958721f9757c](https://etherscan.io/address/0xAc543Ee89A2238945f7D7Ad4d9Cf958721f9757c) | N/A | +| TradingLib | [0x81b19Af39ab589D0Ca211DC3Dee4cfF7072eb478](https://etherscan.io/address/0x81b19Af39ab589D0Ca211DC3Dee4cfF7072eb478) | N/A | + \ No newline at end of file diff --git a/docs/deployed-addresses/1-components-2.1.0.md b/docs/deployed-addresses/1-components-2.1.0.md index 4ead78322..7fecad603 100644 --- a/docs/deployed-addresses/1-components-2.1.0.md +++ b/docs/deployed-addresses/1-components-2.1.0.md @@ -1,31 +1,31 @@ # Component Implementations (Mainnet 2.1.0) ## Component Addresses -| Contract | Address | Implementation | Version | -| --- | --- | --- | --- | -| AssetRegistry | [0x5a004F70b2450E909B4048050c585549Ab8afeB8](https://etherscan.io/address/0x5a004F70b2450E909B4048050c585549Ab8afeB8) | -| BackingManager | [0xa0D4b6aD503E776457dBF4695d462DdF8621A1CC](https://etherscan.io/address/0xa0D4b6aD503E776457dBF4695d462DdF8621A1CC) | -| BasketHandler | [0x5c13b3b6f40aD4bF7aa4793F844BA24E85482030](https://etherscan.io/address/0x5c13b3b6f40aD4bF7aa4793F844BA24E85482030) | -| Broker | [0x89209a52d085D975b14555F3e828F43fb7EaF3B7](https://etherscan.io/address/0x89209a52d085D975b14555F3e828F43fb7EaF3B7) | -| CvxMiningLib | [0xA6B8934a82874788043A75d50ca74a18732DC660](https://etherscan.io/address/0xA6B8934a82874788043A75d50ca74a18732DC660) | -| Deployer | [0x5c46b718Cd79F2BBA6869A3BeC13401b9a4B69bB](https://etherscan.io/address/0x5c46b718Cd79F2BBA6869A3BeC13401b9a4B69bB) | -| Distributor | [0xc78c5a84F30317B5F7D87170Ec21DC73Df38d569](https://etherscan.io/address/0xc78c5a84F30317B5F7D87170Ec21DC73Df38d569) | -| DutchTrade | [0xAd4B0B11B041BB1342fEA16fc9c12Ef2a6443439](https://etherscan.io/address/0xAd4B0B11B041BB1342fEA16fc9c12Ef2a6443439) | -| FacadeAct | [0x933c5DBdA80f03C102C560e9ed0c29812998fA78](https://etherscan.io/address/0x933c5DBdA80f03C102C560e9ed0c29812998fA78) | -| FacadeMonitor | [0xF3458200eDe2C5A592757dc0BA9A915e9CCA77C6](https://etherscan.io/address/0xF3458200eDe2C5A592757dc0BA9A915e9CCA77C6) | -| FacadeRead | [0xf535Cab96457558eE3eeAF1402fCA6441E832f08](https://etherscan.io/address/0xf535Cab96457558eE3eeAF1402fCA6441E832f08) | -| FacadeWrite | [0x1656D8aAd7Ee892582B9D5c2E9992d9f94ff3629](https://etherscan.io/address/0x1656D8aAd7Ee892582B9D5c2E9992d9f94ff3629) | -| FacadeWriteLib | [0xe33cEF9f56F0d8d2b683c6E1F6afcd1e43b77ea8](https://etherscan.io/address/0xe33cEF9f56F0d8d2b683c6E1F6afcd1e43b77ea8) | -| Furnace | [0x393002573ea4A3d74A80F3B1Af436a3ee3A30c96](https://etherscan.io/address/0x393002573ea4A3d74A80F3B1Af436a3ee3A30c96) | -| GNOSIS_EASY_AUCTION | [0x0b7fFc1f4AD541A4Ed16b40D8c37f0929158D101](https://etherscan.io/address/0x0b7fFc1f4AD541A4Ed16b40D8c37f0929158D101) | -| GnosisTrade | [0xAd4B0B11B041BB1342fEA16fc9c12Ef2a6443439](https://etherscan.io/address/0xAd4B0B11B041BB1342fEA16fc9c12Ef2a6443439) | -| Main | [0x143C35bFe04720394eBd18AbECa83eA9D8BEdE2F](https://etherscan.io/address/0x143C35bFe04720394eBd18AbECa83eA9D8BEdE2F) | -| RSR | [0x320623b8e4ff03373931769a31fc52a4e78b5d70](https://etherscan.io/address/0x320623b8e4ff03373931769a31fc52a4e78b5d70) | -| RSR_FEED | [0x759bBC1be8F90eE6457C44abc7d443842a976d02](https://etherscan.io/address/0x759bBC1be8F90eE6457C44abc7d443842a976d02) | -| RsrAsset | [0x9cd0F8387672fEaaf7C269b62c34C53590d7e948](https://etherscan.io/address/0x9cd0F8387672fEaaf7C269b62c34C53590d7e948) | -| RsrTrader | [0xE5bD2249118b6a4B39Be195951579dC9Af05029a](https://etherscan.io/address/0xE5bD2249118b6a4B39Be195951579dC9Af05029a) | -| RToken | [0x5643D5AC6b79ae8467Cf2F416da6D465d8e7D9C1](https://etherscan.io/address/0x5643D5AC6b79ae8467Cf2F416da6D465d8e7D9C1) | -| RTokenTrader | [0xE5bD2249118b6a4B39Be195951579dC9Af05029a](https://etherscan.io/address/0xE5bD2249118b6a4B39Be195951579dC9Af05029a) | -| StRSR | [0xfDa8C62d86E426D5fB653B6c44a455Bb657b693f](https://etherscan.io/address/0xfDa8C62d86E426D5fB653B6c44a455Bb657b693f) | -| Trade | [0xAd4B0B11B041BB1342fEA16fc9c12Ef2a6443439](https://etherscan.io/address/0xAd4B0B11B041BB1342fEA16fc9c12Ef2a6443439) | -| TradingLib | [0x81b19Af39ab589D0Ca211DC3Dee4cfF7072eb478](https://etherscan.io/address/0x81b19Af39ab589D0Ca211DC3Dee4cfF7072eb478) | - \ No newline at end of file +| Contract | Address | Version | +| --- | --- | --- | +| AssetRegistry | [0x5a004F70b2450E909B4048050c585549Ab8afeB8](https://etherscan.io/address/0x5a004F70b2450E909B4048050c585549Ab8afeB8) | 2.0.0 | +| BackingManager | [0xa0D4b6aD503E776457dBF4695d462DdF8621A1CC](https://etherscan.io/address/0xa0D4b6aD503E776457dBF4695d462DdF8621A1CC) | 2.0.0 | +| BasketHandler | [0x5c13b3b6f40aD4bF7aa4793F844BA24E85482030](https://etherscan.io/address/0x5c13b3b6f40aD4bF7aa4793F844BA24E85482030) | 2.1.0 | +| Broker | [0x89209a52d085D975b14555F3e828F43fb7EaF3B7](https://etherscan.io/address/0x89209a52d085D975b14555F3e828F43fb7EaF3B7) | 2.1.0 | +| CvxMiningLib | [0xA6B8934a82874788043A75d50ca74a18732DC660](https://etherscan.io/address/0xA6B8934a82874788043A75d50ca74a18732DC660) | N/A | +| Deployer | [0x5c46b718Cd79F2BBA6869A3BeC13401b9a4B69bB](https://etherscan.io/address/0x5c46b718Cd79F2BBA6869A3BeC13401b9a4B69bB) | 2.1.0 | +| Distributor | [0xc78c5a84F30317B5F7D87170Ec21DC73Df38d569](https://etherscan.io/address/0xc78c5a84F30317B5F7D87170Ec21DC73Df38d569) | 2.0.0 | +| DutchTrade | [0xAd4B0B11B041BB1342fEA16fc9c12Ef2a6443439](https://etherscan.io/address/0xAd4B0B11B041BB1342fEA16fc9c12Ef2a6443439) | N/A | +| FacadeAct | [0x933c5DBdA80f03C102C560e9ed0c29812998fA78](https://etherscan.io/address/0x933c5DBdA80f03C102C560e9ed0c29812998fA78) | N/A | +| FacadeMonitor | [0xF3458200eDe2C5A592757dc0BA9A915e9CCA77C6](https://etherscan.io/address/0xF3458200eDe2C5A592757dc0BA9A915e9CCA77C6) | N/A | +| FacadeRead | [0xf535Cab96457558eE3eeAF1402fCA6441E832f08](https://etherscan.io/address/0xf535Cab96457558eE3eeAF1402fCA6441E832f08) | N/A | +| FacadeWrite | [0x1656D8aAd7Ee892582B9D5c2E9992d9f94ff3629](https://etherscan.io/address/0x1656D8aAd7Ee892582B9D5c2E9992d9f94ff3629) | N/A | +| FacadeWriteLib | [0xe33cEF9f56F0d8d2b683c6E1F6afcd1e43b77ea8](https://etherscan.io/address/0xe33cEF9f56F0d8d2b683c6E1F6afcd1e43b77ea8) | N/A | +| Furnace | [0x393002573ea4A3d74A80F3B1Af436a3ee3A30c96](https://etherscan.io/address/0x393002573ea4A3d74A80F3B1Af436a3ee3A30c96) | 2.0.0 | +| GNOSIS_EASY_AUCTION | [0x0b7fFc1f4AD541A4Ed16b40D8c37f0929158D101](https://etherscan.io/address/0x0b7fFc1f4AD541A4Ed16b40D8c37f0929158D101) | N/A | +| GnosisTrade | [0xAd4B0B11B041BB1342fEA16fc9c12Ef2a6443439](https://etherscan.io/address/0xAd4B0B11B041BB1342fEA16fc9c12Ef2a6443439) | N/A | +| Main | [0x143C35bFe04720394eBd18AbECa83eA9D8BEdE2F](https://etherscan.io/address/0x143C35bFe04720394eBd18AbECa83eA9D8BEdE2F) | 2.0.0 | +| RSR | [0x320623b8e4ff03373931769a31fc52a4e78b5d70](https://etherscan.io/address/0x320623b8e4ff03373931769a31fc52a4e78b5d70) | N/A | +| RSR_FEED | [0x759bBC1be8F90eE6457C44abc7d443842a976d02](https://etherscan.io/address/0x759bBC1be8F90eE6457C44abc7d443842a976d02) | N/A | +| RsrAsset | [0x9cd0F8387672fEaaf7C269b62c34C53590d7e948](https://etherscan.io/address/0x9cd0F8387672fEaaf7C269b62c34C53590d7e948) | N/A | +| RsrTrader | [0xE5bD2249118b6a4B39Be195951579dC9Af05029a](https://etherscan.io/address/0xE5bD2249118b6a4B39Be195951579dC9Af05029a) | 2.0.0 | +| RToken | [0x5643D5AC6b79ae8467Cf2F416da6D465d8e7D9C1](https://etherscan.io/address/0x5643D5AC6b79ae8467Cf2F416da6D465d8e7D9C1) | 2.1.0 | +| RTokenTrader | [0xE5bD2249118b6a4B39Be195951579dC9Af05029a](https://etherscan.io/address/0xE5bD2249118b6a4B39Be195951579dC9Af05029a) | 2.0.0 | +| StRSR | [0xfDa8C62d86E426D5fB653B6c44a455Bb657b693f](https://etherscan.io/address/0xfDa8C62d86E426D5fB653B6c44a455Bb657b693f) | 2.1.0 | +| Trade | [0xAd4B0B11B041BB1342fEA16fc9c12Ef2a6443439](https://etherscan.io/address/0xAd4B0B11B041BB1342fEA16fc9c12Ef2a6443439) | N/A | +| TradingLib | [0x81b19Af39ab589D0Ca211DC3Dee4cfF7072eb478](https://etherscan.io/address/0x81b19Af39ab589D0Ca211DC3Dee4cfF7072eb478) | N/A | + \ No newline at end of file diff --git a/docs/deployed-addresses/1-components-3.0.0.md b/docs/deployed-addresses/1-components-3.0.0.md new file mode 100644 index 000000000..98024b121 --- /dev/null +++ b/docs/deployed-addresses/1-components-3.0.0.md @@ -0,0 +1,30 @@ +# Component Implementations (Mainnet 3.0.0) +## Component Addresses +| Contract | Address | Version | +| --- | --- | --- | +| AssetRegistry | [0x773cf50adCF1730964D4A9b664BaEd4b9FFC2450](https://etherscan.io/address/0x773cf50adCF1730964D4A9b664BaEd4b9FFC2450) | 3.0.0 | +| BackingManager | [0x0A388FC05AA017b31fb084e43e7aEaFdBc043080](https://etherscan.io/address/0x0A388FC05AA017b31fb084e43e7aEaFdBc043080) | 3.0.0 | +| BasketHandler | [0x5ccca36CbB66a4E4033B08b4F6D7bAc96bA55cDc](https://etherscan.io/address/0x5ccca36CbB66a4E4033B08b4F6D7bAc96bA55cDc) | 3.0.0 | +| BasketLib | [0xA87e9DAe6E9EA5B2Be858686CC6c21B953BfE0B8](https://etherscan.io/address/0xA87e9DAe6E9EA5B2Be858686CC6c21B953BfE0B8) | N/A | +| Broker | [0x9A5F8A9bB91a868b7501139eEdB20dC129D28F04](https://etherscan.io/address/0x9A5F8A9bB91a868b7501139eEdB20dC129D28F04) | 3.0.0 | +| CvxMiningLib | [0xeA4ecB9519Bae14bf343ddde0406C2D6108c1472](https://etherscan.io/address/0xeA4ecB9519Bae14bf343ddde0406C2D6108c1472) | N/A | +| Deployer | [0x15480f5B5ED98A94e1d36b52Dd20e9a35453A38e](https://etherscan.io/address/0x15480f5B5ED98A94e1d36b52Dd20e9a35453A38e) | 3.0.0 | +| Distributor | [0x0e8439a17bA5cBb2D9823c03a02566B9dd5d96Ac](https://etherscan.io/address/0x0e8439a17bA5cBb2D9823c03a02566B9dd5d96Ac) | 3.0.0 | +| DutchTrade | [0x2387C22727ACb91519b80A15AEf393ad40dFdb2F](https://etherscan.io/address/0x2387C22727ACb91519b80A15AEf393ad40dFdb2F) | N/A | +| FacadeAct | [0x801fF27bacc7C00fBef17FC901504c79D59E845C](https://etherscan.io/address/0x801fF27bacc7C00fBef17FC901504c79D59E845C) | N/A | +| FacadeRead | [0x81b9Ae0740CcA7cDc5211b2737de735FBC4BeB3C](https://etherscan.io/address/0x81b9Ae0740CcA7cDc5211b2737de735FBC4BeB3C) | N/A | +| FacadeWrite | [0x41edAFFB50CA1c2FEC86C629F845b8490ced8A2c](https://etherscan.io/address/0x41edAFFB50CA1c2FEC86C629F845b8490ced8A2c) | N/A | +| FacadeWriteLib | [0x0776Ad71Ae99D759354B3f06fe17454b94837B0D](https://etherscan.io/address/0x0776Ad71Ae99D759354B3f06fe17454b94837B0D) | N/A | +| Furnace | [0x99580Fc649c02347eBc7750524CAAe5cAcf9d34c](https://etherscan.io/address/0x99580Fc649c02347eBc7750524CAAe5cAcf9d34c) | 3.0.0 | +| GNOSIS_EASY_AUCTION | [0x0b7fFc1f4AD541A4Ed16b40D8c37f0929158D101](https://etherscan.io/address/0x0b7fFc1f4AD541A4Ed16b40D8c37f0929158D101) | N/A | +| GnosisTrade | [0xe416Db92A1B27c4e28D5560C1EEC03f7c582F630](https://etherscan.io/address/0xe416Db92A1B27c4e28D5560C1EEC03f7c582F630) | N/A | +| Main | [0xF5366f67FF66A3CefcB18809a762D5b5931FebF8](https://etherscan.io/address/0xF5366f67FF66A3CefcB18809a762D5b5931FebF8) | 3.0.0 | +| RSR | [0x320623b8e4ff03373931769a31fc52a4e78b5d70](https://etherscan.io/address/0x320623b8e4ff03373931769a31fc52a4e78b5d70) | N/A | +| RSR_FEED | [0x759bBC1be8F90eE6457C44abc7d443842a976d02](https://etherscan.io/address/0x759bBC1be8F90eE6457C44abc7d443842a976d02) | N/A | +| RsrAsset | [0x7edD40933DfdA0ecEe1ad3E61a5044962284e1A6](https://etherscan.io/address/0x7edD40933DfdA0ecEe1ad3E61a5044962284e1A6) | 3.0.0 | +| RsrTrader | [0x1cCa3FBB11C4b734183f997679d52DeFA74b613A](https://etherscan.io/address/0x1cCa3FBB11C4b734183f997679d52DeFA74b613A) | 3.0.0 | +| RToken | [0xb6f01Aa21defA4a4DE33Bed16BcC06cfd23b6A6F](https://etherscan.io/address/0xb6f01Aa21defA4a4DE33Bed16BcC06cfd23b6A6F) | 3.0.0 | +| RTokenTrader | [0x1cCa3FBB11C4b734183f997679d52DeFA74b613A](https://etherscan.io/address/0x1cCa3FBB11C4b734183f997679d52DeFA74b613A) | 3.0.0 | +| StRSR | [0xC98eaFc9F249D90e3E35E729e3679DD75A899c10](https://etherscan.io/address/0xC98eaFc9F249D90e3E35E729e3679DD75A899c10) | 3.0.0 | +| TradingLib | [0xB81a1fa9A497953CEC7f370CACFA5cc364871A73](https://etherscan.io/address/0xB81a1fa9A497953CEC7f370CACFA5cc364871A73) | N/A | + \ No newline at end of file diff --git a/docs/deployed-addresses/1-components-3.0.1.md b/docs/deployed-addresses/1-components-3.0.1.md new file mode 100644 index 000000000..10ecada01 --- /dev/null +++ b/docs/deployed-addresses/1-components-3.0.1.md @@ -0,0 +1,30 @@ +# Component Implementations (Mainnet 3.0.1) +## Component Addresses +| Contract | Address | Version | +| --- | --- | --- | +| AssetRegistry | [0x773cf50adCF1730964D4A9b664BaEd4b9FFC2450](https://etherscan.io/address/0x773cf50adCF1730964D4A9b664BaEd4b9FFC2450) | 3.0.0 | +| BackingManager | [0xBbC532A80DD141449330c1232C953Da6801Aed01](https://etherscan.io/address/0xBbC532A80DD141449330c1232C953Da6801Aed01) | 3.0.1 | +| BasketHandler | [0x5ccca36CbB66a4E4033B08b4F6D7bAc96bA55cDc](https://etherscan.io/address/0x5ccca36CbB66a4E4033B08b4F6D7bAc96bA55cDc) | 3.0.0 | +| BasketLib | [0xA87e9DAe6E9EA5B2Be858686CC6c21B953BfE0B8](https://etherscan.io/address/0xA87e9DAe6E9EA5B2Be858686CC6c21B953BfE0B8) | N/A | +| Broker | [0x9A5F8A9bB91a868b7501139eEdB20dC129D28F04](https://etherscan.io/address/0x9A5F8A9bB91a868b7501139eEdB20dC129D28F04) | 3.0.0 | +| CvxMiningLib | [0xeA4ecB9519Bae14bf343ddde0406C2D6108c1472](https://etherscan.io/address/0xeA4ecB9519Bae14bf343ddde0406C2D6108c1472) | N/A | +| Deployer | [0x43587CAA7dE69C3c2aD0fb73D4C9da67A8E35b0b](https://etherscan.io/address/0x43587CAA7dE69C3c2aD0fb73D4C9da67A8E35b0b) | 3.0.1 | +| Distributor | [0x0e8439a17bA5cBb2D9823c03a02566B9dd5d96Ac](https://etherscan.io/address/0x0e8439a17bA5cBb2D9823c03a02566B9dd5d96Ac) | 3.0.0 | +| DutchTrade | [0x2387C22727ACb91519b80A15AEf393ad40dFdb2F](https://etherscan.io/address/0x2387C22727ACb91519b80A15AEf393ad40dFdb2F) | N/A | +| FacadeAct | [0x801fF27bacc7C00fBef17FC901504c79D59E845C](https://etherscan.io/address/0x801fF27bacc7C00fBef17FC901504c79D59E845C) | N/A | +| FacadeRead | [0x81b9Ae0740CcA7cDc5211b2737de735FBC4BeB3C](https://etherscan.io/address/0x81b9Ae0740CcA7cDc5211b2737de735FBC4BeB3C) | N/A | +| FacadeWrite | [0x3312507BC3F22430B34D5841A472c767DC5C36e4](https://etherscan.io/address/0x3312507BC3F22430B34D5841A472c767DC5C36e4) | N/A | +| FacadeWriteLib | [0x908Cd3B4B4B6c60d5EB7d1Ca7ECda0e7ceCd6dB1](https://etherscan.io/address/0x908Cd3B4B4B6c60d5EB7d1Ca7ECda0e7ceCd6dB1) | N/A | +| Furnace | [0x99580Fc649c02347eBc7750524CAAe5cAcf9d34c](https://etherscan.io/address/0x99580Fc649c02347eBc7750524CAAe5cAcf9d34c) | 3.0.0 | +| GNOSIS_EASY_AUCTION | [0x0b7fFc1f4AD541A4Ed16b40D8c37f0929158D101](https://etherscan.io/address/0x0b7fFc1f4AD541A4Ed16b40D8c37f0929158D101) | N/A | +| GnosisTrade | [0x4e9B97957a0d1F4c25E42Ccc69E4d2665433FEA3](https://etherscan.io/address/0x4e9B97957a0d1F4c25E42Ccc69E4d2665433FEA3) | N/A | +| Main | [0xF5366f67FF66A3CefcB18809a762D5b5931FebF8](https://etherscan.io/address/0xF5366f67FF66A3CefcB18809a762D5b5931FebF8) | 3.0.0 | +| RSR | [0x320623b8e4ff03373931769a31fc52a4e78b5d70](https://etherscan.io/address/0x320623b8e4ff03373931769a31fc52a4e78b5d70) | N/A | +| RSR_FEED | [0x759bBC1be8F90eE6457C44abc7d443842a976d02](https://etherscan.io/address/0x759bBC1be8F90eE6457C44abc7d443842a976d02) | N/A | +| RsrAsset | [0x7edD40933DfdA0ecEe1ad3E61a5044962284e1A6](https://etherscan.io/address/0x7edD40933DfdA0ecEe1ad3E61a5044962284e1A6) | 3.0.0 | +| RsrTrader | [0x5e3e13d3d2a0adfe16f8EF5E7a2992A88E9e65AF](https://etherscan.io/address/0x5e3e13d3d2a0adfe16f8EF5E7a2992A88E9e65AF) | 3.0.1 | +| RToken | [0xb6f01Aa21defA4a4DE33Bed16BcC06cfd23b6A6F](https://etherscan.io/address/0xb6f01Aa21defA4a4DE33Bed16BcC06cfd23b6A6F) | 3.0.0 | +| RTokenTrader | [0x5e3e13d3d2a0adfe16f8EF5E7a2992A88E9e65AF](https://etherscan.io/address/0x5e3e13d3d2a0adfe16f8EF5E7a2992A88E9e65AF) | 3.0.1 | +| StRSR | [0xC98eaFc9F249D90e3E35E729e3679DD75A899c10](https://etherscan.io/address/0xC98eaFc9F249D90e3E35E729e3679DD75A899c10) | 3.0.0 | +| TradingLib | [0xB81a1fa9A497953CEC7f370CACFA5cc364871A73](https://etherscan.io/address/0xB81a1fa9A497953CEC7f370CACFA5cc364871A73) | N/A | + \ No newline at end of file diff --git a/docs/deployed-addresses/1-eUSD.md b/docs/deployed-addresses/1-eUSD.md index d07209e43..c55496ec4 100644 --- a/docs/deployed-addresses/1-eUSD.md +++ b/docs/deployed-addresses/1-eUSD.md @@ -1,24 +1,24 @@ -# [eUSD (Electronic Dollar)](https://etherscan.io/address/0xA0d69E286B938e21CBf7E51D71F6A4c8918f482F) +# [eUSD (Electronic Dollar) - Mainnet](https://etherscan.io/address/0xA0d69E286B938e21CBf7E51D71F6A4c8918f482F) ## Component Addresses | Contract | Address | Implementation | Version | | --- | --- | --- | --- | -| RToken | [0xA0d69E286B938e21CBf7E51D71F6A4c8918f482F](https://etherscan.io/address/0xA0d69E286B938e21CBf7E51D71F6A4c8918f482F) | [0x5643d5ac6b79ae8467cf2f416da6d465d8e7d9c1](https://etherscan.io/address/0x5643d5ac6b79ae8467cf2f416da6d465d8e7d9c1#code) | 2.1.0 | -| Main | [0x7697aE4dEf3C3Cd52493Ba3a6F57fc6d8c59108a](https://etherscan.io/address/0x7697aE4dEf3C3Cd52493Ba3a6F57fc6d8c59108a) | [0x143c35bfe04720394ebd18abeca83ea9d8bede2f](https://etherscan.io/address/0x143c35bfe04720394ebd18abeca83ea9d8bede2f#code) | 2.0.0 | -| AssetRegistry | [0x9B85aC04A09c8C813c37de9B3d563C2D3F936162](https://etherscan.io/address/0x9B85aC04A09c8C813c37de9B3d563C2D3F936162) | [0x5a004f70b2450e909b4048050c585549ab8afeb8](https://etherscan.io/address/0x5a004f70b2450e909b4048050c585549ab8afeb8#code) | 2.0.0 | -| BackingManager | [0xF014FEF41cCB703975827C8569a3f0940cFD80A4](https://etherscan.io/address/0xF014FEF41cCB703975827C8569a3f0940cFD80A4) | [0xa0d4b6ad503e776457dbf4695d462ddf8621a1cc](https://etherscan.io/address/0xa0d4b6ad503e776457dbf4695d462ddf8621a1cc#code) | 2.0.0 | -| BasketHandler | [0x6d309297ddDFeA104A6E89a132e2f05ce3828e07](https://etherscan.io/address/0x6d309297ddDFeA104A6E89a132e2f05ce3828e07) | [0x5c13b3b6f40ad4bf7aa4793f844ba24e85482030](https://etherscan.io/address/0x5c13b3b6f40ad4bf7aa4793f844ba24e85482030#code) | 2.1.0 | -| Broker | [0x90EB22A31b69C29C34162E0E9278cc0617aA2B50](https://etherscan.io/address/0x90EB22A31b69C29C34162E0E9278cc0617aA2B50) | [0x89209a52d085d975b14555f3e828f43fb7eaf3b7](https://etherscan.io/address/0x89209a52d085d975b14555f3e828f43fb7eaf3b7#code) | 2.1.0 | -| RSRTrader | [0xE04C26F68E0657d402FA95377aa7a2838D6cBA6f](https://etherscan.io/address/0xE04C26F68E0657d402FA95377aa7a2838D6cBA6f) | [0xe5bd2249118b6a4b39be195951579dc9af05029a](https://etherscan.io/address/0xe5bd2249118b6a4b39be195951579dc9af05029a#code) | 2.0.0 | -| RTokenTrader | [0x3d5EbB5399243412c7e895a7AA468c7cD4b1014A](https://etherscan.io/address/0x3d5EbB5399243412c7e895a7AA468c7cD4b1014A) | [0xe5bd2249118b6a4b39be195951579dc9af05029a](https://etherscan.io/address/0xe5bd2249118b6a4b39be195951579dc9af05029a#code) | 2.0.0 | -| Distributor | [0x8a77980f82A1d537600891D782BCd8bd41B85472](https://etherscan.io/address/0x8a77980f82A1d537600891D782BCd8bd41B85472) | [0xc78c5a84f30317b5f7d87170ec21dc73df38d569](https://etherscan.io/address/0xc78c5a84f30317b5f7d87170ec21dc73df38d569#code) | 2.0.0 | -| Furnace | [0x57084b3a6317bea01bA8f7c582eD033d9345c2B2](https://etherscan.io/address/0x57084b3a6317bea01bA8f7c582eD033d9345c2B2) | [0x393002573ea4a3d74a80f3b1af436a3ee3a30c96](https://etherscan.io/address/0x393002573ea4a3d74a80f3b1af436a3ee3a30c96#code) | 2.0.0 | -| StRSR | [0x18ba6e33ceb80f077DEb9260c9111e62f21aE7B8](https://etherscan.io/address/0x18ba6e33ceb80f077DEb9260c9111e62f21aE7B8) | [0xfda8c62d86e426d5fb653b6c44a455bb657b693f](https://etherscan.io/address/0xfda8c62d86e426d5fb653b6c44a455bb657b693f#code) | 2.1.0 | +| RToken | [0xA0d69E286B938e21CBf7E51D71F6A4c8918f482F](https://etherscan.io/address/0xA0d69E286B938e21CBf7E51D71F6A4c8918f482F) |[0xb6f01aa21defa4a4de33bed16bcc06cfd23b6a6f](https://etherscan.io/address/0xb6f01aa21defa4a4de33bed16bcc06cfd23b6a6f#code) | 3.0.0 | +| Main | [0x7697aE4dEf3C3Cd52493Ba3a6F57fc6d8c59108a](https://etherscan.io/address/0x7697aE4dEf3C3Cd52493Ba3a6F57fc6d8c59108a) |[0xf5366f67ff66a3cefcb18809a762d5b5931febf8](https://etherscan.io/address/0xf5366f67ff66a3cefcb18809a762d5b5931febf8#code) | 3.0.0 | +| AssetRegistry | [0x9B85aC04A09c8C813c37de9B3d563C2D3F936162](https://etherscan.io/address/0x9B85aC04A09c8C813c37de9B3d563C2D3F936162) |[0x773cf50adcf1730964d4a9b664baed4b9ffc2450](https://etherscan.io/address/0x773cf50adcf1730964d4a9b664baed4b9ffc2450#code) | 3.0.0 | +| BackingManager | [0xF014FEF41cCB703975827C8569a3f0940cFD80A4](https://etherscan.io/address/0xF014FEF41cCB703975827C8569a3f0940cFD80A4) |[0xbbc532a80dd141449330c1232c953da6801aed01](https://etherscan.io/address/0xbbc532a80dd141449330c1232c953da6801aed01#code) | 3.0.1 | +| BasketHandler | [0x6d309297ddDFeA104A6E89a132e2f05ce3828e07](https://etherscan.io/address/0x6d309297ddDFeA104A6E89a132e2f05ce3828e07) |[0x5ccca36cbb66a4e4033b08b4f6d7bac96ba55cdc](https://etherscan.io/address/0x5ccca36cbb66a4e4033b08b4f6d7bac96ba55cdc#code) | 3.0.0 | +| Broker | [0x90EB22A31b69C29C34162E0E9278cc0617aA2B50](https://etherscan.io/address/0x90EB22A31b69C29C34162E0E9278cc0617aA2B50) |[0x9a5f8a9bb91a868b7501139eedb20dc129d28f04](https://etherscan.io/address/0x9a5f8a9bb91a868b7501139eedb20dc129d28f04#code) | 3.0.0 | +| RSRTrader | [0xE04C26F68E0657d402FA95377aa7a2838D6cBA6f](https://etherscan.io/address/0xE04C26F68E0657d402FA95377aa7a2838D6cBA6f) |[0x5e3e13d3d2a0adfe16f8ef5e7a2992a88e9e65af](https://etherscan.io/address/0x5e3e13d3d2a0adfe16f8ef5e7a2992a88e9e65af#code) | 3.0.1 | +| RTokenTrader | [0x3d5EbB5399243412c7e895a7AA468c7cD4b1014A](https://etherscan.io/address/0x3d5EbB5399243412c7e895a7AA468c7cD4b1014A) |[0x5e3e13d3d2a0adfe16f8ef5e7a2992a88e9e65af](https://etherscan.io/address/0x5e3e13d3d2a0adfe16f8ef5e7a2992a88e9e65af#code) | 3.0.1 | +| Distributor | [0x8a77980f82A1d537600891D782BCd8bd41B85472](https://etherscan.io/address/0x8a77980f82A1d537600891D782BCd8bd41B85472) |[0x0e8439a17ba5cbb2d9823c03a02566b9dd5d96ac](https://etherscan.io/address/0x0e8439a17ba5cbb2d9823c03a02566b9dd5d96ac#code) | 3.0.0 | +| Furnace | [0x57084b3a6317bea01bA8f7c582eD033d9345c2B2](https://etherscan.io/address/0x57084b3a6317bea01bA8f7c582eD033d9345c2B2) |[0x99580fc649c02347ebc7750524caae5cacf9d34c](https://etherscan.io/address/0x99580fc649c02347ebc7750524caae5cacf9d34c#code) | 3.0.0 | +| StRSR | [0x18ba6e33ceb80f077DEb9260c9111e62f21aE7B8](https://etherscan.io/address/0x18ba6e33ceb80f077DEb9260c9111e62f21aE7B8) |[0xc98eafc9f249d90e3e35e729e3679dd75a899c10](https://etherscan.io/address/0xc98eafc9f249d90e3e35e729e3679dd75a899c10#code) | 3.0.0 | ## Governance Addresses -| Contract | Address | Implementation | Version | -| --- | --- | --- | --- | -| Governor Alexios | [0x7e880d8bD9c9612D6A9759F96aCD23df4A4650E6](https://etherscan.io/address/0x7e880d8bD9c9612D6A9759F96aCD23df4A4650E6) | [](https://etherscan.io/address/#code) | 1 | -| Timelock | [0xc8Ee187A5e5c9dC9b42414Ddf861FFc615446a2c](https://etherscan.io/address/0xc8Ee187A5e5c9dC9b42414Ddf861FFc615446a2c) | [](https://etherscan.io/address/#code) | N/A | +| Contract | Address | +| --- | --- | +| Governor Alexios | [0x7e880d8bD9c9612D6A9759F96aCD23df4A4650E6](https://etherscan.io/address/0x7e880d8bD9c9612D6A9759F96aCD23df4A4650E6) | +| Timelock | [0xc8Ee187A5e5c9dC9b42414Ddf861FFc615446a2c](https://etherscan.io/address/0xc8Ee187A5e5c9dC9b42414Ddf861FFc615446a2c) | - \ No newline at end of file + \ No newline at end of file diff --git a/docs/deployed-addresses/1-hyUSD.md b/docs/deployed-addresses/1-hyUSD.md index 7d23c9ae0..b3323a833 100644 --- a/docs/deployed-addresses/1-hyUSD.md +++ b/docs/deployed-addresses/1-hyUSD.md @@ -1,24 +1,24 @@ -# [hyUSD (High Yield USD)](https://etherscan.io/address/0xaCdf0DBA4B9839b96221a8487e9ca660a48212be) +# [hyUSD (High Yield USD) - Mainnet](https://etherscan.io/address/0xaCdf0DBA4B9839b96221a8487e9ca660a48212be) ## Component Addresses | Contract | Address | Implementation | Version | | --- | --- | --- | --- | -| RToken | [0xaCdf0DBA4B9839b96221a8487e9ca660a48212be](https://etherscan.io/address/0xaCdf0DBA4B9839b96221a8487e9ca660a48212be) | [0x5643d5ac6b79ae8467cf2f416da6d465d8e7d9c1](https://etherscan.io/address/0x5643d5ac6b79ae8467cf2f416da6d465d8e7d9c1#code) | 2.1.0 | -| Main | [0x2cabaa8010b3fbbDEeBe4a2D0fEffC2ed155bf37](https://etherscan.io/address/0x2cabaa8010b3fbbDEeBe4a2D0fEffC2ed155bf37) | [0x143c35bfe04720394ebd18abeca83ea9d8bede2f](https://etherscan.io/address/0x143c35bfe04720394ebd18abeca83ea9d8bede2f#code) | 2.0.0 | -| AssetRegistry | [0xaCacddeE9b900b7535B13Cd8662df130265b8c78](https://etherscan.io/address/0xaCacddeE9b900b7535B13Cd8662df130265b8c78) | [0x5a004f70b2450e909b4048050c585549ab8afeb8](https://etherscan.io/address/0x5a004f70b2450e909b4048050c585549ab8afeb8#code) | 2.0.0 | -| BackingManager | [0x61691c4181F876Dd7e19D6742B367B48AA280ed3](https://etherscan.io/address/0x61691c4181F876Dd7e19D6742B367B48AA280ed3) | [0xa0d4b6ad503e776457dbf4695d462ddf8621a1cc](https://etherscan.io/address/0xa0d4b6ad503e776457dbf4695d462ddf8621a1cc#code) | 2.0.0 | -| BasketHandler | [0x9119DB28432bd97aBF4c3D81B929849e0490c7A6](https://etherscan.io/address/0x9119DB28432bd97aBF4c3D81B929849e0490c7A6) | [0x5c13b3b6f40ad4bf7aa4793f844ba24e85482030](https://etherscan.io/address/0x5c13b3b6f40ad4bf7aa4793f844ba24e85482030#code) | 2.1.0 | -| Broker | [0x44344ca9014BE4bB622037224d107493586f35ed](https://etherscan.io/address/0x44344ca9014BE4bB622037224d107493586f35ed) | [0x89209a52d085d975b14555f3e828f43fb7eaf3b7](https://etherscan.io/address/0x89209a52d085d975b14555f3e828f43fb7eaf3b7#code) | 2.1.0 | -| RSRTrader | [0x0771301d56Eb734a5F61d275Da1b6c2459a00dc7](https://etherscan.io/address/0x0771301d56Eb734a5F61d275Da1b6c2459a00dc7) | [0xe5bd2249118b6a4b39be195951579dc9af05029a](https://etherscan.io/address/0xe5bd2249118b6a4b39be195951579dc9af05029a#code) | 2.0.0 | -| RTokenTrader | [0x4886f5549d3b25adCFaC68E40062c735faf81378](https://etherscan.io/address/0x4886f5549d3b25adCFaC68E40062c735faf81378) | [0xe5bd2249118b6a4b39be195951579dc9af05029a](https://etherscan.io/address/0xe5bd2249118b6a4b39be195951579dc9af05029a#code) | 2.0.0 | -| Distributor | [0x0297941cCB71f5595072C4fA34CE443b6C5b47A0](https://etherscan.io/address/0x0297941cCB71f5595072C4fA34CE443b6C5b47A0) | [0xc78c5a84f30317b5f7d87170ec21dc73df38d569](https://etherscan.io/address/0xc78c5a84f30317b5f7d87170ec21dc73df38d569#code) | 2.0.0 | -| Furnace | [0x43D806BB6cDfA1dde1D1754c5F2Ea28adC3bc0E8](https://etherscan.io/address/0x43D806BB6cDfA1dde1D1754c5F2Ea28adC3bc0E8) | [0x393002573ea4a3d74a80f3b1af436a3ee3a30c96](https://etherscan.io/address/0x393002573ea4a3d74a80f3b1af436a3ee3a30c96#code) | 2.0.0 | -| StRSR | [0x7Db3C57001c80644208fb8AA81bA1200C7B0731d](https://etherscan.io/address/0x7Db3C57001c80644208fb8AA81bA1200C7B0731d) | [0xfda8c62d86e426d5fb653b6c44a455bb657b693f](https://etherscan.io/address/0xfda8c62d86e426d5fb653b6c44a455bb657b693f#code) | 2.1.0 | +| RToken | [0xaCdf0DBA4B9839b96221a8487e9ca660a48212be](https://etherscan.io/address/0xaCdf0DBA4B9839b96221a8487e9ca660a48212be) |[0xb6f01aa21defa4a4de33bed16bcc06cfd23b6a6f](https://etherscan.io/address/0xb6f01aa21defa4a4de33bed16bcc06cfd23b6a6f#code) | 3.0.0 | +| Main | [0x2cabaa8010b3fbbDEeBe4a2D0fEffC2ed155bf37](https://etherscan.io/address/0x2cabaa8010b3fbbDEeBe4a2D0fEffC2ed155bf37) |[0xf5366f67ff66a3cefcb18809a762d5b5931febf8](https://etherscan.io/address/0xf5366f67ff66a3cefcb18809a762d5b5931febf8#code) | 3.0.0 | +| AssetRegistry | [0xaCacddeE9b900b7535B13Cd8662df130265b8c78](https://etherscan.io/address/0xaCacddeE9b900b7535B13Cd8662df130265b8c78) |[0x773cf50adcf1730964d4a9b664baed4b9ffc2450](https://etherscan.io/address/0x773cf50adcf1730964d4a9b664baed4b9ffc2450#code) | 3.0.0 | +| BackingManager | [0x61691c4181F876Dd7e19D6742B367B48AA280ed3](https://etherscan.io/address/0x61691c4181F876Dd7e19D6742B367B48AA280ed3) |[0xbbc532a80dd141449330c1232c953da6801aed01](https://etherscan.io/address/0xbbc532a80dd141449330c1232c953da6801aed01#code) | 3.0.1 | +| BasketHandler | [0x9119DB28432bd97aBF4c3D81B929849e0490c7A6](https://etherscan.io/address/0x9119DB28432bd97aBF4c3D81B929849e0490c7A6) |[0x5ccca36cbb66a4e4033b08b4f6d7bac96ba55cdc](https://etherscan.io/address/0x5ccca36cbb66a4e4033b08b4f6d7bac96ba55cdc#code) | 3.0.0 | +| Broker | [0x44344ca9014BE4bB622037224d107493586f35ed](https://etherscan.io/address/0x44344ca9014BE4bB622037224d107493586f35ed) |[0x9a5f8a9bb91a868b7501139eedb20dc129d28f04](https://etherscan.io/address/0x9a5f8a9bb91a868b7501139eedb20dc129d28f04#code) | 3.0.0 | +| RSRTrader | [0x0771301d56Eb734a5F61d275Da1b6c2459a00dc7](https://etherscan.io/address/0x0771301d56Eb734a5F61d275Da1b6c2459a00dc7) |[0x5e3e13d3d2a0adfe16f8ef5e7a2992a88e9e65af](https://etherscan.io/address/0x5e3e13d3d2a0adfe16f8ef5e7a2992a88e9e65af#code) | 3.0.1 | +| RTokenTrader | [0x4886f5549d3b25adCFaC68E40062c735faf81378](https://etherscan.io/address/0x4886f5549d3b25adCFaC68E40062c735faf81378) |[0x5e3e13d3d2a0adfe16f8ef5e7a2992a88e9e65af](https://etherscan.io/address/0x5e3e13d3d2a0adfe16f8ef5e7a2992a88e9e65af#code) | 3.0.1 | +| Distributor | [0x0297941cCB71f5595072C4fA34CE443b6C5b47A0](https://etherscan.io/address/0x0297941cCB71f5595072C4fA34CE443b6C5b47A0) |[0x0e8439a17ba5cbb2d9823c03a02566b9dd5d96ac](https://etherscan.io/address/0x0e8439a17ba5cbb2d9823c03a02566b9dd5d96ac#code) | 3.0.0 | +| Furnace | [0x43D806BB6cDfA1dde1D1754c5F2Ea28adC3bc0E8](https://etherscan.io/address/0x43D806BB6cDfA1dde1D1754c5F2Ea28adC3bc0E8) |[0x99580fc649c02347ebc7750524caae5cacf9d34c](https://etherscan.io/address/0x99580fc649c02347ebc7750524caae5cacf9d34c#code) | 3.0.0 | +| StRSR | [0x7Db3C57001c80644208fb8AA81bA1200C7B0731d](https://etherscan.io/address/0x7Db3C57001c80644208fb8AA81bA1200C7B0731d) |[0xc98eafc9f249d90e3e35e729e3679dd75a899c10](https://etherscan.io/address/0xc98eafc9f249d90e3e35e729e3679dd75a899c10#code) | 3.0.0 | ## Governance Addresses -| Contract | Address | Implementation | Version | -| --- | --- | --- | --- | -| Governor Alexios | [0x22d7937438b4bBf02f6cA55E3831ABB94Bd0b6f1](https://etherscan.io/address/0x22d7937438b4bBf02f6cA55E3831ABB94Bd0b6f1) | [](https://etherscan.io/address/#code) | 1 | -| Timelock | [0x624f9f076ED42ba3B37C3011dC5a1761C2209E1C](https://etherscan.io/address/0x624f9f076ED42ba3B37C3011dC5a1761C2209E1C) | [](https://etherscan.io/address/#code) | N/A | +| Contract | Address | +| --- | --- | +| Governor Alexios | [0x22d7937438b4bBf02f6cA55E3831ABB94Bd0b6f1](https://etherscan.io/address/0x22d7937438b4bBf02f6cA55E3831ABB94Bd0b6f1) | +| Timelock | [0x624f9f076ED42ba3B37C3011dC5a1761C2209E1C](https://etherscan.io/address/0x624f9f076ED42ba3B37C3011dC5a1761C2209E1C) | - \ No newline at end of file + \ No newline at end of file diff --git a/docs/deployed-addresses/8453-Vaya.md b/docs/deployed-addresses/8453-Vaya.md new file mode 100644 index 000000000..04ae8fc6f --- /dev/null +++ b/docs/deployed-addresses/8453-Vaya.md @@ -0,0 +1,24 @@ +# [Vaya (Vaya) - Base](https://basescan.org/address/0xC9a3e2B3064c1c0546D3D0edc0A748E9f93Cf18d) +## Component Addresses +| Contract | Address | Implementation | Version | +| --- | --- | --- | --- | +| RToken | [0xC9a3e2B3064c1c0546D3D0edc0A748E9f93Cf18d](https://basescan.org/address/0xC9a3e2B3064c1c0546D3D0edc0A748E9f93Cf18d) |[0xa42850a760151bb3acf17e7f8643eb4d864bf7a6](https://basescan.org/address/0xa42850a760151bb3acf17e7f8643eb4d864bf7a6#code) | 3.0.0 | +| Main | [0x6c678DE5334B86EAeEe6d9c8a2d59FfB9E4167F2](https://basescan.org/address/0x6c678DE5334B86EAeEe6d9c8a2d59FfB9E4167F2) |[0x1d6d0b74e7a701ae5c2e11967b242e9861275143](https://basescan.org/address/0x1d6d0b74e7a701ae5c2e11967b242e9861275143#code) | 3.0.0 | +| AssetRegistry | [0xBA8e784AAb8d0c5013DDc8e31F49bAbF53Eccf22](https://basescan.org/address/0xBA8e784AAb8d0c5013DDc8e31F49bAbF53Eccf22) |[0x9c387fc258061bd3e02c851f36ae227db03a396c](https://basescan.org/address/0x9c387fc258061bd3e02c851f36ae227db03a396c#code) | 3.0.0 | +| BackingManager | [0x36893DC33668d499a2f8a929063751817677A3A7](https://basescan.org/address/0x36893DC33668d499a2f8a929063751817677A3A7) |[0x8569d60df34354cdd1115b90de832845b31c28d2](https://basescan.org/address/0x8569d60df34354cdd1115b90de832845b31c28d2#code) | 3.0.1 | +| BasketHandler | [0x499759bAf096856F05BaFA45BB367Fa4fbE4d920](https://basescan.org/address/0x499759bAf096856F05BaFA45BB367Fa4fbE4d920) |[0x25e92785c1ac01b397224e0534f3d626868a1cbf](https://basescan.org/address/0x25e92785c1ac01b397224e0534f3d626868a1cbf#code) | 3.0.0 | +| Broker | [0xe75111b9D5C1344D0edF5355bda384Dc36eB3F7e](https://basescan.org/address/0xe75111b9D5C1344D0edF5355bda384Dc36eB3F7e) |[0x12c3bb1b0da85fdae0137ae8fde901f7d0e106ba](https://basescan.org/address/0x12c3bb1b0da85fdae0137ae8fde901f7d0e106ba#code) | 3.0.0 | +| RSRTrader | [0xD5e348D20bB579c3D2341a461F8B5Bfd4C762090](https://basescan.org/address/0xD5e348D20bB579c3D2341a461F8B5Bfd4C762090) |[0xf4c5d33dabb9d4681ed9b83618d629ba1006ae16](https://basescan.org/address/0xf4c5d33dabb9d4681ed9b83618d629ba1006ae16#code) | 3.0.1 | +| RTokenTrader | [0x961955c02c92E96bd4E9044297E33B06e5652eE9](https://basescan.org/address/0x961955c02c92E96bd4E9044297E33B06e5652eE9) |[0xf4c5d33dabb9d4681ed9b83618d629ba1006ae16](https://basescan.org/address/0xf4c5d33dabb9d4681ed9b83618d629ba1006ae16#code) | 3.0.1 | +| Distributor | [0x93aA969C89a102184938A05A8e16572A4DeB5873](https://basescan.org/address/0x93aA969C89a102184938A05A8e16572A4DeB5873) |[0xd31de64957b79435bfc702044590ac417e02c19b](https://basescan.org/address/0xd31de64957b79435bfc702044590ac417e02c19b#code) | 3.0.0 | +| Furnace | [0xEC5E2FE18FafF28bb85e4B71E106e9Bab7412783](https://basescan.org/address/0xEC5E2FE18FafF28bb85e4B71E106e9Bab7412783) |[0x45d7dfe976cdf80962d863a66918346a457b87bd](https://basescan.org/address/0x45d7dfe976cdf80962d863a66918346a457b87bd#code) | 3.0.0 | +| StRSR | [0x663a141bEA6756A1d3AB1Da068Defa4d6b523FbE](https://basescan.org/address/0x663a141bEA6756A1d3AB1Da068Defa4d6b523FbE) |[0x53321f03a7cce52413515dfd0527e0163ec69a46](https://basescan.org/address/0x53321f03a7cce52413515dfd0527e0163ec69a46#code) | 3.0.0 | + + +## Governance Addresses +| Contract | Address | +| --- | --- | +| Governor Alexios | [0xEb583EA06501f92E994C353aD2741A35582987aA](https://basescan.org/address/0xEb583EA06501f92E994C353aD2741A35582987aA) | +| Timelock | [0xeE3eC997A37e661a42673D7A489Fbf0E5ed0C223](https://basescan.org/address/0xeE3eC997A37e661a42673D7A489Fbf0E5ed0C223) | + + \ No newline at end of file diff --git a/docs/deployed-addresses/8453-assets-3.0.0.md b/docs/deployed-addresses/8453-assets-3.0.0.md new file mode 100644 index 000000000..723415285 --- /dev/null +++ b/docs/deployed-addresses/8453-assets-3.0.0.md @@ -0,0 +1,17 @@ +# Assets (Base 3.0.0) +## Assets +| Contract | Address | +| --- | --- | +| COMP | [0x277FD5f51fE53a9B3707a0383bF930B149C74ABf](https://basescan.org/address/0x277FD5f51fE53a9B3707a0383bF930B149C74ABf) | + +## Collaterals +| Contract | Address | +| --- | --- | +| DAI | [0x5EBE8927e5495e0A7731888C81AF463cD63602fb](https://basescan.org/address/0x5EBE8927e5495e0A7731888C81AF463cD63602fb) | +| WETH | [0x42D0fA25d6d5bff01aC050c0F5aB0B2C9D01b4a3](https://basescan.org/address/0x42D0fA25d6d5bff01aC050c0F5aB0B2C9D01b4a3) | +| USDbC | [0x6490D66B17A1E9a460Ab54131165C8F921aCcDeB](https://basescan.org/address/0x6490D66B17A1E9a460Ab54131165C8F921aCcDeB) | +| cbETH | [0x5fE248625aC2AB0e17A115fef288f17AF1952402](https://basescan.org/address/0x5fE248625aC2AB0e17A115fef288f17AF1952402) | +| cUSDbCv3 | [0xa372EC846131FBf9AE8b589efa3D041D9a94dF41](https://basescan.org/address/0xa372EC846131FBf9AE8b589efa3D041D9a94dF41) | +| aBasUSDbC | [0x1DdB7dfdC5D26FE1f2aD02d9972f12481346Ae9b](https://basescan.org/address/0x1DdB7dfdC5D26FE1f2aD02d9972f12481346Ae9b) | +| wsgUSDbC | [0x15395aCCbF8c6b28671fe41624D599624709a2D6](https://basescan.org/address/0x15395aCCbF8c6b28671fe41624D599624709a2D6) | + \ No newline at end of file diff --git a/docs/deployed-addresses/8453-assets-3.0.1.md b/docs/deployed-addresses/8453-assets-3.0.1.md new file mode 100644 index 000000000..b53352b1a --- /dev/null +++ b/docs/deployed-addresses/8453-assets-3.0.1.md @@ -0,0 +1,18 @@ +# Assets (Base 3.0.1) +## Assets +| Contract | Address | +| --- | --- | +| COMP | [0x277FD5f51fE53a9B3707a0383bF930B149C74ABf](https://basescan.org/address/0x277FD5f51fE53a9B3707a0383bF930B149C74ABf) | +| STG | [0xf37adF141BD754e9C9E645de88bB28B5e4a6Db96](https://basescan.org/address/0xf37adF141BD754e9C9E645de88bB28B5e4a6Db96) | + +## Collaterals +| Contract | Address | +| --- | --- | +| DAI | [0x5EBE8927e5495e0A7731888C81AF463cD63602fb](https://basescan.org/address/0x5EBE8927e5495e0A7731888C81AF463cD63602fb) | +| WETH | [0x42D0fA25d6d5bff01aC050c0F5aB0B2C9D01b4a3](https://basescan.org/address/0x42D0fA25d6d5bff01aC050c0F5aB0B2C9D01b4a3) | +| USDbC | [0x6490D66B17A1E9a460Ab54131165C8F921aCcDeB](https://basescan.org/address/0x6490D66B17A1E9a460Ab54131165C8F921aCcDeB) | +| cbETH | [0x5fE248625aC2AB0e17A115fef288f17AF1952402](https://basescan.org/address/0x5fE248625aC2AB0e17A115fef288f17AF1952402) | +| cUSDbCv3 | [0xa372EC846131FBf9AE8b589efa3D041D9a94dF41](https://basescan.org/address/0xa372EC846131FBf9AE8b589efa3D041D9a94dF41) | +| aBasUSDbC | [0x1DdB7dfdC5D26FE1f2aD02d9972f12481346Ae9b](https://basescan.org/address/0x1DdB7dfdC5D26FE1f2aD02d9972f12481346Ae9b) | +| wsgUSDbC | [0x15395aCCbF8c6b28671fe41624D599624709a2D6](https://basescan.org/address/0x15395aCCbF8c6b28671fe41624D599624709a2D6) | + \ No newline at end of file diff --git a/docs/deployed-addresses/8453-components-3.0.0.md b/docs/deployed-addresses/8453-components-3.0.0.md new file mode 100644 index 000000000..2fc09e7ed --- /dev/null +++ b/docs/deployed-addresses/8453-components-3.0.0.md @@ -0,0 +1,29 @@ +# Component Implementations (Base 3.0.0) +## Component Addresses +| Contract | Address | Version | +| --- | --- | --- | +| AssetRegistry | [0x9c387fc258061bd3E02c851F36aE227DB03a396C](https://basescan.org/address/0x9c387fc258061bd3E02c851F36aE227DB03a396C) | 3.0.0 | +| BackingManager | [0x63e12c3b2DBCaeF1835Bb99Ac1Fdb0Ebe1bE69bE](https://basescan.org/address/0x63e12c3b2DBCaeF1835Bb99Ac1Fdb0Ebe1bE69bE) | 3.0.0 | +| BasketHandler | [0x25E92785C1AC01B397224E0534f3D626868A1Cbf](https://basescan.org/address/0x25E92785C1AC01B397224E0534f3D626868A1Cbf) | 3.0.0 | +| BasketLib | [0x199E12d58B36deE2D2B3dD2b91aD7bb25c787a71](https://basescan.org/address/0x199E12d58B36deE2D2B3dD2b91aD7bb25c787a71) | N/A | +| Broker | [0x12c3BB1B0da85fDaE0137aE8fDe901F7D0e106ba](https://basescan.org/address/0x12c3BB1B0da85fDaE0137aE8fDe901F7D0e106ba) | 3.0.0 | +| Deployer | [0xf1B06c2305445E34CF0147466352249724c2EAC1](https://basescan.org/address/0xf1B06c2305445E34CF0147466352249724c2EAC1) | 3.0.0 | +| Distributor | [0xd31de64957b79435bfc702044590ac417e02c19B](https://basescan.org/address/0xd31de64957b79435bfc702044590ac417e02c19B) | 3.0.0 | +| DutchTrade | [0xDfCc89cf76aC93D113A21Da8fbfA63365b1E3DC7](https://basescan.org/address/0xDfCc89cf76aC93D113A21Da8fbfA63365b1E3DC7) | N/A | +| FacadeAct | [0x3d6D679c863858E89e35c925F937F5814ca687F3](https://basescan.org/address/0x3d6D679c863858E89e35c925F937F5814ca687F3) | N/A | +| FacadeRead | [0xe1aa15DA8b993c6312BAeD91E0b470AE405F91BF](https://basescan.org/address/0xe1aa15DA8b993c6312BAeD91E0b470AE405F91BF) | N/A | +| FacadeWrite | [0x0903048fD4E948c60451B41A48B35E0bafc0967F](https://basescan.org/address/0x0903048fD4E948c60451B41A48B35E0bafc0967F) | N/A | +| FacadeWriteLib | [0x29e9740275D26fdeDBb0ABA8129C74c15c393027](https://basescan.org/address/0x29e9740275D26fdeDBb0ABA8129C74c15c393027) | N/A | +| Furnace | [0x45D7dFE976cdF80962d863A66918346a457b87Bd](https://basescan.org/address/0x45D7dFE976cdF80962d863A66918346a457b87Bd) | 3.0.0 | +| GNOSIS_EASY_AUCTION | [0xb1875Feaeea32Bbb02DE83D81772e07E37A40f02](https://basescan.org/address/0xb1875Feaeea32Bbb02DE83D81772e07E37A40f02) | N/A | +| GnosisTrade | [0xD4e1D5b1311C992b2735710D46A10284Bcd7D39F](https://basescan.org/address/0xD4e1D5b1311C992b2735710D46A10284Bcd7D39F) | N/A | +| Main | [0x1D6d0B74E7A701aE5C2E11967b242E9861275143](https://basescan.org/address/0x1D6d0B74E7A701aE5C2E11967b242E9861275143) | 3.0.0 | +| RSR | [0xaB36452DbAC151bE02b16Ca17d8919826072f64a](https://basescan.org/address/0xaB36452DbAC151bE02b16Ca17d8919826072f64a) | 1.0.3 | +| RSR_FEED | [0xAa98aE504658766Dfe11F31c5D95a0bdcABDe0b1](https://basescan.org/address/0xAa98aE504658766Dfe11F31c5D95a0bdcABDe0b1) | N/A | +| RsrAsset | [0x23b57479327f9BccE6A1F6Be65F3dAa3C9Db797B](https://basescan.org/address/0x23b57479327f9BccE6A1F6Be65F3dAa3C9Db797B) | 3.0.0 | +| RsrTrader | [0xAeA6BD7b231C0eC7f35C2bdf47A76053D09dbD09](https://basescan.org/address/0xAeA6BD7b231C0eC7f35C2bdf47A76053D09dbD09) | 3.0.0 | +| RToken | [0xA42850A760151bb3ACF17E7f8643EB4d864bF7a6](https://basescan.org/address/0xA42850A760151bb3ACF17E7f8643EB4d864bF7a6) | 3.0.0 | +| RTokenTrader | [0xAeA6BD7b231C0eC7f35C2bdf47A76053D09dbD09](https://basescan.org/address/0xAeA6BD7b231C0eC7f35C2bdf47A76053D09dbD09) | 3.0.0 | +| StRSR | [0x53321f03A7cce52413515DFD0527e0163ec69A46](https://basescan.org/address/0x53321f03A7cce52413515DFD0527e0163ec69A46) | 3.0.0 | +| TradingLib | [0x4E01677488384B851EeAa09C8b8F6Dd0b16d7E9B](https://basescan.org/address/0x4E01677488384B851EeAa09C8b8F6Dd0b16d7E9B) | N/A | + \ No newline at end of file diff --git a/docs/deployed-addresses/8453-components-3.0.1.md b/docs/deployed-addresses/8453-components-3.0.1.md new file mode 100644 index 000000000..b306cb714 --- /dev/null +++ b/docs/deployed-addresses/8453-components-3.0.1.md @@ -0,0 +1,29 @@ +# Component Implementations (Base 3.0.1) +## Component Addresses +| Contract | Address | Version | +| --- | --- | --- | +| AssetRegistry | [0x9c387fc258061bd3E02c851F36aE227DB03a396C](https://basescan.org/address/0x9c387fc258061bd3E02c851F36aE227DB03a396C) | 3.0.0 | +| BackingManager | [0x8569D60Df34354CDd1115b90de832845b31C28d2](https://basescan.org/address/0x8569D60Df34354CDd1115b90de832845b31C28d2) | 3.0.1 | +| BasketHandler | [0x25E92785C1AC01B397224E0534f3D626868A1Cbf](https://basescan.org/address/0x25E92785C1AC01B397224E0534f3D626868A1Cbf) | 3.0.0 | +| BasketLib | [0x199E12d58B36deE2D2B3dD2b91aD7bb25c787a71](https://basescan.org/address/0x199E12d58B36deE2D2B3dD2b91aD7bb25c787a71) | N/A | +| Broker | [0x12c3BB1B0da85fDaE0137aE8fDe901F7D0e106ba](https://basescan.org/address/0x12c3BB1B0da85fDaE0137aE8fDe901F7D0e106ba) | 3.0.0 | +| Deployer | [0x9C75314AFD011F22648ca9C655b61674e27bA4AC](https://basescan.org/address/0x9C75314AFD011F22648ca9C655b61674e27bA4AC) | 3.0.1 | +| Distributor | [0xd31de64957b79435bfc702044590ac417e02c19B](https://basescan.org/address/0xd31de64957b79435bfc702044590ac417e02c19B) | 3.0.0 | +| DutchTrade | [0xDfCc89cf76aC93D113A21Da8fbfA63365b1E3DC7](https://basescan.org/address/0xDfCc89cf76aC93D113A21Da8fbfA63365b1E3DC7) | N/A | +| FacadeAct | [0x3d6D679c863858E89e35c925F937F5814ca687F3](https://basescan.org/address/0x3d6D679c863858E89e35c925F937F5814ca687F3) | N/A | +| FacadeRead | [0xe1aa15DA8b993c6312BAeD91E0b470AE405F91BF](https://basescan.org/address/0xe1aa15DA8b993c6312BAeD91E0b470AE405F91BF) | N/A | +| FacadeWrite | [0x46c600CB3Fb7Bf386F8f53952D64aC028e289AFb](https://basescan.org/address/0x46c600CB3Fb7Bf386F8f53952D64aC028e289AFb) | N/A | +| FacadeWriteLib | [0x13B63e7094B61CCbe79CAe3fb602DFd12D59314a](https://basescan.org/address/0x13B63e7094B61CCbe79CAe3fb602DFd12D59314a) | N/A | +| Furnace | [0x45D7dFE976cdF80962d863A66918346a457b87Bd](https://basescan.org/address/0x45D7dFE976cdF80962d863A66918346a457b87Bd) | 3.0.0 | +| GNOSIS_EASY_AUCTION | [0xb1875Feaeea32Bbb02DE83D81772e07E37A40f02](https://basescan.org/address/0xb1875Feaeea32Bbb02DE83D81772e07E37A40f02) | N/A | +| GnosisTrade | [0xcD033976a011F41D2AB6ef47984041568F818E73](https://basescan.org/address/0xcD033976a011F41D2AB6ef47984041568F818E73) | N/A | +| Main | [0x1D6d0B74E7A701aE5C2E11967b242E9861275143](https://basescan.org/address/0x1D6d0B74E7A701aE5C2E11967b242E9861275143) | 3.0.0 | +| RSR | [0xaB36452DbAC151bE02b16Ca17d8919826072f64a](https://basescan.org/address/0xaB36452DbAC151bE02b16Ca17d8919826072f64a) | 1.0.3 | +| RSR_FEED | [0xAa98aE504658766Dfe11F31c5D95a0bdcABDe0b1](https://basescan.org/address/0xAa98aE504658766Dfe11F31c5D95a0bdcABDe0b1) | N/A | +| RsrAsset | [0x23b57479327f9BccE6A1F6Be65F3dAa3C9Db797B](https://basescan.org/address/0x23b57479327f9BccE6A1F6Be65F3dAa3C9Db797B) | 3.0.0 | +| RsrTrader | [0xf4C5d33DABb9D4681ED9b83618d629BA1006AE16](https://basescan.org/address/0xf4C5d33DABb9D4681ED9b83618d629BA1006AE16) | 3.0.1 | +| RToken | [0xA42850A760151bb3ACF17E7f8643EB4d864bF7a6](https://basescan.org/address/0xA42850A760151bb3ACF17E7f8643EB4d864bF7a6) | 3.0.0 | +| RTokenTrader | [0xf4C5d33DABb9D4681ED9b83618d629BA1006AE16](https://basescan.org/address/0xf4C5d33DABb9D4681ED9b83618d629BA1006AE16) | 3.0.1 | +| StRSR | [0x53321f03A7cce52413515DFD0527e0163ec69A46](https://basescan.org/address/0x53321f03A7cce52413515DFD0527e0163ec69A46) | 3.0.0 | +| TradingLib | [0x4E01677488384B851EeAa09C8b8F6Dd0b16d7E9B](https://basescan.org/address/0x4E01677488384B851EeAa09C8b8F6Dd0b16d7E9B) | N/A | + \ No newline at end of file diff --git a/docs/deployed-addresses/8453-hyUSD.md b/docs/deployed-addresses/8453-hyUSD.md new file mode 100644 index 000000000..881629127 --- /dev/null +++ b/docs/deployed-addresses/8453-hyUSD.md @@ -0,0 +1,24 @@ +# [hyUSD (High Yield USD) - Base](https://basescan.org/address/0xCc7FF230365bD730eE4B352cC2492CEdAC49383e) +## Component Addresses +| Contract | Address | Implementation | Version | +| --- | --- | --- | --- | +| RToken | [0xCc7FF230365bD730eE4B352cC2492CEdAC49383e](https://basescan.org/address/0xCc7FF230365bD730eE4B352cC2492CEdAC49383e) |[0xa42850a760151bb3acf17e7f8643eb4d864bf7a6](https://basescan.org/address/0xa42850a760151bb3acf17e7f8643eb4d864bf7a6#code) | 3.0.0 | +| Main | [0xA582985c68ED30a052Ff0b07D74931140bd5a00F](https://basescan.org/address/0xA582985c68ED30a052Ff0b07D74931140bd5a00F) |[0x1d6d0b74e7a701ae5c2e11967b242e9861275143](https://basescan.org/address/0x1d6d0b74e7a701ae5c2e11967b242e9861275143#code) | 3.0.0 | +| AssetRegistry | [0xe8209777E3bE69E0f379AE5b2204D301c4FFC9B3](https://basescan.org/address/0xe8209777E3bE69E0f379AE5b2204D301c4FFC9B3) |[0x9c387fc258061bd3e02c851f36ae227db03a396c](https://basescan.org/address/0x9c387fc258061bd3e02c851f36ae227db03a396c#code) | 3.0.0 | +| BackingManager | [0xA1E1A94977ec3159DB546bf01d7a8d17DD3EbBeD](https://basescan.org/address/0xA1E1A94977ec3159DB546bf01d7a8d17DD3EbBeD) |[0x8569d60df34354cdd1115b90de832845b31c28d2](https://basescan.org/address/0x8569d60df34354cdd1115b90de832845b31c28d2#code) | 3.0.1 | +| BasketHandler | [0x9306587db04E35981e57013f6E1D867eCa89e2ec](https://basescan.org/address/0x9306587db04E35981e57013f6E1D867eCa89e2ec) |[0x25e92785c1ac01b397224e0534f3d626868a1cbf](https://basescan.org/address/0x25e92785c1ac01b397224e0534f3d626868a1cbf#code) | 3.0.0 | +| Broker | [0x0E05139662e0C8752a100DB08DA0C7E435B8aC94](https://basescan.org/address/0x0E05139662e0C8752a100DB08DA0C7E435B8aC94) |[0x12c3bb1b0da85fdae0137ae8fde901f7d0e106ba](https://basescan.org/address/0x12c3bb1b0da85fdae0137ae8fde901f7d0e106ba#code) | 3.0.0 | +| RSRTrader | [0xef34C651F1AE9593cfb2CDf02da800A4AAd612bd](https://basescan.org/address/0xef34C651F1AE9593cfb2CDf02da800A4AAd612bd) |[0xf4c5d33dabb9d4681ed9b83618d629ba1006ae16](https://basescan.org/address/0xf4c5d33dabb9d4681ed9b83618d629ba1006ae16#code) | 3.0.1 | +| RTokenTrader | [0xcc03e97F6e2e4eFb50ab95c89BB4b27911105736](https://basescan.org/address/0xcc03e97F6e2e4eFb50ab95c89BB4b27911105736) |[0xf4c5d33dabb9d4681ed9b83618d629ba1006ae16](https://basescan.org/address/0xf4c5d33dabb9d4681ed9b83618d629ba1006ae16#code) | 3.0.1 | +| Distributor | [0xf0a83bC73E9bAeb69b2fBB1e48bCdabf9C1012ca](https://basescan.org/address/0xf0a83bC73E9bAeb69b2fBB1e48bCdabf9C1012ca) |[0xd31de64957b79435bfc702044590ac417e02c19b](https://basescan.org/address/0xd31de64957b79435bfc702044590ac417e02c19b#code) | 3.0.0 | +| Furnace | [0x8532B667150F53f209F71FdF4Ca2173805D16680](https://basescan.org/address/0x8532B667150F53f209F71FdF4Ca2173805D16680) |[0x45d7dfe976cdf80962d863a66918346a457b87bd](https://basescan.org/address/0x45d7dfe976cdf80962d863a66918346a457b87bd#code) | 3.0.0 | +| StRSR | [0x796d2367AF69deB3319B8E10712b8B65957371c3](https://basescan.org/address/0x796d2367AF69deB3319B8E10712b8B65957371c3) |[0x53321f03a7cce52413515dfd0527e0163ec69a46](https://basescan.org/address/0x53321f03a7cce52413515dfd0527e0163ec69a46#code) | 3.0.0 | + + +## Governance Addresses +| Contract | Address | +| --- | --- | +| Governor Alexios | [0xc8e63d3501A246fa1ddBAbe4ad0B50e9d32aA8bb](https://basescan.org/address/0xc8e63d3501A246fa1ddBAbe4ad0B50e9d32aA8bb) | +| Timelock | [0xf093d7f00f3dCe6d415Be564f41Cb4bc032fb367](https://basescan.org/address/0xf093d7f00f3dCe6d415Be564f41Cb4bc032fb367) | + + \ No newline at end of file diff --git a/hardhat.config.ts b/hardhat.config.ts index d4c23bc1b..87a53dbcf 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -137,7 +137,10 @@ const config: HardhatUserConfig = { enabled: !!useEnv('REPORT_GAS'), }, etherscan: { - apiKey: useEnv('ETHERSCAN_API_KEY'), + apiKey: { + mainnet: useEnv('ETHERSCAN_API_KEY'), + base: useEnv('BASESCAN_API_KEY') + }, customChains: [ { network: 'base', diff --git a/scripts/compile-addresses.sh b/scripts/compile-addresses.sh new file mode 100755 index 000000000..98e3d6934 --- /dev/null +++ b/scripts/compile-addresses.sh @@ -0,0 +1,37 @@ +#!/bin/bash + +# RTokens +# *** Ethereum Mainnet *** + +# eUSD +npx hardhat get-addys --rtoken 0xA0d69E286B938e21CBf7E51D71F6A4c8918f482F --gov 0x7e880d8bD9c9612D6A9759F96aCD23df4A4650E6 --network mainnet + +# ETH+ +npx hardhat get-addys --rtoken 0xE72B141DF173b999AE7c1aDcbF60Cc9833Ce56a8 --gov 0x239cDcBE174B4728c870A24F77540dAB3dC5F981 --network mainnet + +# hyUSD +npx hardhat get-addys --rtoken 0xaCdf0DBA4B9839b96221a8487e9ca660a48212be --gov 0x22d7937438b4bBf02f6cA55E3831ABB94Bd0b6f1 --network mainnet + +# USDC+ +npx hardhat get-addys --rtoken 0xFc0B1EEf20e4c68B3DCF36c4537Cfa7Ce46CA70b --gov 0xc837C557071D604bCb1058c8c4891ddBe8FDD630 --network mainnet + + +# *** Base L2 *** + +# hyUSD +npx hardhat get-addys --rtoken 0xCc7FF230365bD730eE4B352cC2492CEdAC49383e --gov 0xc8e63d3501A246fa1ddBAbe4ad0B50e9d32aA8bb --network base + +# VAYA +npx hardhat get-addys --rtoken 0xC9a3e2B3064c1c0546D3D0edc0A748E9f93Cf18d --gov 0xEb583EA06501f92E994C353aD2741A35582987aA --network base + + +# Components +# *** Ethereum Mainnet *** +npx hardhat get-addys --ver "2.0.0" --network mainnet +npx hardhat get-addys --ver "2.1.0" --network mainnet +npx hardhat get-addys --ver "3.0.0" --network mainnet +npx hardhat get-addys --ver "3.0.1" --network mainnet + +# *** Base L2 *** +npx hardhat get-addys --ver "3.0.0" --network base +npx hardhat get-addys --ver "3.0.1" --network base \ No newline at end of file diff --git a/tasks/deployment/get-addresses.ts b/tasks/deployment/get-addresses.ts index c7423cb19..3fb2b86a1 100644 --- a/tasks/deployment/get-addresses.ts +++ b/tasks/deployment/get-addresses.ts @@ -19,9 +19,29 @@ task('get-addys', 'Compile the deployed addresses of an RToken deployment') /* Helper functions */ + + // hacky api throttler, basescan has rate limits 5req/sec + const delay = async (ms: number) => { + return new Promise( resolve => setTimeout(resolve, ms) ); + } + const capitalize = (s: string) => s && s[0].toUpperCase() + s.slice(1) - const etherscanUrl = 'https://etherscan.io/address/' + const network = hre.network.name + let scannerUrl: string; + let scannerApiUrl: string; + switch(network) { + case 'mainnet': + scannerUrl = 'https://etherscan.io/address/' + scannerApiUrl = `https://api.etherscan.io/api` + break + case 'base': + scannerUrl = 'https://basescan.org/address/' + scannerApiUrl = `https://api.basescan.org/api` + break + default: + throw new Error(`Unsupported network: ${network}`) + } const getVersion = async (c: Contract) => { try { @@ -32,29 +52,46 @@ task('get-addys', 'Compile the deployed addresses of an RToken deployment') } const createRTokenTableRow = async (name: string, address: string) => { - const url = `https://api.etherscan.io/api?module=contract&action=getsourcecode&address=${address}&apikey=${process.env.ETHERSCAN_API_KEY}` + const url = `${scannerApiUrl}?module=contract&action=getsourcecode&address=${address}&apikey=${process.env.ETHERSCAN_API_KEY}` + await delay(200) const response = await fetch(url) const data = await response.json() const implementation = data.result[0].Implementation const component = await hre.ethers.getContractAt('ComponentP1', address) - return `| ${name} | [${address}](${etherscanUrl}${address}) | [${implementation}](${etherscanUrl}${implementation}#code) | ${await getVersion( - component - )} |` + let row = `| ${name} | [${address}](${scannerUrl}${address}) |` + if (!!implementation) { + row += `[${implementation}](${scannerUrl}${implementation}#code) | ${await getVersion(component)} |` + } + return row + } + + const createComponentTableRow = async (name: string, address: string) => { + const url = `${scannerApiUrl}?module=contract&action=getsourcecode&address=${address}&apikey=${process.env.ETHERSCAN_API_KEY}` + await delay(200) + const response = await fetch(url) + const data = await response.json() + const implementation = data.result[0].Implementation + const component = await hre.ethers.getContractAt('ComponentP1', address) + return `| ${name} | [${address}](${scannerUrl}${address}) | ${await getVersion(component)} |` } const createAssetTableRow = async (name: string, address: string) => { - return `| ${name} | [${address}](${etherscanUrl}${address}) |` + return `| ${name} | [${address}](${scannerUrl}${address}) |` } const createTableRows = async ( components: { name: string; address: string }[], - isRToken: boolean + isRToken: boolean, + isComponent: boolean = false ) => { const rows = [] for (const component of components) { + if (!component.address) continue isRToken ? rows.push(await createRTokenTableRow(component.name, component.address)) - : rows.push(await createAssetTableRow(component.name, component.address)) + : isComponent + ? rows.push(await createComponentTableRow(component.name, component.address)) + : rows.push(await createAssetTableRow(component.name, component.address)) } return rows.join('\n') } @@ -65,7 +102,7 @@ task('get-addys', 'Compile the deployed addresses of an RToken deployment') rows: string, govRows: string | undefined ) => { - return `# [${name}](${etherscanUrl}${address}) + return `# [${name}](${scannerUrl}${address}) ## Component Addresses | Contract | Address | Implementation | Version | | --- | --- | --- | --- | @@ -75,14 +112,26 @@ ${ govRows && ` ## Governance Addresses -| Contract | Address | Implementation | Version | -| --- | --- | --- | --- | +| Contract | Address | +| --- | --- | ${govRows} ` } ` } + const createComponentMarkdown = async ( + name: string, + rows: string + ) => { + return `# ${name} +## Component Addresses +| Contract | Address | Version | +| --- | --- | --- | +${rows} + ` + } + const createAssetMarkdown = async (name: string, assets: string, collaterals: string) => { return `# ${name} ## Assets @@ -114,36 +163,6 @@ ${collaterals} return `${outputDir}${chainId}-components-${version}.md` } - const getActiveRoleHolders = async (main: MainP1, role: string) => { - // get active owners - // - const grantedFilter = main.filters.RoleGranted(role) - const revokedFilter = main.filters.RoleRevoked(role) - - // get granted owners - const ownersGranted = await main.queryFilter(grantedFilter) - let owners = ownersGranted.map((event) => { - return event.args![1] - }) - interface OwnerCount { - [key: string]: number - } - - // count granted owners - let ownerCount: OwnerCount = {} - owners.forEach((owner: string) => { - ownerCount[owner] = (ownerCount[owner] || 0) + 1 - }) - - // reduce counts by revoked owners - const ownersRevoked = await main.queryFilter(revokedFilter) - ownersRevoked.forEach((event) => { - const owner = event.args![1] - ownerCount[owner] = (ownerCount[owner] || 0) - 1 - }) - return Object.keys(ownerCount).filter((owner) => ownerCount[owner] > 0) - } - /* Compile target addresses and create markdown files */ @@ -152,8 +171,10 @@ ${collaterals} if (params.rtoken && params.gov) { // if rtoken address is provided, print component addresses - + const rToken = await hre.ethers.getContractAt('IRToken', params.rtoken) + const symbol = await rToken.symbol() + console.log(`Collecting addresses for RToken: ${symbol} (${params.rtoken}))`) const mainAddress = await rToken.main() const main = await hre.ethers.getContractAt('MainP1', mainAddress) const backingManagerAddress = await main.backingManager() @@ -200,13 +221,16 @@ ${collaterals} const rows = await createTableRows(components, true) const govRows = await createTableRows(govComponents, true) const markdown = await createRTokenMarkdown( - `${rTokenSymbol} (${rTokenName})`, + `${rTokenSymbol} (${rTokenName}) - ${capitalize(hre.network.name)}`, params.rtoken, rows, govRows ) - fs.writeFileSync(await getRTokenFileName(params.rtoken), markdown) + const rTokenFileName = await getRTokenFileName(params.rtoken) + fs.writeFileSync(rTokenFileName, markdown) + console.log(`Wrote ${rTokenFileName}`) } else if (params.ver) { + console.log(`Collecting addresses for Version: ${params.ver} (${hre.network.name})`) // if version is provided, print implementation addresses const version = `${hre.network.name}-${params.ver}` const collateralDepl = getDeploymentFile( @@ -230,7 +254,9 @@ ${collaterals} assetRows, collateralRows ) - fs.writeFileSync(await getAssetFileName(params.ver), assetMarkdown) + const assetFileName = await getAssetFileName(params.ver) + fs.writeFileSync(assetFileName, assetMarkdown) + console.log(`Wrote ${assetFileName}`) const componentDepl = getDeploymentFile(getDeploymentFilename(await getChainId(hre), version)) const recursiveDestructure = ( @@ -253,13 +279,13 @@ ${collaterals} address: string }> components = components.sort((a, b) => a.name.localeCompare(b.name)) - const componentMarkdown = await createRTokenMarkdown( + const componentMarkdown = await createComponentMarkdown( `Component Implementations (${capitalize(hre.network.name)} ${params.ver})`, - params.version, - await createTableRows(components, false), - undefined + await createTableRows(components, false, true) ) - fs.writeFileSync(await getComponentFileName(params.ver), componentMarkdown) + const componentFileName = await getComponentFileName(params.ver) + fs.writeFileSync(componentFileName, componentMarkdown) + console.log(`Wrote ${componentFileName}`) } else { // if neither rtoken address nor version number is provided, throw error throw new Error( diff --git a/utils/env.ts b/utils/env.ts index 094418985..919e53a9e 100644 --- a/utils/env.ts +++ b/utils/env.ts @@ -13,6 +13,7 @@ type IEnvVars = | 'PROTO' | 'PROTO_IMPL' | 'ETHERSCAN_API_KEY' + | 'BASESCAN_API_KEY' | 'NO_OPT' | 'ONLY_FAST' | 'JOBS'