-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: add flash mint wrapped #85
Conversation
return assets | ||
} catch { | ||
// TODO: apply slippage to issuance units amount (for all none erc4262) | ||
return issuanceUnits |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pblivin0x for the presale I can just use issuance units here or should I still apply a slight slippage by default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DebtIssuanceModuleV3 will lose the tokenTransferBuffer
of wei on each component
Rebasing components will "lose" however much their accounting is stale by (Aave V3 USDC and Compound V3 USDC)
So some slippage needs to be applied always, for different reasons
# Conflicts: # package-lock.json # package.json # src/quote/provider/index.test.ts
🎉 This PR is included in version 3.9.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
FlashMintWrapped
contract for icUSDicUSD
tokenTODOs