- YiskFinance (yiskUSD): Main protocol (Lending)
- YiskFund: Protocol Revenue Distributor (xYISK Holders got yiskUSD)
- Yisk Helper: Serving data to FE
- YISK: Main Token
- xYISK: version X of YISK
- Governable: Authorities for Yisk
- StakingRewardsV2: Farming (Stake LP got 20% yisk and 80% xYISK)
- xYISKBoost: Handle xYISK Boost (Staking LP and yiskUSD Minters)
- xYISKMinter: yiskUSD Minters got 20% yisk and 80% xYISK
Note: We need to determine the token emission for StakingRewardsV2 and xYISKMinter
Addresses and main methods:
- YISK:
0x89DAFc0a0B3FD8f9f94B07d84a3c93f3316F1484
- xYISK:
0x6266704AA4BED781Bc79077B282758AEd8f8baA5
convert(uint256 amount)
redeem(uint256 xYISKAmount, uint256 duration)
- Duration must be >= 15 days (in epoch)userRedeems(address)
- getting user redeem or vesting infofinalizeRedeem(uint256 redeemIndex)
- claim the vesting (redeemIndex should be passing with one of index in userRedeems[] result)cancelRedeem(uint256 redeemIndex)
- Governable:
0x6BE056691DBC6F2B964e3A6Cee5b9587c344CbFC
- Yisk (yiskUSD):
0xEBea66f410eEeE0901309886EfCe08390b860FD2
depositYLSKToMint(address onBehalfOf,uint256 yLSKamount, uint256 mintAmount)
=> add yLSK as collateral and borrow- onBehalfOf => deposit for who
- mintAmount => amount of yiskUSD
- passing 0 to mintAmount for add collateral only
withdraw(address onBehalfOf, uint256 amount)
=> withdraw collateralmint(address onBehalfOf, uint256 amount)
=> mint yiskUSD (borrow again)burn(address onBehalfOf, uint256 amount)
=> repayrigidRedemption(address provider, uint256 yiskUSDAmount)
=> redeem- provider should be the redempetion provider, for applying to become redempetionProvider, use this function becomeRedemptionProvider(bool _bool)
- YiskHelper:
0x03Ac03851f760e9Bd1F6A2BddDCD3d7E209e54ed
=> Check this out, for serving data to FE - xYISKBoost:
0x6cb44B5F1e6A5F597E486550935548b52F1ab6a3
setLockStatus(uint256 id)
- Id 0 for 30 days
- Id 1 for 90 days
- Id 2 for 180 days
- Id 3 for 365 days
getUnlockTime(address user)
=> get time when the boost finished (so user can claim the reward)
- YiskFund:
0x3C598375DaedE2CfedF3b2292c2ddfFD7354F4a2
getReward()
=> claim yiskUSDgetClaimableYiskUSD(address user)
=> get earned yiskUSD
- xYISKMinter:
0x09343C2c129Df57E13EE07AD59B7250D22FBe0D3
getReward()
=> claim 20% YISK and 80% xYISKearned(address _account)
=> get earned rewards
- StakingRewardsV2:
getReward()
=> claim 20% YISK and 80% xYISKearned(address _account)
=> get earned rewards
- YISK/ETH LP ->
- yiskHelper -> getStakingPoolAPR(poolAddress, yiskAddress, lpToken) + (boost percent from APR) OR
- (RPS* 31536000*tokenPriceInUSD/totalValueLiquidity)*100
- yiskUSD mint pool -> annualReward = rewardRateInDollar * 31,556,926(secondsPerYear) APR = (annualReward / totalStaked) * 100
- Earn Revenue APR = (Total Protocol Revenue / Total Staked in Dollar) * 365 / Reward Distribution Period * 100%
- yiskUSD/USDT LP
- (RPS* 31536000*tokenPriceInUSD/totalValueLiquidity)*100
This project was developed by Nava Labs.
This project is licensed under MIT.