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

Commit

Permalink
fix: task
Browse files Browse the repository at this point in the history
  • Loading branch information
rhlsthrm committed Jul 22, 2024
1 parent 23f492e commit 7969359
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
13 changes: 5 additions & 8 deletions tasks/admin/revenue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,11 @@ task("revenue:flywheels:calculate", "Calculate the fees accrued from 4626 Perfor
}
);

task("revenue:all:calculate", "Calculate the fees accrued from 4626 Performance Fees").setAction(
async (taskArgs, hre) => {
const pluginFees = await hre.run("revenue:4626:calculate");
const adminFees = await hre.run("revenue:admin:calculate");
const flywheelFees = await hre.run("revenue:flywheels:calculate");
console.log(`Total Fees: ${formatEther(pluginFees + adminFees + flywheelFees)}`);
}
);
task("revenue:all:calculate", "Calculate the fees accrued from 4626 Performance Fees").setAction(async (_, hre) => {
const adminFees = await hre.run("revenue:admin:calculate");
const flywheelFees = await hre.run("revenue:flywheels:calculate");
console.log(`Total Fees: ${formatEther(adminFees + flywheelFees)}`);
});

task("revenue:admin:withdraw", "Calculate the fees accrued from admin fees")
.addParam("signer", "The address of the current deployer", "deployer", types.string)
Expand Down
1 change: 0 additions & 1 deletion tasks/market/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import "./set-plugin";
import "./admin";
import "./fund";
import "./risk";
import "./upgrade";
import "./upgrade-all";
Expand Down

0 comments on commit 7969359

Please sign in to comment.