This document contains design information relating to both FIP-6 and FIP-21
https://github.com/fioprotocol/fips/blob/master/fip-0006.md
https://github.com/fioprotocol/fips/blob/master/fip-0021.md
...
Design:
FIP-6:
for FIP-6 There are several important factors
Establish tables to be used to record and account the new locked token model (these are called general locked tokens in this design).
integrate the new tables into the locked token accounting for voting and transferring of tokens. This task is relatively easy as we can use the same pattern of development as the genesis grants, and we can add logic for general locks in the places where the genesis locks are integrated, but we can do this in a way that will NOT impact the genesis locks. (IE: we will make new methods to handle the general locks, and leave the genesis locks untouched).
provide new actions for creating these new locks, this will require 2 new actions, one in the token contract, and one in the system contract (trnsloctoks, and addgenlocked)
integrate the new locking logic into the token contract and the system contract
make can transfer, and computegenerallockedtokens similar to the genesis token accounting, implement the logic specific for the general locks.
integrate the calls to these new methods throughout the token contract and system contract as necessary to ensure voting and transfer update the accounting as expected.
FIP-21:
There are 2 important aspects of the staking incentives being proposed:
...