BaseStrategy
State Variables
vault
address public vault;
withdrawSlippage
uint16 public withdrawSlippage;
depositSlippage
uint16 public depositSlippage;
harvestIncentiveRate
assetsMapped
rewardTokenAddress
assetToPToken
gap
Functions
onlyVault
onlyVaultOrOwner
constructor
updateVault
Name
Type
Description
updateHarvestIncentiveRate
Name
Type
Description
recoverERC20
Name
Type
Description
deposit
Name
Type
Description
withdraw
Name
Type
Description
Name
Type
Description
withdrawToVault
Name
Type
Description
collectInterest
Name
Type
Description
collectReward
checkBalance
Name
Type
Description
Name
Type
Description
checkAvailableBalance
Name
Type
Description
Name
Type
Description
checkInterestEarned
Name
Type
Description
Name
Type
Description
checkRewardEarned
Name
Type
Description
checkLPTokenBalance
Name
Type
Description
supportsCollateral
Name
Type
Description
Name
Type
Description
updateSlippage
Name
Type
Description
_initialize
Name
Type
Description
_setPTokenAddress
Name
Type
Description
_removePTokenAddress
Name
Type
Description
Name
Type
Description
_splitAndSendReward
Name
Type
Description
Name
Type
Description
_abstractSetPToken
Name
Type
Description
Events
VaultUpdated
YieldReceiverUpdated
PTokenAdded
PTokenRemoved
Deposit
Withdrawal
SlippageUpdated
HarvestIncentiveCollected
HarvestIncentiveRateUpdated
InterestCollected
RewardTokenCollected
Errors
CallerNotVault
CallerNotVaultOrOwner
PTokenAlreadySet
InvalidIndex
CollateralNotSupported
InvalidAssetLpPair
CollateralAllocated
Structs
RewardData
Was this helpful?