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

MASP rewards are lost to undated assets in certain situations #4304

Open
murisi opened this issue Feb 3, 2025 · 0 comments
Open

MASP rewards are lost to undated assets in certain situations #4304

murisi opened this issue Feb 3, 2025 · 0 comments
Labels

Comments

@murisi
Copy link
Collaborator

murisi commented Feb 3, 2025

MASP rewards for a token are distributed equally amongst whatever amount of that token is locked in the shielded pool regardless of whether it is dated (AssetData::epoch == Some(...)) or not (AssetData::epoch == None). And to back these rewards, a sufficient amount of the native token is also minted in parallel. This state of affairs is problematic because rewards cannot actually be claimed for undated assets (because the system cannot determine how long such assets have been locked). So the end result in certain situations is that a proportion of newly minted NAM is unclaimable. One example of such a situation is a token address being added to the rewards program after users have already shielded/locked (necessarily undated) instances of that token in the pool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant