LenderPool
deposit
function deposit(uint amount) external;Is used by lenders to deposit stable tokens to the smart contracts.
Parameter Name
Type
Description
Requirements
Type
Description
withdrawAllDeposit
function withdrawAllDeposit() external;Send lender T-Stable equivalent to stable deposited.
withdrawDeposit
function withdrawDeposit(uint amount) external;Send lender T-Stable equivalent to stable requested.
Parameter Name
Type
Description
Requirements
Type
Description
redeemAll
Call transfers all rewards and deposited amount in the stable token.
Requirements
Type
Description
switchRewardManager
Is used to switch reward managers.
Parameter Name
Type
Description
switchVerification
Parameter Name
Type
Description
switchStrategy
Is used for switching the strategy.
Parameter Name
Type
Description
claimReward
Transfer all the token reward to msg.sender
token reward to msg.senderParameter Name
Type
Description
rewardOf
Returns the total reward of the lender
Parameter Name
Type
Description
getStrategyBalance
Returns total balance allocated by LenderPool in the Strategy (external protocol)
Parameter Name
Type
Description
getDeposit
Returns total amount deposited by the lender.
Parameter Name
Type
Description
Last updated