-
Notifications
You must be signed in to change notification settings - Fork 88
feat: add aave dex #276
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
base: master
Are you sure you want to change the base?
feat: add aave dex #276
Conversation
@sakulstra is attempting to deploy a commit to the llamaswap Team on Vercel. A member of the Team first needs to authorize it. |
@@ -205,6 +205,8 @@ export const useTokenApprove = ({ | |||
} | |||
}); | |||
|
|||
if (!spender) return { isApproved: true, allowance: ethers.constants.MaxUint256 }; |
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.
about this i'm not 100% sure, for aave withdrawals no approval is needed so i patched this here to not ask for an approval if spender is not set and then here: https://github.com/LlamaSwap/interface/pull/276/files#diff-d89e52e25c562008423ec8d1f219bbdd0d0be839bc31c4f4a737836b52ed12d6R600 i set it to undefined
@0xngmi i think this should be ready for review now. Even the pricing finally works 😊 |
Missing: