Versions Compared

Key

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

...

  • BP locks

    • Would work as is

  • Mainnet tokens locked

    • Would look at tokens in lockedtokens and properly evaluate:

      • Tokens would automatically be considered unlocked based on predefined time period

      • Type 2 unlock inhibit flag would be considered

      • Balance inflow/ouflow would be considered such as when fees are paid out of lock balance (Type 4)

  • FIP-6 token locks

    • Would look at tokens in lockedtokens and properly evaluate:

      • Tokens currently locked based on lock schedule and time passed from lock start

  • Future unlock chart

Pros:

  • Can be built without modifications to off-chain code

  • Can be more rich, e.g. charts

  • Can be built on top of on-chain solution

Cons:

  • Data on-chain may not be accurate to outside observer who does not understand the details behind how table values are computed.

Initiative link

https://fioprotocol.atlassian.net/browse/WP-92