Aave v3 Repertoire on Ethereum

Deployments

NameAddress
PoolCoreV30x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2 (opens in a new tab)
WrappedTokenGatewayCoreV30xA434D495249abE33E031Fe71a969B81f3c07950D (opens in a new tab)
aEthWETH0x4d5F47FA6A74757f35C14fD3a6Ef8E3C9BC514E8 (opens in a new tab)
PoolPrimeV30x4e033931ad43597d96D6bcc25c280717730B58B1 (opens in a new tab)
WrappedTokenGatewayPrimeV30x0B8C700917a6991FEa7198dDFC80bc8962b5055D (opens in a new tab)
aEthLidoWeth0xfA1fDbBD71B0aA16162D76914d69cD8CB3Ef92da (opens in a new tab)
PoolEtherFiV30x0AA97c284e98396202b6A04024F5E2c65026F3c0 (opens in a new tab)

Action: deposit

Parameters

NameTypeDescription
marketstring (optional)Market names | Market poolAddresses (default: Core)
tokenstring (required)ETH | Token symbols | Token addresses

Deposit token tokens into the specified market in Aave v3.

Permissions:

Target: ERC-20

For ERC-20 tokens, the following functions are allowed:

The MARKET parameter determines which Aave market is targeted (Core, Prime, or EtherFi). Provide either the market name or the pool address. If omitted, the default market is Core.

The POOLV3 placeholder represents the pool of the selected MARKET.

🚫

If the token provided is not supported by the selected market, an error will be thrown.

token · approve

Approve POOLV3 to spend token tokens on behalf of the avatar.

  • Contract: token

  • Function: approve(address,uint256)

    ParameterConstraint
    spenderequal to POOLV3
    amount-
POOLV3 · supply

Deposit token and receive aToken tokens in exchange.

  • Contract: POOLV3

  • Function: supply(address,uint256,address,uint16)

    ParameterConstraint
    assetequal to token
    amount-
    onBehalfOfequal to AVATAR
    referralCode-

Target: ETH

When token is ETH, the following functions are allowed:

The aETH placeholder represents the aToken for ETH in the selected market.

The POOLV3 placeholder represents the pool of the selected MARKET.

The WRAPPEDTOKENGATEWAYV3 placeholder represents the Wrapped Token Gateway of the selected MARKET.

WRAPPEDTOKENGATEWAYV3 · depositETH

Deposit ETH and receive aETH tokens in exchange.

  • Contract: WRAPPEDTOKENGATEWAYV3

  • Function: depositETH(address,address,uint16) Ξ allow sending ETH

    ParameterConstraint
    addressequal to POOLV3
    onBehalfOfequal to AVATAR
    referralCode-

Action: withdraw

Parameters

NameTypeDescription
marketstring (optional)Market names | Market poolAddresses (default: Core)
tokenstring (required)ETH | Token symbols | Token addresses

Withdraw token tokens from the specified market in Aave v3.

Permissions:

Target: ERC-20

For ERC-20 tokens, the following functions are allowed:

The MARKET parameter determines which Aave market is targeted (Core, Prime, or EtherFi). Provide either the market name or the pool address. If omitted, the default market is Core.

The POOLV3 placeholder represents the pool of the selected MARKET.

🚫

If the token provided is not supported by the selected market, an error will be thrown.

POOLV3 · withdraw

Redeem aToken and withdraw token tokens.

  • Contract: POOLV3

  • Function: withdraw(address,uint256,address)

    ParameterConstraint
    assetequal to token
    amount-
    toequal to AVATAR

Target: ETH

When token is ETH, the following functions are allowed:

The aETH placeholder represents the aToken for ETH in the selected market.

The POOLV3 placeholder represents the pool of the selected MARKET.

The WRAPPEDTOKENGATEWAYV3 placeholder represents the Wrapped Token Gateway of the selected MARKET.

aETH · approve

Approve WRAPPEDTOKENGATEWAYV3 to spend aETH tokens on behalf of the avatar.

  • Contract: aETH

  • Function: approve(address,uint256)

    ParameterConstraint
    spenderequal to WRAPPEDTOKENGATEWAYV3
    amount-
WRAPPEDTOKENGATEWAYV3 · withdrawETH

Redeem aETH and withdraw ETH tokens.

  • Contract: WRAPPEDTOKENGATEWAYV3

  • Function: withdrawETH(address,uint256,address)

    ParameterConstraint
    addressequal to POOLV3
    amount-
    toequal to AVATAR

Action: set_collateralisation

Parameters

NameTypeDescription
marketstring (optional)Market names | Market poolAddresses (default: Core)
tokenstring (required)ETH | Token symbols | Token addresses
useAsCollateralboolean (required)true | false

Enable or disable token as collateral in the specified market.

Permissions:

🚫

If the token provided is not supported by the selected market, an error will be thrown.

POOLV3 · setUserUseReserveAsCollateral

Enable or disable token as collateral.

  • Contract: POOLV3

  • Function: setUserUseReserveAsCollateral(address,bool)

    ParameterConstraint
    assetequal to token
    useAsCollateralequal to useAsCollateral