morley-1.12.0: Developer tools for the Michelson Language
Safe HaskellNone
LanguageHaskell2010

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.