Daily 5 USDC Into WETH

Base
Base
0x62180042606624f02D8A130dA8A3171e9b33894d

What this does

This plug swaps 5 USDC into WETH through the solver over indexed liquidity. It reads a live quote from the Uniswap V3 WETH/USDC 0.05% pool at 0xd0b53d9277642d899df5c87a3966a349a798f224 and sets the minimum received at 99 percent of that figure. It runs at most once per day under its rate limit. Doing this by hand means fetching the quote and setting the floor each time, and a stale quote risks a swap at a worse rate than the pool offers.

Actions · 4

  • Repeat
    Repeat up to x every
    Limits how many times this plug can execute within a time interval.
  • Get quote
    Get amount received for to in
    Reads the amount a Uniswap V3 pool would pay right now for a swap.
  • Calculate proportional value
    Calculate of
    Calculates a proportion of a value using percent, basis points, WAD, or RAY units.
  • Swap tokens
    Swap for at least
    Swaps one token for another through the solver over indexed liquidity.

Related plugs · 5