Learn
Aura

Aura

Disassembling

Unstake

  • Label: Exit_Aura
  • Description: Withdraw BPT from Aura, also claiming rewards.
  • Actions in execution process:
    1. Claim Aura rewards
    2. Unstake BPT from Aura rewarder contract

TARGET_REWARDER · withdrawAndUnwrap

Redeem TARGET_REWARDER tokens and withdraw and unwrap TARGET_BPT tokens.

  • Contract: TARGET_REWARDER

  • Function: withdrawAndUnwrap(uint256,bool)

    ParameterConstraint
    amountequal to the amount of TARGET_REWARDER tokens
    claimTrue

Unstake and withdraw proportionally

  • Label: Exit_Aura_Balancer-proportional
  • Description: Withdraw funds from Aura, also claiming rewards, and exit a Balancer pool in proportional way, not to use for pools that are in recovery mode
  • Actions in execution process:
    1. Claim Aura rewards
    2. Unstake BPT from Aura rewarder contract
    3. Redeem Balancer BPT withdrawing liquidity proportionally

TARGET_REWARDER · withdrawAndUnwrap

Redeem TARGET_REWARDER tokens and withdraw and unwrap TARGET_BPT tokens.

  • Contract: TARGET_REWARDER

  • Function: withdrawAndUnwrap(uint256,bool)

    ParameterConstraint
    amountequal to the amount of TARGET_REWARDER tokens
    claimTrue

Vault · exitPool

Redeem TARGET_BPT tokens to the corresponding Balancer pool and receive TOKEN tokens in exchange.

  • Contract: Vault

  • Function: exitPool(bytes32,address,address,(address[],uint256[],bytes,bool))

    ParameterConstraint
    poolIdequal to TARGET_ID
    senderequal to AVATAR
    recipientequal to AVATAR
    request.assetslist of TOKEN tokens in pool
    request.minAmountsOutlist of amounts for TOKEN tokens in pool
    request.userDataequal to EXACT_BPT_IN_FOR_TOKENS_OUT or EXACT_BPT_IN_FOR_ALL_TOKENS_OUT (depending on pool type and version) and amount of TARGET_BPT tokens
    request.toInternalBalanceFalse

Unstake and withdraw proportionally (recovery mode)

  • Label: Exit_Aura_Balancer-proportional-recovery
  • Description: Withdraw funds from Aura, also claiming rewards, and exit a Balancer pool in proportional way, ONLY to use for pools that are in recovery mode.
  • Actions in execution process:
    1. Claim Aura rewards
    2. Unstake BPT from Aura rewarder contract
    3. Redeem Balancer BPT withdrawing liquidity proportionally

TARGET_REWARDER · withdrawAndUnwrap

Redeem TARGET_REWARDER tokens and withdraw and unwrap TARGET_BPT tokens.

  • Contract: TARGET_REWARDER

  • Function: withdrawAndUnwrap(uint256,bool)

    ParameterConstraint
    amountequal to the amount of TARGET_REWARDER tokens
    claimTrue

Vault · exitPool

Redeem TARGET_BPT tokens to the corresponding Balancer pool and receive TOKEN tokens in exchange.

  • Contract: Vault
  • Function: exitPool(bytes32,address,address,(address[],uint256[],bytes,bool))
ParameterConstraint
poolIdequal to TARGET_ID
senderequal to AVATAR
recipientequal to AVATAR
request.assetslist of TOKEN tokens in pool
request.minAmountsOutlist of amounts for TOKEN tokens in pool
request.userDataequal to RECOVERY_MODE_EXIT_KIND and amount of TARGET_BPT tokens
request.toInternalBalanceFalse

Unstake and withdraw in a single token

  • Label: Exit_Aura_Balancer-single
  • Description: Withdraw funds from Aura, also claiming rewards, and exit a Balancer pool in a single asset, not to use for pools that are in recovery mode, and not to use for pools including assets blacklisted for swapping.
  • Actions in execution process:
    1. Claim Aura rewards
    2. Unstake BPT from Aura rewarder contract
    3. Redeem Balancer BPT withdrawing liquidity in a single asset

TARGET_REWARDER · withdrawAndUnwrap

Redeem TARGET_REWARDER tokens and withdraw and unwrap TARGET_BPT tokens.

  • Contract: TARGET_REWARDER

  • Function: withdrawAndUnwrap(uint256,bool)

    ParameterConstraint
    amountequal to the amount of TARGET_REWARDER tokens
    claimTrue

Vault · exitPool

Redeem TARGET_BPT tokens to the corresponding Balancer pool and receive TOKEN tokens in exchange.

  • Contract: Vault

  • Function: exitPool(bytes32,address,address,(address[],uint256[],bytes,bool))

    ParameterConstraint
    poolIdequal to TARGET_ID
    senderequal to AVATAR
    recipientequal to AVATAR
    request.assetslist of TOKEN tokens in pool
    request.minAmountsOutlist of amounts for TOKEN tokens in pool
    request.userDataequal to EXACT_BPT_IN_FOR_ONE_TOKEN_OUT, amount of TARGET_BPT tokens and the desired exit token
    request.toInternalBalanceFalse