Wind or Unwind to Maintain Target HF
0x484428507A212cA56D71baa27Ca6089a6dB63a88

Actions · 23

  • Get account data
    Get account data in
    Reads the socket's overall position in an Aave market: collateral, debt, borrow capacity, and health factor.
  • Get price
    Get price of in
    Reads the price the market's own oracle assigns to an asset.
  • Get liquidation LTV
    Get liquidation LTV of in
    Reads the liquidation threshold of an asset in an Aave market.
  • Calculate proportional value
    Calculate of
    Calculates a proportion of a value using percent, basis points, WAD, or RAY units.
  • Set
    Set to
    Assigns a value to a named variable that later steps reference.
  • Calculate
    Calculate
    Applies a binary arithmetic operation to two values and returns the result.
  • Set
    Set to
    Assigns a value to a named variable that later steps reference.
  • Compare two values
    Is
    Compares two values with a chosen operator and returns a boolean.
  • Predicate
    Steers control flow by comparing two values: branch, loop, or require the condition holds.
  • Calculate
    Calculate
    Applies a binary arithmetic operation to two values and returns the result.
  • Set
    Set to
    Assigns a value to a named variable that later steps reference.
  • Calculate
    Calculate
    Applies a binary arithmetic operation to two values and returns the result.
  • Set
    Set to
    Assigns a value to a named variable that later steps reference.
  • Repay
    Repay to
    Repays borrowed assets to an Aave market from the socket's balance.
  • Withdraw
    Withdraw from
    Withdraws a supplied asset from an Aave market back to the socket.
  • Else branch
    Else
    Opens the else branch of a conditional.
  • Calculate
    Calculate
    Applies a binary arithmetic operation to two values and returns the result.
  • Set
    Set to
    Assigns a value to a named variable that later steps reference.
  • Calculate
    Calculate
    Applies a binary arithmetic operation to two values and returns the result.
  • Set
    Set to
    Assigns a value to a named variable that later steps reference.
  • Supply
    Supply to
    Supplies an asset to an Aave market, minting aTokens to the socket.
  • Borrow
    Borrow from
    Borrows an asset from an Aave market against collateral you have supplied.
  • End block
    End block
    Closes the innermost open block, whether a conditional branch or a loop.

Related plugs · 8