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.

Transfer Token on a Schedule

plug
evm
time
9actions
  1. 1·Take

    A named parameter token is declared here for the caller to supply at execution time, naming the asset this plug moves.

  2. 2·Get token balance

    Reading the balance of that token held by Your Wallet captures the current holding for the wallet.

  3. 3·Bubble

    Surfacing that measured balance as an output of this plug hands the figure back to the caller.

  4. 4·Take

    Next a parameter amount is declared for the caller to supply, sizing how much of the token to send.

  5. 5·Take

    A parameter recipient_address is declared for the caller to supply, naming where the transfer lands.

  6. 6·Take

    Following that, times_per_interval is declared as a caller parameter, setting the run cap within each interval.

  7. 7·Take

    Also taken is interval, a caller parameter defining the length of the window the cap applies to.

  8. 8·Repeat

    Capping runs at up to the times_per_interval count every interval, this rate limit governs how often the transfer can fire.

  9. 9·Transfer tokens

    Transferring the amount of token to recipient_address sends the asset from the socket to that address.

Take
Get balance of held by
Bubble
Take
Take
Take
Take
Repeat up to x every
Transfer to
  • Transfer Token on a Schedule

    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