Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: gsm addresses #342

Merged
merged 1 commit into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
Loading