Staking Contract Audit
We have had our staking contract audited by Cyberscope (a leading smart contract auditor) It passed audit π The full audit is here
There were 2 medium issues raised, all of which we are happy to accept as this is by design.
Inconsistent Epoch Identification - the contract allows tokens to be staked even though the epoch has not yet started, meaning that tokens can be staked before an epoch has started. This is seen as a medium risk because staking should be consistent, however, we have designed the contract this way to allow users to stake for Epoch 1 in advance.
Inconsistent pre-epoch unstake - the contract allows users to unstake only once before epoch 1 begins. All other epochs allow multiple unstakes. This is by design as the 1 week pre-epoch 1 period is for epoch 1 staking. Users will unlikely wnt to unstake more than once during this period. Once epoch 1 is started users can unstake as much as they want.
Last updated