Skip to content

Commit

Permalink
fix: replace old pt oracle with new address
Browse files Browse the repository at this point in the history
  • Loading branch information
GitGuru7 committed Dec 27, 2024
1 parent ca3811c commit 299d4fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions deploy/7-deploy-pendle-oracle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const func: DeployFunction = async ({
market: addresses.PTweETH_26DEC2024_Market,
ptToken: addresses.PTweETH_26DEC2024,
underlyingToken: addresses.WETH,
ptOracle: addresses.newPTOracle || (await ethers.getContract("MockPendleOracle")).address,
ptOracle: addresses.PTOracle || (await ethers.getContract("MockPendleOracle")).address,
TWAPDuration: 1800,
pendleRateKind: PendleRateKind.PT_TO_ASSET,
},
Expand All @@ -105,7 +105,7 @@ const func: DeployFunction = async ({
ptOracle:
network.name === "sepolia"
? (await ethers.getContract("MockPendleOracle_PT_USDe_27MAR2025")).address
: addresses.newPTOracle,
: addresses.PTOracle,
TWAPDuration: 1800,
pendleRateKind: PendleRateKind.PT_TO_ASSET,
},
Expand All @@ -117,7 +117,7 @@ const func: DeployFunction = async ({
ptOracle:
network.name === "sepolia"
? (await ethers.getContract("MockPendleOracle_PT_sUSDe_27MAR2025")).address
: addresses.newPTOracle,
: addresses.PTOracle,
TWAPDuration: 1800,
pendleRateKind: PendleRateKind.PT_TO_ASSET,
},
Expand Down
3 changes: 1 addition & 2 deletions helpers/deploymentConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export const ADDRESSES: PreconfiguredAddresses = {
eETH: "0x35fA164735182de50811E8e2E824cFb9B6118ac2",
PTweETH_26DEC2024: "0x6ee2b5e19ecba773a352e5b21415dc419a700d1d",
PTweETH_26DEC2024_Market: "0x7d372819240d14fb477f17b964f95f33beb4c704",
PTOracle: "0x66a1096C6366b2529274dF4f5D8247827fe4CEA8",
PTOracle: "0x9a9fa8338dd5e5b2188006f1cd2ef26d921650c2",
EtherFiLiquidityPool: "0x308861A430be4cce5502d0A12724771Fc6DaF216",
WETH: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
SfrxEthFraxOracle: "0x3d3D868522b5a4035ADcb67BF0846D61597A6a6F",
Expand All @@ -164,7 +164,6 @@ export const ADDRESSES: PreconfiguredAddresses = {
eBTC_Accountant: "0x1b293DC39F94157fA0D1D36d7e0090C8B8B8c13F",
pufETH: "0xD9A442856C234a39a81a089C06451EBAa4306a72",
LBTC: "0x8236a87084f8B84306f72007F36F2618A5634494",
newPTOracle: "0x9a9fa8338dd5e5b2188006f1cd2ef26d921650c2",
PTUSDe_27MAR2025_Market: "0xB451A36c8B6b2EAc77AD0737BA732818143A0E25",
PTUSDe_27MAR2025: "0x8a47b431a7d947c6a3ed6e42d501803615a97eaa",
USDe: "0x4c9edd5852cd905f086c759e8383e09bff1e68b3",
Expand Down

0 comments on commit 299d4fd

Please sign in to comment.