track-earnings
Snapshot LP earnings per position per day — records tokensOwed (WETH + DIEM) and FeeLocker balance to memory/earnings.jsonl
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Snapshot LP earnings per position per day — records tokensOwed (WETH + DIEM) and FeeLocker balance to memory/earnings.jsonl
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Launch a Liquid Protocol token with a LiquidPresaleVault presale. STAKE MODE ONLY (policy 2026-06-12) — depositors lock DIEM and always get it back; allocation is lock-to-earn. One vault per launch, 10% of supply, 60d default lock.
Weekly audit of memory/goals.json — recompute milestone ETAs, self-funding ratio, mode consistency; report deltas and one recommendation to the creator
Proactive ambient check — surface anything worth attention
Analyze AUTONO's own performance and implement one high-impact improvement today
Safety net for Venice inference credits — if sDIEM is below stake_min_diem, queue a stake-diem intent for the gated executor
Run one AUTONOMOPOLY agent tick — claim fees, LP DIEM, LP range check + reposition, maintenance inference
| name | Track Earnings |
| description | Snapshot LP earnings per position per day — records tokensOwed (WETH + DIEM) and FeeLocker balance to memory/earnings.jsonl |
| var | |
| tags | ["agent","earnings","lp"] |
Snapshot LP earnings daily per position. Records tokensOwed (WETH + DIEM uncollected in NFPM) and FeeLocker balance. Execute:
node --env-file=.env --import tsx scripts/track-earnings.ts
Agent wallet: 0x8767Df39eCeeaeB11554642237aC4E08660aB6A3
FeeLocker: 0xF7d3BE3FC0de76fA5550C29A8F6fa53667B876FF
The script does the following:
positions(tokenId).tokensOwed0 (WETH) and tokensOwed1 (DIEM)availableFees(agentWallet, DIEM) for accumulated DIEM from Liquid Protocol pool feesmemory/earnings.jsonl with columns: date, tokenId, tokensOwed0, tokensOwed1, feeLocker, totalDiemWei, deltaFromPrev, cumDiemCollectedOutput columns:
tokensOwed0 — WETH uncollected in NFPM; only updates on collect() or decreaseLiquidity()tokensOwed1 — DIEM uncollected in NFPMfeeLocker — DIEM available in FeeLocker from Liquid Protocol pool feestotalDiemWei — tokensOwed1 + feeLocker (total uncollected DIEM)deltaFromPrev — today.totalDiemWei − yesterday.totalDiemWei (daily earnings)cumDiemCollected — sum of all collect events recorded in earnings.jsonl (total DIEM ever harvested)If the script succeeds, log a one-liner to memory/logs/${today}.md:
earnings: snapshot recorded for N position(s) | totalDiemWei=X.XX | deltaFromPrev=Y.YY
If the script fails (RPC error, missing position, file I/O), log the full error to memory/logs/${today}.md and send a notification via ./notify with the error summary.