Aave

Interact with the AAVE protocol

These connections are used to interact with AAVE protocol to facilitate transactions like deposit, borrow, withdraw, payback, and more.

Deposit

This connector deposits assets into the AAVE protocol

spells.add({
  connector: "aave",
  method: "deposit",
  args: [token, amount, getId, setId]
});

Withdraw

This connector withdraw assets from the AAVE protocol

spells.add({
  connector: "aave",
  method: "withdraw",
  args: [token, amount, getId, setId]
});

Borrow

This borrow tokens against your credit limit from the AAVE protocol.

spells.add({
  connector: "aave",
  method: "borrow",
  args: [token, amount, getId, setId]
});

Payback

This connector pays back borrowed assets to the AAVE protocol.

spells.add({
  connector: "aave",
  method: "payback",
  args: [token, amount, getId, setId]
});

Last updated