USDCand wants to buy
yvUSDC. Right now, Cowswap would need a LP
USDC/yvUSDCto settle the trade, but what if the solver understands how to deposit into a yearn vault?
solvable_ordersand sends orders, in json, to the different solvers. If a solver finds a solution to the batch, the driver executes the trade on chain.
solve()which receives the batch
ordersand returns a
SettledBatchAuctionModelaka a solution.
USDC == 1 yvUSDC(price per share is 1).
solvable_ordersendpoint. To consume it, we will need to use the driver.