We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
shares
assets
oasis-earn-sc/packages/dma-contracts/contracts/actions/morpho-blue/Payback.sol
Line 35 in 5a2c7fe
Using assets to repay the full debt can leave some shares on the protocol and thus no entirely close the position.
See this snippet as example: https://github.com/morpho-org/morpho-blue-snippets/blob/190ced2d6cee553e4fd117e4fc3adf7ab3e6b4fb/src/morpho-blue/MorphoBlueSnippets.sol#L377-L383
The text was updated successfully, but these errors were encountered:
Yes I would recommend to use the shares input to repay all when paybackData.paybackAll == true.
paybackData.paybackAll == true
Sorry, something went wrong.
No branches or pull requests
oasis-earn-sc/packages/dma-contracts/contracts/actions/morpho-blue/Payback.sol
Line 35 in 5a2c7fe
Using assets to repay the full debt can leave some shares on the protocol and thus no entirely close the position.
See this snippet as example:
https://github.com/morpho-org/morpho-blue-snippets/blob/190ced2d6cee553e4fd117e4fc3adf7ab3e6b4fb/src/morpho-blue/MorphoBlueSnippets.sol#L377-L383
The text was updated successfully, but these errors were encountered: