Skip to content

Fund #2

Description

@Nicca42

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions