Bài viết
Chia sẻ kiến thức của bạn.
Aaveator138
Feb 07, 2023
Hỏi đáp Chuyên Gia
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
Chia sẻ
Bình luận
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?
Câu trả lời
1Aaveator138
Feb 14 2023, 11:45Here's an example, it means the user has no stable or variable debt to liquidate;
0
Bình luận
Bạn có biết câu trả lời không?
Hãy đăng nhập và chia sẻ nó.
Aave is a decentralized non-custodial liquidity protocol where users can participate as depositors or borrowers.
213Bài viết230Câu trả lời
Bài viết nổi bật
- 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