zeitgeist
zeitgeist copied to clipboard
Unusual behaviour on liquidityMining.ownedValues
The function has a description of 'Owned balances (not shares) that are going to be distributed as incentives. Automatically' . I was expecting it to return the accumulated liquidity mining rewards for a given account and market.
I created a market, added liquidity and waited a few hours. ownedValues
returned 0 for total_shares
. I then added more tokens to the pool and it returned:
I then added a different amount of tokens and
total_shares
doubled
After removing some shares from the pool ownedValues
returned this:
After adding some shares to the pool again ownedValues
returned this:
Reducing to high priority because liquidity mining is currently disabled until all bugs are resolved.
Outdated.