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

Feat/caching #207

Draft
wants to merge 21 commits into
base: dev
Choose a base branch
from
Draft

Feat/caching #207

wants to merge 21 commits into from

Conversation

Uacias
Copy link
Collaborator

@Uacias Uacias commented May 23, 2024

  • observed wallets are live
  • names of wallets are live
  • balances of each token per wallet are live

Uacias added 6 commits May 18, 2024 10:15
Fix isExecutable type from boolean to bool.
Add the file to script so it is set up on init.
- Cache for all observed wallets of user (little fix needed because of edge)
- Cache names of observed wallets
- Cache balances of tokens per wallet
Quantity of each token now is converted from Wei.
@Uacias Uacias self-assigned this May 23, 2024
fixtures/wallet-balance.surql Outdated Show resolved Hide resolved
src/components/Tokens/TokenRowWallets.tsx Outdated Show resolved Hide resolved
src/components/Tokens/TokenRowWallets.tsx Show resolved Hide resolved
src/components/Wallets/Details/SelectedWalletDetails.tsx Outdated Show resolved Hide resolved
Uacias and others added 9 commits May 30, 2024 10:13
Rename selectedWalletFromContext to selectedWalletDetails in SelectedWalletDetails component for readability.
Move cleanup to the top of useVisibleTasks.
Rm unnecessary return statement from TokenRowWallets component.
Modify surql files table definitions to SCHEMAFULL from SCHEMALESS.
Add total portfolio value fn, to calculate latest balance of every observed wallet per user.
Add get exact tick dates function, do get dates for selected period eg. day, week, month, year.
Add fetching all data for charts, time reduced to ~1s, can be optimized by creating queries then batch query to db.
Fix dashboard charts bugs.
Add deleting wallet.
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.

3 participants