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

Commit 7969359

Browse files
committed
fix: task
1 parent 23f492e commit 7969359

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

tasks/admin/revenue.ts

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -201,14 +201,11 @@ task("revenue:flywheels:calculate", "Calculate the fees accrued from 4626 Perfor
201201
}
202202
);
203203

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

213210
task("revenue:admin:withdraw", "Calculate the fees accrued from admin fees")
214211
.addParam("signer", "The address of the current deployer", "deployer", types.string)

tasks/market/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import "./set-plugin";
22
import "./admin";
3-
import "./fund";
43
import "./risk";
54
import "./upgrade";
65
import "./upgrade-all";

0 commit comments

Comments
 (0)