Skip to content

Commit

Permalink
update cbETH_ETH to use exchange rate (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
rustboyar authored Feb 15, 2024
1 parent 80447d8 commit 0641952
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scripts/configs/networks/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export const baseAddresses: NetworkAddresses<{
CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32',
PROTOCOL_GUARDIAN: '0x9e10C0A1Eb8FF6a0AaA53a62C7a338f35D7D9a2A',
wstETH_stETH_AGGREGATOR: '0xB88BAc61a4Ca37C43a3725912B1f472c9A5bc061',
cbETH_ETH_AGGREGATOR: '0x806b4Ac04501c29769051e42783cF04dCE41440b',
cbETH_ETH_AGGREGATOR: '0x868a501e68F3D1E89CfC0D22F6b22E8dabce5F04',
},
};
4 changes: 2 additions & 2 deletions src/MiscBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ library MiscBase {
// https://basescan.org/address/0xB88BAc61a4Ca37C43a3725912B1f472c9A5bc061
address internal constant wstETH_stETH_AGGREGATOR = 0xB88BAc61a4Ca37C43a3725912B1f472c9A5bc061;

// https://basescan.org/address/0x806b4Ac04501c29769051e42783cF04dCE41440b
address internal constant cbETH_ETH_AGGREGATOR = 0x806b4Ac04501c29769051e42783cF04dCE41440b;
// https://basescan.org/address/0x868a501e68F3D1E89CfC0D22F6b22E8dabce5F04
address internal constant cbETH_ETH_AGGREGATOR = 0x868a501e68F3D1E89CfC0D22F6b22E8dabce5F04;
}
4 changes: 2 additions & 2 deletions src/ts/MiscBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const PROTOCOL_GUARDIAN = '0x9e10C0A1Eb8FF6a0AaA53a62C7a338f35D7D9a2A';
// https://basescan.org/address/0xB88BAc61a4Ca37C43a3725912B1f472c9A5bc061
export const wstETH_stETH_AGGREGATOR = '0xB88BAc61a4Ca37C43a3725912B1f472c9A5bc061';

// https://basescan.org/address/0x806b4Ac04501c29769051e42783cF04dCE41440b
export const cbETH_ETH_AGGREGATOR = '0x806b4Ac04501c29769051e42783cF04dCE41440b';
// https://basescan.org/address/0x868a501e68F3D1E89CfC0D22F6b22E8dabce5F04
export const cbETH_ETH_AGGREGATOR = '0x868a501e68F3D1E89CfC0D22F6b22E8dabce5F04';

export const CHAIN_ID = 8453;

0 comments on commit 0641952

Please sign in to comment.