What this does
This plug supplies an asset to an Aave market when no aToken position for it yet exists. It asks the caller for the supply token, the Aave market address, the wallet to check, and the amount to supply. It reads that wallet's aToken balance from the reserve and fires only when the balance equals zero. Checking the balance and supplying by hand risks depositing on top of an existing position or acting on a stale reading.
Actions · 6






Related plugs · 8