RevenueManager
Create a Launchpad without the heavy lifting.
If you operate an external protocol, there are a number of benefits that can come from integrating with Flaunch.
Create your own launchpad that gives you full control of the business model
Integrate your protocol's functionality into Flaunch's whitelisted treasury actions to build TVL
Build popular money games with the tokenized revenue streams and profit
The Flaunch protocol is built in a way that directly rewards the token creator though, which won't benefit an external protocol. To alleviate this issue, we can use an escrow contract that will captures fees as a middleware and give more granular control over fee distribution in any way wanted.
To achieve this, we created the RevenueManager
implementation contract that is simple to integrate. Before making your call to flaunch a token you will first need to deploy an implementation of the Treasury Manager and then initialize the RevenueManager
like below.
It's as simple as that! Calls to claim fees can now be made via the unique escrow contract for each token, stored onchain and routed how you see fit. The _owner
will also have some protected calls made available.
If you are handling swaps externally of Flaunch, it may be worth setting up referrer detection in your swaps for additional protocol revenue.
Routing Fees
As the ERC721 is owned by the manager fees will now be allocated to the manager contract, rather than the original creator. The claim
call can be made at any time and will withdraw fees allocated to the manager and split it between protocolRecipient
and the creator.
If the ETH from the claim cannot be transferred to either the creator or the protocol, this claim call will not revert. However, this will just be reflected in the returned values and the emitted events. The ETH will remain in the contract until the next claim.
The RevenueClaimed
event is also emitted during the claim call which can be tracked to provide ongoing information regarding claims.
The RevenueManager
can only hold a single tokenId at a time. For this reason, you will be required to initialize new managers for each token flaunched.
Additional Ownership Calls
In addition to claim routing, the owner of the manager contract (defined when initialising the manager) will have some additional, protected calls available.
Who is using the RevenueManager?
We are currently working with a small number of launchpads to implement our RevenueManager. When they are released as public code repositories, we will share and document the implementations. Check back soon!
Deployment Address
Base
Coming soon
Base Sepolia
Coming soon
Implementation Source
Last updated
Was this helpful?