LenderPool
Last updated
Last updated
Parameter Name | Type | Description |
---|---|---|
Type | Description |
---|---|
Parameter Name | Type | Description |
---|---|---|
Updates the Verification contract address.
token
reward to msg.sender
Type | Description |
---|---|
Type | Description |
---|---|
Parameter Name | Type | Description |
---|---|---|
Parameter Name | Type | Description |
---|---|---|
Parameter Name | Type | Description |
---|---|---|
Parameter Name | Type | Description |
---|---|---|
Parameter Name | Type | Description |
---|---|---|
Parameter Name | Type | Description |
---|---|---|
Parameter Name | Type | Description |
---|---|---|
amount
uint
is used by lenders to deposit stable token to smart contract.
amount
should be greater than zero. must be approved from the stable token contract for the LenderPool. should be less than the validation limit or KYC needs to be completed.
amount
uint
Total token requested by lender.
amount
should be greater than 0. should be not greater than deposited.
RedeemPool
should have stable tokens more than lender deposited.
newRewardManager
address
newRewardManager, Address of the new RewardManager
.
switchVerification
address
Updates the Verification contract address.
newStrategy
address
address of the new staking strategy.
token
address
address of the token.
lender
address
address
token
address
Returns the total pending reward
uint
return
Returns the total pending reward
unit
return
Returns total balance allocated by LenderPool in the Strategy external protocol
lender
address
address of the lender
uint
returns
returns amount of stable token deposited by the lender