From 64e9cc2fd0663a3ea2722f17d6ac16e0ba166933 Mon Sep 17 00:00:00 2001 From: Schlagonia Date: Sun, 22 Oct 2023 13:24:05 -0600 Subject: [PATCH] fix: trigger underscore --- README.md | 2 +- src/Strategy.sol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d4d8f6e7..c51361d2 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ This repo will allow you to write, test and deploy V3 "Tokenized Strategies" using [Foundry](https://book.getfoundry.sh/). -You will only need to override the three functions in Strategy.sol of `_deployFunds`, `_freeFunds` and `_harvestAndReport`. With the option to also override `_tend`, `tendTrigger`, `availableDepositLimit`, `availableWithdrawLimit` and `_emegencyWithdraw` if desired. +You will only need to override the three functions in Strategy.sol of `_deployFunds`, `_freeFunds` and `_harvestAndReport`. With the option to also override `_tend`, `_tendTrigger`, `availableDepositLimit`, `availableWithdrawLimit` and `_emegencyWithdraw` if desired. For a more complete overview of how the Tokenized Strategies work please visit the [TokenizedStrategy Repo](https://github.com/yearn/tokenized-strategy). diff --git a/src/Strategy.sol b/src/Strategy.sol index 9e993be4..d6b46c84 100644 --- a/src/Strategy.sol +++ b/src/Strategy.sol @@ -149,7 +149,7 @@ contract Strategy is BaseStrategy { * * @return . Should return true if tend() should be called by keeper or false if not. * - function _tendTrigger() public view override returns (bool) {} + function _tendTrigger() internal view override returns (bool) {} */ /**