Rebalance Holdings by Fixed Weights
0x484428507A212cA56D71baa27Ca6089a6dB63a88

What this does

This plug rebalances the holdings of wallet 0x4844...3a88 across WETH, WBTC, USDC, AAVE, and UNI toward fixed target weights. It sets holder_wallet to that address and registers each of the five tokens through the Set Rebalance Token plug before running Rebalance Holdings to Target. It fires when the composed transaction is executed, routing balances toward each token's target and requiring the post-routing balance to clear it. Registering tokens or computing weights by hand risks omitting an asset or routing against a stale target, which reverts the transaction.

Actions · 13

  • Get address
    Get
    Holds an address as a named value that later steps reference.
  • Set
    Set to
    Assigns a value to a named variable that later steps reference.
  • Get token
    Get token
    Holds a token as a named value that later steps reference.
  • Use
    Use where
    tokenis
    weightis
    indexis
    Composes another plug inside this one.
  • Get token
    Get token
    Holds a token as a named value that later steps reference.
  • Use
    Use where
    tokenis
    weightis
    indexis
    Composes another plug inside this one.
  • Get token
    Get token
    Holds a token as a named value that later steps reference.
  • Use
    Use where
    tokenis
    weightis
    indexis
    Composes another plug inside this one.
  • Get token
    Get token
    Holds a token as a named value that later steps reference.
  • Use
    Use where
    tokenis
    weightis
    indexis
    Composes another plug inside this one.
  • Get token
    Get token
    Holds a token as a named value that later steps reference.
  • Use
    Use where
    tokenis
    weightis
    indexis
    Composes another plug inside this one.
  • Use
    Use where
    holder_walletis
    countis
    Composes another plug inside this one.

Related plugs · 8