Comments (2)
GetRewardsEst
is for a single address, so we should be able to determine the rewards for that address without iterating over all locks. We just need to get the locks associated with that address, and the total amount of shares for each pot that the lock contributes to. Then we can calculate the reward going to that address
from osmosis.
Adding a lock reference for the owner address and adding total share for a pot(which is updated by lock hook) would work.
from osmosis.
Related Issues (20)
- Cancel Unstake on leap wallet error HOT 1
- Question: Can XCSv2 forwarding be disabled? HOT 1
- Restructure TWAP pruning keys HOT 1
- feat: introduce mutative method for MulDecTruncate on sdk.DecCoins
- Broken Links Detected
- [Performance]: Speedup Protorev.GetAllBaseDenoms
- [Feature]: Remove downtime detector's 1 write per block
- [Feature]: Make protorev send rewards to developers / community pool once per epoch
- [Feature]: Make TakerFee revenues send once per epoch
- [Feature]: Make Protorev's call for multihop estimates skip TakerFee
- ListPoolsByDenom: If Get PoolDenoms fails, skip the pool
- [Maintainance]: Backport the Stargate Whitelist query issue to all relevant old versions
- Add gas limit to osmoutils `Sudo` helper
- Add unit tests for osmoutils CW helpers
- [Feature]: Make CL swaps only fetch uptime accumulators if there is a tick crossing
- [Feature]: Delete One Week and Two Week uptime accumulators
- Create BigDec mutative API's for ToDec and FromDec HOT 1
- [Feature]: Protorev: Change swaps to backrun to use the Transient Store HOT 1
- [Feature]: v24 upgrade -> restrict lockable durations to 2 weeks
- Error Writing EIP1559 State
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osmosis.