Commit 3eca48a 1 parent 9aa10c9 commit 3eca48a Copy full SHA for 3eca48a
File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,19 @@ import {IStrategy} from "../interfaces/IStrategy.sol";
8
8
import {RescueFundsLib} from "./RescueFundsLib.sol " ;
9
9
import "openzeppelin-contracts/contracts/utils/math/Math.sol " ;
10
10
11
- // @todo: separate our connecter plugs
11
+ // add report external function (called from cron)
12
+ // call report from withdraw and deposit too (with timestamp check, settable by admin)
13
+ // pausable vault
14
+ // redeem all from strategy and detach
15
+ // reentrancy guard
16
+
12
17
contract YVault is Gauge , Ownable2Step , ERC4626 {
13
18
using SafeTransferLib for ERC20 ;
14
19
ERC20 public immutable token__;
15
20
16
21
uint256 public totalIdle; // Amount of tokens that are in the vault
17
22
uint256 public totalDebt; // Amount of tokens that strategy have borrowed
23
+
18
24
uint256 public totalProfit; // Amount of tokens that strategy have earned
19
25
uint256 public totalLoss; // Amount of tokens that strategy have lost
20
26
uint256 public debtRatio; // Debt ratio for the Vault (in BPS, <= 10k)
You can’t perform that action at this time.
0 commit comments