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

VAL-91 (cont.) Prevent deploying capital to new loans unless it exists in the pool #99

Merged
merged 3 commits into from
Nov 28, 2022

Conversation

ams9198
Copy link
Contributor

@ams9198 ams9198 commented Nov 22, 2022

A previous attempt at addressing this was incomplete: #82

Specifically, it checked against totalAvailableAssets(), which includes assets deployed to loans. What we want is liquidityPoolAssets, which is the free-floating, available assets in the liquidity reserve.

bricestacey
bricestacey previously approved these changes Nov 28, 2022
@ams9198 ams9198 merged commit fef2d4b into circlefin:master Nov 28, 2022
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