lorentz-0.9.0: EDSL for the Michelson Language
Safe HaskellNone
LanguageHaskell2010

Lorentz.OpSize

Description

Operation size evaluation.

Synopsis

Documentation

newtype OpSize #

Constructors

OpSize 

Fields

Instances

Instances details
Eq OpSize 
Instance details

Defined in Michelson.Untyped.OpSize

Methods

(==) :: OpSize -> OpSize -> Bool #

(/=) :: OpSize -> OpSize -> Bool #

Ord OpSize 
Instance details

Defined in Michelson.Untyped.OpSize

Show OpSize 
Instance details

Defined in Michelson.Untyped.OpSize

Semigroup OpSize 
Instance details

Defined in Michelson.Untyped.OpSize

Monoid OpSize 
Instance details

Defined in Michelson.Untyped.OpSize

Buildable OpSize 
Instance details

Defined in Michelson.Untyped.OpSize

Methods

build :: OpSize -> Builder #

AnnsOpSizeVararg OpSize 
Instance details

Defined in Michelson.Untyped.OpSize

Methods

annsOpSizeVararg :: AnnotationSet -> OpSize

contractOpSize :: (NiceParameterFull cp, NiceStorage st) => Contract cp st -> OpSize Source #

Estimate code operation size.

valueOpSize :: forall a. NicePrintedValue a => a -> OpSize Source #

Estimate value operation size.