Skip to content
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
4 changes: 3 additions & 1 deletion build/deployments-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"015_UpgradeEthenaARMScript": 1766319523,
"016_UpdateLidoARMCrossPriceScript": 1767616727,
"017_DeployNewMorphoMarketForEtherFiARM": 1770197063,
"018_DeployNewMorphoMarketForLidoARM": 1770716663
"018_DeployNewMorphoMarketForLidoARM": 1770716663,
"019_DeployPendleAdaptor_EtherFi": 1770793835
},
"contracts": {
"ARM_ZAPPER": "0xE11EDbd5AE4Fa434Af7f8D7F03Da1742996e7Ab2",
Expand Down Expand Up @@ -45,6 +46,7 @@
"MORPHO_MARKET_ORIGIN_IMPL": "0x2ea9D1827973813D77aA8f35BD23cb1F1311A648",
"OETH_ARM": "0x6bac785889A4127dB0e0CeFEE88E0a9F1Aaf3cC7",
"OETH_ARM_IMPL": "0x9A2be51E45Eec98F75b3e6e1b334246c94663641",
"PENDLE_ETHERFI_ARM_SY": "0x3362070B3727b3beE5196bFf0772543f41d4e1F1",
"PENDLE_ORIGIN_ARM_SY": "0xbcae2Eb1cc47F137D8B2D351B0E0ea8DdA4C6184"
}
}
2 changes: 2 additions & 0 deletions script/deploy/DeployManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import {UpgradeEthenaARMScript} from "./mainnet/015_UpgradeEthenaARMScript.sol";
import {UpgradeLidoARMCrossPriceScript} from "./mainnet/016_UpdateLidoARMCrossPriceScript.sol";
import {DeployNewMorphoMarketForEtherFiARM} from "./mainnet/017_DeployNewMorphoMarketForEtherFiARM.sol";
import {DeployNewMorphoMarketForLidoARM} from "./mainnet/018_DeployNewMorphoMarketForLidoARM.sol";
import {DeployPendleAdaptorEtherFi} from "./mainnet/019_DeployPendleAdaptor_EtherFi.sol";
import {EmptyScript} from "./mainnet/999_empty.sol";

contract DeployManager is Script {
Expand Down Expand Up @@ -93,6 +94,7 @@ contract DeployManager is Script {
_runDeployFile(new UpgradeLidoARMCrossPriceScript());
_runDeployFile(new DeployNewMorphoMarketForEtherFiARM());
_runDeployFile(new DeployNewMorphoMarketForLidoARM());
_runDeployFile(new DeployPendleAdaptorEtherFi());
_runDeployFile(new EmptyScript());
} else if (block.chainid == 17000) {
// Holesky
Expand Down
35 changes: 35 additions & 0 deletions script/deploy/mainnet/019_DeployPendleAdaptor_EtherFi.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.23;

// Foundry imports
import {console} from "forge-std/console.sol";

// Contract imports
import {PendleOriginARMSY} from "contracts/pendle/PendleOriginARMSY.sol";

// Deployment imports
import {GovProposal, GovSixHelper} from "contracts/utils/GovSixHelper.sol";
import {AbstractDeployScript} from "../AbstractDeployScript.sol";

contract DeployPendleAdaptorEtherFi is AbstractDeployScript {
using GovSixHelper for GovProposal;

GovProposal public govProposal;

string public constant override DEPLOY_NAME = "019_DeployPendleAdaptor_EtherFi";
bool public constant override proposalExecuted = false;

function _execute() internal override {
console.log("Deploy:", DEPLOY_NAME);
console.log("------------");

// 1. Deploy PendleOriginARMSY
PendleOriginARMSY sy =
new PendleOriginARMSY("SY EtherFi ARM", "SY-ARM-WETH-eETH", deployedContracts["ETHER_FI_ARM"]);
_recordDeploy("PENDLE_ETHERFI_ARM_SY", address(sy));

console.log("Finished deploying", DEPLOY_NAME);
}

function _buildGovernanceProposal() internal override {}
}
Loading