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

TokenSpecLib

Git Source

Functions

pack

function pack(TokenStandard std, uint8 decimals, bytes30 symbol) internal pure returns (bytes32);

unpack

function unpack(bytes32 t) internal pure returns (TokenSpec memory);

toBytes30

function toBytes30(string memory s) internal pure returns (bytes30 out);

toString

function toString(bytes30 symbol) internal pure returns (string memory);