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

RESEARCH: Check Synthereum V2 for any necessary changes to our contracts #522

Open
midas-admin opened this issue Dec 29, 2022 · 1 comment
Assignees

Comments

@midas-admin
Copy link

Jarvis is going live with their V2 soon. We need to check if there are any changes to our liquidation flows.

https://gitlab.com/jarvis-network/apps/exchange/mono-repo/-/tree/feature/claim-rewards-lending-manager/libs/contracts/contracts/synthereum-pool/v6

Actually you probably need the LendingManager which takes care of deposit/withdraws. Let me see the branch where we have also the Compound module that is used

You can find the LendingManager and the Compound module in this folder: https://gitlab.com/jarvis-network/apps/exchange/mono-repo/-/tree/feature/vaults/libs/contracts/contracts/lending-module

Additional Info: The BUSD from Synthereum will be deposited into Jarvis BNB Pool

@vminkov
Copy link
Contributor

vminkov commented Jan 5, 2023

According to Iliyan, there's no free liquidity in those pools.

FWIW:

"You can check the maxTokensCapacity on the Polygon one (once BNB is live with the next version also there)
maxTokensCapacity returns you the amount of jFIAT that can be minted through the pool currently
If all liquidity is used it will be 0"

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

No branches or pull requests

2 participants