Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rm usdc oracle dependancy #216

Merged
merged 2 commits into from
Mar 27, 2024
Merged

Rm usdc oracle dependancy #216

merged 2 commits into from
Mar 27, 2024

Conversation

markuspluna
Copy link
Contributor

Removed the USDC oracle call in the bad debt auction calculations. We're instead going to assume USDC == 1. This is safe as long as USDC doesn't depeg more than 40%

@markuspluna markuspluna requested a review from mootz12 March 26, 2024 09:12
@mootz12 mootz12 changed the base branch from main to no-rzon-bug-fix March 26, 2024 12:31
mootz12
mootz12 previously approved these changes Mar 26, 2024
pool/src/auctions/bad_debt_auction.rs Show resolved Hide resolved
Base automatically changed from no-rzon-bug-fix to main March 27, 2024 13:42
@mootz12 mootz12 dismissed their stale review March 27, 2024 13:42

The base branch was changed.

@mootz12 mootz12 merged commit fe2f7eb into main Mar 27, 2024
3 checks passed
@mootz12 mootz12 deleted the rm_usdc_oracle_dependancy branch March 27, 2024 13:43
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.

2 participants