Skip to main content
Helpful?

ProtocolFeesImplementation

Git Source | Generated with forge doc

Inherits: ProtocolFees

State Variables

_pools

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

isUnlocked

bool internal isUnlocked;

Functions

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);

fetchProtocolFee

function fetchProtocolFee(PoolKey memory key) public returns (uint24);

updateProtocolFees

function updateProtocolFees(Currency currency, uint256 amount) public;
Helpful?