Skip to content

Commit

Permalink
fix: trigger underscore (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
Schlagonia authored Oct 23, 2023
1 parent 2e4f4fd commit e7f60e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down
2 changes: 1 addition & 1 deletion src/Strategy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
*/

/**
Expand Down

0 comments on commit e7f60e1

Please sign in to comment.