mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-09 23:47:55 -05:00
26 lines
843 B
Solidity
26 lines
843 B
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.8.19;
|
|
|
|
import { BaseScript } from "../Base.s.sol";
|
|
import { ERC1967Proxy } from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol";
|
|
|
|
import { DeploymentConfig } from "./DeploymentConfig.s.sol";
|
|
import { ETHYieldManagerMock } from "../../../../test/foundry/bridging/eth/mocks/ETHYieldManagerMock.sol";
|
|
|
|
contract DeployDummyYieldManager is BaseScript {
|
|
function run() public returns (address, ETHYieldManagerMock) {
|
|
DeploymentConfig deploymentConfig = new DeploymentConfig(broadcaster);
|
|
(address deployer, address messageService, address remoteSender, address yieldManager) = deploymentConfig
|
|
.activeNetworkConfig();
|
|
|
|
vm.startBroadcast(deployer);
|
|
|
|
ETHYieldManagerMock impl = new ETHYieldManagerMock();
|
|
|
|
vm.stopBroadcast();
|
|
|
|
return (deployer, impl);
|
|
}
|
|
}
|
|
|