VStaker
Implements staking of LP Tokens and of VRSW tokens
Events
event StakeVrsw
event StakeVrsw(
address who,
uint256 amount);event StakeLp
event StakeLp(
address who,
address lpToken,
uint256 amount);event RewardsClaimed
event RewardsClaimed(
address who,
address lpToken,
uint256 amount);event UnstakeVrsw
event UnstakeLp
event LockVrsw
event LockStakedVrsw
event UnlockVrsw
State-Changing Functions
function stakeVrsw
Name
Type
Description
function stakeLp
Name
Type
Description
function unstakeVrsw
Name
Type
Description
function unstakeLp
Name
Type
Description
function lockVrsw
Name
Type
Description
function lockStakedVrsw
Name
Type
Description
function claimRewards
Read-Only Functions
function checkLock
Name
Type
Description
function viewRewards
Name
Type
Description
function viewVrswStakes
Name
Type
Description
function viewLpStakes
Name
Type
Description
function isLpTokenValid
Last updated