Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the example below, different interim numbers have been truncated to show the impact on staking 10 tokens and unstaking 10 5 tokens. The cells highlighted in yellow have been truncated and in these use cases the user receives fewer than 10 tokens 5 FIO upon unstaking.

In our contract we have an assertion that (sufsclaimed >= unstakeamount) which, in the case below, fails.

...