Get address
Get address

Values · Reads onchain state

Holds an address as a named value that later steps reference. The address is echoed into a slot, so a recipient, operator, or contract is declared once and coiled everywhere it is needed. Reach for it to give an address a single source of truth in a plug, so changing it in one place updates every transfer, approval, or balance read that uses it.

Rebalance Holdings by Fixed Weights

values
evm
plug
13actions
  1. 1·Get address

    A specific address is held as a named value so later steps can point at one wallet, here 0x4844...3a88.

  2. 2·Set

    That address is written into the variable holder_wallet, wiring the value from the prior step so downstream steps read the wallet by name.

  3. 3·Get token

    WETH is held as a named token value, ready to be handed to the rebalance-token setup that follows.

  4. 4·Use

    The Set Rebalance Token plug is composed here, registering WETH from the step before as one of the tokens in the target basket.

  5. 5·Get token

    WBTC is held next as a named token value for the same registration pattern.

  6. 6·Use

    Composing Set Rebalance Token again registers WBTC as another basket token.

  7. 7·Get token

    USDC is held as a named token value to feed the next registration.

  8. 8·Use

    Running Set Rebalance Token once more adds USDC to the target set.

  9. 9·Get token

    AAVE is held as a named token value in turn.

  10. 10·Use

    The Set Rebalance Token plug is composed to register AAVE alongside the others.

  11. 11·Get token

    UNI is held as the final named token value.

  12. 12·Use

    A last composition of Set Rebalance Token adds UNI to the basket.

  13. 13·Use

    With the wallet and five tokens registered, the Rebalance Holdings to Target plug is composed to carry out the rebalance across WETH, WBTC, USDC, AAVE, and UNI.

Get
Set to
Get token
Use where
tokenis
weightis
indexis
Get token
Use where
tokenis
weightis
indexis
Get token
Use where
tokenis
weightis
indexis
Get token
Use where
tokenis
weightis
indexis
Get token
Use where
tokenis
weightis
indexis
Use where
holder_walletis
countis
  • Card: Buy $50 WBTC With USDC Once a Week

    time
    values
    math
  • Card: Buy an 18 Dec Token With X% of USDC

    plug
    evm
    math
  • Card: Sell X% of an 18 Dec Token for USDC

    plug
    evm
    math
  • Card: Sell 18 Dec Token for USDC

    plug
    chainlink
    math
  • Card: Sell 8 Dec Token for USDC

    plug
    chainlink
    math
  • Card: Buy 8 Dec Token With USDC

    plug
    chainlink
    values
  • Card: Buy 18 Dec Token With USDC

    plug
    chainlink
    values
  • Card: Sell 10% of ETH for USDC

    evm
    math
    chainlink
  • Card: Buy ETH With 10% of USDC

    evm
    math
    chainlink
  • Card: Sell $25 ETH for USDC

    values
    math
    chainlink
  • Card: Buy $25 ETH With USDC

    values
    math
    chainlink
  • Rebalance Holdings by Fixed Weights

    values
    evm
    plug
  • Rebalance Holdings to Target

    plug
    values
    evm
  • Swap at Floor

    plug
    evm
    values
  • Morpho: Leverage Manager

    values
    morpho
    evm
  • Swap

    plug
    values
    evm
  • Exit Morpho at Epoch End

    pendle
    time
    boolean
  • Aave: Wind or Unwind Position

    plug
    boolean
    aave
  • Wind

    plug
    aave
    evm
  • Unwind

    plug
    aave
    evm