Skip to content

Add pool transaction history with incremental loading#263

Open
codexbounty0611 wants to merge 2 commits into
capofficial:mainfrom
codexbounty0611:codex/pool-transactions-infinite-scroll
Open

Add pool transaction history with incremental loading#263
codexbounty0611 wants to merge 2 commits into
capofficial:mainfrom
codexbounty0611:codex/pool-transactions-infinite-scroll

Conversation

@codexbounty0611

Copy link
Copy Markdown

Fixes #29.

Summary

  • Adds a pool transaction API that reads PoolDeposit, PoolWithdrawal, PoolPayIn, and PoolPayOut events from the Pool contract.
  • Normalizes event data into clearer transaction rows with type, asset/market, amount, pool balance, wallet, and explorer tx link.
  • Adds incremental loading with an IntersectionObserver-based infinite scroll trigger plus a Load More fallback.

Testing

  • node --check src/api/pool.js
  • Full Svelte build was not run because npm is not available in the local environment.

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.

Pool transactions should be clearer and have infinite scroll

1 participant