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

Fix state update interval and calculation of deposit amount for lending #67

Merged

Conversation

flashburst
Copy link
Contributor

  • Fixed calculation of _canDeposit amount to consider the amount of stablecoin already lent out to the strategies.
  • Decreases the stateUpdateInterval time to 1 hour on mainnet so that token prices, withdrawal window are updated every one hour

@flashburst flashburst requested a review from binpmxstn May 19, 2022 04:16
@flashburst flashburst changed the title Fix calculation of deposit amount for lending Fix state update interval and calculation of deposit amount for lending May 19, 2022
@binpmxstn binpmxstn merged commit a883610 into neptune-mutual-blue:develop May 19, 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.

None yet

2 participants