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

[Proxy colony M2] feat: handle when a proxy colony's funds have been claimed #3460

Open
2 tasks
bassgeta opened this issue Oct 24, 2024 · 0 comments
Open
2 tasks
Labels
enhancement New feature or request

Comments

@bassgeta
Copy link
Contributor

Specification

Story

As a colony with a proxy colony, I want to know when incoming funds on that proxy colony have been claimed.

Description

After #3459 is done, we need to implement a simple UI for testing purposes which will display all incoming funds with buttons to claim them. We need to call the claimTokens contract with that chainId and tokenAddress and start the process. (TBD check which exact contracts to call).
When the funds get claimed, a proxy colony emits an DomainFundsClaimed event, which the parent colony receives.
We then need to handle that in the parent chain's block ingestor and set the claimed flag to true and update the balances.

Implementation

This issue is complete when...

  • We can claim incoming funds for a specific token
  • The claim transaction goes through, the main colony's block ingestor will handle the event and update the DB
@bassgeta bassgeta added the enhancement New feature or request label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant