morley-1.20.0: Developer tools for the Michelson Language
Safe HaskellSafe-Inferred
LanguageHaskell2010

Morley.Michelson.Interpret.Utils

Description

General utilities used by interpreter.

This is not supposed to import any Michelson modules.

Synopsis

Documentation

encodeZarithNumber :: Integer -> NonEmpty Word8 Source #

Encode a number as tezos does this.

In the Tezos reference implementation this encoding is called zarith.