Learn
Gnosis

Aura on Gnosis Chain

Deployments

NameAddress
Booster0x98Ef32edd24e2c92525E59afc4475C1242a30184 (opens in a new tab)
RewardPoolDepositWrapper0x0Fec3d212BcC29eF3E505B555D7a7343DF0B7F76 (opens in a new tab)

Action: deposit

Parameters

NameTypeDescription
targetsstring[] (required)Pool name | Pool bpt | Pool id
tokensstring[] (optional)Token symbol | Token address

Each Aura pool is connected to exactly one Balancer Pool token (BPT) and we allow specifying the deposit targets using any of the following identifiers:

  • BPT symbol (Pool name).
  • BPT address (Pool bpt).
  • Aura pool ID (Pool id).

TARGET_BPT below refers to the address of Aura pool's BPT.

TARGET_ID below refers to the Aura pool ID.

TARGET_REWARDER below refers to the auraBaseRewardPool contract address for the target Aura pool.

TOKEN below refers to the ERC-20 token address of each element given in tokens. If tokens is not specified then the pool tokens of each TARGET are considered.

TARGET_BPT · approve

Approve Booster to spend TARGET_BPT tokens on behalf of the avatar.

  • Contract: TARGET_BPT

  • Function: approve(address,uint256)

    ParameterConstraint
    spenderequal to Booster
    amount-

TOKEN · approve

Approve RewardPoolDepositWrapper to spend TOKEN tokens on behalf of the avatar.

  • Contract: TOKEN

  • Function: approve(address,uint256)

    ParameterConstraint
    spenderequal to RewardPoolDepositWrapper
    amount-

Booster · deposit

Deposit TARGET_BPT tokens to the corresponding Aura pool and receive TARGET_REWARDER tokens in exchange.

  • Contract: Booster

  • Function: deposit(uint256,uint256,bool)

    ParameterConstraint
    pidequal to TARGET_ID
    amount-
    stake-

RewardPoolDepositWrapper · depositSingle

Deposit TOKEN tokens to the corresponding Aura pool and receive TARGET_REWARDER tokens in exchange.

  • Contract: RewardPoolDepositWrapper

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

    ParameterConstraint
    rewardPoolAddressequal to TARGET_REWARDER
    inputTokenequal to TOKEN
    inputAmount-
    balancerPoolIdequal to balancerPoolId
    request.assets-
    request.maxAmountsIn-
    request.userData-
    request.fromInternalBalance-

TARGET_REWARDER · withdrawAndUnwrap

Redeem TARGET_REWARDER tokens and withdraw and unwrap TARGET_BPT tokens.

  • Contract: TARGET_REWARDER

  • Function: withdrawAndUnwrap(uint256,bool)

    ParameterConstraint
    amount-
    claim-

TARGET_REWARDER · getReward

Claim Pool rewards.

  • Contract: TARGET_REWARDER

  • Function: getReward()

    ParameterConstraint
    N/AN/A

TARGET_REWARDER · getReward(address,bool)

Claim Pool rewards of a specific account.

  • Contract: TARGET_REWARDER

  • Function: getReward(address,bool)

    ParameterConstraint
    accountequal to AVATAR
    claimExtras-