Skip to content

TransientPriceLib

Functions

pack

Packs the struct into a uint256.

function pack(TransientPrice memory x) internal pure returns (uint256);

unpack

Unpacks the struct from a uint256.

function unpack(uint256 packed) internal pure returns (TransientPrice memory);