#C      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                    !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQ R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u vwxyz{|}~                                          !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                                                                                  ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = >!?!@!A!B!C!D!E!F!GHIJKLMNOPQR"S"T"U"V"W"X"Y"Z"["\"]"^"_"`"a"b"c"d"e"f"g"h#i#j#k#l#m#n#o#p#q#r#s#t#u#v#w#x#y#z#{#|#}#~########################################################$$$$$$$$$$%%&&&&&&&&''''''''''''''''''''(((((( ( ( ( ( ((((((((((((((((((( (!("(#($(%(&('((()(*(+(,(-(.(/(0(1(2(3(4(5(6(7(8(9(:(;(<(=(>(?(@(A(B(C(D(E(F(G(H(I(J(K)L)M)N)O)P)Q)R)S)T)U)V)W)X*Y*Z*[*\*]+^+_+`+a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v+w+x+y+z+{+|+}+~++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++,,,,,,,,,,,,,,,,,,,,,----------------.. . . . . ............../ !"#$%&'()*+,-./0123456708090:0;0<0=0>0?0@0A0B0C0D0E0F0G0H0IJKLMNOPQRSTUVWXYZ[\]1^1_1`1a1b1c1d1e1f1g1h1i1j1k1l1m1n1o1p1q1r1s1t1u1v1w1x1y1z1{1| } ~                         222222222222222222222222222222222222222222222222222222222222334444444444444444444444444444444444444444444444444444 4 4 4 4 4444                ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P5Q5R5S5T5U5V5W5X5Y5Z5[5\5]5^5_5`5a5b5c5d5e5f5g5h5i5j5k5l5m5n5o5p5q5r5s5t5u5v5w5x5y5z5{5|5}5~5555555556666667>None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm]lorentz1Constraint applied to any part of parameter type.ZNote that you don't usually apply this constraint to the whole parameter, consider using 8 in such case.Using this type is justified e.g. when calling another contract, there you usually supply an entrypoint argument, not the whole parameter. lorentz/Ensure given type does not contain "operation". lorentz2Gathers constraints, commonly required for values.%          % None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmglorentz%Ensure that given type is a sum type.LThis helps to prevent attempts to apply a function to, for instance, a pair.lorentzJUsed to understand whether a type can potentially declare any entrypoints.lorentz[A special type which wraps over a primitive type and states that it has entrypoints (one).Assuming that any type can have entrypoints makes use of Lorentz entrypoints too annoying, so for declaring entrypoints for not sum types we require an explicit wrapper.None7!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmqq& !lorentzLifted .$lorentzLifted .%lorentzLifted .&lorentzLifted .)lorentzLifted .,lorentzLifted .4This could be just a constraint alias, but to avoid W types appearance in error messages we make a full type class with concrete instances.-lorentzLifted ./lorentzLifted .2lorentz-A useful property which holds for reasonable  instances.It's a separate thing from / because it mentions b type parameter.3lorentzLifted .!"#$%&'()*+,-./1023434/10-.,)*+&'(%$!"#2None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkms   $#"!,  $# "!, None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmvzQRSTSTQRNone6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm,vlorentzsNo entrypoints declared, parameter type will serve as argument type of the only existing entrypoint (default one).wlorentzCheck that the given entrypoint has some fields inside. This interface allows for an abstraction of contract parameter so that it requires some *minimal* specification, but not a concrete one.lorentz1A helper datatype which prettifies interface for w.ylorentzRChecks that the given parameter consists of some specific entrypoint. Similar as }> but ensures that the argument matches the following datatype.zlorentz$This wrapper allows to pass untyped F and bypass checking that entrypoint with given name and type exists.|lorentz}. constraint specialized to default entrypoint.}lorentzWhen we call a Lorentz contract we should pass entrypoint name and corresponding argument. Ideally we want to statically check that parameter has entrypoint with given name and argument. Constraint defined by this type class holds for contract with parameter cp that have entrypoint matching name with type arg.^In order to check this property statically, we need to know entrypoint name in compile time, I type serves this purpose. If entrypoint name is not known, one can use zA wrapper to take responsibility for presence of this entrypoint.mIf you want to call a function which has this constraint, you have two options: 1. Pass contract parameter cp using type application, pass H as a value and pass entrypoint argument. Type system will check that cp; has an entrypoint with given reference and type. 2. Pass  wrapped into zv and entrypoint argument. In this case passing contract parameter is not necessary, you do not even have to know it.~lorentz;Data returned by this method may look somewhat arbitrary.  is obviously needed because name can be  or z. Dict is returned because in ` case we get this evidence for free and don't want to use it. We seem to always need it anyway.lorentzUniversal entrypoint lookup.lorentz3Constraint on type-level entrypoint name specifier.lorentzWhich entrypoint to call.iWe intentionally distinguish default and non-default cases because this makes API more details-agnostic.lorentzHCall the default entrypoint, or root if no explicit default is assigned.lorentzCall the given entrypoint; calling default is not treated specially. You have to provide entrypoint name via passing it as type argument.Unfortunatelly, here we cannot accept a label because in most cases our entrypoints begin from capital letter (being derived from constructor name), while labels must start from a lower-case letter, and there is no way to make a conversion at type-level.lorentz Similar to g, but in a version which the compiler can work with (and which produces errors confusing for users :/)lorentz6Ensure that there is no explicit "default" entrypoint.lorentz:Get type of entrypoint with given name, fail if not found.lorentz:Get type of entrypoint with given name, fail if not found.lorentz#Lookup for entrypoint type by name.4Does not treat default entrypoints in a special way.lorentz+Get all entrypoints declared for parameter.lorentz Version of e which we actually use in function signatures. When given type is sum type or newtype, we refer to 9, otherwise we suppose that no entrypoints are declared.lorentz$Parameter declares some entrypoints.This is a version of _ which we actually use in constraints. When given type is a sum type or newtype, we refer to 5 instance, otherwise this instance is not necessary.lorentz+Which entrypoints given parameter declares.GNote that usually this function should not be used as constraint, use  for this purpose.lorentz&Wrap into constructor with given name.lorentz%How one of the entrypoints is called.xType arguments are name of the constructor which eventually gave name to the entrypoint and this entrypoint's argument.lorentzEntrypoint argument type.lorentzName of assigned entrypoint.lorentzIf we emulated entrypoints calling via just wrapping an argument into constructors until getting the full parameter, how would it look like. Steps are enlisted in reversed order - top-level constructors go last.lorentz*Result of entrypoint lookup at term level.lorentz0Ensure that all declared entrypoints are unique.lorentzMDefines a generalized way to declare entrypoints for various parameter types.8When defining instances of this typeclass, set concrete deriv argument and leave variable cp[ argument. Also keep in mind, that in presence of explicit default entrypoint, all other T arms should be callable, though you can put this burden on user if very necessary.Methods of this typeclass aim to better type-safety when making up an implementation and they may be not too convenient to use; users should exploit their counterparts.lorentzbName and argument of each entrypoint. This may include intermediate ones, even root if necessary.%Touching this type family is costly (O(N^2)), don't use it often.uNote [order of entrypoints children]: If this contains entrypoints referring to indermediate nodes (not leaves) in orW tree, then each such entrypoint should be mentioned eariler than all of its children.lorentz Get entrypoint argument by name.lorentzJConstruct parameter annotations corresponding to expected entrypoints set.IThis method is implementation detail, for actual notes construction use ./TODO [#35]: Should also return field annotationlorentzConstruct entrypoint caller.AThis does not treat calls to default entrypoint in a special way.HThis method is implementation detail, for actual entrypoint lookup use .lorentz:Description of how each of the entrypoints is constructed.lorentz Version of o which we actually use in code. It hides derivations stuff inside, and treats primitive types specially like  does.lorentz Version of o which we actually use in code. It hides derivations stuff inside, and treats primitive types specially like  does.lorentz Version of o which we actually use in code. It hides derivations stuff inside, and treats primitive types specially like  does.lorentz;Descriptions of how each of the entrypoints is constructed. Similar to R, but includes default entrypoint disregard whether it is explicit or not, while B includes it only if it is explicit. Also this returns list, not , for simplicity.DNote that [order of entrypoints children] property still holds here.lorentz'Derive annotations for given parameter.lorentz!Prepare call to given entrypoint.kThis does not treat calls to default entrypoint in a special way. To call default entrypoint properly use .lorentzCall the default entrypoint.lorentzCall root entrypoint safely.lorentzUniversal entrypoint calling.5vwxyz{|}~5z{}~|ywvxx0None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmylorentz-Constraint applied to a whole parameter type.9None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmg%     None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmNone6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmlorentzOWrap parameter into this to locally assign a way to derive entrypoints for it.None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmQ lorentz*Applicable for wrappers over Lorentz code.lorentz'Modify all the code under given entity.lorentz;Errors that can happen during parsing into a Lorentz value.lorentz Alias for 3, seems to make signatures more readable sometimes.:Let's someday decide which one of these two should remain.lorentzAAlias for instruction which hides inner types representation via T.lorentz4Wrap Lorentz instruction with variable annotations, annotsD list has to be non-empty, otherwise this function raises an error.lorentz Version of / which performs some optimizations immediately.lorentz`Parse textual representation of a Michelson value and turn it into corresponding Haskell value.Note: it won't work in some complex cases, e. g. if there is a lambda which uses an instruction which depends on current contract's type. Obviously it can not work, because we don't have any information about a contract to which this value belongs (there is no such contract at all).lorentzLorentz version of .lorentzLorentz version of .2118None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm[None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm lorentz Version of  which accepts no argument.lorentz Single entrypoint of a contract.#Note that we cannot make it return [[Operation], store]5 because such entrypoint should've been followed by pairC, and this is not possible if entrypoint implementation ends with failWith. None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm% lorentzConvert something from  ContractAddr in Haskell world.lorentzConvert something to  in Haskell world.lorentzHConvert something referring to a contract (not specific entrypoint) to  in Haskell world.lorentzConvert something to  in Haskell world.]Use this when you want to access state of the contract and are not interested in calling it.lorentz!Address associated with value of  contract arg type. Places where J can appear are now severely limited, this type gives you type-safety of  but still can be used everywhere. This type is not a full-featured one rather a helper; in particular, once pushing it on stack, you cannot return it back to Haskell world.~Note that it refers to an entrypoint of the contract, not just the contract as a whole. In this sense this type differs from . Unlike with ~, having this type you still cannot be sure that the referred contract exists and need to perform a lookup before calling it.lorentz%Something coercible to 'TAddress cp'.lorentzHAddress which remembers the parameter type of the contract it refers to.It differs from Michelson's contract type because it cannot contain entrypoint, and it always refers to entire contract parameter even if this contract has explicit default entrypoint.lorentzTurn  to  in Haskell world.This is an analogy of address to contractl convertion in Michelson world, thus you have to supply an entrypoint (or call the default one explicitly).lorentzSpecification of  callTAddress to call the default entrypoint.lorentzCast something appropriate to .None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm(  None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm*E&'( E& '(None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmLs lorentz)Collect all fields with the given marker.lorentzGet kind of field.lorentz>Get type of plain field. This ignores marker with field type.lorentzGet type of submap value.lorentzGet type of submap key.lorentz9Get map signature from the constructor with a given name.lorentz-What was found on lookup by constructor name.$This keeps either type arguments of % or  .lorentzhAllows to specify format of key under which fields of this type are stored. Useful to avoid collisions.lorentztDisplay type-level information about UStore field with given marker and field value type. Used for error messages.lorentz<By field name derive key under which field should be stored.lorentzSWhat do we serialize when constructing big_map key for accessing an UStore submap. lorentz Just a plain field used as data.!lorentz,Specific kind used to designate markers for ".We suggest that fields may serve different purposes and so annotated with special markers accordingly, which influences translation to Michelson. See example below.uThis Haskell kind is implemented like that because we want markers to differ from all other types in kind; herewith !I is still an open kind (has potentially infinite number of inhabitants).lorentzJust a servant type."lorentz%Describes plain field in the storage.%lorentz-Describes one virtual big map in the storage.(lorentzGathers multple fields and s under one object.Type argument of this datatype stands for a "store template" - a datatype with one constructor and multiple fields, each containing an object of type   or %/ and corresponding to single virtual field or  respectively. It's also possible to parameterize it with a larger type which is a product of types satisfying the above property.+lorentz Version of  which accepts label.,lorentz Shortcut for @ which accepts not marker but store template and name of entry."  !"#$%&'()*+,-."()*%&'"#$ !+, -.None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm^| lorentz%Generic traversal of UStore template.Clorentz Constraint for UStore traversal.DlorentzJDeclares a handler for UStore submaps when given traversal way is applied.Elorentz&How to process each of UStore submaps.FlorentzIDeclares a handler for UStore fields when given traversal way is applied.Glorentz%How to process each of UStore fields.HlorentzNDefines general parameters of UStore template traversal. You need a separate wayI datatype with an instance of this typeclass for each type of traversal.IlorentzgWrapper which will accompany the existing value of traversed template, aka argument. This is usually  or  a.JlorentzQAdditional constraints on monadic action used in traversal. Common ones include , , (,) aKlorentzFPerform UStore traversal. The most general way to perform a traversal.LlorentzModify each UStore entry.Mlorentz5Collect information about UStore entries into monoid.Nlorentz"Fill UStore template with entries. CDEFGHIJKLMN HIJFGDECKLMNNone6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmt XlorentzApply multiple coverage steps.lorentzSingle piece of a coverage.YlorentzOApply given diff coverage, returning type of affected field and modified diff.ZlorentzNCover the respective part of diff. Maybe fail if such action is not required.This type is very similar to d, but we still use another type as 1. Their kinds will differ - no chance to mix up anything. 2. One day there might appear more complex actions.]lorentzVHelper type family which dumps error message about remaining diff if such is present.^lorentz5Renders human-readable message describing given diff._lorentz3Make up a migration diff between given old and new ( templates.lorentzLift a list of g to cs via attaching given d.lorentzLHelper to make sure that datatype field is named and then extract this name.`lorentz(Get only field names of UStore template.blorentz>Get information about all fields of UStore template in a list.tIn particular, this recursivelly traverses template and retrives names and types of fields. Semantic wrappers like   and %# in field types are returned as-is.clorentzSingle piece of a diff.dlorentz%What should happen with a particular  UStoreItem.glorentz)Information about single field of UStore.XYZ[\]^_`abcdefggdefc_^]ba`Z[\YXNone6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmlorentzGeneric traversal for .lorentzReturns: 1. Notes corresponding to this level; 2. Field annotation for this level (and which should be used one level above).lorentz6Fetches information about all entrypoints - leaves of  tree.lorentz6Fetches information about all entrypoints - leaves of  tree.lorentz"Traverses sum type and constructs 7 which report constructor names via field annotations.hlorentzBuild i by parameter type.ilorentzEntrypoints tree - skeleton on  tree later used to distinguish between constructors-entrypoints and constructors which consolidate a whole pack of entrypoints.jlorentz6We are in the intermediate node and need to go deeper.klorentzWe reached entrypoint argument.llorentzIWe reached complex parameter part and will need to ask how to process it.nlorentz Extension of p: on parameters being defined as several nested datatypes.MIn particular, it will traverse the immediate sum type, and require another  for the inner complex datatypes. Only those inner types are considered which are the only fields in their respective constructors. Inner types should not themselves declare default entrypoint, we enforce this for better modularity. Each top-level constructor will be treated as entrypoint even if it contains a complex datatype within, in such case that would be an entrypoint corresponding to intermediate node in or tree. Comparing to oM this gives you more control over where and how entrypoints will be derived.olorentz Extension of p: on parameters being defined as several nested datatypes.aIn particular, this will traverse sum types recursively, stopping at Michelson primitives (like =) and constructors with number of fields different from one.2It does not assign names to intermediate nodes of  tree, only to the very leaves.)If some entrypoint arguments have custom v instance, this derivation way will not work. As a workaround, you can wrap your argument into some primitive (e.g. :!).plorentzImplementation of l which fits for case when your contract exposes multiple entrypoints via having sum type as its parameter.In particular, each constructor would produce a homonymous entrypoint with argument type equal to type of constructor field (each constructor should have only one field). Constructor called '' will designate the default entrypoint.lorentzAMakes up notes with proper field annotations for given parameter.lorentz=Makes up a way to lift entrypoint argument to full parameter.lorentz-Makes up descriptions of entrypoints calling. hijklmnop ponmijklh:None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm,vwxyz{|}~nop,}~|ywz{xvponNone6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm~lorentzLCode for a contract along with compilation options for the Lorentz compiler.It is expected that a ~ is one packaged entity, wholly controlled by its author. Therefore the author should be able to set all options that control contract's behavior.~This helps ensure that a given contract will be interpreted in the same way in all environments, like production and testing.Raw 2 should not be used for distribution of contracts.lorentzThe contract itself.lorentzBFlag which defines whether compiled Michelson contract will have CASTs (which drops parameter annotations) as a first instruction. Note that when flag is false, there still may be no CAST3 (in case when parameter type has no annotations).lorentz5General compilation options for the Lorentz compiler.lorentz4Options to control Lorentz to Michelson compilation.lorentzConfig for Michelson optimizer.lorentz(Function to transform strings with. See .lorentz-Function to transform byte strings with. See .lorentzRRuns Michelson optimizer with default config and does not touch strings and bytes.lorentz%For use outside of Lorentz. Will use .lorentzUCompile Lorentz code, optionally running the optimizer, string and byte transformers.lorentzCompile contract with  and  set to False.lorentz&Compile a whole contract to Michelson.Note that compiled contract can be ill-typed in terms of Michelson code when some of the compilation options are used (e.g. when ccoDisableInitialCast is TrueB, resulted contract can be ill-typed). However, compilation with !defaultContractCompilationOptions should be valid.lorentz_Interpret a Lorentz instruction, for test purposes. Note that this does not run the optimizer.lorentzLike 9, but works on lambda rather than arbitrary instruction.lorentzLorentz version of analyzer.~~None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmAlorentz.Pretty-print a Haskell value as Michelson one.lorentz4Pretty-print a Lorentz contract into Michelson code.None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmlorentz_Type that represents test scenario for Lorentz contract. Simply put, it is sequence of pairs (sender,  parameterI). Using this sequence we can perform transfers to the desired contract.lorentz*Function to get textual representation of  TestScenario, each Parameter is printed as a raw Michelson value. This representation can later be used in order to run test scenario on real network.The format for a single contract call is the following: # `printed Lorentz parameter` (actually comment) `sender address` `printed raw Michelson parameter`None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmҚlorentzLifted .lorentzLifted .None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmRlorentz!Require several stacks to comply  constraint.lorentz"Zipping stack into tuple and back.lorentz-A type which contains the whole stack zipped.lorentz#Fold given stack into single value.lorentz'Unfold given stack from a single value.lorentz'Flatten both ends of instruction stack.lorentz)Unflatten both ends of instruction stack.lorentzHSuch definition seems the only possible one we can support efficiently. None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm lorentz(Retain the value only if it is not zero.lorentz Drop top n elements from the stack.lorentz Version of G which uses Peano number. It is inteded for internal usage in Lorentz.lorentz Version of G which uses Peano number. It is inteded for internal usage in Lorentz.lorentz Similar to @ but works for lambdas with arbitrary size of input and output.Note that this instruction has its arguments flipped, lambda goes first. This seems to be the only reasonable way to achieve good inference.lorentz Version of G which uses Peano number. It is inteded for internal usage in Lorentz.!lorentz(Get a reference to the current contract.Note that, similar to  instruction, in Michelson k instruction can accept an entrypoint as field annotation, and without annotation specified it creates a contract* value which calls the default entrypoint.2This particular function carries the behaviour of SELFR before introduction of lightweight entrypoints feature. Thus the contract must not6 have explicit "default" entrypoint for this to work.DIf you are going to call a specific entrypoint of the contract, see "."lorentzFMake a reference to the current contract, maybe a specific entrypoint.Note that, since information about parameter of the current contract is not carried around, in this function you need to specify parameter type p explicitly.#lorentz-Get a reference to a contract by its address.*This instruction carries the behaviour of CONTRACTM before introduction of lightweight entrypoints feature. The contract must not5 have explicit "default" entrypoint for this to work.DIf you are going to call a specific entrypoint of the contract, see $.$lorentz<Make a reference to a contract, maybe a specific entrypoint.fWhen calling this function, make sure that parameter type is known. It's recommended that you supply 2 with a concrete parameter as the stack argument.%lorentzSpecialized version of $I for the case when you do not have compile-time evidence of appropriate }%. For instance, if you have untyped ^ you can not have this evidence (the value is only available in runtime). If you have typed , use  to construct .&lorentz Version of #N instruction which may accept address with already specified entrypoint name.TAlso you cannot specify entrypoint name here because this could result in conflict.'lorentz Similar to & , works with .=Validity of such operation cannot be ensured at compile time.8lorentz-Execute given instruction on truncated stack.ZThis instruction requires you to specify the piece of stack to truncate as type argument.9lorentzHelper instruction.jChecks whether given key present in the storage and fails if it is. This instruction leaves stack intact.:lorentzLike <, but throw an error on attempt to overwrite existing entry.m      !"#$%&'()*+,-./0123456789:m9:      !"#$%&'()*+,-./012345678!None7!"#$%&'*,-.012456789;<=>?@ACHMNPSUVX_`befgkmlorentz<Allows diving into stack referring expected new tip by type.Implemented with fun deps for conciseness; we can replace them with a type family anytime, but that would probably require more declarations.lorentz9Allows duplicating stack elements referring them by type.>lorentz3Duplicate an element of stack referring it by type.IIf stack contains multiple entries of this type, compile error is raised.?lorentzFDip repeatedly until element of the given type is on top of the stack.IIf stack contains multiple entries of this type, compile error is raised.@lorentz2Remove element with the given type from the stack.>?@>?@None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm)aGlorentzPut a document item.HlorentzpGroup documentation built in the given piece of code into block dedicated to one thing, e.g. to one entrypoint.IlorentzfInsert documentation of the contract storage type. The type should be passed using type applications.JlorentzCGive a name to given contract. Apply it to the whole contract code.LlorentzTakes an instruction that inserts documentation items with general information about the contract. Inserts it into general section. See .MlorentzHInserts general information about the contract using the default format.zCurrently we only include git revision. It is unknown in the library code and is supposed to be updated in an executable.Plorentz1Leave only instructions related to documentation.This function is useful when your method executes a lambda coming from outside, but you know its properties and want to propagate its documentation to your contract code.[fghijklmnopqrs{zyxwvut}|~GHIJKLMNOP[GHIKNOJLMP~s{zyxwvut}|nrqpomlkjihgf"None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm7Ulorentz+Instantiated for documented UStore markers.VlorentzSpecifies key encoding.UYou accept description of field name, and should return how is it encoded as key of big_map bytes bytes.Wlorentz;Information for UStore template required for documentation.xYou only need to instantiate this for templates used directly in UStore, nested subtemplates do not need this instance.Xlorentz4UStore template name as it appears in documentation.Should be only 1 word.YlorentzDescription of template.Zlorentz Description of template entries.\lorentz6Make a reference to given UStore template description. RSTUVWXYZ[\ WXYZ[UVST\R#None7!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm /hlorentz Signature of  userFailWith.ilorentz$Prompt an error message saying that ! is not applicable for this type.jlorentz Documentation for custom errors.,Mentions that entrypoint throws given error.llorentz(Mentions that contract uses given error.olorentz/What should happen for this error to be raised.plorentzBrief version of oR. This will appear along with the error when mentioned in entrypoint description.?By default, the first sentence of the full description is used.qlorentz Error class.~By default this returns "unknown error" class; though you should provide explicit implementation in order to avoid a warning.rlorentz(Clarification of error argument meaning.?Provide when it's not obvious, e.g. argument is not named with :!.NOTE: This should not; be an entire sentence, rather just the semantic backbone.Bad: * 9Error argument stands for the previous value of approval. Good: * the previous value of approval * Epair, first argument of which is one thing, and the second is anotherslorentz=Error class on how the error should be handled by the client.tlorentzRNormal expected error. Examples: "insufficient balance", "wallet does not exist".ulorentzaInvalid argument passed to entrypoint. Examples: your entrypoint accepts an enum represented as natT, and unknown value is provided. This includes more complex cases which involve multiple entrypoints. E.g. API provides iterator interface, middleware should care about using it hiding complex details and exposing a simpler API to user; then an attempt to request non-existing element would also correspond to an error from this class.vlorentzzUnexpected error. Most likely it means that there is a bug in the contract or the contract has been deployed incorrectly.wlorentz/It's possible to leave error class unspecified.lorentzHow y& is actually represented in Michelson.ylorentzMaterial custom error.:Use this in pattern matches against error (e.g. in tests).}lorentz"Declares a custom error, defining error name - error argument relation.=If your error is supposed to carry no argument, then provide ().Note that this relation is defined globally rather than on per-contract basis, so define errors accordingly. If your error has argument specific to your contract, call it such that error name reflects its belonging to this contract.!This is the basic [error format].~lorentzType wrapper for an IsError.lorentz!Use this type as replacement for () when you really( want to leave error cause unspecified.lorentzConstraints which we require in a particular instance. You are not oblidged to often instantiate this correctly, it is only useful for some utilities.lorentz?Name of error as it appears in the corresponding section title.lorentz/What should happen for this error to be raised.lorentzBrief version of .This will appear along with the error when mentioned in entrypoint description. By default, the first sentence of the full description is used.lorentz)How this error is represented in Haskell.lorentz Error class.lorentz8Which definitions documentation for this error mentions.lorentzCaptured constraints which we require in a particular instance. This is a way to encode a bidirectional instance in the nowaday Haskell, for (class MyConstraint => ErrorHasDoc MyType instance it lets deducing  MyConstraint by ErrorHasDoc MyType.tYou are not oblidged to always instantiate, it is only useful for some utilities which otherwise would not compile.lorentz Haskell type representing error.lorentzConverts a Haskell error into Value representation.lorentz Converts a Value into Haskell error.lorentzImplementation of  via .lorentzImplementation of  via .lorentz!Helper for managing descriptions.lorentz"Fail with the given Haskell value.lorentzTFail, providing a reference to the place in the code where this function is called.Like ,? in Haskell code, this instruction is for internal errors only.lorentz/Description of error representation in Haskell.lorentzDemote error tag to term level.lorentzFail with given custom error.lorentzSpecialization of  for no-arg errors.lorentzImplementation of x (of {A typeclass) for Haskell types which sole purpose is to be error.lorentz!This is to be included on top of Errors) section of the generated documentation.lorentzImplementation of  for custom errors.lorentzImplementation of  for custom errors.This function is deprecated.lorentzDerive  instance for given type.This will also forbid deriving V instance for that type to avoid having multiple different Michelson representations.lorentzMFail with given error, picking argument for error from the top of the stack.:If your error constructor does not carry an argument, use  function instead. Consider the following practice: once error datatype for your contract is defined, create a specialization of this function to the error type.This function is deprecated.lorentz)This instance cannot be implemented, use  instance instead.lorentzIf y{ constructor is not provided its argument, we assume that this is no-arg error and interpret the passed value as complete.lorentz"Use this for internal errors only.NormalF error scenarios should use the mechanism of custom errors, see below.4hijklmnopqrswvtuxyz{|}~4~}yz{|xswvtunopqrlmjkhi$None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm` lorentzTags excluded from map.lorentzXThis is a bidirectional map with correspondence between numeric and textual error tags.lorentz6Find all textual error tags that are used in typical FAILWITHA patterns within given instruction. Map them to natural numbers.lorentz#Add more error tags to an existing . It is useful when your contract consists of multiple parts (e. g. in case of contract upgrade), you have existing map for some part and want to add tags from another part to it. You can pass empty map as existing one if you just want to build ! from a set of textual tags. See .lorentzBuild  from a set of textual tags.lorentzRemove some error tags from map. This way you say to remain these string tags intact, while others will be converted to numbers when this map is applied.2Note that later you have to apply this map using %, otherwise an error would be raised.lorentzFor each typical  that uses a string to represent error tag this function changes error tag to be a number using the supplied conversion map. It assumes that supplied map contains all such strings (and will error out if it does not). It will always be the case if you gather all error tags using  and build  from them using .lorentz Similar to >, but for case when you have excluded some tags from map via . Needed, because both V and this function do not tolerate unknown errors in contract code (for your safety).lorentzThis function implements the simplest scenario of using this module's functionality: 1. Gather all error tags from a single instruction. 2. Turn them into error conversion map. 3. Apply this conversion.lorentz<If you apply numeric error representation in your contract, " will stop working because it doesn't know about this transformation. This function takes this transformation into account. If a number is used as a tag, but it is not found in the passed map, we conservatively preserve that number (because this whole approach is rather a heuristic).  %None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmlorentzPContract initiator should be contract admin in order to perform this operation.&None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmlorentz!Replacement for uninhabited type.lorentz)Witness of that this code is unreachable.lorentzSomeone constructed  type.'None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm7lorentz actions parsed from CLI.lorentz-Specifies how to parse initial storage value.]Normally you pass some user data and call a function that constructs storage from that data.KIf storage is simple and can be easilly constructed manually, you can use .lorentzYA temporary approach to add annotations to storage. TODO [#20]: invent something better.lorentzRun an action operating with .None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm{lorentzCoercions between a to b are permitted and safe.lorentzCoercion from a to b is permitted and safe.lorentzExplicitly allowed coercions.a  b proclaims that a can be casted to b& without violating any invariants of b.This relation is reflexive; it may be symmetric or not. It tends to be composable: casting complex types usually requires permission to cast their respective parts; for such types consider using 4 as implementation of the method of this typeclass.For cases when a cast from a to b| requires some validation, consider rather making a dedicated function which performs the necessary checks and then calls  forcedCoerce.lorentzAn optional method which helps passing -Wredundant-constraints check. Also, you can set specific implementation for it with specific sanity checks.lorentz9Whether two types have the same Michelson representation.lorentzCoercion for Haskell world.CWe discourage using this function on Lorentz types, consider using coerce instead. One of the reasons forthat is that in Lorentz it's common to declare types as newtypes consisting of existing primitives, and  forcedCoerceY tends to ignore all phantom type variables of newtypes thus violating their invariants.lorentzBConvert between values of types that have the same representation.dThis function is not safe in a sense that this allows breaking invariants of casted type (example: UStore) or may stop compile on code changes (example: coercion of pair to a datatype with two fields will break if new field is added). Still, produced Michelson code will always be valid.=Prefer using one of more specific functions from this module.lorentz'Convert between two stacks via failing.lorentzSpecialized version of coerce_ to wrap into a haskell newtype.lorentzSpecialized version of coerce_ to unwrap a haskell newtype.lorentz"Lift given value to a named value.lorentzUnpack named value.lorentz)Coercion in Haskell world which respects .lorentzPCoerce between types which have an explicit permission for that in the face of  constraint.lorentz4Pretends that the top item of the stack was coerced.lorentzLocally provide given  instance.lorentzLocally provide bidirectional  instance.lorentzImplementation of { for types composed from smaller types. It helps to ensure that all necessary constraints are requested in instance head.+*)+*)(None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm>%lorentz+Minimal possible piece of migration script.Different atoms can be arbitrarily reordered and separated across migration stages, but each single atom is treated as a whole.ESplitting migration into atoms is responsibility of migration writer.lorentz"Describes single migration action.In most cases it is possible to derive reasonable description for migration atom automatically, this datatype exactly carries this information. lorentz3Action on field, e.g. "set", "remove", "overwrite". lorentzName of affected field of (. lorentzType of affected field of ( in new storage version. lorentzAn action on storage entry.lorentz9Some sort of addition: "init", "set", "overwrite", e.t.c.lorentzRemoval.lorentzCorner case of ! with some type argument unknown.You can turn this into  using .lorentzCode of migration for (.Invariant: preferably should fit into op size / gas limits (quite obvious). Often this stands for exactly one stage of migration (one Tezos transaction).lorentzUStore with hidden template.lorentzDummy template for (V, use this when you want to forget exact template and make type of store homomorphic.lorentz&Manually perform a piece of migration.lorentzModify code under given .Avoid using this function when constructing a batched migration because batching logic should know size of the code precisely, consider mapping 4 instead.lorentz;Merge several migration scripts. Used in manual migrations.pThis function is generally unsafe because resulting migration script can fail to fit into operation size limit.lorentzjAdd description of action, it will be used in rendering migration plan and some batching implementations.lorentzWe allow casting between  and ( freely.+lorentz%Migration script splitted in batches.PThis is an intermediate form of migration content and needed because compiling 4 is a potentially heavyweight operation, and after compilation is performed you may need to get various information like number of migration steps, migration script, migration plan and other..lorentz2Way of distributing migration atoms among batches.This also participates in describing migration plan and should contain information which would clarify to a user why migration is splitted such a way. Objects of type  batchInfoq stand for information corresponding to a batch and may include e.g. names of taken actions and gas consumption.Type argument  structureQ stands for container where batches will be put to and is usually a list ('[]').When writing an instance of this datatype, you should tend to produce as few batches as possible because Tezos transaction execution overhead is quite high; though these batches should still preferably fit into gas limit.wNote that we never fail here because reaching perfect consistency with Tezos gas model is beyond dreams for now, even if our model predicts that some migration atom cannot be fit into gas limit, Tezos node can think differently and accept the migration. If your batching function can make predictions about fitting into gas limit, consider including this information in  batchInfo type. See batching implementations in !Lorentz.UStore.Migration.Batching module.0lorentz Wrapper over (# which is currently being migrated. In type-level arguments it keeps Old and new (: templates - mostly for convenience of the implementation.Remaining diff which yet should be covered. Here we track migration progress. Once remaining diff is empty, migration is finished.\Names of fields which have already been touched by migration. Required to make getters safe.2lorentz8A bunch of migration atoms produced by migration writer.4lorentz*Keeps information about migration between (s with two given templates.9lorentzTurn  Migration5 into a whole piece of code for transforming storage.This is not want you'd want to use for contract deployment because of gas and operation size limits that Tezos applies to transactions.:lorentzModify all code in migration.;lorentz Create migration atom from code.HThis is an internal function, should not be used for writing migrations.<lorentz,Put each migration atom to a separate batch.fIn most cases this is not what you want, but may be useful if e.g. you write your migration manually.=lorentz'Put the whole migration into one batch.>lorentz Version of ?- which allows splitting migration in batches.pHere you supply a sequence of migration blocks which then are automatically distributed among migration stages.?lorentz)Safe way to create migration scripts for (.0You have to supply a code which would transform 0P, coverring required diff step-by-step. All basic instructions work, also use migrate*- functions from this module to operate with 0.This method produces a whole migration, it cannot be splitted in batches. In case if your migration is too big to be applied within a single transaction, use >.@lorentz(Compile migration for use in production.AlorentzIGet migration scripts, each to be executed in separate Tezos transaction.BlorentzGet migration scripts as list.Clorentz?Get migration script in case of simple (non-batched) migration.Dlorentz?Get migration script in case of simple (non-batched) migration.Elorentz!Get information about each batch.FlorentzNumber of stages in migration.GlorentzRender migration plan.7     +,-./0123456789:;<=>?@ABCDEFG77864523019:?DC./<=@+,->ABEFG     ;)None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmMOlorentzType of batch.PlorentzAddition of any type of data.QlorentzAddition of code.Rlorentz*Several joined actions of different types.Slorentz`No information to chooseType about batching. This means that the given action does not contain .TlorentzXPuts all data updates in one batch, and all lambdas in separate batches, one per batch.The reason for such behaviour is that in production contracts amount of changed data (be it in contract initialization or contract upgrade) is small, while stored entrypoints are huge and addition of even one entrypoint often barely fits into gas limit.lorentz Similar to nub:, counts number of invocations and attaches to text entry.nubCounting ["a", "b", "a"]["a (x2)", "b"] KLMNOPQRST OPQRSKLMNT*None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmdylorentz)Get all fields names accessible in given ( template.YlorentzLift an ( to another (A which contains all the entries of the former under given field.RThis function is not intended for use in migrations, only in normal entry points.Note that this function ensures that template of resulting store does not contain inner nested templates with duplicated fields, otherwise ( invariants could get broken.Zlorentz Unlift an ( to a smaller ( which is part of the former.RThis function is not intended for use in migrations, only in normal entry points.Surprisingly, despite smaller ( may have extra entries, this function is safe when used in contract code. Truly, all getters and setters are still safe to use. Also, there is no way for the resulting small UStore= to leak outside of the contract since the only place where big_map0 can appear is contract storage, so this small UStore+ can be either dropped or lifted back via Y/ to appear as part of the new contract's state.When this function is run as part of standalone instructions sequence, not as part of contract code (e.g. in tests), you may get an UStore" with entries not inherent to it.lorentzJThis example demostrates a way to run an instruction, operating on small (, so that it works on a larger (.XYZYZX+None7!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befghkm ]lorentzeNewtype over void result type used in tests to distinguish successful void result from other errors.;Usage example: lExpectFailWith (== VoidResult roleMaster)`mThis error is special - it can contain arguments of different types depending on entrypoint which raises it.`lorentzvoid! type synonym as described in A1.blorentzEntry point argument.clorentzType of result reported via .dlorentzview! type synonym as described in A1.jlorentzwConstraint for updateN that combines kind-agnostic constraint for Lorentz (Haskell) types and for our typed Michelson.lorentz$Kind-agnostic constraint for updateNmlorentzxConstraint for replaceN that combines kind-agnostic constraint for Lorentz (Haskell) types and for our typed Michelson.lorentz%Kind-agnostic constraint for replaceNlorentz(Various convenient instructions on maps.lorentzSpecialized version of .nlorentzInsert given element into map.olorentzWInsert given element into map, ensuring that it does not overwrite any existing entry.=As first argument accepts container name (for error message).plorentzDelete element from the map.slorentzuConstraint for duupX that combines kind-agnostic constraint for Lorentz (Haskell) types and for our typed Michelson.lorentz"Kind-agnostic constraint for duupXlorentzxAnalog of the FAIL macro in Michelson. Its usage is discouraged because it doesn't carry any information about failure.lorentz[Custom Lorentz macro that drops element with given index (starting from 0) from the stack.lorentzDuplicate the top of the stack n times.@For example, `cloneX @3` has type `a & s :-> a & a & a & a & s`.lorentzDUU+P# macro. For example, `duupX @3` is DUUUP, it puts the 3-rd (starting from 1) element to the top of the stack. Note that it is implemented differently for `n "d 2` and for `n > 2`. In the latter case it is implemented using ,  and . In the former case it uses specialized versions. There is also a minor difference with the implementation of `DUU*P` in Michelson. They implement DUUUUP as `DIP 3 { DUP }; DIG 4`. We implement it as `DIP 3 { DUP }; DIG 3`. These are equivalent. Our version is supposedly cheaper, at least it should be packed more efficiently due to the way numbers are packed.lorentz Version of 8L which accepts number of elements on input stack which should be preserved.YYou can treat this macro as calling a Michelson function with given number of arguments.lorentzInsert given element into set.!This is a separate function from  updateMap4 because stacks they operate with differ in length.lorentzWInsert given element into set, ensuring that it does not overwrite any existing entry.)As first argument accepts container name.lorentz"Delete given element from the set.lorentz^Replace nth element (0-indexed) with the one on the top of the stack. For example, `replaceN 93` replaces the 3rd element with the 0th one. `replaceN D0` is not a valid operation (and it is not implemented). `replaceN n1` is equivalent to `swap # drop` (and is the only one implemented like this). In all other cases `replaceN $n` will drop the nth element (`dipN 6n drop`) and then put the 0th one in its place (`dug (n-1)`).lorentzReplaces the nth element (0-indexed) with the result of the given "updating" instruction (binary with the return type equal to the second argument) applied to the 0th element and the nth element itself. For example, `updateN 53 cons` replaces the 3rd element with the result of ; applied to the topmost element and the 3rd one. `updateN I0 instr` is not a valid operation (and it is not implemented). `updateN 1 instr` is equivalent to instr$ (and so is implemented). `updateN c2 instr` is equivalent to `swap # dip instr` (and so is implemented). In all other cases `updateN En instr` will put the topmost element right above the nth one (`dug L(n-1)`) and then apply the function to them in place (`dipN @(n-1) instr`).lorentzPolymorphic version of d constructor.lorentz*Wrap internal representation of view into d itself.d8 is part of public standard and should not change often.lorentzUnwrap d" into its internal representation.d8 is part of public standard and should not change often.lorentz*Wrap internal representation of void into ` itself.`8 is part of public standard and should not change often.lorentzUnwrap `" into its internal representation.`8 is part of public standard and should not change often.lorentzPush a value of contract type.Doing this via H instruction is not possible, so we need to perform extra actions here. Aside from contract] value itself you will need to specify which error to throw in case this value is not valid.d]^_`abcdefghijklmnopqrstuvwxyz{|}~dtuyvwxz}~|{smjqrklhinopdefg`abc]^_,None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmt lorentz1Write down all sensisble constraints which given store satisfies and apply them to  constrained.This store should have % and  B fields in its immediate fields, no deep inspection is performed.lorentz>This constraint can be used if a function needs to work with big6 store, but needs to know only about some field of it.lorentz>This constraint can be used if a function needs to work with big: store, but needs to know only about some submap(s) of it.fIt can use all UStore operations for a particular name, key and value without knowing whole template.lorentz Put an empty (R onto the stack. This function is generally unsafe: if store template contains a  , the resulting (3 is not immediately usable. If you are sure that (n contains only submaps, feel free to just use the result of this function. Otherwise you must set all fields.lorentzKInsert a key-value pair, but fail if it will overwrite some existing entry.lorentzLike toField , but for (.This may fail only if (9 was made up incorrectly during contract initialization.lorentzLike getField , but for (.This may fail only if (9 was made up incorrectly during contract initialization.lorentzLike setField , but for (.lorentzRemove a field from (, for internal purposes only.lorentzWhen you want to express a constraint like "given big store contains all elements present in given small concrete store", you can use .Here store- is a big store, and we expect it to contain  entirely.lorentz with store instantiated to .-None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmlorentzPut this in the end of migration script to get a human-readable message about remaining diff which yet should be covered. Use of this function in migration is fully optional.This function is not part of ? for the sake of proper error messages ordering, during development you probably want errors in migration script to be located earlier in code than errors about not fully covered diff (if you used to fix errors in the same order in which they appear).lorentz Helper for F which ensures that given store hasn't been (partially) migrated yet.lorentzDCast field or submap pretending that its value fits to the new type.\Useful when type of field, e.g. lambda or set of lambdas, is polymorphic over storage type.lorentz&Get a field present in old version of (.lorentz}Add a field which was not present before. This covers one addition from the diff and any removals of field with given name.\This function cannot overwrite existing field with the same name, if this is necessary use ) which would declare removal explicitly.lorentzmRemove a field which should not be present in new version of storage. This covers one removal from the diff.In fact, this action could be performed automatically, but since removal is a destructive operation, being explicit about it seems like a good thing.lorentz+Get and remove a field from old version of (.4You probably want to use this more often than plain .lorentz.Remove field and write new one in place of it.$This is semantically equivalent to 7dip (migrateRemoveField label) >> migrateAddField label, but is cheaper.lorentz_Modify field which should stay in new version of storage. This does not affect remaining diff.lorentzDefine a migration atom.QIt will be named automatically according to the set of actions it performs (via ds). This may be want you want for small sequences of actions, but for complex ones consider using .. Names are used in rendering migration plan.lorentz(Define a migration atom with given name.0Name will be used when rendering migration plan.lorentz Composition of migration blocks.lorentzThis is $ operator with priority higher than .It allows you writing EmkUStoreBatchedMigration = muBlock $: do migrateAddField ...  --, muBlock $: do migrateRemoveField ... Alternatively, BlockArguments extension can be used.lorentzGet the old version of storage.7This can be applied only in the beginning of migration.[In fact this function is not very useful, all required operations should be available for 0#, but leaving it here just in case.lorentzThis version can be used in mkUStoreMultiMigration as the last migration block.lorentzThis version can be used in ?.27;None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmO     +,-./0123456789:;<=>?@ABCDEFGKLMNOPQRST.None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmPlorentz0Declares handlers for UStore filling via lambda.lorentz4Declares handlers for UStore conversion to template. lorentz4Declares handlers for UStore creation from template.lorentz(( content represented as key-value pairs. lorentzMake ( from separate big_map s and fields. lorentz Decompose ( into separate big_map s and fields.Since this function needs to UNPACK content of UStore1 to actual keys and values, you have to provide  UnpackEnv..Along with resulting value, you get a list of UStoreV entries which were not recognized as belonging to any submap or field according to UStore*'s template - this should be empty unless UStore invariants were violated. lorentzLike   , but requires all entries from UStore to be recognized. lorentz(Make migration script which initializes ( from scratch.lorentz Version of  for batched migrations.4Each field write will be placed to a separate batch.lorentzFill (C with entries from the given template as part of simple migration.7Sometimes you already have some fields initialized and   does not suit, then in case if your UStore template is a nested structure you can use sub-templates to initialize the corresponding parts of UStore.For batched migrations see .lorentzInternal helper for  .lorentzInternal helper for  .lorentzInternal helper for  .lorentzxTries to map all items in the state and returns those which were mapped successfully; others are retained in the state.            /None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmlorentz9Remembers parameters it was called with, last goes first.None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm+G lorentzPredicate for if ... then .. else ...] construction, defines a kind of operation applied to the top elements of the current stack."Type arguments mean: 1. Input of ifS 2. Left branch input 3. Right branch input 4. Output of branches 5. Output of if,lorentzNExplicitly named binary condition, to ensure proper order of stack arguments.-lorentz"Provide the compared arguments to if branches..lorentz Aliases for  used by do-blocks./lorentzDefines semantics of if ... then ... else ... construction.0lorentzNamed version of (.In this and similar operators you provide names of accepted stack operands as a safety measure of that they go in the expected order.1lorentzNamed version of ).2lorentzNamed version of *.3lorentzNamed version of +.4lorentzNamed version of &.5lorentzNamed version of '.6lorentzVCondition modifier, makes stack operands of binary comparison to be available within if branches.  ! "#$%&'()*+,-./0123456 ./! "#$%&'()*+,-0123456 0414243444540None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmH lorentz;Helper typeclass which overloads representation for errors.lorentzHError representation with respect to tags being changed to numeric ones.7lorentz'Some error with a numeric tag attached.lorentzHPseudo error which stands for textual errors converted to numeric codes.8lorentzBHandler which changes documentation for one particular error type.9lorentz Errors for 8lorentz=Given handler is not suitable, probably another one will fit.lorentzGGiven handler suits and tells that given error should remain unchanged.:lorentz0Adds a section which explains error tag mapping.<lorentz=Describes where the error tag map is defined in Haskell code.lorentz@Anchor which refers to the section describing error tag mapping.=lorentz:Modify documentation generated for given code so that all yX mention not their textual error tag rather respective numeric one from the given map.hIf some documented error is not present in the map, it remains unmodified. This function may fail with ,- if contract uses some uncommon errors, see > for details.>lorentzExtended version of = which accepts error handlers.In most cases that function should be enough for your purposes, but it uses a fixed set of base handlers which may be not enough in case when you define your own errors. In this case define and pass all the necessary handlers to this function.It fails with ,S if some of the errors used in the contract cannot be handled with given handlers.?lorentzHandler for all ys.@lorentz Handler for ].lorentz#Handler for textual error messages.Alorentz3Handlers for most common errors defined in Lorentz. 789:;<=>?@A :;<=>89?@A7<None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmJH789:;<=>?@ANone6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmjIlorentzLike , but for Lorentz contracts.Jlorentz<Originate a contract with empty balance and default storage.Klorentz Similar to , for Lorentz values.LlorentzLegacy version of M function. Calls default entrypoint of a contract assuming its argument is the same as contract parameter (which is equivalent to absence of explicit default entrypoint).HThis function is DEPRECATED and exists only for backwards compatibility.Mlorentz]Call an entrypoint of a contract without caring about the source address. Transfers 0 mutez.NlorentzM for default entrypoint.lorentzbInternal function that proceeds storage validation from by untyping the value passed to callback.Olorentz Similar to , but for Lorentz values.Plorentz Similar to , but for Lorentz values.QlorentzLike , for Lorentz values.Rlorentz Similar to , for Lorentz values.SlorentzOExpect that interpretation of contract with given address ended with [FAILED].TlorentzExpect contract to fail with FAILWITHF instruction and provided value to match against the given predicate.Ulorentz)Expect contract to fail with given error.Vlorentz Version of U= for the case when numeric representation of errors is used.Wlorentz#Expect contract to fail with given  CustomError.Xlorentz Version of W= for the case when numeric representation of errors is used.YlorentzSpecialization of W for non-arg error case.Zlorentz Version of Y= for the case when numeric representation of errors is used.[lorentz Version of P* specialized to "consumer" contract (see =>).\lorentz8Assuming that "consumer" contract receives a value from View5, expect this view return value to be the given one.Despite consumer stores parameters it was called with in reversed order, this function cares about it, so you should provide a list of expected values in the same order in which the corresponding events were happenning.I23456789:;<=>?@ABCDEFGHUTSRQPONMLKJI[\]^_`abIJKLMNOPQRSTUVWXYZ[\Iba`_^]\[CB5GHUTSRQPONMLKJIFDIJKLMNA@=?><;:9876PQOR432STUVWXYZ[\E1None7!"#$%&'*,-./012456789;<=>?@AHMNPSUVX_`befgkm.lorentz*Helper which documents single constructor.]lorentz0Information to be provided for documenting some f x.^lorentzImplementation for y of the corresponding  Extensible._lorentzImplementation for v of the corresponding  Extensible.`lorentz!Overall description of this type.lorentz1Generic implementation of toExtVal and fromExtVallorentz?Having a sum-type, yields a type-level list of its constructorslorentzTransform list of  s to list of 2s, assigning numbers to elements starting from 0.lorentz>Finds the constructor's position and argument type by its namealorentz'Errors related to fromExtVal conversionlorentzqHelper typeclass which allows us to sanely handle cases of no-arg constructor and constructor with one argument.lorentz3Pack argument on top of the stack, if any required.hlorentzConverts a value from a Haskell representation to its extensible Michelson representation (i.e. (Natural, Bytestring) pair).ilorentzConverts a value from an extensible Michelson representation to its Haskell sum-type representation. Fails if the Michelson representation points to a nun-existent constructor, or if we failed to unpack the argument.jlorentzGWraps an argument on top of the stack into an Extensible representation]^_`abcdefghijfgabce]^_`hijd None7!"#$%&'*,-.012456789;<=>?@ACHMNPSUVX_`befgkm}lorentzDProvides "case" arrow which works on different wrappers for clauses.~lorentz#Lift an instruction to case clause.\You should write out constructor name corresponding to the clause explicitly. Prefix constructor name with "c" letter, otherwise your label will not be recognized by Haskell parser. Passing constructor name can be circumvented but doing so is not recomended as mentioning contructor name improves readability and allows avoiding some mistakes.lorentzLorentz analogy of , it works on plain  types.lorentzShortcut for multiple  constraints.lorentzA pair of field name and type.lorentzLike &, but allows constrainting field type.lorentz%Allows field access and modification.lorentz]Extract a field of a datatype replacing the value of this datatype with the extracted field.wFor this and the following functions you have to specify field name which is either record name or name attached with (:!) operator.lorentzLike , but leaves field named.lorentzFExtract a field of a datatype, leaving the original datatype on stack.lorentzLike , but leaves field named.lorentzSet a field of a datatype.lorentz)Apply given modifier to a datatype field.lorentzIMake up a datatype. You provide a pack of individual fields constructors.KEach element of the accepted record should be an instruction wrapped with T function. This instruction will have access to the stack at the moment of calling  construct. Instructions have to output fields of the built datatype, one per instruction; instructions order is expected to correspond to the order of fields in the datatype.lorentz Version of + which accepts tuple of field constructors.lorentz-Construct an object from fields on the stack.lorentz*Decompose a complex object into its fieldslorentz)Lift an instruction to field constructor.lorentz0Wrap entry in constructor. Useful for sum types.lorentz$Pattern match on the given sum type.You have to provide a ; containing case branches. To construct a case branch use ~ operator.lorentzLike ;, accepts a tuple of clauses, which may be more convenient.sIf user is experiencing problems with wierd errors about tuples while using this function, he should take look at ?@ and ensure that his tuple isn't bigger than generated instances, if so, he should probably extend number of generated instances.lorentz0Wrap entry in constructor. Useful for sum types.$|}~$|}~~002None7!"#$%&'*,-.012456789;<=>?@ACHMNPSUVX_`befgkm-lorentzIConcise way to write down constraints with expected content of a storage.Use it like follows: type StorageConstraint store = StorageContains store [ "fieldInt" := Int , "fieldNat" := Nat , "epsToNat" := Int ::-> Nat , "balances" := Address ~> Int ] lorentz-Indicates a stored entrypoint with the given param and store types.lorentz2Indicates a submap with given key and value types.lorentz*Provides operations on stored entrypoints.store/ is the storage containing both the entrypoint epName (note: it has to be in a / to take advantage of lazy evaluation) and the epStore field this operates on.lorentz/Datatype containing the full implementation of  typeclass.We use this grouping because in most cases the implementation will be chosen among the default ones, and initializing all methods at once is simpler and more consistent. (One can say that we are trying to emulate the  DerivingVia extension.)lorentzType synonym of a  mapping  (entrypoint names) to .*This is useful when defining instances of S as a storage field containing one or more entrypoints (lambdas) of the same type.lorentzType synonym for a " that can be used as an entrypointlorentz*Provides operations on submaps of storage.lorentz/Datatype containing the full implementation of  typeclass.We use this grouping because in most cases the implementation will be chosen among the default ones, and initializing all methods at once is simpler and more consistent. (One can say that we are trying to emulate the  DerivingVia extension.)lorentz*Provides operations on fields for storage.lorentz/Datatype containing the full implementation of  typeclass.We use this grouping because in most cases the implementation will be chosen among the default ones, and initializing all methods at once is simpler and more consistent. (One can say that we are trying to emulate the  DerivingVia extension.)lorentzPick storage field.lorentz:Get storage field, preserving the storage itself on stack.lorentzUpdate storage field.lorentz Check value presence in storage.lorentzGet value in storage.lorentzUpdate a value in storage.lorentzDelete a value in storage.lorentzAdd a value in storage.lorentzJAdd a value in storage, but fail if it will overwrite some existing entry.lorentzExtracts and executes the epNameE entrypoint lambda from storage, returing the updated full storage (store) and the produced s.lorentzPick stored entrypoint lambda.lorentzIGet stored entrypoint lambda, preserving the storage itself on the stack.lorentzBStores the entrypoint lambda in the storage. Fails if already set.lorentz5Pick the sub-storage that the entrypoint operates on.lorentzaGet the sub-storage that the entrypoint operates on, preserving the storage itself on the stack.lorentz7Update the sub-storage that the entrypoint operates on.lorentzImplementation of 0 for case of datatype keeping a pack of fields.lorentzImplementation of  for a datatype keeping a pack of fields, among which one has contains the entrypoint and another is what such entrypoint operates on.lorentzImplementation of  for a datatype that has a  for an $ that contains the entrypoint and a , for the field such entrypoint operates on.lorentzImplementation of  for a datatype that has a % that contains the entrypoint and a , for the field such entrypoint operates on.lorentzImplementation of + for a data type which has an instance of = inside. For instance, it can be used for top-level storage.lorentzImplementation of + for a data type which has an instance of = inside. For instance, it can be used for top-level storage.lorentzImplementation of + for a data type which has an instance of = inside. For instance, it can be used for top-level storage.lorentzPretend that given 0 implementation is made up for submap with name  desiredNameD, not its actual name. Logic of the implementation remains the same.AUse case: imagine that your code requires access to submap named X,, but in your storage that submap is called Y.. Then you implement the instance which makes X refer to Y: oinstance StoreHasSubmap Store X Key Value where storeSubmapOps = storeSubmapOpsReferTo #Y storeSubmapOpsForY lorentzPretend that given 0 implementation is made up for field with name  desiredNameE, not its actual name. Logic of the implementation remains the same. See also .lorentzPretend that given 5 implementation is made up for entrypoint with name  desiredNameE, not its actual name. Logic of the implementation remains the same. See also .lorentz.Chain two implementations of field operations.eSuits for a case when your store does not contain its fields directly rather has a nested structure.lorentz5Chain implementations of field and submap operations.lorentz Utility to push the ! name of and entrypoint from its lorentzUtility to extract an  from a , fails in case of .lorentzUtility to set an < into a store. Fails in case the entrypoint is already set.lorentzUtility to create s from an entrypoint name (epName ) and an F implementation. Note that you need to merge multiple of these (with 9) if your field contains more than one entrypoint lambda.lorentz< can be used as standalone key-value storage if very needed.lorentz\ can be used as standalone key-value storage, name of submap is not accounted in this case.::9 9 3None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmlANone6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm R>  !"#$%&'(CUVWXYZ[49?CDYZ     >(%&'"#$ !YZWXYZ[UV     4DC9? C4None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm*QlorentzContract storage with big_map.HDue to Michelson constraints it is the only possible layout containing big_map.lorentz1Write down all sensisble constraints which given store satisfies and apply them to  constrained.This store should have D datatype in its immediate fields, no deep inspection is performed.lorentz>This constraint can be used if a function needs to work with big8 store, but needs to know only about some part(s) of it.eIt can use all Store operations for a particular name, key and value without knowing whole template.lorentz\Prepend a constructor name with a lower-case character so that you could make a label with OverloadedLabels% extension matching resulting thing.lorentz9Get map signature from the constructor with a given name.lorentzType arguments of .lorentz Number of datatype constructors.lorentzDPosition of a constructor in the corresponding datatype declaration.lorentzDescribes one virtual big map.lorentzGathers multple s under one object.Type argument of this datatype stands for a "map template" - a datatype with multiple constructors, each containing an object of type % and corresponding to single virtual s. It's also possible to parameterize it with a larger type which is a sum of types satisfying the above property.Inside it keeps only one * thus not violating Michelson limitations.See examples below.lorentzKInsert a key-value pair, but fail if it will overwrite some existing entry.lorentzUnpack  into a pair.lorentzPack a pair into .lorentzKInsert a key-value pair, but fail if it will overwrite some existing entry.lorentzLift a key-value pair to .Further you can use  instance of Store to make up large stores.lorentzGet a value from store by key.SIt expects map to be consistent, otherwise call to this function fails with error."" None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmt"lorentz6Provides arror for convenient entrypoint documentationlorentzLift entrypoint implementation.+Entrypoint names should go with "e" prefix.lorentzTraverse entry points and add parameter building step (which describes necessity to wrap parameter into some constructor of the given datatype) to all parameters described within given code.lorentz*Add corresponding parameter building step.MFirst argument is accumulator for Michelson description of the building step.lorentzConstraint for .lorentzPick a type documentation from .lorentz$Describes argument of an entrypoint.lorentz!Argument of the entrypoint. Pass  if no argument is required.lorentzhDescribes a way to lift an entrypoint argument into full parameter which can be passed to the contract.Steps are supposed to be applied in the order opposite to one in which they are given. E.g. suppose that an entrypoint is called as Run (Service1 arg)C; then the first step (actual last) should describe wrapping into RunQ constructor, and the second step (actual first) should be about wrapping into Service1 constructor.lorentz[Untyped representation of entrypoint, used for printing its michelson type representation.lorentz$Describes a parameter building step.SThis can be wrapping into (Haskell) constructor, or a more complex transformation.lorentzWraps something into constructor with given name. Constructor should be the one which corresponds to an entrypoint defined via field annotation, for more complex cases use  .lorentz;Directly call an entrypoint marked with a field annotation. lorentz Other action.!lorentzThis entrypoint cannot be called, which is possible when an explicit default entrypoint is present. This is not a true entrypoint but just some intermediate node in orP tree and neither it nor any of its parents are marked with a field annotation.It contains dummy Bs which were assigned before entrypoints were taken into account.$lorentz'Plain english description of this step.%lorentz+How to construct parameter in Haskell code.&lorentz4How to construct parameter working on raw Michelson.'lorentzgWhen describing the way of parameter construction - piece of incremental builder for this description.)lorentzuArgument stands for previously constructed parameter piece, and returned value - a piece constructed after our step.,lorentzDefault value for - type argument.-lorentz,Gathers information about single entrypoint.We assume that entry points might be of different kinds, which is designated by phantom type parameter. For instance, you may want to have several groups of entry points corresponding to various parts of a contract - specifying different kindL type argument for each of those groups will allow you defining different 9 instances with appropriate custom descriptions for them.1lorentzDefault implementation of  for entry points.lorentzShow what given ' does on a sample.2lorentzMake a Z that tells about wrapping an argument into a constructor with given name and uses given '# as description of Michelson part.lorentz5Go over contract code and update every occurrence of 5 documentation item, modifying param building steps.7lorentz5Go over contract code and update every occurrence of Y documentation item, adding the given step to its "how to build parameter" description.lorentz,Add necessary documentation to entry points.8lorentzLike >, to be used for pattern-matching on a parameter or its part.}Modifies documentation accordingly. Including description of entrypoints' arguments, thus for them you will need to supply { instance.9lorentz Version of 8 for tuples.:lorentzjWrapper for documenting single entrypoint which parameter isn't going to be unwrapped from some datatype. entryCases unwraps a datatype, however, sometimes we want to have entrypoint parameter to be not wrapped into some datatype.;lorentzWModify param building steps with respect to entrypoints that given parameter declares.Each contract with entrypoints should eventually call this function, otherwise, in case if contract uses built-in entrypoints feature, the resulting parameter building steps in the generated documentation will not consider entrypoints and thus may be incorrect.9Calling this twice over the same code is also prohibited.<lorentzWhether ;) has already been applied to these steps.>lorentz Version of 9C for contracts with flat parameter, use it when you need only one 9& all over the contract implementation.This method calls ; inside.1~ !"#$%&'()*+,-./0123456789:;<=>1-./0*+,1~'()"#$%& !273456:98;<=>5None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmlorentz5Generic traversal for conversion between ADT sum and `.Plorentz1Entry points template derived from given ADT sum.QlorentzConstraint required by i.Rlorentz#Make up a "case" over entry points.lorentzPattern-match on given UParam entries.bYou have to provide all case branches and a fallback action on case when entrypoint is not found.lThis function is unsafe because it does not make sure at type-level that entry points' names do not repeat.Slorentz=An action invoked when user-provided entrypoint is not found.Tlorentz%Implementations of some entry points.,Note that this thing inherits properties of , e.g. you can Data.Vinyl.Core.rappendX implementations for two entrypoint sets when assembling scattered parts of a contract.lorentz#Wrapper for a single "case" branch.Xlorentz"This class is needed to implement Y.YlorentzTurn `a into a Haskell value. Since we don't know its type in compile time, we have to erase it using Zu. The user of this function can require arbitrary constraint to hold (depending on how they want to use the result).ZlorentzBThis type can store any value that satisfies a certain constraint.\lorentz>Ensure that given entry points do no contain duplicated names.]lorentz,Get type of entrypoint argument by its name.^lorentzHomomorphic version of `, forgets the exact interface._lorentzPseudo value for ` type variable.`lorentzpEncapsulates parameter for one of entry points. It keeps entrypoint name and corresponding argument serialized.dIn Haskell world, we keep an invariant of that contained value relates to one of entry points from entries list.blorentz6A convenient alias for type-level name-something pair.clorentzGAn entrypoint is described by two types: its name and type of argument.dlorentz Construct a ` safely.elorentz-Helper instruction which extracts content of `.florentzDefault implementation for S, simply reports an error.glorentzPattern-match on given UParam entries.bYou have to provide all case branches and a fallback action on case when entrypoint is not found.hlorentzLike g(, but accepts a tuple of clauses, not a .ilorentzMake up ` from ADT sum.'Entry points template will consist of '(constructorName, constructorFieldType)@ pairs. Each constructor is expected to have exactly one field.jlorentz:Note that calling given entrypoints involves constructing `.qlorentzAllows casts only between ^ and `.PQRSTUWVXYZ[\]^_`abcdefghij`acbdZ[XY_^TSUWVRghf]\iQPje6None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmlorentz/All ways of describing an entrypoint behaviour.lorentzExtract s of a documentation block.lorentz,Check that contract documents its parameter.lorentz!Check that no group contains two  or * items.This is a stricter version of  test.lorentz8It's a common issue to forget to describe an entrypoint.lorentz Check that ;1 is applied to the contract as it always should.lorentz3Check that all documented entrypoints are callable.[Sometimes having such an entrypoint is fine, e.g. when you have an explicit default entrypoint deep in one arm then other arms (entire arms, not individual entrypoints within them) are uncallable unless also assigned a field annotation; for example see [doc for uncallable entrypoints] note. If this is your case, exclude this test suite with  . But such situations are rare.[More often, this test failure indicates that entrypoints are documented incorrectly, e.g. caseT" is used in some place instead of 94. Check whether printed building steps are correct.ONB: another, simplified example of case when disabling this test is justified: data SubParam1 = Do1 | Default data SubParam2 = Do2 | Do3 data Param = Arm1 SubParam1 | Arm2 SubParam2 -- ^ with entrypoints derived via  EpdRecursive In this case entire Arm1 and Arm2 are not true entrypoints, only Default and  Do{1,2,3} are, but Arm1 and Arm24 will still appear in documentation as entrypoints.lorentzTests all properties.-.   BNone6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm    $#"!%&'(*+*),fghijklmnopqrsz{zyxwvut}|~     !"#"#$%&'('()*+*+,-../10012344QRSTvwxyz{|}~   !"#$%&'(Cnop~      !"#$%&'()*+,-./0123456789:>?@GHIJKLMNOPUVWXYZ[hijklmnopqrswvtuxyz{|}~49?CDYZ]^_`abcdefghijklmnopqrstuvwxyz{|}~     ! "#$%&'()*+,-./0123456789:;<=>?@A|}~ !"#$%&'()*+,-./0123456789:;<=>PQRSTUWVXYZ[\]^_`abcdefghij    $#"!%&'(*+*),fghijklmnopqrsz{zyxwvut}|~     !"#$%&'()*+,-./10234QRSTvwxyz{|}~   !"#$%&'(Cnop~      !"#$%&'()*+,-./0123456789:>?@GHIJKLMNOPUVWXYZ[hijklmnopqrswvtuxyz{|}~49?CDYZ]^_`abcdefghijklmnopqrstuvwxyz{|}~     ! "#$%&'()*+,-./0123456789:;<=>?@A|}~ !"#$%&'()*+,-./0123456789:;<=>PQRSTUWVXYZ[\]^_`abcdefghij7None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm٣lorentz<Expect the given contract to have some specific entrypoints.None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmۑe-./012346789:;<=>?@ADEFGHUTSRQPONMLKJIVWXYZ[\]^_`abcdeIJKLMNOPQRSTUVWXYZ[\e10/ZXWVHGUTSRQPONMLKJIFDIJKLMNA@=?><;:9876PQOR432STUVWXYZ[\ba`_^]\[-.YedcECNone7!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm  DEFDGHDEIDJKDELDEMDENDEODEPDQRSTUSTVDWXDEYDEZS[\]^_D`aDbcDdeS[fDbgDbhS[iDdjDdkDQlDQmnopqrsDEtuvwDxyDz{Dz{DE|DE}~u         !"##$$%%&'()**+,+-+.+./0123435363738389:;<;=;>;?;@;A;BCDCECFGHGIJKJLMNMNOPQRQSQTQUQVQWQXQYQZQ[Q\]^_]^`]^a]^bcdecdfghFcdicdjcdklmnlmolmpqrstuvwxyz{|}~                                                   8 !!"#$%&'()*+,,-./0123456789:;<=>?@ABCDEFGHIJKLMNO P Q R S T U V W X X Y Z [ [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r stuvwxyz{|}~      !"#$%&'()*+,-./0123 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~                                    !!!!!!!!!""""""""""""""""""""""################################################################### # # # # #######$$$$$$$$$$%% &!&"& &#&$&%&&&''('u')'*'+','-'-'.'/'/'0'1'2'3'4'5'6'7'89:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\](^(^(_(`(a(b(b(c(d(e(f(g(h(i(j(k(l(l(m(n(o(p(q(r(s(t(u(v(w(x(y(z({(|(}(~(((((((((((((((((((((((((((((((((((()))))))))))))*****+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + + + + +++++++++++++++++++ +!+"+#+$+%+&+'+(+)+*+++,+-+.+/+0+1,2,3,4,5,6,7,8,9,:,;,<,=,>,?,@,A,,B,C,D,-E-F-G-H-I-J-K-L-M-N-O-P-Q-R-S-T.U.V.W.X.Y.Z.[.\.].^._.`.a.b.c.d.e.f../>ghijklmnopqrstuvwxyz{|}~0000000000000000001111111111111111111111111111111                           22222222222222222222222222222222222222222222222 2 2 2 2 22222222233444444444 4!4"4#4$4%4&4'4'4(4)4*4+4,4-4.4/404142434445464748494:4;4<4=4>4?4@4A4B4C44D4B4E4F4C4D4G44H4I4J4K4L4M N O P Q R S T U U V W X Y Z [ \ ] ^ ^ _ ` a b b c d d e f f g h i j k l m n o p q r s t u v w x y z { | } ~         555555555555555555555555555555 55555555555555555555555556666667DD1!!###%&()**+++++,,,,-..... 0 0 0 0 000111111111 !"S[#2$2%2&4'4(44)4* + , -!. / 0515253646566789:;<=>?@ABBCDECFCGCHCICJCKCLCMN$lorentz-0.4.0-4bB2PLHB7038abCZLw1vnALorentz.PreludeLorentz.Rebinded Lorentz.ValueLorentz.Constraints.ScopesLorentz.Coercions Lorentz.TestLorentz.Test.Integrational Lorentz.Doc Lorentz.ADTLorentz.AddressLorentz.EntryPoints.DocLorentz.TypeAnnsLorentz.EntryPoints.HelpersLorentz.PolymorphicLorentz.EntryPoints.CoreLorentz.Constraints.Derivative Lorentz.PackLorentz.EntryPoints.Manual Lorentz.Base Lorentz.ExtLorentz.CommonLorentz.UStore.CommonLorentz.UStore.TypesLorentz.UStore.TraversalLorentz.UStore.Migration.DiffLorentz.EntryPoints.Impl Lorentz.Run Lorentz.PrintLorentz.TestScenario Lorentz.Arith Lorentz.Zip Lorentz.InstrLorentz.ReferencedLorentz.UStore.DocLorentz.ErrorsLorentz.Errors.Numeric.ContractLorentz.Errors.Common Lorentz.EmptyLorentz.ContractRegistryLorentz.UStore.Migration.Base!Lorentz.UStore.Migration.BatchingLorentz.UStore.Lift Lorentz.MacroLorentz.UStore.InstrLorentz.UStore.Migration.BlocksLorentz.UStore.HaskellLorentz.Test.ConsumerLorentz.Errors.Numeric.DocLorentz.ExtensibleLorentz.StoreClassLorentz.UStore.Instances Lorentz.StoreLorentz.UParamLorentz.Test.DocLorentz.Test.UnitNiceParameterFullLorentz.ConstraintsLorentz.EntryPointsLorentz.UStore.MigrationLorentz.Errors.NumericLorentz.Contracts.ConsumercontractConsumerUtil.TypeTuple InstancesLorentz.UStoreLorentz Paths_lorentzbaseGHC.Base$GHC.Num fromIntegerreturn Data.String fromString<>memptymappendmconcatpureGHC.EnumBoundedghc-prim GHC.ClassesEqOrd GHC.GenericsGeneric SemigroupMonoid GHC.TypesBoolinteger-wired-inGHC.Integer.TypeInteger GHC.NaturalNatural GHC.MaybeMaybe Data.EitherEitherFalseNothingJustTrueLeftRightmaxBoundminBoundbytestring-0.10.10.0Data.ByteString.Internal ByteString text-1.2.4.0Data.Text.InternalText.containers-0.6.2.1Data.Map.InternalMapGHC.OverloadedLabels fromLabel Data.ProxyProxystimessconcat)constraints-0.11.2-8EHfvWmM9iq8fMaw1jmWHKData.ConstraintwithDictData.Set.InternalSet1data-default-class-0.1.2.0-Hn6rbGElvv4B4VdN5m2X0WData.Default.ClassDefaultdef"lens-4.18.1-6qW7qxI5Hz7CTf2DAYQ95wControl.Lens.Wrapped _Wrapped' UnwrappedWrapped&universum-1.6.1-9S3REjxS97oDtyplhqPK9gUniversum.Debugerror#morley-1.4.0-FPgS4VJ0cLmB07ubDf4i8PMichelson.Doc.Test runDocTestsexcludeDocTestsMichelson.Test.ImportspecWithUntypedContractspecWithTypedContractspecWithContractMichelson.Test.IntegrationalcatchExpectedError expectErrorattempttExpectStorageConstexpectNoStorageUpdatesexpectNoUpdatesoffshoot?- branchout setChainId withSender setMaxSteps rewindTimesetNowunexpectedInterpreterErrorintegrationalFail tTransfer tOriginateintegrationalTestPropintegrationalTestPropertyintegrationalTestExpectationIntegrationalScenarioMIntegrationalScenarioCustomTestErrorValidatingEmptyScenarioUnexpectedUpdatesInvalidBalanceStoragePredicateMismatchInvalidStorageIncorrectStorageUpdateIncorrectUpdatesExpectingInterpreterToFailUnexpectedTypeCheckErrorUnexpectedInterpreterErrorInterpreterError TestErrorMichelson.Test.UnitcontractPropVal contractPropContractPropValidatorMichelson.Test.DummydummyContractEnvMichelson.InterpretContractReturnMichelson.Runtime.GStategenesisAddress6genesisAddress5genesisAddress4genesisAddress3genesisAddress2genesisAddress1genesisAddressgenesisAddressesMichelson.Test.Gen midTimestamp maxTimestamp minTimestampMichelson.Typed.Haskell.Doc!concreteTypeDocMichelsonRepUnsafeconcreteTypeDocMichelsonRephomomorphicTypeDocMichelsonRephaskellRepStripFieldPrefixhaskellRepNoFieldsconcreteTypeDocHaskellRepUnsafeconcreteTypeDocHaskellRephomomorphicTypeDocHaskellRepgenericTypeDocDependenciespoly2TypeDocMdReferencepoly1TypeDocMdReferencehomomorphicTypeDocMdReferencecustomTypeDocMdReferencedTypeDeptypeDocMichelsonReptypeDocHaskellReptypeDocDependenciestypeDocMdReferencetypeDocMdDescription typeDocNameTypeDocFieldDescriptions TypeHasDocSomeTypeWithDocDTypeHaveCommonTypeCtor IsHomomorphic%Michelson.Typed.Haskell.Instr.ProductConstructorFieldTypesInstrConstructCMichelson.Typed.Haskell.ValuecoerceContractReffromValtoValToTIsoValueEntryPointCallSomeEntryPointCallWellTypedIsoValue crEntryPoint crAddress ContractRefunBigMapBigMapMichelson.Typed.AliasesValue Operation Michelson.DocmkDGitRevisionmorleyRepoSettingscontractDocToMarkdown DocGrouping DDescriptionDGitRevisionUnknownDGitRevisionKnown DGitRevisiongrsMkGitRevisionGitRepoSettingsDCommentDAnchorsubDocToMarkdowndocDefinitionRefdocItemPosition docItemsOrderdocItemDependenciesdocItemToMarkdown docItemRefdocItemSectionNameStyledocItemSectionDescriptiondocItemSectionNameDocItemPlacementDocItemPositionDocItem DocItemIdDocItemInDefinitionsDocItemInlinedDocItemPlacementKind DocItemNoRef DocItemRefDocSectionNameSmallDocSectionNameBigDocSectionNameStyle SomeDocItemSomeDocDefinitionItemSubDoccdDefinitionIdscdDefinitionsSet cdDefinitions cdContents ContractDocMichelson.Typed.EntryPoints eaEntryPoint eaAddress EpAddressMichelson.Typed.ExtractmkUTypeMichelson.Typed.Annotation insertTypeAnnMichelson.Runtime.TxDatatdAmount tdEntrypoint tdParametertdSenderAddressTxData Tezos.AddressAddress Tezos.CoretimestampQuotetimestampFromUTCTimetimestampFromSecondstoMutezMutez TimestampChainId Tezos.Crypto PublicKey SignatureKeyHashMichelson.TextmtMTextMichelson.Untyped.EntryPoints DefEpNameEpName Util.LabelLabel Util.MarkdownMarkdownMichelson.Test.UtilmeanTimeUpperBoundPropNFmeanTimeUpperBoundProptotal eitherIsRight eitherIsLeft succeededTest failedTest qcIsRightqcIsLeft succeededProp failedProp$o-clock-1.1.0-Eyjv67b43bT8o5eO3yssL5 Time.Unitssecmsmcsminute$named-0.3.0.1-KR6CzcWiesR2FBWuXAfEa6Named.Internal:?:! undefinedUniversum.TypeOpsargDefargFarg#vinyl-0.12.1-5AwmFwPZtvbFH6BYFlWmMmData.Vinyl.Core:&RNilRecNiceComparableNicePrintedValueNiceFullPackedValueNiceUnpackedValueNicePackedValue NiceConstant NiceStorage NiceParameter CanHaveBigMapNoBigMapNoContractType NoOperation KnownValueniceParameterEviniceStorageEviniceConstantEvinicePackedValueEviniceUnpackedValueEvinicePrintedValueEvi $fKnownValuea$fNoOperationa$fNoContractTypea $fNoBigMapa$fCanHaveBigMapaRequireSumTypeCanHaveEntryPointsShouldHaveEntryPointsunHasEntryPoints ctorNameToAnn ctorNameToEp$fGenericShouldHaveEntryPoints$fIsoValueShouldHaveEntryPointsEDivOpHs EDivOpResHs EModOpResHs SliceOpHs ConcatOpHsGetOpHs GetOpKeyHs GetOpValHsUpdOpHs UpdOpKeyHs UpdOpParamsHsSizeOpHsIterOpHs IterOpElHsMapOpHs MapOpInpHs MapOpResHs IsoMapOpResMemOpHs MemOpKeyHs$fMemOpHsBigMap $fMemOpHsMap $fMemOpHsSet $fMapOpHs[] $fMapOpHsMap $fIterOpHsSet $fIterOpHs[] $fIterOpHsMap $fSizeOpHsMap $fSizeOpHs[] $fSizeOpHsSet$fSizeOpHsByteString$fSizeOpHsMText $fUpdOpHsSet$fUpdOpHsBigMap $fUpdOpHsMap$fGetOpHsBigMap $fGetOpHsMap$fConcatOpHsByteString$fConcatOpHsMText$fSliceOpHsByteString$fSliceOpHsMText$fEDivOpHsMutezNatural$fEDivOpHsMutezMutez$fEDivOpHsNaturalNatural$fEDivOpHsNaturalInteger$fEDivOpHsIntegerNatural$fEDivOpHsIntegerInteger GHasTypeAnn gGetTypeAnn HasTypeAnn getTypeAnn$fGHasTypeAnn:*:$fGHasTypeAnn:+:$fGHasTypeAnnM1$fGHasTypeAnnU1$fGHasTypeAnnK1$fHasTypeAnn(,,,,,,)$fHasTypeAnn(,,,,,)$fHasTypeAnn(,,,,)$fHasTypeAnn(,,,)$fHasTypeAnn(,,)$fHasTypeAnn(,)$fHasTypeAnnOperation'$fHasTypeAnn[]$fHasTypeAnnSet$fHasTypeAnnBigMap$fHasTypeAnnMap$fHasTypeAnnContractRef$fHasTypeAnnSignature$fHasTypeAnnPublicKey$fHasTypeAnnTimestamp$fHasTypeAnnKeyHash$fHasTypeAnnEpAddress$fHasTypeAnnAddress$fHasTypeAnnMutez$fHasTypeAnnByteString$fHasTypeAnnBool$fHasTypeAnnMText$fHasTypeAnnNatural$fHasTypeAnnInteger$fHasTypeAnn()$fHasTypeAnnMaybe$fHasTypeAnnNamedF$fHasTypeAnnNamedF0EpdNoneParameterContainsEntryPoints:>HasEntryPointOfType TrustEpNameHasDefEntryPointArgHasEntryPointArguseHasEntryPointArgGetEntryPointArgCustomNiceEntryPointName EntryPointRef CallDefaultCallNoExplicitDefaultEntryPointForbidExplicitDefaultEntryPointGetDefaultEntryPointArgGetEntryPointArgLookupParameterEntryPointAllParameterEntryPointsGetParameterEpDerivationParameterDeclaresEntryPointsParameterHasEntryPointsParameterEntryPointsDerivation EpCallingStep EpsWrapIn EpCallingDescepcdArgepcdEntrypoint epcdStepsEpConstructionRes EpConstructedEpConstructionFailedRequireAllUniqueEntryPointsRequireAllUniqueEntryPoints'EntryPointsDerivationEpdAllEntryPointsEpdLookupEntryPointepdNotesepdCallepdDescspepNotespepCallpepDescspepDescsWithDefparameterEntryPointsToNotesparameterEntryPointCallparameterEntryPointCallDefaultsepcCallRootCheckedeprNameparameterEntryPointCallCustom#$fHasEntryPointArgkcpTrustEpNamearg$$fEntryPointsDerivationTYPEEpdNonecp($fHasEntryPointArgTYPEcpEntryPointRefarg$fShowEpCallingStep$fEqEpCallingStep$fShowEpCallingDesc lPackValue lUnpackValue lEncodeValueParameterWrapperunParameterWraper$fWrappedParameterWrapper)$fParameterHasEntryPointsParameterWrapper2$fEntryPointsDerivationTYPEPwDerivParameterWrapper$fGenericParameterWrapper$fIsoValueParameterWrapperMapLorentzInstrmapLorentzInstrLambda&SomeContractCode ContractCode ContractOut%>:-> LorentzInstrunLorentzInstrFII iGenericIfiAnyCodeiNonFailingCode iMapAnyCode iForceNotFailiWithVarAnnotations###parseLorentzValuetransformStringsLorentztransformBytesLorentzoptimizeLorentzWithConfoptimizeLorentz $fMonoid:->$fSemigroup:->$fBuildableParseLorentzError$fMapLorentzInstr:-> $fShow:->$fEq:->$fShowParseLorentzError$fEqParseLorentzErrorstackRef printComment testAssert stackType Entrypoint_ EntrypointFromContractReffromContractRef ToContractRef toContractRef ToTAddress toTAddress ToAddress toAddressFutureContractunFutureContract ToTAddress_TAddress unTAddresscallingTAddresscallingDefTAddress toTAddress_convertContractRef$fHasTypeAnnFutureContract$fIsoValueFutureContract$fToAddressContractRef$fToAddressFutureContract$fToAddressTAddress$fToAddressEpAddress$fToAddressAddress$fToTAddresscpTAddress$fToTAddresscpAddress$fToContractRefargTAddress$fToContractRefcpFutureContract$fToContractRefcpContractRef$fFromContractRefcpAddress$fFromContractRefcpEpAddress!$fFromContractRefcpFutureContract$fFromContractRefcpContractRef$fGenericTAddress$fIsoValueTAddress$fHasTypeAnnTAddressfieldNameToMTextListPickMarkedFieldsGetUStoreFieldMarkerGetUStoreFieldGetUStoreValue GetUStoreKey GetUStoreFSMarkerFSValueMSValueMSKey ElemSignature MapSignatureFieldSignatureKnownUStoreMarkerShowUStoreFieldmkFieldMarkerUKeyUStoreSubmapKeyTUStoreSubmapKeyUMarkerPlainField UStoreFieldUStoreMarkerTypeUStoreFieldExt unUStoreField|~> UStoreSubMapunUStoreSubMapUStoreunUStoremkFieldMarkerUKeyL mkFieldUKeygenUStoreSubMapgenUStoreFieldExt$fWrappedUStore$$fKnownUStoreMarkerUMarkerPlainField $fEqUStore $fShowUStore$fGenericUStore$fDefaultUStore$fSemigroupUStore$fMonoidUStore$fIsoValueUStore$fMemOpHsUStore$fGetOpHsUStore$fUpdOpHsUStore$fHasTypeAnnUStore $fShow|~>$fEq|~> $fDefault|~>$fArbitrary|~>$fShowUStoreFieldExt$fEqUStoreFieldExt$fArbitraryUStoreFieldExtUStoreTraversableUStoreTraversalSubmapHandlerustoreTraversalSubmapHandlerUStoreTraversalFieldHandlerustoreTraversalFieldHandlerUStoreTraversalWayUStoreTraversalArgumentWrapperUStoreTraversalMonadtraverseUStore modifyUStore foldUStore genUStore$fGUStoreTraversablewayM1$fGUStoreTraversablewayM10$fGUStoreTraversablewayU1$fGUStoreTraversableway:*:$fGUStoreTraversablewayV1$fGUStoreTraversableway:+:$fGUStoreTraversablewayM11$fGUStoreTraversablewayM12$fGUStoreTraversablewayM13 CoverDiffMany CoverDiff DiffCoverageDcAddDcRemoveRequireEmptyDiffShowDiff BuildDiffAllUStoreFieldsFLinearizeUStoreFLinearizeUStoreDiffItemDiffKindToAddToDel FieldInfo BuildEPTreeEPTreeEPNodeEPLeaf EPDelegatePlainEntryPointsC EpdDelegate EpdRecursiveEpdPlain $fGEntryPointsNotesmodeEPLeaf:*:$fGEntryPointsNotesmodeEPLeafU1*$fGEntryPointsNotesEpdDelegateEPDelegateK1$fGEntryPointsNotesmodeepM1$fGEntryPointsNotesmodeEPNodeM1 $fGEntryPointsNotesmodeEPNode:+:$fGEntryPointsNotesmodeepM10#$fGEntryPointsNotesEpdRecursiveepK1($fEntryPointsDerivationTYPEEpdDelegatecp)$fEntryPointsDerivationTYPEEpdRecursivecp%$fEntryPointsDerivationTYPEEpdPlaincp#$fGEntryPointsNotesmodeEPDelegateM1$fGEntryPointsNotesmodeEPLeafM1ContractcCodecDisableInitialCastcCompilationOptionsCompilationOptionscoOptimizerConfcoStringTransformercoBytesTransformerdefaultCompilationOptionscompileLorentzcompileLorentzWithOptionsdefaultContractcompileLorentzContractinterpretLorentzInstrinterpretLorentzLambdaanalyzeLorentzprintLorentzValueprintLorentzContract TestScenarioshowTestScenario$fGenericParameter$fIsoValueParameterUnaryArithOpHsUnaryArithResHs ArithOpHs ArithResHs$fArithOpHsLsrNaturalNatural$fArithOpHsLslNaturalNatural$fArithOpHsXorBoolBool$fArithOpHsXorNaturalNatural$fArithOpHsAndBoolBool$fArithOpHsAndNaturalNatural$fArithOpHsAndIntegerNatural$fArithOpHsOrBoolBool$fArithOpHsOrNaturalNatural$fArithOpHsMulMutezNatural$fArithOpHsMulNaturalMutez$fArithOpHsMulIntegerInteger$fArithOpHsMulNaturalNatural$fArithOpHsMulIntegerNatural$fArithOpHsMulNaturalInteger$fArithOpHsSubMutezMutez $fArithOpHsSubTimestampTimestamp$fArithOpHsSubTimestampInteger$fArithOpHsSubIntegerInteger$fArithOpHsSubNaturalNatural$fArithOpHsSubIntegerNatural$fArithOpHsSubNaturalInteger$fArithOpHsAddMutezMutez$fArithOpHsAddIntegerTimestamp$fArithOpHsAddTimestampInteger$fArithOpHsAddIntegerInteger$fArithOpHsAddNaturalNatural$fArithOpHsAddIntegerNatural$fArithOpHsAddNaturalInteger$fUnaryArithOpHsGeInteger$fUnaryArithOpHsLeInteger$fUnaryArithOpHsGtInteger$fUnaryArithOpHsLtInteger$fUnaryArithOpHsNeqInteger$fUnaryArithOpHsEq'Integer$fUnaryArithOpHsNotBool$fUnaryArithOpHsNotNatural$fUnaryArithOpHsNotInteger$fUnaryArithOpHsNegNatural$fUnaryArithOpHsNegInteger$fUnaryArithOpHsAbsInteger ZipInstrsZipInstr ZippedStackzipInstr unzipInstr zippingStackunzippingStack$fHasTypeAnn:-> $fIsoValue:-> $fZipInstr: $fZipInstr:0 $fZipInstr[]NonZerononZeroLorentzFunctorlmapConstraintDIPNLorentzConstraintDUGLorentzConstraintDIGLorentznop justCommentcommentcommentAroundFuncommentAroundStmtdropdropNdupswapdigPeanodigdugPeanodugpushsomenoneunitifNonepaircarcdrleftrightifLeftnilconsifConssizeemptySetemptyMap emptyBigMapmapitermemgetupdateif_looploopLeftlambdaexecexecuteapplydip dipNPeanodipNfailWithcastpackunpackconcatconcat'sliceisNataddsubrsubmuledivabsneglsllsrorandxornotcompareeq0neq0lt0gt0le0ge0intself selfCallingcontractcontractCallingcontractCallingUnsaferunFutureContractepAddressToContracttransferTokens setDelegatecreateContractimplicitAccountnowamountbalancecheckSignaturesha256sha512blake2BhashKeysourcesenderaddresschainIdframedfailingWhenPresent updateNew$fLorentzFunctorMaybe$fNonZeroNatural$fNonZeroIntegerdupTdipTdropT$fDupTorigSta:$fDupTorigSta:0$fDupTorigSta[]$fDipTorigSta:dipInpdipOutout1$fDipTorigSta:dipInpdipOutout$fDipTorigSta[]dipInpdipOutoutdocdocGroup docStorage contractNamebuildLorentzDoccontractGeneralcontractGeneralDefaultbuildLorentzDocWithGitRevrenderLorentzDoccutLorentzNonDoc$fTypeHasDoc:-> DocumentTWDUStoreTemplateUStoreMarkerHasDocustoreMarkerKeyEncodingUStoreTemplateHasDocustoreTemplateDocNameustoreTemplateDocDescriptionustoreTemplateDocContentsustoreTemplateDocDependenciesdUStoreTemplateRef%$fUStoreMarkerHasDocUMarkerPlainField$fMonoidDocCollector$fSemigroupDocCollector*$fUStoreTraversalSubmapHandlerDocumentTWkv.$fUStoreTraversalFieldHandlerDocumentTWmarkerv$fUStoreTraversalWayDocumentTW$fUStoreTemplateHasDoc()$fDocItemDUStoreTemplate$fOrdDUStoreTemplate$fEqDUStoreTemplate$fTypeHasDocUStore FailUsingArgCustomErrorNoIsoValueDThrowsDErrorCustomErrorHasDoccustomErrDocMdCausecustomErrDocMdCauseInEntrypointcustomErrClasscustomErrArgumentSemantics ErrorClassErrClassActionExceptionErrClassBadArgumentErrClassContractInternalErrClassUnknownRequireNoArgError CustomErrorceTagceArgErrorArg SomeErrorUnspecifiedError ErrorHasDocErrorRequirements errorDocNameerrorDocMdCauseerrorDocMdCauseInEntrypointerrorDocHaskellRep errorDocClasserrorDocDependencieserrorDocRequirementsIsError errorToVal errorFromVal isoErrorToValisoErrorFromVal failUsingfailUnexpectedcustomErrorDocHaskellRepGeneralerrorTagToMTexterrorTagToText failCustom failCustom_ typeDocMdDescriptionReferToErrorcustomErrorToValcustomErrorFromValderiveCustomError failUsingArg$fShow->$fEq->$fIsoValueCustomError$fBuildableErrorClass$fErrorHasDoc->$fErrorHasDocUnspecifiedError$fErrorHasDoc()$fErrorHasDocMText $fIsError->$fIsErrorUnspecifiedError $fIsError()$fIsErrorMText$fShowSomeError$fBuildableSomeError $fEqSomeError$fErrorHasDocCustomError$fIsErrorCustomError$fDocItemDError $fOrdDError $fEqDError$fDocItemDThrows $fEqDThrows$fGenericUnspecifiedError$fIsoValueUnspecifiedError$fShowCustomError$fEqCustomErrorErrorTagExclusions ErrorTagMapgatherErrorTagsaddNewErrorTagsbuildErrorTagMapexcludeErrorTagsapplyErrorTagMapapplyErrorTagMapWithExclusionsuseNumericErrorserrorFromValNumeric%$fCustomErrorHasDoc"senderIsNotAdmin"$fBuildableCustomErrorEmptyabsurd_"$fCustomErrorHasDoc"emptySupplied"$fTypeHasDocEmpty$fGenericEmpty$fIsoValueEmpty$fHasTypeAnnEmpty CmdLnArgsPrintDocumentAnalyze PrintStorageContractRegistryunContractRegistry ContractInfo ciContractciIsDocumentedciStorageParserciStorageNotes?::printContractFromRegistryDoc argParserrunContractRegistry$fBuildableContractRegistry Coercible_ CanCastTo castDummyMichelsonCoercible forcedCoerce forcedCoerce_gForcedCoerce_ fakeCoerce fakeCoercing coerceWrap coerceUnwraptoNamed fromNamed checkedCoercecheckedCoerce_checkedCoercing_allowCheckedCoerceToallowCheckedCoerce castDummyG*$fCanCastToTYPETYPEFutureContractEpAddress"$fCanCastToTYPETYPEAddressTAddress"$fCanCastToTYPETYPETAddressAddress!$fCanCastToTYPETYPE(,,,,,)(,,,,,)$fCanCastToTYPETYPE(,,,,)(,,,,)$fCanCastToTYPETYPE(,,,)(,,,)$fCanCastToTYPETYPE(,,)(,,)$fCanCastToTYPETYPE(,)(,)$fCanCastToTYPETYPENamedFNamedF)$fCanCastToTYPETYPEContractRefContractRef$fCanCastToTYPETYPE:->:->$fCanCastToTYPETYPEBigMapBigMap$fCanCastToTYPETYPEMapMap$fCanCastToTYPETYPESetSet$fCanCastToTYPETYPEEitherEither$fCanCastToTYPETYPEMaybeMaybe$fCanCastToTYPETYPE[][]$fCanCastTokkaa MigrationAtommaNamemaScript maActionsDescDMigrationActionDesc manActionmanField manFieldTypeDMigrationActionType DAddAction DDelActionMigrationScript_MigrationScriptToMigrationScriptFromMigrationScriptunMigrationScriptUStore_ SomeUTemplatemanualWithOldUStoremanualWithNewUStoremanualMapMigrationScriptmanualConcatMigrationScriptsattachMigrationActionName#$fUStoreTemplateHasDocSomeUTemplate$fCanCastToTYPETYPEUStoreUStore1$fCanCastToTYPETYPEMigrationScriptMigrationScript$fTypeHasDocMigrationScript$fWrappedMigrationScript$fBuildableDMigrationActionType$fDocItemDMigrationActionDesc$fShowMigrationScript$fGenericMigrationScript$fIsoValueMigrationScript$fHasTypeAnnMigrationScript$fShowDMigrationActionType$fShowDMigrationActionDesc$fShowMigrationAtomUStoreMigrationCompiledcompiledMigrationContentMigrationBatchingMUStore MUStoreUnsafeMigrationBlocksUStoreMigrationmaActionsDescLmaNameL maScriptLmigrationToLambdamapMigrationCodeformMigrationAtom mbBatchesAsIs mbNoBatchingmkUStoreBatchedMigrationmkUStoreMigrationcompileMigrationmigrationToScriptsmigrationToScriptsListmigrationToScriptImigrationToScriptmigrationToInfomigrationStagesNumbuildMigrationPlan $fMapLorentzInstrUStoreMigration$fGenericMUStore$fIsoValueMUStore SlBatchInfoslbiType slbiActions SlBatchTypeSlbtData SlbtLambda SlbtCustom SlbtUnknownmbSeparateLambdas$fBuildableSlBatchInfo$fShowSlBatchType$fEqSlBatchTypeUStoreFieldsAreUnique liftUStore unliftUStore$fGenericMyStoreTemplate$fGenericMyStoreTemplateBig VoidResult unVoidResultVoid_ voidParam voidResProxyView viewParamviewCallbackToUpdateN updateNImplConstraintUpdateNLorentzReplaceN replaceNImplConstraintReplaceNLorentz mapInsert mapInsertNew deleteMapDuupX duupXImplConstraintDuupXLorentzeqneqgtlegeltifEq0ifNeq0ifLt0ifGt0ifLe0ifGe0ifEqifNeqifLtifGtifLeifGefail_assert assertEq0 assertNeq0 assertLt0 assertGt0 assertLe0 assertGe0assertEq assertNeqassertLtassertGtassertLeassertGe assertNone assertSome assertLeft assertRight assertUsingdropXcloneXduupXframedNpapairppaiirunpaircdarcddrcaarcadrsetCarsetCdrmapCarmapCdrifRightifSomewhen_unless_whenSomewhenNone setInsert setInsertNew setDeletereplaceNupdateNbuildViewTuple buildViewmkViewwrapView unwrapViewview_ voidResultTagmkVoidvoid_wrapVoid unwrapVoidaddressToEpAddresspushContractRef $fCloneXSas $fCloneXZas$fDuupX[][]Ssas1tail$fDuupXkkS:as1tail$fDuupXkkSsas1tail$fMapInstrsBigMap$fMapInstrsMap$fReplaceN[][]Ssamidtail$fReplaceNkkSsamidtail$fUpdateN[][]Ssabmidtail$fUpdateNk[]Ssabmidtail$fUpdateNk[]Ssabmidtail0$fBuildableView$fBuildableView0$fTypeHasDocView$fCanCastToTYPETYPEViewView$fBuildableVoid_$fTypeHasDocVoid_$fCanCastToTYPETYPEVoid_Void_$fIsoValueVoidResult$fErrorHasDocVoidResult$fIsErrorVoidResult$fTypeHasDocVoidResult$fEqView $fShowView $fGenericView$fHasTypeAnnView$fGenericVoid_ $fShowVoid_$fHasTypeAnnVoid_$fGenericVoidResult$fEqVoidResult$fIsoValueVoid_$fIsoValueViewHasUStoreForAllIn HasUField HasUStorepackSubMapUKeyunsafeEmptyUStore ustoreMem ustoreGet ustoreUpdate ustoreInsertustoreInsertNew ustoreDelete ustoreToFieldustoreGetFieldustoreSetFieldustoreRemoveFieldUnsafe$fKnownUStoreMarkerMarker1$fGenericMyStoreTemplate2$fIsoValueMyNatural$fGenericMyStoreTemplate3MigrationFinishCheckPositionmigrationFinishmigrateCoerceUnsafemigrateGetFieldmigrateAddFieldmigrateRemoveFieldmigrateExtractFieldmigrateOverwriteFieldmigrateModifyFieldmuBlock muBlockNamed<-->$: mustoreToOld-$fMigrationFinishCheckPositionMigrationBlocks!$fMigrationFinishCheckPosition:-> FillUStoreTWDecomposeUStoreTW MkUStoreTWmkUStoreustoreDecomposeustoreDecomposeFull fillUStorefillUStoreMigrationBlockmigrateFillUStore*$fUStoreTraversalSubmapHandlerMkUStoreTWkv0$fUStoreTraversalFieldHandlerMkUStoreTWmarkerval$fUStoreTraversalWayMkUStoreTW1$fUStoreTraversalSubmapHandlerDecomposeUStoreTWkv7$fUStoreTraversalFieldHandlerDecomposeUStoreTWmarkerval%$fUStoreTraversalWayDecomposeUStoreTW,$fUStoreTraversalSubmapHandlerFillUStoreTWkv0$fUStoreTraversalFieldHandlerFillUStoreTWmarkerv $fUStoreTraversalWayFillUStoreTW ConditionHoldsIsSomeIsNoneIsLeftIsRightIsConsIsNilIsZero IsNotZeroIsEqIsNeqIsLtIsGtIsLeIsGeNamedBinConditionPreserveArgsBinCondition>> ifThenElse<.>.<=.>=.==./=. keepIfArgsNumericErrorWrapperNumericErrorDocHandlerNumericErrorDocHandlerErrorDDescribeErrorTagMap detmSrcLocapplyErrorTagToErrorsDocapplyErrorTagToErrorsDocWithcustomErrorDocHandlervoidResultDocHandlerbaseErrorDocHandlers$fDocItemDDescribeErrorTagMap$fErrorHasDocNumericTextError$fErrorHasNumericDocVoidResult$fErrorHasNumericDocCustomError $fErrorHasDocNumericErrorWrapper$fEqDDescribeErrorTagMap$fOrdDDescribeErrorTagMap lOriginatelOriginateEmpty lTransferlCalllCallEPlCallDeflExpectStoragelExpectStorageUpdatelExpectBalancelExpectStorageConstlExpectMichelsonFailedlExpectFailWith lExpectErrorlExpectErrorNumericlExpectCustomErrorlExpectCustomErrorNumericlExpectCustomError_lExpectCustomErrorNumeric_lExpectConsumerStoragelExpectViewConsumerStorageExtensibleHasDocextensibleDocNameextensibleDocDependenciesextensibleDocMdDescriptionExtConversionErrorConstructorIndexNotFoundArgumentUnpackFailedWrapExtCExtVal ExtensibletoExtVal fromExtValwrapExt$fWrappedExtensible$fWrapExtNoFields$fWrapExtOneField$fBuildableExtConversionError$fGExtValkt:+:$fGExtValTYPEtM1$fGExtValTYPEtM10 $fGExtValktM1$fTypeHasDocExtensible$fDocumentCtorCtor$fGenericExtensible$fEqExtensible$fShowExtensible$fIsoValueExtensible$fHasTypeAnnExtensible$fEqExtConversionError$fShowExtConversionErrorCaseTC CaseArrow/-> CaseClauseLHasFieldsOfType:= NamedFieldHasFieldOfTypeHasFieldtoField toFieldNamedgetField getFieldNamedsetField modifyField construct constructTconstructStack deconstruct fieldCtorwrap_case_caseT unwrapUnsafe_$fCaseArrownamebodyCaseClauseLStorageContains::->~>StoreHasEntrypoint storeEpOpsStoreEntrypointOps sopToEpLambdasopSetEpLambda sopToEpStore sopSetEpStoreEntrypointsFieldEntrypointLambdaStoreHasSubmapstoreSubmapOpsStoreSubmapOpssopMemsopGet sopUpdate sopDelete sopInsert StoreHasField storeFieldOps StoreFieldOps sopToField sopSetField stToField stGetField stSetFieldstMemstGetstUpdatestDeletestInsert stInsertNew stEntrypoint stToEpLambda stGetEpLambda stSetEpLambda stToEpStore stGetEpStore stSetEpStorestoreFieldOpsADTstoreEntrypointOpsADTstoreEntrypointOpsFieldsstoreEntrypointOpsSubmapFieldstoreFieldOpsDeeperstoreSubmapOpsDeeperstoreEntrypointOpsDeeperstoreSubmapOpsReferTostoreFieldOpsReferTostoreEntrypointOpsReferTocomposeStoreFieldOpscomposeStoreSubmapOpscomposeStoreEntrypointOps mkStoreEp$fStoreHasSubmapMapnamekeyvalue"$fStoreHasSubmapBigMapnamekeyvalue#$fStoreHasSubmapUStoremnamekeyvalue$fStoreHasFieldUStorefnameftype StorePieceCStorageSkeletonsMapsFieldsHasStoreForAllInHasStore StoreDeleteC StoreInsertC StoreUpdateC StoreGetC StoreMemC GetStoreValue GetStoreKey|->StoreunStorestoreMemstoreGet storeUpdate storeInsertstoreInsertNew storeDelete storageUnpack storagePack storageMem storageGet storageInsertstorageInsertNew storageDelete storePiecestoreKeyValueList storeLookup!$fStoreHasSubmapStorenamekeyvalue+$fStoreHasSubmapStorageSkeletonnamekeyvalue($fStoreHasFieldStorageSkeletonfnameftype $fEqStore $fShowStore$fDefaultStore$fSemigroupStore $fMonoidStore$fIsoValueStore $fGeneric|-> $fIsoValue|->$fIsoValueMyStoreTemplate$fIsoValueMyStoreTemplate2$fGenericMyNatural$fIsoValueMyStoreTemplate3$fIsoValueMyStoreTemplateBig$fEqStorageSkeleton$fShowStorageSkeleton$fGenericStorageSkeleton$fDefaultStorageSkeleton$fIsoValueStorageSkeletonRequireFlatEpDerivationRequireFlatParamEps EntryArrow#->DocumentEntryPointsDeriveCtorFieldDocderiveCtorFieldDocDEntryPointArgepaArg epaBuildingepaTypeParamBuildingStep PbsWrapInPbsCallEntrypoint PbsCustom PbsUncallableParamBuildingDesc pbdEnglish pbdHaskell pbdMichelson ParamBuilderunParamBuilderDEntryPointReferencePlainEntryPointsKind DEntryPointdepNamedepSubdiEntryPointToMarkdown mkPbsWrapInconstructDEpArg emptyDEpArg mkDEpUTypemkDEntryPointArgSimpleclarifyParamBuildingSteps entryCase_ entryCasedocumentEntryPointfinalizeParamCallingDocareFinalizedParamBuildingStepsentryCaseSimple_entryCaseSimple$fDocItemDEntryPoint$fDocItemDEntryPointReference$fEqParamBuilder$fShowParamBuilder$fBuildableParamBuilder$fBuildableParamBuildingStep$fDocItemDEntryPointArg$fDeriveCtorFieldDocconOneField$fDeriveCtorFieldDocconNoFields$fGDocumentEntryPointskindM1$fGDocumentEntryPointskind:+:$fGDocumentEntryPointskindM10$fEntryArrowTYPEkindnamebody$fShowParamBuildingDesc$fEqParamBuildingDesc$fShowParamBuildingStep$fEqParamBuildingStepUParamLinearizedUParamLinearize CaseUParamUParamFallbackEntryPointsImplEntryPointLookupErrorNoSuchEntryPoint UnpackUParam unpackUParamConstrainedSomeRequireUniqueEntryPointsLookupEntryPointUParam_ SomeInterfaceUParam UParamUnsafe?:EntryPointKindmkUParam unwrapUParamuparamFallbackFail caseUParam caseUParamT uparamFromAdt pbsUParam/$fCustomErrorHasDoc"uparamArgumentUnpackFailed"+$fCustomErrorHasDoc"uparamNoSuchEntryPoint"$fBuildableCustomError0$fTypeHasDocUParam$fWrappedUParam$fCanCastToTYPETYPEUParamUParam$fBuildableConstrainedSome$fShowConstrainedSome$fCaseArrowname'bodyCaseClauseU $fBuildableEntryPointLookupError$fUnpackUParamc:$fUnpackUParamc[] $fCaseUParam:$fCaseUParam[]$fGUParamLinearizeM1$fGUParamLinearizeM10$fGUParamLinearizeM11$fGUParamLinearize:+:$fGUParamLinearizeM12$fGenericUParam $fEqUParam $fShowUParam$fIsoValueUParam$fHasTypeAnnUParam$fGenericEntryPointLookupError$fEqEntryPointLookupError$fShowEntryPointLookupErrortestDeclaresParametertestEachEntrypointIsDescribed"testParamBuildingStepsAreFinalizedtestAllEntrypointsAreCallabletestLorentzDoc$fBuildableDocEpDescriptionexpectContractEntrypointsMichelson.Typed.PolymorphicEDivOpSliceOpConcatOpGetOpUpdOpSizeOpMichelson.Typed.TTIterOpMapOpMemOpKeyNamedEpMichelson.Typed.ArithOrParseLorentzErrorMichelson.PreprocesstransformStringstransformBytes UStoreMarkerGUStoreTraversableData.Functor.IdentityIdentityData.Functor.ConstConstDiffCoverageItem LiftToDiffRequireFieldNameGEntryPointsNotesEntryPointsNotesgMkEntryPointsNotesAllEntryPointsNotesTOrmkEntryPointsNotesmkEpLiftSequence mkEpDescs UnaryArithOpArithOpMichelson.Typed.InstrCONTRACTSELFDipTDupTDGeneralInfoSectionCustomErrorReppickFirstSentenceerrorsDocumentationFAILWITHD:R:ErrorArg"senderIsNotAdmin"D:R:ErrorArg"emptySupplied" Castable_manualWithUStore nubCounting UStoreFields_sampleWithMyStoreUpdateNConstraint'ReplaceNConstraint' MapInstrs mapUpdateDuupXConstraint'_sample7MyStoreTemplate _sample7'MyStoreTemplateBigRequireBeInitial UStoreContentmkUStoreInternalstoreDecomposeInternalfillUStoreInternalmapMaybesStateErrorHasNumericDocnumericErrorDocHaskellRepNumericTextErrorEheNotApplicableEheConversionUnnecessarydDescribeErrorTagMapAnchortextErrorDocHandler originatetransfervalidateStorageCb expectStorageexpectStorageUpdate expectBalanceexpectStorageConst DocumentCtorGExtVal GGetCtorsEnumerateCtorsCtorKindCtor LookupCtorWrapExt packForWrap!Michelson.Typed.Haskell.Instr.Sum CaseClauseTypepushStEpsomeStEpsetStEpCtorNameToLabelGetStoreCtorsNumCtorIdxGDocumentEntryPointsgDocumentEntryPointsdocumentEntryPoints CtorFieldpbSamplemodifyParamBuildingStepsGUParamLinearizecaseUParamUnsafe CaseClauseUDocEpDescriptionlookupDocEpDescriptiontestNoAdjacentEpDescriptionstestNoAdjacentDescriptionsexcludeDocTest testDocBasictestStorageIsDocumentedtestDocNotEmpty testNoGitInfotestContractNameAtTopforEachContractDocItemforEachContractLayerexpectDocTestFailure mkDocTestDocTest dtDeclLocdtDescdtSuiteversion getBinDir getLibDir getDynLibDir getDataDir getLibexecDir getSysconfDirgetDataFileName