Post
Share your knowledge.
Aaveator138
Feb 07, 2023
Expert Q&A
Getting a return value of '25 - INVALID BURN AMOUNT'
Are there any examples of getting a return value of '25 - INVALID BURN AMOUNT
'? I'm aiming to do a liquidation and the user has a balance of variable debt, but when it goes through the liquidation logic it fails at
"amountScaled != 0, Errors.INVALID_BURN_AMOUNT"
- Aave Protocol
- Aave liquidation
2
1
Share
Comments
Feb 8 2023, 20:19
Can you add more information? 1. What contract are you calling this on? 2. What is the function you're calling? 3. What are the parameters you're sending?
Answers
1Aaveator138
Feb 14 2023, 11:45Here's an example, it means the user has no stable or variable debt to liquidate;
0
Comments
Do you know the answer?
Please log in and share it.
Aave is a decentralized non-custodial liquidity protocol where users can participate as depositors or borrowers.
251Posts230Answers
Trending posts
- Marcador51Error "No matching key" when trying to unstake USDC on BNB chain32
- Aaveator138How to tell the code to, rather than "deposit 1 eth worth of WBTC" deposit "500$ worth of WBTC"?22
- Aaveator138How to interpret configuration field in a response from the getReserveData view function in Aave v2?21
- Aaveator138Getting a return value of '25 - INVALID BURN AMOUNT'21
- Aavenger45Is there any way to stake in the security module on Görli?23