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

Update recurring donation status #1243

Closed
divine-comedian opened this issue Jan 14, 2024 · 4 comments
Closed

Update recurring donation status #1243

divine-comedian opened this issue Jan 14, 2024 · 4 comments
Assignees

Comments

@divine-comedian
Copy link
Collaborator

Recurring Donations can be ended either by user action or automatically when the user's super token balance reaches a critical low point (almost zero).

We should handle when this happens. When a user triggers this action by ending their stream (possible from my donations UI)
Giveth/giveth-dapps-v2#3092

We should update the status of the recurring donation so we know its no longer active.

When it is triggered outside of the UI, either on another UI, directly on the blockchain by a user or by the super token running out of balance we need to capture that and also update the status - we can follow this in #1148

@divine-comedian
Copy link
Collaborator Author

divine-comedian commented Jan 15, 2024

Open Questions on Saving the extra data

  • Where do we keep track of the total amount donated and it's USD value? At what point is that info saved & how?
  • How do we handle showing the total amount donated on the single project page to reflect new recurring donations?

@jainkrati
Copy link
Collaborator

We can use Subgraph to query latest value of amount donated and use Chainlink or QuickNode API to find USD value. @MohammadPCh @mohammadranjbarz please share your thoughts here.

@mohammadranjbarz
Copy link
Collaborator

@CarlosQ96 This is the issue related to get recurring donation info from blockchain

@divine-comedian
Copy link
Collaborator Author

Closing this issue - follow up in #1148

@divine-comedian divine-comedian closed this as not planned Won't fix, can't repro, duplicate, stale Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants