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

Distribute rewards across delegators #384

Open
maurolacy opened this issue Jan 6, 2025 · 0 comments
Open

Distribute rewards across delegators #384

maurolacy opened this issue Jan 6, 2025 · 0 comments

Comments

@maurolacy
Copy link
Contributor

After IBC transfer of tokens to the zoneconcierge module address, done in babylonlabs-io/babylon-sdk#76 and babylonlabs-io/babylon-contract#96, rewards need to be distributed across delegators to the finality providers.

This is similar to how Babylon rewards are distributed across delegators to Babylon FPs, but the amount are in "IBC-transferred" (ICS-20) tokens.

Also, the Memo payload contains the distribution list over validators. That information must be passed along the zoneconcierge module (or perhaps, a smart contract, see https://github.com/cosmos/ibc-apps/blob/main/modules/ibc-hooks/README.md) through a IBC hook or similar mechanism.

So, this issue is actually two tasks:

  1. Gather the distribution list over FPs from the Memo field (IBC hook required).
  2. Distribute the IBC transferred amounts that are now in the zonconcierge module address across associated delegators to those FPs.
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

No branches or pull requests

1 participant