Skip to content
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

funds-manager: Add endpoint to fetch token balances for hot wallets #20

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

joeykraut
Copy link
Member

@joeykraut joeykraut commented Jul 30, 2024

Purpose

This PR adds an endpoint to query the token balances for hot wallets on-chain. The endpoint fetches all hot wallets and takes the desired mints as query parameters and looks them up on their ERC20 contracts.

Testing

  • Tested the endpoint locally against a hot wallet I funded with a dummy erc20

@joeykraut joeykraut force-pushed the joey/view-hot-wallets branch 2 times, most recently from f151bc2 to d630165 Compare July 30, 2024 02:18
@joeykraut joeykraut requested a review from akirillo July 30, 2024 02:18
@joeykraut joeykraut marked this pull request as ready for review July 30, 2024 02:18
Base automatically changed from joey/hot-wallet-create to main July 30, 2024 20:24
@joeykraut joeykraut merged commit d7f9130 into main Jul 30, 2024
3 checks passed
@joeykraut joeykraut deleted the joey/view-hot-wallets branch July 30, 2024 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants