Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Commit 06949d3

Browse files
committed
Change market contract name
1 parent bffe20b commit 06949d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/flywheel/approve.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ task("approve-market-flywheel")
1212

1313
const flywheel = await viem.getContractAt("IonicFlywheel", flywheelAddress);
1414
for (const marketAddress of marketAddresses) {
15-
const market = await viem.getContractAt("CErc20PluginRewardsDelegate", marketAddress);
15+
const market = await viem.getContractAt("CErc20RewardsDelegate", marketAddress);
1616
const fwRewards = await flywheel.read.flywheelRewards();
1717
const rewardToken = await flywheel.read.rewardToken();
1818
const tx = await market.write.approve([rewardToken, fwRewards]);
@@ -35,4 +35,4 @@ task("flywheel:set-fee-recipient")
3535
const tx = await flywheel.write.updateFeeSettings([currentFee, feeRecipient]);
3636
await publicClient.waitForTransactionReceipt({ hash: tx });
3737
console.log(`mined tx ${tx}`);
38-
});
38+
});

0 commit comments

Comments
 (0)