This contract can check the available reward for Single / Plus Pool of the KLAYswap service.
Cypress : 0x3C9736fFd8752342eC64328C498eD6878A797887arrow-up-right
getPendingSingleReward
function getPendingSingleReward(address pool, address user) public view returns ( uint reward )
Claimable KSP reward information in a specific single pool
Input Parameters
pool : Single Pool address
pool
user : User address
user
Outputs
reward : Claimable KSP reward
reward
getPendingPlusReward
function getPendingPlusReward(address pool, address user) public view returns ( uint reward )
Claimable KSP reward information in a specific plus pool
pool : Plus Pool address
getSinglePoolBalance
Query the number of assets of a user in a specific SinglePool
ibal : Number of iTokens deposited by users
ibal
bal : The number of tokens corresponding to the iToken deposited by the user
bal
getPlusPoolStatus
User's current status in a specific PlusPool
lp : The number of LPs that the user is depositing in PlusPool
lp
debtA : The number of tokenA borrowed by the user
debtA
debtB : The number of tokenB borrowed by the user
debtB
function getSinglePoolBalance(address pool, address user) public view returns ( uint ibal, uint bal )
function getPlusPoolStatus(address pool, address user) public view returns ( uint lp, uint debtA, uint debtB )