openhands
|
8c43d3890c
|
fix: Move BigInt formatting functions from helper.ts to kraiken-lib/format (#246)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-02-24 23:00:58 +00:00 |
|
johba
|
31063379a8
|
feat/ponder-lm-indexing (#142)
|
2026-02-18 00:19:05 +01:00 |
|
traddoo
|
beefe22f90
|
fix(web-app): position ID, issuance earned (#96)
Bug #1: Position ID Transformation Issue (#95)
Problem: Frontend applied incorrect byte conversion to position IDs, causing transactions to fail with "NoPermission"
errors.
Root Cause: formatId() function did little-endian byte conversion on already-correct numeric strings from GraphQL.
Fix: Direct conversion BigInt(obj.id) instead of formatId(obj.id as Hex) in usePositions.ts.
Result: Users can now successfully stake/unstake positions.
---
Bug #2: Issuance Earned Calculation Error (#97)
Problem: Frontend showed negative "Issuance Earned" values (e.g., -4,991 KRK) due to wrong mathematical formula.
Root Cause: Formula calculated position.totalSupplyInit - currentTotalSupply (always negative when supply increases).
Fix: Correct formula (currentTotalSupply - position.totalSupplyInit) × position.share in Vue components.
Result: Shows realistic positive earnings and enables proper economic monitoring.
Co-authored-by: steve <steve@harberg.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
Reviewed-on: https://codeberg.org/johba/harb/pulls/96
Co-authored-by: traddoo <traddoo@noreply.codeberg.org>
Co-committed-by: traddoo <traddoo@noreply.codeberg.org>
|
2025-11-20 19:44:10 +01:00 |
|
johba
|
371a8557b7
|
improve web-app config
|
2025-10-11 10:55:49 +00:00 |
|
johba
|
6cbb1781ce
|
tax rate, version and compose (#70)
resolves #67
Co-authored-by: johba <johba@harb.eth>
Reviewed-on: https://codeberg.org/johba/harb/pulls/70
|
2025-10-07 19:26:08 +02:00 |
|
johba
|
f8927b426e
|
webapp - ESLint + Prettier with pre-commit hooks (#54)
resolves #47
Co-authored-by: johba <johba@harb.eth>
Reviewed-on: https://codeberg.org/johba/harb/pulls/54
|
2025-10-03 16:51:44 +02:00 |
|
johba
|
ba64e725dc
|
replaced subgraph with ponder
|
2025-09-23 19:24:05 +02:00 |
|
johba
|
769fa105b8
|
added web-app and landing
|
2025-09-23 14:18:04 +02:00 |
|