chore: gardener housekeeping 2026-04-05
AGENTS.md watermarks refreshed to HEAD (62ba6f2).
Content updates:
- root AGENTS.md: added Docker/LXD notes (apparmor=unconfined, umami port 3001),
viem v2 slot0 array pattern to Key Patterns
- services/ponder/AGENTS.md: documented LM_ADDRESS, POOL_ADDRESS, and
MINIMUM_BLOCKS_FOR_RINGBUFFER env vars; added zero-stats troubleshooting note
- web-app/AGENTS.md: added viem v2 slot0 array compat section
Grooming: no open issues.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
62ba6f24fd
commit
47a02cab92
10 changed files with 27 additions and 31 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<!-- last-reviewed: 79a93d41608f2cbe3b990f4613d04d310642bd2c -->
|
||||
<!-- last-reviewed: 62ba6f24fd0cf770dd8c3738563cb0bdeb48d6ea -->
|
||||
# Web App - Agent Guide
|
||||
|
||||
Vue 3 + TypeScript staking interface for KRAIKEN, enabling users to stake tokens, manage positions, and interact with Harberger-tax mechanics.
|
||||
|
|
@ -34,6 +34,10 @@ Vue 3 + TypeScript staking interface for KRAIKEN, enabling users to stake tokens
|
|||
- `ChartComplete.vue` — Position visualization
|
||||
- `CollapseActive.vue` — Expandable position card with actions
|
||||
|
||||
## viem v2 Contract Call Patterns
|
||||
- **`slot0()` returns an array, not a record.** `tick` is at index 1: `slot0Response[1]`. Do not access `slot0Response.tick` — that was viem v1 behaviour. `CheatsView.vue` handles both formats for backward compat.
|
||||
- When adding new contract reads, check whether viem v2 returns an array or named tuple before indexing into the result.
|
||||
|
||||
## Development Workflow
|
||||
- Boot full stack: `./scripts/dev.sh start` (see root AGENTS.md)
|
||||
- Targeted: `npm run dev` (assumes Ponder/Anvil already running)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue