UniswapV3AdapterStorage
ERC-7201 namespaced storage for the full-range Uniswap V3 LP adapter.
Note:
- storage-location: erc7201:lattice.storage.UniswapV3Adapter
struct UniswapV3AdapterStorage {
/// @dev The Uniswap V3 NonfungiblePositionManager (custodies the position NFT).
address _positionManager;
/// @dev The Uniswap V3 pool this adapter LPs into.
address _pool;
/// @dev The pool's token0 (== the adapter's `asset`, the vault-facing accounting token).
address _token0;
/// @dev The pool's token1 (supplied by the keeper, never swapped).
address _token1;
/// @dev The Lattice vault funds are returned to on emergency exit.
address _vault;
/// @dev Reward recipient for collected fees (token0 + token1) and routed leftover token1.
address _rewardRecipient;
/// @dev The position NFT id; 0 means no position has been minted yet.
uint256 _tokenId;
/// @dev TWAP observation window (seconds) for `pool.observe`-based valuation.
uint32 _twapWindow;
/// @dev The pool fee tier (hundredths of a bip).
uint24 _fee;
/// @dev Full-range lower tick (min usable tick aligned to tickSpacing), cached at init.
int24 _tickLower;
/// @dev Full-range upper tick (max usable tick aligned to tickSpacing), cached at init.
int24 _tickUpper;
/// @dev Slippage tolerance in basis points applied to add/remove min-amount floors.
uint256 _slippageBps;
/// @dev Authorized operator: the SOLE caller permitted to invoke `deploy`/`withdraw`/`harvest`
/// (the StrategyManager in the live system). Zero until wired ⇒ that trio reverts.
/// APPENDED last (append-only ERC-7201 rule — never reorder/insert).
address _operator;
}Properties
| Name | Type | Description |
|---|---|---|
| _positionManager | address | |
| _pool | address | |
| _token0 | address | |
| _token1 | address | |
| _vault | address | |
| _rewardRecipient | address | |
| _tokenId | uint256 | |
| _twapWindow | uint32 | |
| _fee | uint24 | |
| _tickLower | int24 | |
| _tickUpper | int24 | |
| _slippageBps | uint256 | |
| _operator | address |