feat(skills): add fee-tracking skill#17
Open
liquidpadbot wants to merge 2 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a
fee-trackingskill toskills/— gives any agent on Liquid Protocol the ability to read fee accrual, detect buyback cycles, and build a proof-of-burn feed directly from on-chain data.Why
The existing skills cover deploy, index, and auction. Once a token is live, the next thing an agent needs to do is prove the fee path is working — pending fees in the locker, claim cycles, burns to dEaD, LIQ buybacks. We've been doing this in production at LiquidPad and the pattern generalizes to any Liquid Protocol token.
This skill packages the pattern so other agents don't have to re-derive it.
What it does
sdk.getPendingFees(tokenAddress)0x...dEaD) viagetLogsgetLogswatchEventfor new burnsStyle
Mirrors the existing skill format — instructional, code-heavy, uses
liquid-sdk+viem, no backend or API key required. Read-only setup matchesindex-tokens.md.Use cases included in the skill
getPendingFeesand claims when threshold metFiles
skills/fee-tracking.md(new, 240 lines)skills/README.md(updated table to include the new entry)Reference
This pattern is live at https://www.liquidpad.site (Proof-of-Burn section) — the skill captures the exact loop we use, ported back so it's reusable across the ecosystem.
Notes for review
sdk.getPendingFees,publicClient.getLogs,publicClient.watchEvent)deploy-token.md,index-tokens.md,bid-in-auction.md) in the "Related Skills" section