Skip to content

Commit

Permalink
linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MazyGio committed Nov 18, 2024
1 parent d564271 commit 0540fd9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tasks/deploy/config/mainnet/scrvusd-182day.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const MAINNET_SCRVUSD_182DAY: HyperdriveInstanceConfig = {
prefix: "ERC4626",
coordinatorAddress: async (hre) =>
hre.hyperdriveDeploy.deployments.byName(
MAINNET_ERC4626_COORDINATOR_NAME
MAINNET_ERC4626_COORDINATOR_NAME,
).address,
deploymentId: keccak256(toBytes(MAINNET_SCRVUSD_182DAY_NAME)),
salt: toBytes32("0x69420"),
Expand All @@ -45,11 +45,11 @@ export const MAINNET_SCRVUSD_182DAY: HyperdriveInstanceConfig = {
prepare: async (hre) => {
let baseToken = await hre.viem.getContractAt(
"contracts/src/interfaces/IERC20.sol:IERC20",
CRVUSD_ADDRESS_MAINNET
CRVUSD_ADDRESS_MAINNET,
);
let tx = await baseToken.write.approve([
hre.hyperdriveDeploy.deployments.byName(
MAINNET_ERC4626_COORDINATOR_NAME
MAINNET_ERC4626_COORDINATOR_NAME,
).address,
CONTRIBUTION,
]);
Expand All @@ -60,7 +60,7 @@ export const MAINNET_SCRVUSD_182DAY: HyperdriveInstanceConfig = {
let factoryContract = await hre.viem.getContractAt(
"HyperdriveFactory",
hre.hyperdriveDeploy.deployments.byName(MAINNET_FACTORY_NAME)
.address
.address,
);
return {
baseToken: CRVUSD_ADDRESS_MAINNET,
Expand All @@ -78,7 +78,7 @@ export const MAINNET_SCRVUSD_182DAY: HyperdriveInstanceConfig = {
...(await getLinkerDetails(
hre,
hre.hyperdriveDeploy.deployments.byName(MAINNET_FACTORY_NAME)
.address
.address,
)),
fees: {
curve: parseEther("0.01"),
Expand Down

0 comments on commit 0540fd9

Please sign in to comment.