9.4. Staking Currency Configurations

image-20241113-132906.png

Admin can access Configurations for Currency and see following for Staking details:

  • Staking enabled: status and options to enable or disable staking for currency using toggle switch

  • Staking period: cron schedule or cron job expression used in Unix-like operating systems to specify a schedule for running a command or script

DESCRIPTION The time and date fields are: field allowed values ----- -------------- minute 0-59 hour 0-23 day of month 0-31 month 0-12 day of week 0-7 A field may be an asterisk (*), which always stands for ``first-last''. Step values can be used in conjunction with ranges. Fol- lowing a range with ``/<number>'' specifies skips of the number's value through the range. For example, if you want to say ``every two hours'', just use ``*/2''. EXAMPLE CRON FILE # run five minutes after midnight, every day 5 0 * * * # run at 2:15pm on the first of every month -- output mailed to paul 15 14 1 * * # run at 10 pm 0 22 * * * # run every hour * */1 * * *
  • Staking APR: "Annual percent reward" refers to the percentage or rate of return Users can earn on an investment or savings account over the course of a year.

  • Min staking amount: minimum currency amount that can be staked

  • Instant unstaking: status and options to enable or disable instant staking for currency using toggle switch
    - In case enabled: active staking operation will be closed instantly after user request
    - In case disabled: active staking operation will be closed on the specified time according to the cron expression after user request. Staking reward will be send to user.

After making configurations for currency staking details Admin should press ‘Save currency’.

Prior to saving the edits for staking configuration the system will request to unstake all active staking operation for related currency:

Â