Smart contracts overview
Panoptic smart contracts directly interface with Uniswap v3's core contracts to create an options market.
Architecture & Contractsβ
(dependency) UniswapV3Pool.solβ
The interface for a Uniswap V3 Pool. A Uniswap pool facilitates swapping and automated market making between any two assets that strictly conform to the ERC20 specification
Panoptic deploys contracts that interact with the already-deployed UniswapV3Pool.sol contracts.
SemiFungiblePositionManager.solβ
The SFPM smart contract manages LP position using the ERC1155 interface.
The Semifungible Position Manager contract for Panoptic replaces the functionalities of the Nonfungible Position Manager from Uniswap v3-periphery. Wraps up to 4-legged Uniswap V3 positions in the ERC1155 non-fungible token interface
PanopticFactory.solβ
Deploys an options market on top of an existing Uniswap v3 pool.
PanopticPool.solβ
Creates and manages undercollateralized options. Manages positions, collateral, liquidations and forced exercises.
Panoptic Pool, create permissionless option on top of Uniswap V3
CollateralTracker.solβ
Tracks and manages collateral using a shares model.