harb/web-app/src/views
openhands e5a5486499 fix: Structural duplication of swap ABIs and buyKrk() across LocalSwapWidget and CheatsView (#353)
Extract shared Uniswap ABIs (WETH_ABI, SWAP_ROUTER_ABI, UNISWAP_FACTORY_ABI,
UNISWAP_POOL_ABI), utility functions (isRecord, coerceString, getErrorMessage,
ensureAddress), and the wrap→approve→exactInputSingle flow into a new composable
useSwapKrk(). Both LocalSwapWidget and CheatsView now delegate to this single
source of truth, so swap logic changes only need to be made in one place.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 09:32:02 +00:00
..
AboutView.vue added web-app and landing 2025-09-23 14:18:04 +02:00
CheatsView.vue fix: Structural duplication of swap ABIs and buyKrk() across LocalSwapWidget and CheatsView (#353) 2026-02-28 09:32:02 +00:00
GetKrkView.vue fix: Get KRK: inline swap widget for local dev, Uniswap link for production (#136) 2026-02-27 06:55:41 +00:00
HomeView.vue webapp - ESLint + Prettier with pre-commit hooks (#54) 2025-10-03 16:51:44 +02:00
LoginView.vue webapp - ESLint + Prettier with pre-commit hooks (#54) 2025-10-03 16:51:44 +02:00
PositionView.vue Replace UBI with ETH reserve in ring buffer, fix Dockerfile HEALTHCHECK, enhance LiveStats (#154) 2026-02-19 14:47:15 +01:00
StakeView.vue fix: Fix collapse component formatting: taxPaid display, string coercion, BigInt precision (#260) 2026-02-25 08:06:49 +00:00
WalletView.vue feat: wallet transaction history table (#155) (#164) 2026-02-20 09:18:10 +01:00