Skip to main content

Reference

Interfaces, signatures, parameters, and generated references.

Lookup friendly
TOC available

ProtocolFeesImplementation

Inherits: ProtocolFees

State Variables​

_pools​

mapping(PoolId id => Pool.State) internal _pools;

isUnlocked​

bool internal isUnlocked;

Functions​

constructor​

constructor() ProtocolFees(msg.sender);

setPrice​

function setPrice(PoolKey memory key, uint160 sqrtPriceX96) public;

_getPool​

function _getPool(PoolId id) internal view override returns (Pool.State storage);

setIsUnlocked​

function setIsUnlocked(bool newValue) public;

_isUnlocked​

function _isUnlocked() internal view override returns (bool);

updateProtocolFees​

function updateProtocolFees(Currency currency, uint256 amount) public;