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

ValueRefLib

Git Source

Functions

pack

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

pack

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

unpack

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