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

Add Powerpool Automation #8

Open
7 tasks
RonTuretzky opened this issue Jan 17, 2025 · 0 comments
Open
7 tasks

Add Powerpool Automation #8

RonTuretzky opened this issue Jan 17, 2025 · 0 comments
Labels
enhancement New feature or request nice to have

Comments

@RonTuretzky
Copy link
Contributor

RonTuretzky commented Jan 17, 2025

  • Add a view function that iterates through all circles and returns an encoded array of a tuple of user/circleID for which it is possible to claim for in the powerpool format (reference the existing powerpool automation on here
  • Add a function that claims for multiple users in multiple circles
  • Add a view function that returns an array of tuples of user/circleID for which the user has given a sufficient allowance for the circleManager contract, has not yet deposited the amount for the interval, and has enough balance of the circle token to deposit for.
  • Add a function that attempts to transferFrom a user which has sufficient allowance, balance , and has not deposited yet for a circle in some interval
  • add user to boolean mapping for automation
  • add checks for depositFor and withdrawFor to see if user allows automation
  • in view functions add check that user has allowed automation before invoking
@RonTuretzky RonTuretzky added the enhancement New feature or request label Jan 17, 2025
@RonTuretzky RonTuretzky changed the title Add Powerpool Automation [NICE TO HAVE] Add Powerpool Automation Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request nice to have
Projects
None yet
Development

No branches or pull requests

1 participant