File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22pragma solidity ^ 0.8.19 ;
33
44import "forge-std/Script.sol " ;
5- import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol " ;
5+ import {IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol " ;
66import "src/hooks/cypher-eth/BETHToETH.sol " ;
7- import { IWNativeToken } from "src/hooks/cypher-eth/IWNativeToken.sol " ;
7+ import {IWNativeToken} from "src/hooks/cypher-eth/IWNativeToken.sol " ;
88
99contract DeployBETHToETH is Script {
1010 // mainnet addresses
1111 address constant WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 ;
1212 address constant BETH = 0x5624344235607940d4d4EE76Bf8817d403EB9Cf8 ;
13-
13+
1414 function run () external {
1515 vm.startBroadcast ();
16-
17- BETHToETH bethToEth = new BETHToETH (IERC20 (BETH),IWNativeToken (WETH));
18-
16+
17+ BETHToETH bethToEth = new BETHToETH (IERC20 (BETH), IWNativeToken (WETH));
18+
1919 console.log ("BETHToETH deployed to: " , address (bethToEth));
2020 console.log ("BETH address: " , BETH);
2121 console.log ("WETH address: " , WETH);
22-
22+
2323 vm.stopBroadcast ();
2424 }
25- }
25+ }
You can’t perform that action at this time.
0 commit comments