Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: license #20

Merged
merged 3 commits into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/Strategy.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-3.0
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;

import {BaseStrategy, ERC20} from "@tokenized-strategy/BaseStrategy.sol";
Expand Down Expand Up @@ -43,7 +43,7 @@
* @param _amount The amount of 'asset' that the strategy should attempt
* to deposit in the yield source.
*/
function _deployFunds(uint256 _amount) internal override {

Check warning on line 46 in src/Strategy.sol

View workflow job for this annotation

GitHub Actions / solidity

Code contains empty blocks
// TODO: implement deposit logic EX:
//
// lendingPool.deposit(address(asset), _amount ,0);
Expand All @@ -70,7 +70,7 @@
*
* @param _amount, The amount of 'asset' to be freed.
*/
function _freeFunds(uint256 _amount) internal override {

Check warning on line 73 in src/Strategy.sol

View workflow job for this annotation

GitHub Actions / solidity

Code contains empty blocks
// TODO: implement withdraw logic EX:
//
// lendingPool.withdraw(address(asset), _amount);
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IStrategyInterface.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: GPL-3.0
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;

import {IStrategy} from "@tokenized-strategy/interfaces/IStrategy.sol";

interface IStrategyInterface is IStrategy {

Check warning on line 6 in src/interfaces/IStrategyInterface.sol

View workflow job for this annotation

GitHub Actions / solidity

Code contains empty blocks
//TODO: Add your specific implementation interface in here.
}
2 changes: 1 addition & 1 deletion src/periphery/StrategyAprOracle.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-3.0
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;

import {AprOracleBase} from "@periphery/AprOracle/AprOracleBase.sol";
Expand Down Expand Up @@ -26,8 +26,8 @@
* @return . The expected apr for the strategy represented as 1e18.
*/
function aprAfterDebtChange(
address _strategy,

Check warning on line 29 in src/periphery/StrategyAprOracle.sol

View workflow job for this annotation

GitHub Actions / solidity

Variable "_strategy" is unused
int256 _delta

Check warning on line 30 in src/periphery/StrategyAprOracle.sol

View workflow job for this annotation

GitHub Actions / solidity

Variable "_delta" is unused
) external view override returns (uint256) {
// TODO: Implement any necessary logic to return the most accurate
// APR estimation for the strategy.
Expand Down
Loading