Comment on page
Smart Contracts Overview
The VLR staking contract and all unique E-VLR staking contracts have over 90% of common code in common. The only differences in function headers enable a distribution of a rewards basket in exchanged for staked VLR, as opposed to a single token used for both inputs and outputs of all E-VLR staking contracts.
VLR Staking
E-VLR Staking
VlrStaker
is will be deployed on the Binance Smart Chain network. VLR Staking
E-VLR Staking
function getCharityAddress() external view returns (address _charityBagAddress);
This function returns the address of the wallet collecting charity fees.
VLR Staking
E-VLR Staking
function stake(uint256 _stakedVlrAmount)externalreturns (uint256 mtcFeePaid,uint256 charityFeePaid,uint256 burnFeePaid,uint256 stakingFeePaid,uint256 svlrMinted);
Contributes
_stakedVlrAmount
to the contract, creating svlrMinted
equal to that amount less mtcFeePaid
, charityFeePaid
, burnFeePaid
, and stakingFeePaid
.function unstake(uint256 _unstakedAmount)externalreturns (uint256 mtcFeePaid,uint256 charityFeePaid,uint256 burnFeePaid,uint256 stakingFeePaid,uint256 vlrReturned,uint256 vlrRewardsReturned);
Removes
_unstakedAmount
and returns vlrReturned
equal to that amount less mtcFeePaid
, charityFeePaid
, burnFeePaid
, and stakingFeePaid
plus staking rewards equal to vlrRewardsReturned
. function stake(uint256 _stakedVlrAmount)externalreturns (uint256 charityFeePaid,uint256 burnFeePaid,uint256 stakingFeePaid,uint256 svlrMinted);
Contributes
_stakedVlrAmount
to the contract, creating svlrMinted
equal to that amount less charityFeePaid
, burnFeePaid
, and stakingFeePaid
.function unstake(uint256 _unstakedAmount)externalreturns (uint256 charityFeePaid,uint256 burnFeePaid,uint256 stakingFeePaid,uint256 vlrReturned,uint256 vlrRewardsReturned);
Removes
_unstakedAmount
and returns vlrReturned
equal to that amount less charityFeePaid
, burnFeePaid
, and stakingFeePaid
plus staking rewards equal to vlrRewardsReturned
.Last modified 1yr ago