You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix issue: Precision setting not working in console output
Fix issues in uniswap market:
in even_rebalance function, balance calculation did not count swap fee
[breaking change]Base and quote is reversed in older version. To accommodate this change, you need to:
When creating a uniswap market instance, is_token0_base has changed to is_token0_quote, You don't have to change anything unless you init with keywords, e.g. You have to change is_token0_base here: UniLpMarket(is_token0_base=True)
In add_liquidity and add_liquidity_by_tick function, order of quote_max_amount and base_max_amount is changed.
Update uniswap market:
Add swap function. Keep in line with the contract.
Decimal precision has raised from 28 to 36
[breaking change]Update function name in Uniswap.helper as the old names are confusing.