Aave.

Bài viết

Chia sẻ kiến thức của bạn.

Aaveator.
Feb 17, 2023
Hỏi đáp Chuyên Gia

Is the totalDebtETH value from method getting reset to 0 after liquidation?

Hey guys, I've the following question. After liquidation is the totalDebtETH value from method getting reset to 0? I mean it should be, because the DEBT is getting paid with the taking part of the collateral?

  • Aave Protocol
  • Aave liquidation
0
1
Chia sẻ
Bình luận
.

Câu trả lời

1
Aaveator.
Feb 17 2023, 14:20

After a liquidation it will be set to the previous totalDebtETH - liquidated amount. So it could be zero, but it could also be non-zero because the liquidator does not have to liquidate the entire position in a single transaction.

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ó.

Chúng tôi sử dụng cookie để đảm bảo bạn có trải nghiệm tốt nhất trên trang web của chúng tôi.
Thêm thông tin