Skip to content

Commit

Permalink
feat: gsm addresses (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra authored Jan 30, 2024
1 parent 63f95f5 commit 541f2ac
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/configs/networks/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ export const ethereumAddresses: NetworkAddresses<{
PROXY_ADMIN_LONG: Hex;
AAVE_SWAPPER: Hex;
AAVE_POL_ETH_BRIDGE: Hex;
GSM_REGISTRY: Hex;
GSM_USDC: Hex;
GSM_USDT: Hex;
}> = {
name: 'Ethereum',
chainId: ChainId.mainnet,
Expand All @@ -28,6 +31,10 @@ export const ethereumAddresses: NetworkAddresses<{
AAVE_MERKLE_DISTRIBUTOR: '0xa88c6D90eAe942291325f9ae3c66f3563B93FE10',
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_USDC: '0x0d8eFfC11dF3F229AA1EA0509BC9DFa632A13578',
GSM_USDT: '0x686F8D21520f4ecEc7ba577be08354F4d1EB8262',
},
};

Expand Down
9 changes: 9 additions & 0 deletions src/MiscEthereum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,13 @@ library MiscEthereum {
// https://etherscan.io/address/0xb639D208Bcf0589D54FaC24E655C79EC529762B8
address internal constant GHO_FLASHMINTER_FACILITATOR =
0xb639D208Bcf0589D54FaC24E655C79EC529762B8;

// https://etherscan.io/address/0x0d8eFfC11dF3F229AA1EA0509BC9DFa632A13578
address internal constant GSM_REGISTRY = 0x0d8eFfC11dF3F229AA1EA0509BC9DFa632A13578;

// https://etherscan.io/address/0x0d8eFfC11dF3F229AA1EA0509BC9DFa632A13578
address internal constant GSM_USDC = 0x0d8eFfC11dF3F229AA1EA0509BC9DFa632A13578;

// https://etherscan.io/address/0x686F8D21520f4ecEc7ba577be08354F4d1EB8262
address internal constant GSM_USDT = 0x686F8D21520f4ecEc7ba577be08354F4d1EB8262;
}
9 changes: 9 additions & 0 deletions src/ts/MiscEthereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,13 @@ 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/0x0d8eFfC11dF3F229AA1EA0509BC9DFa632A13578
export const GSM_USDC = '0x0d8eFfC11dF3F229AA1EA0509BC9DFa632A13578';

// https://etherscan.io/address/0x686F8D21520f4ecEc7ba577be08354F4d1EB8262
export const GSM_USDT = '0x686F8D21520f4ecEc7ba577be08354F4d1EB8262';

export const CHAIN_ID = 1;

0 comments on commit 541f2ac

Please sign in to comment.