Flaunch & Buy
Flaunches a memecoin and makes a token buy from the Fair Launch supply in the same transaction. This ensures that the token buy cannot be frontrun by bots, and gives the creator a share of their fair launch memecoin supply.
The FlaunchParams
passed are the same as a typical PositionManager.flaunch
call:
This call does not bypass the buy price and requires additional ETH to be sent to the zap in order to execute the transaction.
Notes
Our current implementation uses the
initialPriceParams
to define the initial market cap. This can be set by passing the USDC token value of the desired market cap. For example,5000e6
would give a starting market cap of$5000
. The market cap must be >=1000e6
.The
feeCalculatorParams
bytes are not used in current calculator implementations. For this reason, this can be left as bytes. This can be referenced asabi.encode('')
The
premineAmount
parameter is passed in thePositionManager
flaunch call, but it won't actually be actioned unless this zap is called instead. ThepremineAmount
attribute only allocates the buy that is then filled when called via the zap.
Deployment Addresses
We strive to maintain uniformity in our deployment addresses, but always check before implementing across multiple chains.
Base
Base Sepolia
0x60fc7d5F57082889F3faE31d844b1159A46105AF
Last updated