

Acts onchain
Swaps against Tessera, Wintermute's on-chain market-making venue, at the price its engine quotes this block. With the input exact, the socket sells exactly amount_in and the swap reverts unless it receives at least amount_out; with the output exact, it buys exactly amount_out and reverts if that costs more than amount_in. The socket approves TesseraSwap for amount_in, the venue pays the socket, and the action returns the amount received and the amount spent. Reach for it to trade a pair the market maker quotes in size, such as a major against USDC, coiling the amount received into whatever comes next.
Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.
USDC Into cbBTC via Tessera

1·Swap with allowances
Swapping 1 USDC for 0.000012 cbBTC against Tessera, Wintermute's on-chain market-making venue, with the input amount fixed and the output taken at the price the engine quotes this block.
More on Tessera · 1