Insrt-Finance / insrt-v2-contracts

0 stars 3 forks source link

Check state update for each flow #126

Closed NouDaimon closed 1 year ago

NouDaimon commented 1 year ago

The purpose of checking each flow for the correct state updates is:

The outcome should be some more formal grouping of functionality which can inform on how to update contract architecture/storage.

NouDaimon commented 1 year ago

Earnings should probably be its own internal contract and/or have its own storage as updating earnings state is required in almost every flow.