AaveSupply

Supply a token to an AaveV2 market.

AaveSupply

Description

Supply a token to an Aave market

Notes

User deposits tokens to the Aave protocol. User needs to approve its wallet to pull the _tokenAddr tokens.

Action ID

0xc380343c

SDK Action

const aaveSupplyAction = new dfs.actions.aave.AaveSupplyAction(
    market,
    tokenAddr,
    amount,
    from,
    onBehalf,
    enableAsColl
);

Action Type

STANDARD_ACTION

Input Parameters

Return Value

Events and Logs

Last updated

Was this helpful?