Index of every page on this site: llms.txt
All skills
whetstoneresearch avatar

/solana-fee-accounting

@4f654fe
Run it yourself

Reference for doppler-sol launch, CPMM, protocol, and migration fee accounting across Initializer, CPMM, and CPMM migrator flows.

Use this Skill: https://skilld.dev/gh/whetstoneresearch/doppler-skills/solana-fee-accounting

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesCPMM-FEES.md

≈165 tokens on demand. Your agent reads this file only when SKILL.md points to it.

CPMM Fees

CPMM swaps split total swap fees between:

  • distributable fees owed to positions
  • compounded amounts retained in reserves

Per-position fee accounting uses:

  • pool global fee growth fields
  • position last fee growth snapshots
  • position owed fee fields

Protocol fee behavior can mint shares to the protocol fee position based on reserve growth. When auditing fees, include pool.protocol_fee_position and Pool.total_shares.

Protocol fee ownership and redemption have changed over time. For customer-facing claims, decode the pool and protocol fee position through the SDK/IDL used by the integration rather than relying on copied examples.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning5mo3 checks · Risk SAFE
  • Gen Agent Trust Hub5mo

    The skill is a collection of reference documentation for Solana fee accounting. It contains no executable code, network operations, or external dependencies.

  • Socket5mo

    No alerts

  • Snyk5mo

    Risk: MEDIUM · 1 issue

Signed by skilld at 4f654fe. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 6 months ago
metadata
{
  "author": "doppler",
  "version": "1.0"
}

README badge

README badge for whetstoneresearch/doppler-skills/solana-fee-accounting