What this does
This plug supplies a caller-specified amount of a token to an Aave market when the target wallet holds no aTokens for that reserve. It asks the caller for the supply token, the market address, the holder wallet, and the supply amount. It reads the reserve's aToken address, checks the holder's aToken balance, and supplies only when that balance equals zero. Running it against a stale balance risks either skipping a needed supply or duplicating a position that already exists.
Actions · 6






Related plugs · 8