InvestmentStrategy
Inherits: IInvestmentStrategy
State Variables
bank
Bank public bank;
Functions
onlyBank
modifier onlyBank();
constructor
constructor(Bank bank_);
invest
function invest(uint256 amount_) external virtual override onlyBank;
claimRewards
function claimRewards() external virtual override onlyBank returns (uint256);
previewRewards
function previewRewards() external view virtual override returns (uint256);
withdraw
function withdraw(uint256 amount_) external virtual override onlyBank;
getTotalStaked
function getTotalStaked() external view virtual override returns (uint256);
_onlyBank
function _onlyBank() internal view;