
What this does
This plug swaps an exact 1 USDC for WETH on the BaiBai market against the maker's posted curve. It asks the caller to supply 1 USDC for the trade. It fires whenever run, executing the swap only if at least 0.0004 WETH is returned. Doing this by hand or accepting a stale minimum risks receiving less WETH or having the swap revert at settlement.
Actions · 1