Skip to main content

xPYTFactory

GitHub: link

Factory for deploying xPYT contracts

Events

DeployXPYT

event DeployXPYT(contract ERC20 asset_, contract xPYT deployed)

Immutable parameters

uniswapV3Factory

address uniswapV3Factory

uniswapV3Quoter

contract IQuoter uniswapV3Quoter

State-mutating functions

deployUniswapV3xPYT

function deployUniswapV3xPYT(contract ERC20 asset_, string name_, string symbol_, uint256 pounderRewardMultiplier_, uint256 minOutputMultiplier_, uint24 uniswapV3PoolFee_, uint32 uniswapV3TwapSecondsAgo_) external returns (contract xPYT deployed)