groLabs / GSquared

GNU General Public License v3.0
1 stars 0 forks source link

[feat] - Tranche Tokens refactoring #90

Closed SHAKOTN closed 1 year ago

SHAKOTN commented 1 year ago

What's done at this stage:

  1. Remove migrations completely
  2. Now each Gtoken keeps track of it's USD balance instead of trancheBalances storage array in GTranche
  3. Passing trancheTotalyValue to burn/mint token functions so token balance is updated every time
  4. Numerous tests fixes and fixtures adjustments