-
Notifications
You must be signed in to change notification settings - Fork 304
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
BACK-1618: Inception LRT #731
base: master
Are you sure you want to change the base?
Conversation
feat: InceptionLRT requested changes
feat: Inception integration, requested changes
src/dex/inception/inception.ts
Outdated
exchangeData: swapData, | ||
targetExchange: dexParams.vault, | ||
swappedAmountNotPresentInExchangeData: true, | ||
returnAmountPos: undefined, |
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.
Deposit function returns iShares
, assume we can use it in the returnAmountPos
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.
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.
I assume that they assumed that input param amount
might differ from iShares
, but not that iShares
might differ from what user (AugustusV6 in out case) received
Also, according to this simulation, Augustus received exactly what was passed (+1 wei dust)
deposit:
balanceOf on Augustus:
Also, mint
function on the token is simple and doesn't do any roundings
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.
So, for me looks like we can use returnAmountPos here without problems
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.
fixed
No description provided.