Unstake From Lido, Claim It When It Clears, Restake It
0x62180042606624f02D8A130dA8A3171e9b33894d

What this does

Take unstake amount. Read stored value of unstake request in plug. if key is equal to 0. …and 8 more steps.

Actions · 10

  • Read stored value
    Read stored value of in
    Reads a stored value from the socket's persistent storage by key.
  • Predicate
    Steers control flow by comparing two values: branch, loop, or require the condition holds.
  • Request withdrawal
    Request withdrawal of from Lido
    Queues stETH for withdrawal through Lido's queue and receives a claimable request NFT.
  • Set stored value
    Set stored value of in to
    Writes a value to the socket's persistent storage under a scope and key.
  • Else branch
    Else
    Opens the else branch of a conditional.
  • Claim withdrawal
    Claim withdrawal from Lido
    Claims a finalized Lido withdrawal request and receives native ETH.
  • Set stored value
    Set stored value of in to
    Writes a value to the socket's persistent storage under a scope and key.
  • Get token balance
    Get balance of held by
    Reads a token balance held by an address, native or ERC-20.
  • Stake
    Stake for
    Stakes native ETH with Lido and receives stETH.
  • End block
    End block
    Closes the innermost open block, whether a conditional branch or a loop.

Related plugs · 8