xWin Locked Stake
xWinLockedStake
UserInfo
struct UserInfo {
uint256 shares;
uint256 amount;
uint256 lockedShares;
uint256 rewardDebt;
uint256 startTimestamp;
uint256 endPeriodTimestamp;
uint256 xWinFavor;
}token
contract IERC20Upgradeable tokenmasterChef
contract xWinMasterChef masterChefuserInfo
mapping(address => struct xWinLockedStake.UserInfo) userInfototalShares
lastHarvestedTime
totalLockedShares
accXWINperLockedShare
treasury
lockedRewardsVault
performanceFee
callFee
blocksPerDay
xwinpid
lockpid
Deposit
Withdraw
Harvest
initialize
masterChefDeposit
deposit
Name
Type
Description
harvest
_harvest
harvestLockBonus
withdraw
_earn
setTreasury
setFees
setBlocksPerDay
migrateMasterChef
calculateHarvestCakeRewards
Name
Type
Description
calculateTotalPendingCakeRewards
Name
Type
Description
_doWithdraw
getPricePerFullShare
available
getFavor
totalXWINBalance
shareMultiplier
getUserPosition
Name
Type
Description
Name
Type
Description
convertWeeksToTimestamp
getUserCompoundAPYrate
getUserLockingBonusAPR
getEstimatedDepositAPY
Name
Type
Description
Last updated