diff --git a/scripts/configs/networks/ethereum.ts b/scripts/configs/networks/ethereum.ts index 3abf5d37..f90ffa3d 100644 --- a/scripts/configs/networks/ethereum.ts +++ b/scripts/configs/networks/ethereum.ts @@ -36,9 +36,15 @@ export const ethereumAddresses: NetworkAddresses<{ GHO_TOKEN: '0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f', GHO_FLASHMINTER_FACILITATOR: '0xb639D208Bcf0589D54FaC24E655C79EC529762B8', // TODO: perhaps makes sense to create a generator for GSM to automatically pull GSMs, for now let's see how this evolves - GSM_REGISTRY: '0x0d8eFfC11dF3F229AA1EA0509BC9DFa632A13578', + GSM_REGISTRY: '0x167527DB01325408696326e3580cd8e55D99Dc1A', GSM_USDC: '0x0d8eFfC11dF3F229AA1EA0509BC9DFa632A13578', GSM_USDT: '0x686F8D21520f4ecEc7ba577be08354F4d1EB8262', + GSM_USDC_FEE_STRATEGY: '0xD4478A76aCeA81D3768A0ACB6e38f25eEB6Eb1B5', + GSM_USDT_FEE_STRATEGY: '0xD4478A76aCeA81D3768A0ACB6e38f25eEB6Eb1B5', + GSM_USDC_PRICE_STRATEGY: '0x430BEdcA5DfA6f94d1205Cb33AB4f008D0d9942a', + GSM_USDT_PRICE_STRATEGY: '0x4c707764cbFB4FFa078e169e6b8A6AdbE7526a2c', + GSM_USDC_ORACLE_SWAP_FREEZER: '0xef6beCa8D9543eC007bceA835aF768B58F730C1f', + GSM_USDT_ORACLE_SWAP_FREEZER: '0x71381e6718b37C12155CB961Ca3D374A8BfFa0e5', sDAI_POT: '0x197E90f9FAD81970bA7976f33CbD77088E5D7cf7', stEUR: '0x004626A008B1aCdC4c74ab51644093b155e59A23', agEUR_EUR_AGGREGATOR: '0xb4d5289C58CE36080b0748B47F859D8F50dFAACb', diff --git a/scripts/configs/types.ts b/scripts/configs/types.ts index d12a27b8..59c6a366 100644 --- a/scripts/configs/types.ts +++ b/scripts/configs/types.ts @@ -101,5 +101,14 @@ export interface NetworkAddresses = {}> { AAVE_MERKLE_DISTRIBUTOR?: Hex; GHO_TOKEN?: Hex; GHO_FLASHMINTER_FACILITATOR?: Hex; + GSM_REGISTRY?: Hex; + GSM_USDC?: Hex; + GSM_USDT?: Hex; + GSM_USDC_FEE_STRATEGY?: Hex; + GSM_USDT_FEE_STRATEGY?: Hex; + GSM_USDC_PRICE_STRATEGY?: Hex; + GSM_USDT_PRICE_STRATEGY?: Hex; + GSM_USDC_ORACLE_SWAP_FREEZER?: Hex; + GSM_USDT_ORACLE_SWAP_FREEZER?: Hex; } & T; } diff --git a/src/MiscEthereum.sol b/src/MiscEthereum.sol index edb669e1..cc635a8f 100644 --- a/src/MiscEthereum.sol +++ b/src/MiscEthereum.sol @@ -47,8 +47,8 @@ library MiscEthereum { address internal constant GHO_FLASHMINTER_FACILITATOR = 0xb639D208Bcf0589D54FaC24E655C79EC529762B8; - // https://etherscan.io/address/0x0d8eFfC11dF3F229AA1EA0509BC9DFa632A13578 - address internal constant GSM_REGISTRY = 0x0d8eFfC11dF3F229AA1EA0509BC9DFa632A13578; + // https://etherscan.io/address/0x167527DB01325408696326e3580cd8e55D99Dc1A + address internal constant GSM_REGISTRY = 0x167527DB01325408696326e3580cd8e55D99Dc1A; // https://etherscan.io/address/0x0d8eFfC11dF3F229AA1EA0509BC9DFa632A13578 address internal constant GSM_USDC = 0x0d8eFfC11dF3F229AA1EA0509BC9DFa632A13578; @@ -56,6 +56,26 @@ library MiscEthereum { // https://etherscan.io/address/0x686F8D21520f4ecEc7ba577be08354F4d1EB8262 address internal constant GSM_USDT = 0x686F8D21520f4ecEc7ba577be08354F4d1EB8262; + // https://etherscan.io/address/0xD4478A76aCeA81D3768A0ACB6e38f25eEB6Eb1B5 + address internal constant GSM_USDC_FEE_STRATEGY = 0xD4478A76aCeA81D3768A0ACB6e38f25eEB6Eb1B5; + + // https://etherscan.io/address/0xD4478A76aCeA81D3768A0ACB6e38f25eEB6Eb1B5 + address internal constant GSM_USDT_FEE_STRATEGY = 0xD4478A76aCeA81D3768A0ACB6e38f25eEB6Eb1B5; + + // https://etherscan.io/address/0x430BEdcA5DfA6f94d1205Cb33AB4f008D0d9942a + address internal constant GSM_USDC_PRICE_STRATEGY = + 0x430BEdcA5DfA6f94d1205Cb33AB4f008D0d9942a; + + // https://etherscan.io/address/0x4c707764cbFB4FFa078e169e6b8A6AdbE7526a2c + address internal constant GSM_USDT_PRICE_STRATEGY = + 0x4c707764cbFB4FFa078e169e6b8A6AdbE7526a2c; + + // https://etherscan.io/address/0xef6beCa8D9543eC007bceA835aF768B58F730C1f + address internal constant GSM_USDC_ORACLE_SWAP_FREEZER = 0xef6beCa8D9543eC007bceA835aF768B58F730C1f; + + // https://etherscan.io/address/0x71381e6718b37C12155CB961Ca3D374A8BfFa0e5 + address internal constant GSM_USDT_ORACLE_SWAP_FREEZER = 0x71381e6718b37C12155CB961Ca3D374A8BfFa0e5; + // https://etherscan.io/address/0x197E90f9FAD81970bA7976f33CbD77088E5D7cf7 address internal constant sDAI_POT = 0x197E90f9FAD81970bA7976f33CbD77088E5D7cf7; diff --git a/src/ts/MiscEthereum.ts b/src/ts/MiscEthereum.ts index 961afab7..376c274e 100644 --- a/src/ts/MiscEthereum.ts +++ b/src/ts/MiscEthereum.ts @@ -38,8 +38,8 @@ export const GHO_TOKEN = '0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f'; // https://etherscan.io/address/0xb639D208Bcf0589D54FaC24E655C79EC529762B8 export const GHO_FLASHMINTER_FACILITATOR = '0xb639D208Bcf0589D54FaC24E655C79EC529762B8'; -// https://etherscan.io/address/0x0d8eFfC11dF3F229AA1EA0509BC9DFa632A13578 -export const GSM_REGISTRY = '0x0d8eFfC11dF3F229AA1EA0509BC9DFa632A13578'; +// https://etherscan.io/address/0x167527DB01325408696326e3580cd8e55D99Dc1A +export const GSM_REGISTRY = '0x167527DB01325408696326e3580cd8e55D99Dc1A'; // https://etherscan.io/address/0x0d8eFfC11dF3F229AA1EA0509BC9DFa632A13578 export const GSM_USDC = '0x0d8eFfC11dF3F229AA1EA0509BC9DFa632A13578'; @@ -47,6 +47,24 @@ export const GSM_USDC = '0x0d8eFfC11dF3F229AA1EA0509BC9DFa632A13578'; // https://etherscan.io/address/0x686F8D21520f4ecEc7ba577be08354F4d1EB8262 export const GSM_USDT = '0x686F8D21520f4ecEc7ba577be08354F4d1EB8262'; +// https://etherscan.io/address/0xD4478A76aCeA81D3768A0ACB6e38f25eEB6Eb1B5 +export const GSM_USDC_FEE_STRATEGY = '0xD4478A76aCeA81D3768A0ACB6e38f25eEB6Eb1B5'; + +// https://etherscan.io/address/0xD4478A76aCeA81D3768A0ACB6e38f25eEB6Eb1B5 +export const GSM_USDT_FEE_STRATEGY = '0xD4478A76aCeA81D3768A0ACB6e38f25eEB6Eb1B5'; + +// https://etherscan.io/address/0x430BEdcA5DfA6f94d1205Cb33AB4f008D0d9942a +export const GSM_USDC_PRICE_STRATEGY = '0x430BEdcA5DfA6f94d1205Cb33AB4f008D0d9942a'; + +// https://etherscan.io/address/0x4c707764cbFB4FFa078e169e6b8A6AdbE7526a2c +export const GSM_USDT_PRICE_STRATEGY = '0x4c707764cbFB4FFa078e169e6b8A6AdbE7526a2c'; + +// https://etherscan.io/address/0xef6beCa8D9543eC007bceA835aF768B58F730C1f +export const GSM_USDC_ORACLE_SWAP_FREEZER = '0xef6beCa8D9543eC007bceA835aF768B58F730C1f'; + +// https://etherscan.io/address/0x71381e6718b37C12155CB961Ca3D374A8BfFa0e5 +export const GSM_USDT_ORACLE_SWAP_FREEZER = '0x71381e6718b37C12155CB961Ca3D374A8BfFa0e5'; + // https://etherscan.io/address/0x197E90f9FAD81970bA7976f33CbD77088E5D7cf7 export const sDAI_POT = '0x197E90f9FAD81970bA7976f33CbD77088E5D7cf7';