Skip to main content

NevellusStaking

You come in with some NVLS, and you leave with more! The longer you stay, the more NVLS you get, that is the logic.

The NevellusStaking contract handles swapping to and from sNVLS, Nevellus's staking token.

The full contract can be viewed here.

Functions​

enter​

function enter(uint256 _amount) public

Locks NVLS and mints sNVLS.

Parameters​

NameTypeDescription
amountuint256amount of NVLS you wish to lock for sNVLS

leave​

function leave(uint256 _share) public

Unlocks the staked + gained NVLS and burns sNVLS.

Parameters​

NameTypeDescription
_shareuint256amount of NVLS you have staked that you wish to withdraw