Events
All events of DropLaunchpad and DropHook.
DropLaunchpad
Launches
event DropCreated(
address indexed creator,
address indexed token,
uint32 indexed partnerId,
IDropTokenDeployer tokenDeployer,
address feeRecipient
);A token was launched. creator is the caller of launchDrop. feeRecipient is the creator fee recipient.
event DropPoolCreated(
address indexed token,
address indexed quote,
PoolId indexed poolId,
uint16 supplyBps,
uint160 sqrtPriceX96
);A launch pool was created. sqrtPriceX96 is the pool's start price, in the pool's currency order. One event for each
pool, with the main pool first.
event DropDevBuy(
address indexed token,
address indexed recipient,
uint256 quoteAmount,
uint256 tokenAmount
);The launch bought tokenAmount tokens for recipient, with quoteAmount of the main pool's quote.
Fees
event DropPartnerFeesCollected(
uint32 indexed partnerId,
PoolId indexed poolId,
address indexed recipient,
uint256 quoteAmount,
uint256 tokenAmount
);
event DropCreatorFeesCollected(
PoolId indexed poolId,
address indexed recipient,
uint256 quoteAmount,
uint256 tokenAmount
);A collection credited each recipient's part. The two events come together, partner first.
event FeesClaimed(
address indexed recipient,
address indexed asset,
uint256 amount
);recipient was paid amount of asset. address(0) is native.
event CreatorFeeRecipientUpdated(
address indexed token,
address indexed oldRecipient,
address indexed newRecipient
);Partners
event PartnerRegistered(
uint32 indexed partnerId,
address indexed feeRecipient,
uint16 shareBps,
uint24 lpFee
);
event PartnerFeeRecipientUpdated(
uint32 indexed partnerId,
address indexed oldRecipient,
address indexed newRecipient
);Deployment
event TokenDeployerAdded(IDropTokenDeployer indexed tokenDeployer);Emitted only by the constructor, once for each token deployer.
DropHook
event DropSwap(
PoolId indexed poolId,
int128 amount0,
int128 amount1,
uint160 sqrtPriceX96
);A swap in a launch pool, including dev buys. The amounts are from the swapper's side: negative is paid into the pool,
including the fee, and positive is paid out. sqrtPriceX96 is the price after the swap.