
What this does
This plug swaps 2 USDC into cbBTC on Tessera, Wintermute's on-chain market-making venue, and spends 2 USDC buying ETH on the Hanji ETH/USDC order book at market. It asks the caller to supply the USDC for both legs. It executes when run, reading Tessera's live quote for the cbBTC leg and capping the ETH purchase at a price of at most 5000. Doing this by hand or on a stale quote risks filling the cbBTC swap at an outdated price and the ETH order above 5000.
Actions · 3



Related plugs · 2