flaunch-manager-zap-wrapper

Build custom FlaunchZap wrapper contracts enforcing treasury manager policies.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/flayerlabs/flaunch-skills --skill flaunch-manager-zap-wrapper
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flaunch-manager-zap-wrapper
Source: https://github.com/flayerlabs/flaunch-skills/tree/main/skills/advanced/manager-zap-wrapper
Command: npx skills add https://github.com/flayerlabs/flaunch-skills --skill flaunch-manager-zap-wrapper

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill addresses the need for custom token launch entrypoints that strictly enforce a specific treasury manager policy, ensuring all launched tokens adhere to predefined financial and governance rules.

Core Features & Use Cases

  • Custom Wrapper Contracts: Develop secure wrapper contracts around FlaunchZap to control launch parameters.
  • Policy Enforcement: Mandate specific treasury managers and their configurations (_treasuryManagerParams.manager, default permissions, initialization data).
  • Launch Validation: Ensure launched tokens are correctly bound to the intended manager and that post-launch logic (initialization, deposits, payouts, accounting) functions as per the manager's policy.
  • Use Case: A project requires all newly launched tokens to automatically route 10% of all trading fees to a specific community treasury and implement a buyback mechanism. This skill helps build the custom launch contract that enforces this manager policy.

Quick Start

Use the flaunch-manager-zap-wrapper skill to create a custom launch contract that forces the AddressFeeSplitManager with a 10% fee split to a specified treasury address.

Frequently Asked Questions about flaunch-manager-zap-wrapper

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

FAQPage Schema
How do I enforce a specific treasury manager policy during a token launch?

To enforce a specific treasury manager policy during a token launch, you build a custom wrapper contract around FlaunchZap to mandate predefined financial and governance rules. This ensures all launched tokens automatically adhere to your specified configurations.

What is a FlaunchZap wrapper contract used for in DeFi?

A FlaunchZap wrapper contract in DeFi is used to control token launch parameters and enforce specific treasury manager policies. It acts as a secure custom entrypoint that validates token binding and ensures post-launch logic functions according to predefined rules.

Can I automatically route trading fees to a community treasury on token launch?

Yes, you can automatically route a percentage of trading fees to a community treasury by building a custom launch contract. This contract forces a specific treasury manager, such as the AddressFeeSplitManager, to execute the fee split on your specified treasury address.

How do I validate token binding and post-launch initialization for treasury managers?

To validate token binding and post-launch initialization, your custom wrapper contract must check that launched tokens are correctly bound to the intended manager. It ensures initialization, deposits, payouts, and accounting behavior align with the chosen manager's policy.

Do I need to understand the manager lifecycle to use a FlaunchZap wrapper?

Yes, you need a solid understanding of Flaunch's manager lifecycle, encoding, custody, and accounting principles. This prerequisite knowledge is required to correctly configure the wrapper and validate post-launch payout behavior according to the chosen policy.

What are the limitations of using custom wrapper contracts for token launches?

The limitation of using custom wrapper contracts for token launches is that they require strict adherence to Flaunch's encoding and custody principles. You must accurately configure the treasury manager parameters and initialization data to avoid post-launch accounting and payout failures.