ekonomia-tech / protocol-alpha

Alpha version of a DeFi stablecoin protocol
GNU General Public License v3.0
4 stars 0 forks source link

Add internal accounting to Vault.sol #39

Closed davekaj closed 2 years ago

davekaj commented 2 years ago

Right now Vault.sol does not record internal accounting of how many tokens it sends to AMOs.

The reason to add this is that if AMOController houses all this information, its much harder to upgrade it. Since the vault now depends on the AMO controller to know who has what funds.

Probably we need to add this functionality, but lets do it when we start coding AMOController