Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fund #2

Open
5 of 10 tasks
Nicca42 opened this issue Apr 19, 2019 · 0 comments
Open
5 of 10 tasks

Fund #2

Nicca42 opened this issue Apr 19, 2019 · 0 comments

Comments

@Nicca42
Copy link
Contributor

Nicca42 commented Apr 19, 2019

Functionality

Be able to...

  • Add tokens
    Takes in an array of token addresses and a corresponding array of the token distribution (in decimals (scaled by 10, i.e 0.5 would be 5))
    • Adding tokens should automatically approve the rebalancer to spend all tokens
  • Rebalance
    This function should call the vyper library to rebalance the fund. This can be called by any address, and the address will be refunded 150% gas.
  • Manual rebalance
    This should allow only the owner to manually rebalance the fund irrespective of the next rebalance period. This will not reimburse the owner the cost of gas.
  • Kill Fund
    This function will send all the tokens within the fund to the owner's address and then self destruct.

Be able to look up...

  • The owner's address
  • The tokens distribution (the tokens + percentages)
  • The last rebalance
  • The rebalance period
  • The tokens currently in the fund
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant