RevenueManager
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
Builders can take up to 100% of all fees generated, and the remaining will go to your token creator and the community.
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, we can use an escrow contract that will capture 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.
Initialization
/**
* Parameters passed during manager initialization.
*
* @member protocolRecipient The recipient of protocol fees
* @member protocolFee The fee that the external protocol will take (2dp)
*/
struct InitializeParams {
address payable protocolRecipient;
uint protocolFee;
}Deposit
Public Calls
Protected Calls
Only the owner of the manager can make these calls
Allows a protocol owner to make a claim, without any additional {FlaunchToken} logic being passed in the parameters. This returns the amount of ETH claimed during the call.
Who is using the RevenueManager?
Contract Addresses
Base
0x1af9B9f168bFd2046f45E0Ce03972864BcE7eE36
Base Sepolia
0xE1bb2e5F4dBf4e45EAC329e234FB8D4D1a16E634
ABI
Last updated
Was this helpful?