This contract is responsible for the ecosystem behavior related to staking KSP. Voting rights (vKSP) are issued according to the staking quantity and period, and 40% of the daily KSP mining quantity is distributed to staking participants. (KSP distribution for staking participants may be changed through governance voting)


Github Link: (Will be updated after official launch)


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



event LockKSP(address user, uint lockPeriod, uint KSPAmount, uint totalLockedKSP, uint unlockTime);
  • Event log of KSP staking

  • Parameters

    • user : user address

    • lockPeriod :

      • 4 months : 10,368,000

      • 8 months : 20,736,000

      • 12 months : 31,104,000

      • x8 : 1,555,200,000

    • KSPAmount : Number of KSP

    • totalLockedKSP: Total number of staked KSP

    • unlockTime : Available unstaking time (timestamp)


event UnlockKSP(address user, uint vKSPAmount, uint KSPAmount);
  • Event log of KSP unstaking

  • Parameters

    • user : user address

    • vKSPAmount : Number of vKSP

    • KSPAmount : Number of KSP


event UnlockKSPUnlimited(address user, uint vKSPBefore, uint vKSPAfter, uint KSPAmount, uint unlockTime);
  • Event log that occurs when unstaking vKSP x8

  • Parameters

    • user : user address

    • vKSPBefore : The amount of vKSP held

    • vKSPAfter : Amount of vKSP held after unstaking

    • KSPAmount : Amount of KSP staked

    • unlockTime : Available unstaking time (timestamp)


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 vKSP after period changed

    • unlockTime : Available unstaking time (timestamp)


event ChangeMiningRate(uint _mining);
  • Event log of daily KSP distrivution rate changed


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


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

  • The compound amount can be entered in integer units

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

Last updated