Learn
Lido

Lido

Disassembling

Unstake stETH

  • Label: Exit_Lido-unstake-stETH-ETH
  • Description: Unstake redeeming stETH for ETH.
  • Actions in execution process:
    1. Approve
    2. Unstake stETH

stETH · approve (spender: unstETH)

Approve unstETH to spend stETH tokens on behalf of the avatar.

  • Contract: stETH

  • Function: approve(address,uint256)

    ParameterConstraint
    spenderequal to unstETH
    amountamount of stETH tokens to unstake

unstETH · requestWithdrawals

Locks your stETH in the queue. In exchange you receive an NFT, that represents your position in the queue.

  • Contract: unstETH

  • Function: requestWithdrawals(uint256[],address)

    ParameterConstraint
    amountsamount of stETH tokens to unstake
    ownerequal to AVATAR

Unstake wstETH

  • Label: Exit_Lido-unstake-wstETH-ETH
  • Description: Unstake redeeming wstETH for ETH.
  • Actions in execution process:
    1. Approve
    2. Unstake wstETH

wstETH · approve

Approve unstETH to spend wstETH tokens on behalf of the avatar.

  • Contract: wstETH

  • Function: approve(address,uint256)

    ParameterConstraint
    spenderequal to unstETH
    amountamount of wstETH tokens to unstake

unstETH · requestWithdrawalsWstETH

Transfers the wstETH to the unstETH to be burned in exchange for stETH. Then it locks your stETH in the queue. In exchange you receive an NFT, that represents your position in the queue.

  • Contract: unstETH

  • Function: requestWithdrawalsWstETH(uint256[],address)

    ParameterConstraint
    amountsamount of wstETH tokens to unstake
    ownerequal to AVATAR