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

Issue10 - Detect and claim unclaimed profits #91

Conversation

trizin
Copy link
Contributor

@trizin trizin commented Aug 24, 2023

Fixes #10

Changes proposed in this PR:

  • Added payout_multiple function.
  • Removed current payout call from predictoor, main.py.
  • Added a few useful functions for predictoors:
    • request_payout
    • claim_pending_payouts
    • query_pending_payouts (util/subgraph.py)

This PR introduces the foundational functionality for the detect&auto-claim feature, but doesn't implement the feature itself into the predictoor agent. The implementation and accompanying unit tests (including for the functionality added within this PR) will be added once the predictoor refactor is complete and the code structure is finalized.

@trizin trizin linked an issue Aug 24, 2023 that may be closed by this pull request
@trizin trizin marked this pull request as ready for review August 25, 2023 22:01
@trizin trizin requested a review from trentmc August 25, 2023 22:08
@trentmc trentmc merged commit 6f287d1 into main Aug 26, 2023
@trentmc trentmc deleted the issue10-pdr-predictoor-use-subgraph-to-detect-and-claim-unclaimed-profits branch August 26, 2023 06:10
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

Successfully merging this pull request may close these issues.

[pdr-predictoor] use subgraph to detect and claim unclaimed profits
2 participants