Transfer tokens
Transfer tokens

Ethereum Virtual Machine · Acts onchain

Sends a token from the socket to another address, native or ERC-20. The native token address sends ETH by value; any other address calls the token's transfer. To send the full balance, read the socket's balance of the token earlier in the plug and coil it in as the amount. Reach for it to pay out proceeds after a swap or withdrawal, to fund another account from a scheduled plug, or to move a balance read earlier in the transaction by coiling that exact amount.

Send Token

plug
evm
time
10actions
  1. 1·Take

    Take opens by declaring token, a caller parameter naming the asset this run reads and sends at execution time.

  2. 2·Get token balance

    Using that token, the balance held by Your Wallet is read, capturing the holding before any transfer.

  3. 3·Bubble

    Surfacing that pre-transfer balance as an output of this plug returns the starting holding to the caller.

  4. 4·Get token balance

    Reading the token balance held by Your Wallet a second time captures another snapshot of the holding.

  5. 5·Bubble

    Handing that second balance reading out as an output of this plug returns it to the caller.

  6. 6·Take

    Next, amount is declared as a caller parameter, sizing how much of the token this run sends.

  7. 7·Take

    Also taken is recipient, a caller parameter naming the address the tokens go to.

  8. 8·Take

    Rounding out the inputs, frequency is declared as a caller parameter, the interval the rate limit below applies.

  9. 9·Repeat

    Bounding cadence, this rate limit permits at most one run every frequency, so the schedule advances no more than once per that interval.

  10. 10·Transfer tokens

    Transferring amount of the token to recipient sends the caller-sized quantity from the socket to the named address.

Take
Get balance of held by
Bubble
Get balance of held by
Bubble
Take
Take
Take
Repeat up to x every
Transfer to
  • Send Token

    plug
    evm
    time
  • Rebalance Holdings to Target

    plug
    values
    evm
  • Swap at Floor

    plug
    evm
    values
  • Swap

    plug
    values
    evm
  • Morpho Pendle Expiry Deleveraging

    pendle
    time
    boolean
  • Aave: Wind or Unwind Position

    plug
    boolean
    aave
  • Wind

    plug
    aave
    evm
  • Unwind

    plug
    aave
    evm