flayerlabs/flaunchgg-contracts/treasury-managers
Claude Code and agent skill by flayerlabs/flaunchgg-contracts
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install flayerlabs/flaunchgg-contracts/treasury-managersSKILL.md
Treasury Managers
Control how trading fees are distributed with treasury managers. This is the power feature that sets Flaunch apart from other launchpads.
Why Treasury Managers?
When you launch a token on Flaunch, you receive an ERC721 NFT that represents ownership of the token's fee stream. By default, fees go to the NFT holder. But with treasury managers, you can program sophisticated fee distribution logic.
What you can do:
- Split fees between multiple addresses
- Create staking pools where holders earn from trading fees
- Route fees to automatic token buybacks
- Build gamified incentives and competitions
- Any custom logic you can imagine
How Fees Work
Every trade on a Flaunch token generates fees that flow to the BidWall. The creatorFeeAllocation you set at launch determines your share.
Fee Tiers (FeeSplitManager-based)
Managers that extend FeeSplitManager (AddressFeeSplit, Staking, BuyBack, ERC721Owner) support three tiers:
| Tier | Description | |
|---|---|---|
| Creator Share | Goes to the address that deposited the token | |
| Owner Share | Goes to the manager owner (you) | |
| Split Share | Distributed per manager logic |
Shares use 5 decimal places: 100_00000 = 100%
Note: RevenueManager uses a different model with protocolRecipient and protocolFee instead.
Available Managers
| Manager | Use Case | |
|---|---|---|
AddressFeeSplitManager | Split fees between fixed addresses | |
StakingManager | Distribute fees to token stakers | |
BuyBackManager | Route fees to token buybacks | |
RevenueManager | Simple creator + protocol split | |
ERC721OwnerFeeSplitManager | Split based on NFT ownership |
See references/manager-types.md for detailed parameters.
Using Managers
Option 1: Launch with Manager (SDK)
Option 2: Deploy Manager Separately
See references/factory-usage.md for factory details.
Manager Examples
Revenue Split
Split trading fees between team, treasury, and marketing:
Staking Rewards
Let holders stake tokens to earn from trading fees:
Deflationary Buyback
Route all fees to buy and burn tokens:
Transferring Fee Ownership
The ERC721 NFT represents fee stream ownership. You can move this ownership to:
- A manager contract - Enable programmatic distribution (via
deposit) - A multisig - Shared control over fees
- Another wallet - Sell or delegate fee rights
Important: Don't use safeTransferFrom directly to a manager. Managers track deposits via their deposit() function which handles internal accounting.
Building Custom Managers
Extend TreasuryManager or FeeSplitManager for custom logic:
See references/custom-managers.md for the full interface.
Tips
- Plan your tokenomics before launch - manager params are often immutable
- Use testnet first - Deploy on Base Sepolia before mainnet
- Consider gas costs - Complex distribution logic costs more gas
- Audit custom managers - Bugs in fee distribution can lock funds
- Document for holders - Be transparent about how fees are distributed
References
- Manager Types - All managers with init params
- Fee Distribution - How fees flow
- Factory Usage - Deploying managers
- Custom Managers - Building your own
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/treasury-managers/SKILL.md
Popularity
- 7-day trend score
- 0
Refreshed 19 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/flayerlabs/flaunchgg-contracts/treasury-managers)