Skip to content
LogoLogo

ImmutableState

Git Source

Title: Immutable State

A collection of immutable state variables, commonly used across multiple contracts

Constants

poolManager

IPoolManager public immutable poolManager;

Functions

onlyPoolManager

Only allow calls from the PoolManager contract

modifier onlyPoolManager();

constructor

constructor(IPoolManager _poolManager);

Parameters

NameTypeDescription
_poolManagerIPoolManager

Errors

NotPoolManager

Thrown when the caller is not PoolManager

error NotPoolManager();