agent0
agent0 copied to clipboard
add slippage option for add_liquidity action
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