GetUnite / investment-strategies

2 stars 1 forks source link

Build read function for strategy Balances #15

Closed 0xtuytuy closed 1 year ago

0xtuytuy commented 2 years ago

Summary

  1. Name: Build read function for strategy Balances
  2. About: To allow the new voteExecutorMaster to know how much a current strategy has.

Is your proposal related to a problem?

No errors, just improvements.

Describe the solution you'd like

The new VoteExecutorMaster needs to be able to read the balance of each strategy so it is able to calculate how much should be unwinded and how much should be invested.

This function will need to be built into the interface, and we will then need to redeploy every strategy.

Additional context