Skip to content

Conversation

@mootz12
Copy link
Contributor

@mootz12 mootz12 commented Nov 26, 2025

No description provided.

@mootz12 mootz12 requested a review from Ryang-21 November 26, 2025 15:41
Ryang-21
Ryang-21 previously approved these changes Dec 2, 2025
Copy link
Collaborator

@Ryang-21 Ryang-21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple questions but looks good otherwise

APP_CONFIG.interestFillerAddress !== undefined &&
APP_CONFIG.interestFillerAddress !== '' &&
auctionBid.auctionEntry.auction_type == AuctionType.Interest &&
fill.percent === 100
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a reason to fill using the interest filler contract when its a 100 percent fill?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, still allows us to fill with USDC directly. Also prevents sim/fill block difference from causing failures

Comment on lines 245 to 253
try {
logger.info(
`Scanning ${users.length} users for liquidations in pool: ${poolConfig.poolAddress}`
);
} catch (e) {
const errorLog = `Error scanning for liquidations: ${poolConfig.poolAddress}\nError: ${e}`;
logger.error(errorLog);
sendNotification(errorLog);
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This try catch meant to be around the logging?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, thx for catching

@mootz12 mootz12 merged commit 014b6c3 into main Dec 7, 2025
1 check passed
@mootz12 mootz12 deleted the use-interest-filler branch December 7, 2025 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants