agent0 icon indicating copy to clipboard operation
agent0 copied to clipboard

add slippage option for add_liquidity action

Open dpaiton opened this issue 1 year ago • 0 comments

Hyperdrive 0.6.0 adds a slippage parameter to addLiquidity which allows LPs to specify a minimum LP share price at which to provide liquidity. We've include a TODO in execute_agent_trades.py to update our liquidity action to include this optional argument. There's also a NotImplementedError in _contract_calls.py

dpaiton avatar Jan 26 '24 23:01 dpaiton