Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions contracts/EverlongStrategyKeeper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,7 @@ contract EverlongStrategyKeeper is Ownable {
(
bool shouldReportVault,
bytes memory vaultCalldataOrReason
) = CommonReportTrigger(trigger).defaultVaultReportTrigger(
_vault,
_strategy
);
) = CommonReportTrigger(trigger).vaultReportTrigger(_vault, _strategy);

// If process_report should be called, call it with the recommended
// parameters.
Expand Down Expand Up @@ -139,9 +136,7 @@ contract EverlongStrategyKeeper is Ownable {
(
bool shouldReportStrategy,
bytes memory strategyCalldataOrReason
) = CommonReportTrigger(trigger).defaultStrategyReportTrigger(
_strategy
);
) = CommonReportTrigger(trigger).strategyReportTrigger(_strategy);

// If report should be called, call it with the recommended parameters.
if (shouldReportStrategy) {
Expand Down Expand Up @@ -232,7 +227,7 @@ contract EverlongStrategyKeeper is Ownable {
) external view returns (bool shouldProcessReport_) {
// Check if report should be called on the vault/strategy combination.
(shouldProcessReport_, ) = CommonReportTrigger(trigger)
.defaultVaultReportTrigger(_vault, _strategy);
.vaultReportTrigger(_vault, _strategy);
}

/// @notice Returns whether `report(..)` should be called on the strategy.
Expand All @@ -244,7 +239,7 @@ contract EverlongStrategyKeeper is Ownable {
) external view returns (bool shouldStrategyReport_) {
// Check if report should be called on the strategy.
(shouldStrategyReport_, ) = CommonReportTrigger(trigger)
.defaultStrategyReportTrigger(_strategy);
.strategyReportTrigger(_strategy);
}

/// @notice Returns whether `tend(..)` should be called on the strategy.
Expand Down
Loading