trustline-inc / probity

A transparent asset-based lending protocol implemented for the EVM.
https://docs.trustline.co
Other
3 stars 1 forks source link

How is reduceAuctionDebt used? #239

Closed mrosendin closed 2 years ago

mrosendin commented 2 years ago
     * TODO: How is reduceAuctionDebt used?

https://github.com/trustline-inc/probity/blob/06a30f08b81e29ef7d86319c4e2659b6b01b173a/contracts/probity/Liquidator.sol#L158

shine2lay commented 2 years ago

It's to track how much debt is on auction right now. This is called when a auction sale is completed.

mrosendin commented 2 years ago

thanks

mrosendin commented 2 years ago

@shine2lay I only see it being used in cancelAuction

https://github.com/trustline-inc/probity/blob/811166bdc021bd696ce898cf5f543213710d0cb3/contracts/probity/Auctioneer.sol#L310

shine2lay commented 2 years ago

good catch