Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

UniqueRefLib

Git Source

Functions

pack

function pack(uint48 tok, uint16 rev, uint64 id, uint128 amount) internal pure returns (bytes32);

pack

function pack(UniqueRef memory ref) internal pure returns (bytes32);

unpack

function unpack(bytes32 packed) internal pure returns (UniqueRef memory ref);