PoolFactoryStorage
State Variables
STORAGE_SLOT
bytes32 internal constant STORAGE_SLOT = keccak256("premia.contracts.storage.PoolFactory");
Functions
layout
function layout() internal pure returns (Layout storage l);
poolKey
Returns the encoded pool key using the pool key k
function poolKey(IPoolFactory.PoolKey memory k) internal pure returns (bytes32);
strikeKey
Returns the encoded strike key using the pool key k
function strikeKey(IPoolFactory.PoolKey memory k) internal pure returns (bytes32);
maturityKey
Returns the encoded maturity key using the pool key k
function maturityKey(IPoolFactory.PoolKey memory k) internal pure returns (bytes32);
Structs
Layout
struct Layout {
mapping(bytes32 key => address pool) pools;
mapping(address pool => bool) isPool;
mapping(bytes32 key => uint256 count) __deprecated_strikeCount;
mapping(bytes32 key => uint256 count) __deprecated_maturityCount;
UD60x18 __deprecated_discountPerPool;
address __deprecated_feeReceiver;
}