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

LibVoucher

Git Source

Functions

encode

Encode a voucher as an output.

function encode(Voucher memory v) internal pure returns (bytes memory output);

Parameters

NameTypeDescription
vVoucherThe voucher

Returns

NameTypeDescription
outputbytesThe encoded voucher