zeitgeist icon indicating copy to clipboard operation
zeitgeist copied to clipboard

Unusual behaviour on liquidityMining.ownedValues

Open Robiquet opened this issue 3 years ago • 1 comments

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: image I then added a different amount of tokens and total_shares doubled After removing some shares from the pool ownedValues returned this: image

After adding some shares to the pool again ownedValues returned this: image

Robiquet avatar Nov 16 '21 15:11 Robiquet

Reducing to high priority because liquidity mining is currently disabled until all bugs are resolved.

sea212 avatar Jul 10 '22 15:07 sea212

Outdated.

maltekliemann avatar May 03 '24 15:05 maltekliemann