Track Earnings

Snapshot daily Uniswap v3 LP earnings and append totals to memory/earnings.jsonl.

10|4|Updated May 14, 2026
One-click install
npx skills add https://github.com/Liquid-Protocol-Ops/agent-autonomopoly --skill track-earnings
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Track Earnings
Source: https://github.com/Liquid-Protocol-Ops/agent-autonomopoly/tree/main/skills/track-earnings
Command: npx skills add https://github.com/Liquid-Protocol-Ops/agent-autonomopoly --skill track-earnings

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Snapshot LP earnings daily per position by recording tokensOwed (WETH + DIEM) and the FeeLocker balance into memory/earnings.jsonl, enabling transparent tracking and auditing.

Core Features & Use Cases

  • Read Uniswap v3 positions owned by the agent and query tokensOwed0 (WETH) and tokensOwed1 (DIEM).
  • Retrieve FeeLocker available DIEM for the agent wallet.
  • Compute daily delta compared to the previous day and append a new entry to memory/earnings.jsonl with totals and cumulative sums.

Quick Start

Run the track-earnings.ts script to snapshot today’s LP earnings and update memory/earnings.jsonl.

Frequently Asked Questions about Track Earnings

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I track daily Uniswap v3 LP earnings for WETH and DIEM?

This Skill snapshots daily Uniswap v3 LP earnings by recording tokensOwed0 (WETH) and tokensOwed1 (DIEM) alongside the FeeLocker balance. It computes daily deltas versus yesterday and appends totals to memory/earnings.jsonl.

What is the best way to audit DIEM rewards from FeeLocker across LP positions?

Auditing DIEM rewards involves retrieving the available FeeLocker balance for your agent wallet and logging it. The Skill appends daily entries with cumulative sums to memory/earnings.jsonl for transparent tracking and reconciliation of earned DIEM.

How do I reconcile WETH and DIEM earnings for Uniswap v3 positions?

Reconciling WETH and DIEM earnings requires reading your agent's Uniswap v3 positions and computing the delta against the previous day's snapshot. Results are appended to memory/earnings.jsonl with total and cumulative figures for auditing.

Can I log LP earnings data into a jsonl file for daily tracking?

Yes, you can log LP earnings data into a jsonl file for daily tracking. The Skill appends daily entries containing tokensOwed balances, FeeLocker DIEM, and cumulative sums to memory/earnings.jsonl for persistent auditing and reconciliation.

Does this earnings tracking method record cumulative figures or only daily deltas?

This earnings tracking method records both daily deltas and cumulative figures. It compares today's tokensOwed and FeeLocker balance against yesterday's snapshot, appending both the daily delta and the cumulative totals to the earnings log.