-
Notifications
You must be signed in to change notification settings - Fork 104
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
add withdraw all contract #384
Conversation
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.
Any updates?
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.
this is last code review.
web_app/api/user.py
Outdated
:return: detail: "Successfully initiated withdrawals for all tokens" | ||
""" | ||
# Get user's contract address | ||
contract_address = await get_user_contract(wallet_id) |
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.
here you can get method get_user_contract
to get contract_address, instead of using
user_db.get_contract_address_by_wallet_id
@Judah04 Please, sync with main branch |
Closes #349