UN
Uniswap V3 Factory (Sepolia)
0x0227...aC1csepoliafactoryuniswapv3
Contract Level Prompt
Foundational semantic layer for AI interpretation.
The Uniswap V3 Factory contract is used to create new trading pool contracts via `createPool` and to look up the deployment address of existing trading pools via `getPool`.
createPool()
nonpayableFunctional Prompt
Creates a new trading pool contract for erc20 assets `tokenA` and `tokenB` for the supplied `fee` value if it does not exist already (this can be checked with `getPool`).
Input Parameters
input
tokenBaddress
The address of the smart contract implementing an erc20 asset.
input
tokenAaddress
The address of the smart contract implementing an erc20 asset.
input
feeuint24
The trading fee that the pool will extract on each swap; must be `500`, `3000`, or `10000`.
Output Parameters
output
pooladdress
The address which the pool is deployed to; if the return value is `address(0)` then the pool does not exist.