VotingRewardToken

This contract is responsible for the ecosystem behavior related to staking RewardToken. Voting rights (vRewardToken) are issued according to the staking quantity and period.

Code

Github Link: (Will be updated after official launch)

Address

  • Silicon Mainnet : to-be

Events, Read-Only Functions, and State-Changing Functions

Events

LockRewardToken

event LockRewardToken(
    address user,
    uint256 lockPeriod,
    uint256 rewardTokenAmount,
    uint256 totalLockedRewardToken,
    uint256 totalLockedvRewardToken,
    uint256 unlockTime
)
  • Event log of RewardToken staking

  • Parameters

    • user : user address

    • lockPeriod :

      • 4 months : 10,368,000

      • 8 months : 20,736,000

      • 12 months : 31,104,000

      • unlimited : 1,555,200,000

    • rewardTokenAmount : A Number of RewardToken

    • totalLockedRewardToken: Total number of staked RewardToken

    • totalLockedvRewardToken: Total number of users' vRewardToken

    • unlockTime : Available unstaking time (timestamp)

UnlockRewardToken

event UnlockRewardToken(address user, uint256 vRewardTokenAmount, uint256 rewardTokenAmount);
  • Event log of RewardToken unstaking

  • Parameters

    • user : user address

    • vRewardTokenAmount : Number of vRewardToken

    • rewardTokenAmount : Number of RewardToken

UnlockRewardTokenUnlimited

event UnlockRewardTokenUnlimited(
    address user,
    uint256 vRewardTokenBefore,
    uint256 vRewardTokenAfter,
    uint256 rewardTokenAmount,
    uint256 unlockTime
);
  • Event log that occurs when unstaking vRewardToken unlimited

  • Parameters

    • user : user address

    • vRewardTokenBefore : The amount of vRewardToken held

    • vRewardTokenAfter : Amount of vRewardToken held after unstaking

    • rewardTokenAmount : Amount of RewardToken staked

    • unlockTime : Available unstaking time (timestamp)

RefixBoosting

event RefixBoosting(address user, uint lockPeriod, uint boostingAmount, uint unlockTime);
  • Event log of staking period is changed

  • Parameter

    • user : user address

    • lockPeriod : period

    • boostingAmount : Number of vRewardToken after period changed

    • unlockTime : Available unstaking time (timestamp)

ChangeMiningRate

event ChangeMiningRate(uint _mining);
  • Event log of daily RewardToken distribution rate changed

GiveReward

event GiveReward(address user, uint amount, uint lastIndex, uint rewardSum);
  • Event log of when mined RewardToken is claimed and distributed

Compound

event Compound(address user, uint reward, uint compoundAmount, uint transferAmount, uint mintAmount);
  • Event log of when mined RewardToken restaking.

  • The compound amount can be entered in integer units

  • The amount minus the compound amount from the mined amount is returned to the wallet.

Last updated