Skip to main content
The ClankerUniv4EthDevBuy extension is used to perform an initial swap of the token using passed-in ETH. If the paired token is not WETH, the extension will swap the passed-in ETH for the paired token before swapping the paired token for the deployed token. For non-WETH pairs, the paired token must have a WETH<>PairedToken Uniswap v4 pool. In this version, multiple devBuy extensions are allowed per deployment. The ClankerUniv4EthDevBuy’s extension data is in the form of:
The pairedTokenPoolKey parameter is the full PoolKey and not the PoolID. For example, if the paired token was USDC, the following PoolKey on Base could work:
There are no user-facing functions for the ClankerUniv4EthDevBuy extension.