In order for a user to control the deposited contract we need an algorithm to calculate the time and verify against the ownership of their controller tokens for a given contract. Every time a user attempts to interact with a contract function the algorithm should run validating and returning the current controller of the contract.
This algorithm should be implemented within the FractionVault Contract
Things to consider:
How can we use the block time or block number to get current day, month, year?
How can this be calculated?
This function should be a public function that can also be utilized on the front end but should also be used as validation on the increment and decrement functions
In order for a user to control the deposited contract we need an algorithm to calculate the time and verify against the ownership of their controller tokens for a given contract. Every time a user attempts to interact with a contract function the algorithm should run validating and returning the current controller of the contract.
This algorithm should be implemented within the FractionVault Contract
Things to consider: