ClankerUniv4EthDevBuy
Documentation of Clanker v4.0.0's DevBuy
struct Univ4EthDevBuyExtensionData {
// pool key to swap from W/ETH to paired token if the paired token is not WETH.
// Can be set to fake data if the paired token is WETH but needs to be the
// correct byte length
PoolKey pairedTokenPoolKey;
// minimum amount of token to receive from the W/ETH -> paired token swap
uint128 pairedTokenAmountOutMinimum;
// recipient of the tokens, should be specified
address recipient;
}// PoolKey for USDC<>ETH on Base Mainnet
// PoolID: 0x96d4b53a38337a5733179751781178a2613306063c511b78cd02684739288c0a
poolKey: {
currency0: '0x0000000000000000000000000000000000000000',
currency1: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
fee: 500,
tickSpacing: 10,
hooks: '0x0000000000000000000000000000000000000000',
}Last updated