##      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJK LMNO P Q R STUVWXYZ[\]^_`abcdef g h i jklmnopqr stuvwxyz{|}~                      ! " # $ % & ' ( ) * + , - . / 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 wxy z { | } ~                                       !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,- . / 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${$|%}%~%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&&&&&&&&&&&&&&&&&&&&&''''''''''''''''(((((((((((((((((((((()))))))))))))))))))))))))))))) ) ) ) ) ))))))))))))))))))) )!)")#)$)%)&)')()))*)+),)-).)/)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,{,|,},~,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,---------------------................////////////////////     0 0!0"0#0$0%0&0'0(0)0*0+0,0-0.0/000112131415161718191:1;1<1=1>1?1@1A1B1C1D1E1F1G1H1I1J1K1L1M1N1O1PQRSTUVWXYZ[\]^_`abcdefghijkl2m2n2o2p2q2r2s2t2u2v2w2x2y2z2{2|2}2~2222222222222222222222222222222222222222223344444444444444444444444444444 4 4 4 4 4444444444444444444 4!4"4:None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmblorentz A Generic  HasAnnotation implementationlorentzThis class defines the type and field annotations for a given type. Right now the type annotations come from names in a named field, and field annotations are generated from the record fields.lorentzUsed in V as a flag to track whether or not field/constructor annotations should be generated.lorentzUsed in  and n as a flag to track whether or not it directly follows an entrypoint to avoid introducing extra entrypoints.lorentzQAllow customization of field annotation generated for a type when declaring its  instance.lorentzDrops the field name prefix from a field. We assume a convention of the prefix always being lower case, and the first letter of the actual field name being uppercase. It also accepts another function which will be applied directly after dropping the prefix.lorentzappendTo suffix fields field appends the given suffix to field if the field exists in the fields list.lorentzUse this in the instance of  HasAnnotation1 when field annotations should not be generated../0:0/.:None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmklorentz1Constraint applied to any part of parameter type.ZNote that you don't usually apply this constraint to the whole parameter, consider using  5 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_`befgkmvlorentz%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. None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm,lorentzsNo entrypoints declared, parameter type will serve as argument type of the only existing entrypoint (default one).lorentzCheck 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 .lorentzRChecks that the given parameter consists of some specific entrypoint. Similar as  > but ensures that the argument matches the following datatype.lorentz$This wrapper allows to pass untyped qF 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 A 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 q wrapped into v 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. q is obviously needed because name can be $ or . 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 0e which we actually use in function signatures. When given type is sum type or newtype, we refer to 09, 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.2lorentz&Wrap into constructor with given name.3lorentz%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.5lorentzEntrypoint argument type.6lorentzName of assigned entrypoint.7lorentzIf 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.8lorentz*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 G.AlorentzConstruct entrypoint caller.AThis does not treat calls to default entrypoint in a special way.HThis method is implementation detail, for actual entrypoint lookup use H.Blorentz:Description of how each of the entrypoints is constructed.Clorentz Version of @o which we actually use in code. It hides derivations stuff inside, and treats primitive types specially like - does.Dlorentz Version of Ao which we actually use in code. It hides derivations stuff inside, and treats primitive types specially like - does.Elorentz Version of Bo which we actually use in code. It hides derivations stuff inside, and treats primitive types specially like - does.Florentz;Descriptions of how each of the entrypoints is constructed. Similar to ER, but includes default entrypoint disregard whether it is explicit or not, while EB includes it only if it is explicit. Also this returns list, not 6, for simplicity.DNote that [order of entrypoints children] property still holds here.Glorentz'Derive annotations for given parameter.Hlorentz!Prepare call to given entrypoint.kThis does not treat calls to default entrypoint in a special way. To call default entrypoint properly use I.IlorentzCall the default entrypoint.JlorentzCall root entrypoint safely.LlorentzUniversal entrypoint calling.5 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKL5=>?@AB89:3456712;/0.-CDEF,+G*H)I('J$%&#K" !L<0 None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmOSlorentz-Constraint applied to a whole parameter type.SS6None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm=% S None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm Tlorentz*Applicable for wrappers over Lorentz code.Ulorentz'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.glorentz4Wrap Lorentz instruction with variable annotations, annotsD list has to be non-empty, otherwise this function raises an error.ilorentz Version of h/ which performs some optimizations immediately.jlorentz`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).klorentzLorentz version of &.llorentzLorentz version of '.TUVWXYZ[\]^_`abcdefghijklmn]^_\Whia`bcdefgjklnmTU[ZXYVW2\1]1h8None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmJwlorentz Version of x which accepts no argument.xlorentz 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.wxxw None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmE ylorentzConvert something from  ContractAddr in Haskell world.{lorentzConvert something to f in Haskell world.}lorentzHConvert something referring to a contract (not specific entrypoint) to  in Haskell world.lorentzConvert something to r 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 fJ can appear are now severely limited, this type gives you type-safety of f 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 f~, 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 f 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 .KOPQRfghiryz{|}~}~{|yzrOPQRfghiKNone6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm-8lorentz-This function transforms Lorentz values into  script_expr. script_expr is used in RPC as an argument in entrypoint designed for getting value by key from the big_map in Babylon. In order to convert value to the  script_expr9 we have to pack it, take blake2b hash and add specific expr prefix. Take a look at  https://gitlab.com/tezos/tezos/blob/6e25ae8eb385d9975a30388c7a7aa2a9a65bf184/src/proto_005_PsBabyM1/lib_protocol/script_expr_hash.ml and  https://gitlab.com/tezos/tezos/blob/6e25ae8eb385d9975a30388c7a7aa2a9a65bf184/src/proto_005_PsBabyM1/lib_protocol/contract_services.ml#L136 for more information.lorentz Similar to , but for values encoded as (s. This is only used in tests.None7!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmq6 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 0.lorentzLifted 1.lorentz-A useful property which holds for reasonable 1 instances.It's a separate thing from  because it mentions b type parameter.lorentzLifted 2.None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm9   $#"!1231  $# "!23None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm;None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm=O&'(789KLMNOPQRcdefghijklnmopqrstuvwxyz{|}~yz{|}~GNklnmp8rOPQRuxstvw&cdeMfghiqLjo}~y7z{|K}~{|yz'(9None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmk3lorentzGeneric traversal for 4.5lorentzReturns: 1. Notes corresponding to this level; 2. Field annotation for this level (and which should be used one level above).6lorentz6Fetches information about all entrypoints - leaves of $ tree.7lorentz6Fetches information about all entrypoints - leaves of $ tree.4lorentz"Traverses sum type and constructs 87 which report constructor names via field annotations.lorentzBuild  by parameter type.lorentzEntrypoints tree - skeleton on 9 tree later used to distinguish between constructors-entrypoints and constructors which consolidate a whole pack of entrypoints.lorentz6We are in the intermediate node and need to go deeper.lorentzWe reached entrypoint argument.lorentzIWe reached complex parameter part and will need to ask how to process it.lorentz Extension of , , and < which allow specifying root annotation for the parameters.lorentz Extension of : 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 M this gives you more control over where and how entrypoints will be derived.lorentz Extension of : 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 kv instance, this derivation way will not work. As a workaround, you can wrap your argument into some primitive (e.g. :!).lorentzImplementation 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.  None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmnlorentzLifted =.lorentzLifted >.None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkms'lorentz' is similar to lens Wrapped class without the method. It provides type family that is mainly used as constraint when unwrapping Lorentz instruction into a Haskell newtype and vice versa.'('(None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmw5+lorentzOWrap parameter into this to locally assign a way to derive entrypoints for it.+,-+,-7None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmy3- !"$%&'()*+,./0;=>?@ABGHIJKL+,--=>?@AB/0.,+G*H)I('J$%&K" !L;+,-None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm?3lorentzLCode for a contract along with compilation options for the Lorentz compiler.It is expected that a 3 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 Z2 should not be used for distribution of contracts.5lorentzThe contract itself.6lorentzBFlag 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).7lorentz5General compilation options for the Lorentz compiler.8lorentz4Options to control Lorentz to Michelson compilation.:lorentzConfig for Michelson optimizer.;lorentz(Function to transform strings with. See k.<lorentz-Function to transform byte strings with. See l.=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 6 set to False.Alorentz&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.Blorentz_Interpret a Lorentz instruction, for test purposes. Note that this does not run the optimizer.ClorentzLike B9, but works on lambda rather than arbitrary instruction.DlorentzLorentz version of analyzer.3456789:;<=>?@ABCD89:;<=>?34567@ABCDNone6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmElorentz.Pretty-print a Haskell value as Michelson one.Florentz4Pretty-print a Lorentz contract into Michelson code.EFEFNone6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmLGlorentz_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.Hlorentz*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`GHGHNone6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmKlorentz!Require several stacks to comply L constraint.Llorentz"Zipping stack into tuple and back.Mlorentz-A type which contains the whole stack zipped.Nlorentz#Fold given stack into single value.Olorentz'Unfold given stack from a single value.Plorentz'Flatten both ends of instruction stack.Qlorentz)Unflatten both ends of instruction stack.TlorentzHSuch definition seems the only possible one we can support efficiently.KLMNOPQLMNOKPQNone6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmmXlorentz(Retain the value only if it is not zero.dlorentz Drop top n elements from the stack.glorentz Version of hG which uses Peano number. It is inteded for internal usage in Lorentz.ilorentz Version of jG 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 q^ you can not have this evidence (the value is only available in runtime). If you have typed $, use K to construct q.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 O.=Validity of such operation cannot be ensured at compile time.lorentz-Execute given instruction on truncated stack.ZThis instruction requires you to specify the piece of stack to truncate as type argument.lorentzHelper 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.mWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~m^_`abcdef]gh\ijklmnopqrstuvwyz{|}~x[YZWXNone7!"#$%&'*,-.012456789;<=>?@ACHMNPSUVX_`befgkmAlorentz<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.Blorentz9Allows 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_`befgkmlorentz)Modify the example value of an entrypointlorentzPut a document item.lorentzpGroup documentation built in the given piece of code into block dedicated to one thing, e.g. to one entrypoint.lorentzfInsert documentation of the contract storage type. The type should be passed using type applications.lorentzCGive a name to given contract. Apply it to the whole contract code.lorentzTakes an instruction that inserts documentation items with general information about the contract. Inserts it into general section. See C.lorentzHInserts 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.lorentz1Leave 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.l<=>?@ABCDEFGHIJSTUVWXZY[\]^_`lSTAZY[\]^_`WXUVB@GIJF<=CDEH>?None8!"#$%&'*,-.012456789:;<=>?@AHMNPSUVX_`befgkmL)lorentz Documentation for custom errors.,Mentions that entrypoint throws given error.lorentz(Mentions that contract uses given error.lorentz/What should happen for this error to be raised.lorentzBrief version of R. This will appear along with the error when mentioned in entrypoint description.?By default, the first sentence of the full description is used.lorentz Error class.~By default this returns "unknown error" class; though you should provide explicit implementation in order to avoid a warning.lorentz(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 anotherlorentz=Error class on how the error should be handled by the client.lorentzRNormal expected error. Examples: "insufficient balance", "wallet does not exist".lorentzaInvalid 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.lorentzzUnexpected error. Most likely it means that there is a bug in the contract or the contract has been deployed incorrectly.lorentz/It's possible to leave error class unspecified.DlorentzHow & is actually represented in Michelson.lorentzMaterial 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 k.lorentzImplementation of  via k.Elorentz!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 3? 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 ] (of ZA typeclass) for Haskell types which sole purpose is to be error.Florentz!This is to be included on top of Errors) section of the generated documentation.lorentz)This instance cannot be implemented, use  instance instead.lorentzIf { 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./     /     None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm]*lorentz!QuasiQuote that helps generating ParameterHasEntrypoints instance.Usage: [entrypointDoc| Parameter <parameter-type> <optional-root-annotation> |] [entrypointDoc| Parameter plain |] [entrypointDoc| Parameter plain "root"|]  See this  ,https://indigo-lang.gitlab.io/contract-docs/tutorial! which includes this quasiquote.+lorentz!QuasiQuote that helps generating CustomErrorHasDoc instance.Usage: t[errorDoc| <error-name> <error-type> <error-description> |] [errorDoc| "errorName" exception "Error description" |]  See this  ,https://indigo-lang.gitlab.io/contract-docs/tutorial! which includes this quasiquote.,lorentz!QuasiQuote that helps generating  TypeHasDoc instance.Usage: V[typeDoc| <type> <description> |] [typeDoc| Storage "This is storage description" |]  See this  ,https://indigo-lang.gitlab.io/contract-docs/tutorial! which includes this quasiquote.*+,*+, 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.0lorentz#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 1.1lorentzBuild . from a set of textual tags.2lorentzRemove 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 4%, otherwise an error would be raised.3lorentzFor each typical G 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 0.4lorentz Similar to 3>, but for case when you have excluded some tags from map via 2. Needed, because both 2V and this function do not tolerate unknown errors in contract code (for your safety).5lorentzThis 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.6lorentz<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).7lorentz<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 string is used as a tag, but it is not found in the passed map, we conservatively preserve that string (because this whole approach is rather a heuristic). -./01234567 .-/01234567!None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmHlorentzPContract initiator should be contract admin in order to perform this operation."None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm:lorentz!Replacement for uninhabited type.;lorentz)Witness of that this code is unreachable.IlorentzSomeone constructed : type.:;:;#None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm;BlorentzH actions parsed from CLI.Olorentz-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 .PlorentzRewrite annotations in storage. We don't won't to uncoditionally override storage notes since after #20 we require notes to be non-empty, so we wrap them into .TlorentzRun an action operating with H.BCDEFGHIJKLMNOPQRSTKLMNOPHIJQBCDEFGSTR$None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmVlorentzCoercions between a to b are permitted and safe.WlorentzCoercion from a to b is permitted and safe.XlorentzExplicitly allowed coercions.a X 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 i4 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.YlorentzAn optional method which helps passing -Wredundant-constraints check. Also, you can set specific implementation for it with specific sanity checks.Zlorentz9Whether 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.alorentzSpecialized version of coerce_ to unwrap a haskell newtype.blorentz"Lift given value to a named value.clorentzUnpack named value.dlorentz)Coercion in Haskell world which respects X.elorentzPCoerce between types which have an explicit permission for that in the face of X constraint.florentz4Pretends that the top item of the stack was coerced.glorentzLocally provide given X instance.hlorentzLocally provide bidirectional X instance.ilorentzImplementation of Y{ for types composed from smaller types. It helps to ensure that all necessary constraints are requested in instance head.'(VWXYZ[\]^_`abcdefghiXYidWVefgha`bcZ[\]^_'(%None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm|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).JlorentzJust a servant type.lorentz%Describes plain field in the storage.lorentz-Describes one virtual big map in the storage.lorentzGathers multple fields and cs 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 c 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 Klorentz%Generic traversal of UStore template.lorentz Constraint for UStore traversal.lorentzJDeclares a handler for UStore submaps when given traversal way is applied.lorentz&How to process each of UStore submaps.lorentzIDeclares a handler for UStore fields when given traversal way is applied.lorentz%How to process each of UStore fields.lorentzNDefines general parameters of UStore template traversal. You need a separate wayI datatype with an instance of this typeclass for each type of traversal.lorentzgWrapper which will accompany the existing value of traversed template, aka argument. This is usually L or M a.lorentzQAdditional constraints on monadic action used in traversal. Common ones include L, M, (,) alorentzFPerform UStore traversal. The most general way to perform a traversal.lorentzModify each UStore entry.lorentz5Collect information about UStore entries into monoid.lorentz"Fill UStore template with entries.  'None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmslorentzApply multiple coverage steps.NlorentzSingle piece of a coverage.lorentzOApply given diff coverage, returning type of affected field and modified diff.lorentzNCover the respective part of diff. Maybe fail if such action is not required.This type is very similar to , 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.OlorentzLift a list of  to s via attaching given .PlorentzLHelper to make sure that datatype field is named and then extract this name.lorentz(Get only field names of UStore template.lorentz>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.lorentzSingle piece of a diff.lorentz%What should happen with a particular  UStoreItem.lorentz)Information about single field of UStore.(None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmNlorentz+Instantiated for documented UStore markers.lorentzSpecifies key encoding.UYou accept description of field name, and should return how is it encoded as key of big_map bytes bytes.lorentz;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.lorentz4UStore template name as it appears in documentation.Should be only 1 word.lorentzDescription of template.lorentz Description of template entries.lorentz6Make a reference to given UStore template description.  )None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmhW%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 d.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.Qlorentz&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  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  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.lorentz 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.lorentz8A bunch of migration atoms produced by migration writer.lorentz*Keeps information about migration between s with two given templates.!lorentzTurn  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 P, coverring required diff step-by-step. All basic instructions work, also use migrate*- functions from this module to operate with .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.)lorentzIGet migration scripts, each to be executed in separate Tezos transaction.*lorentzGet migration scripts as list.+lorentz?Get migration script in case of simple (non-batched) migration.,lorentz?Get migration script in case of simple (non-batched) migration.-lorentz!Get information about each batch..lorentzNumber of stages in migration./lorentzRender migration plan.7 !"#$%&'()*+,-./7 !"',+$%(&)*-./#*None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmwb7lorentzType of batch.8lorentzAddition of any type of data.9lorentzAddition of code.:lorentz*Several joined actions of different types.;lorentz`No information to chooseType about batching. This means that the given action does not contain .<lorentzXPuts 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.Rlorentz Similar to nub:, counts number of invocations and attaches to text entry.nubCounting ["a", "b", "a"]["a (x2)", "b"] 3456789:;< 789:;3456<+None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmSlorentz)Get all fields names accessible in given  template.AlorentzLift 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.Blorentz 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 A/ 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.TlorentzJThis example demostrates a way to run an instruction, operating on small , so that it works on a larger .@ABAB@,None7!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befghkmځ!ElorentzeNewtype 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.Hlorentzvoid! type synonym as described in A1.JlorentzEntry point argument.KlorentzType of result reported via .Llorentzview! type synonym as described in A1.RlorentzwConstraint for updateN that combines kind-agnostic constraint for Lorentz (Haskell) types and for our typed Michelson.Ulorentz$Kind-agnostic constraint for updateNUlorentzxConstraint for replaceN that combines kind-agnostic constraint for Lorentz (Haskell) types and for our typed Michelson.Vlorentz%Kind-agnostic constraint for replaceNWlorentz(Various convenient instructions on maps.XlorentzSpecialized version of .VlorentzInsert given element into map.WlorentzWInsert given element into map, ensuring that it does not overwrite any existing entry.=As first argument accepts container name (for error message).XlorentzDelete element from the map.[lorentzuConstraint for duupX that combines kind-agnostic constraint for Lorentz (Haskell) types and for our typed Michelson.Ylorentz"Kind-agnostic constraint for duupXnlorentzxAnalog 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 , h and e. 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 L 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 w; 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 L constructor.lorentz*Wrap internal representation of view into L itself.L8 is part of public standard and should not change often.lorentzUnwrap L" into its internal representation.L8 is part of public standard and should not change often.lorentz*Wrap internal representation of void into H itself.H8 is part of public standard and should not change often.lorentzUnwrap H" into its internal representation.H8 is part of public standard and should not change often.lorentzPush a value of contract type.Doing this via kH 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.lorentz0Duplicate two topmost items on top of the stack.eEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~e\]a^_`bgefdchmkljinopqrstuvwxyz{|}~[URYZSTPQVWXLMNOHIJKEFG-None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm 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.ZlorentzWhen 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.\lorentzZ with store instantiated to ]..None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm$lorentzPut 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 1$ 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 #, 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 '.278None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm'kO !"#$%&'()*+,-./3456789:;</None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmAlorentz0Declares 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 .alorentzInternal helper for .blorentzInternal helper for .clorentzxTries to map all items in the state and returns those which were mapped successfully; others are retained in the state.  None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmR 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 iflorentzNExplicitly named binary condition, to ensure proper order of stack arguments.lorentz"Provide the compared arguments to if branches.lorentz Aliases for h used by do-blocks.lorentzDefines semantics of if ... then ... else ... construction.lorentzNamed 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.lorentzNamed version of .lorentzNamed version of .lorentzNamed version of .lorentzNamed version of .lorentzNamed version of .lorentzVCondition modifier, makes stack operands of binary comparison to be available within if branches.              4444440None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmo{dlorentz;Helper typeclass which overloads representation for errors.elorentzHError representation with respect to tags being changed to numeric ones.lorentz'Some error with a numeric tag attached.florentzHPseudo error which stands for textual errors converted to numeric codes. lorentzBHandler which changes documentation for one particular error type.!lorentz Errors for  glorentz=Given handler is not suitable, probably another one will fit.hlorentzGGiven 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.ilorentz@Anchor which refers to the section describing error tag mapping.%lorentz:Modify documentation generated for given code so that all X 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 3- 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 3S if some of the errors used in the contract cannot be handled with given handlers.'lorentzHandler for all s.(lorentz Handler for E.jlorentz#Handler for textual error messages.)lorentz3Handlers for most common errors defined in Lorentz.  !"#$%&'() "#$%& !'()9None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmq-./01234567 !"#$%&'()1None7!"#$%&'*,-./012456789;<=>?@AHMNPSUVX_`befgkmklorentz*Helper which documents single constructor.1lorentz0Information to be provided for documenting some : x.2lorentzImplementation for ` of the corresponding  Extensible.3lorentzImplementation for [ of the corresponding  Extensible.4lorentz!Overall description of this type.llorentz1Generic implementation of toExtVal and fromExtValmlorentz?Having a sum-type, yields a type-level list of its constructorsnlorentzTransform list of o s to list of p2s, assigning numbers to elements starting from 0.qlorentz>Finds the constructor's position and argument type by its name5lorentz'Errors related to fromExtVal conversionrlorentzqHelper typeclass which allows us to sanely handle cases of no-arg constructor and constructor with one argument.slorentz3Pack argument on top of the stack, if any required.<lorentzConverts a value from a Haskell representation to its extensible Michelson representation (i.e. (Natural, Bytestring) pair).=lorentzConverts 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.>lorentzGWraps an argument on top of the stack into an Extensible representation123456789:;<=>:;56791234<=>8None7!"#$%&'*,-.012456789;<=>?@ACHMNPSUVX_`befgkmQlorentzDProvides "case" arrow which works on different wrappers for clauses.Rlorentz#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.SlorentzLorentz analogy of t, it works on plain u types.UlorentzShortcut for multiple Y constraints.WlorentzA pair of field name and type.YlorentzLike Z&, but allows constrainting field type.Zlorentz%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.alorentzIMake up a datatype. You provide a pack of individual fields constructors.KEach element of the accepted record should be an instruction wrapped with eT 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.blorentz Version of a+ which accepts tuple of field constructors.clorentz-Construct an object from fields on the stack.dlorentz*Decompose a complex object into its fieldselorentz)Lift an instruction to field constructor.florentz0Wrap entry in constructor. Useful for sum types.glorentz=Wrap entry in single-field constructor. Useful for sum types.hlorentz$Pattern match on the given sum type.You have to provide a 6; containing case branches. To construct a case branch use R operator.ilorentzLike h;, 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.jlorentz?Unwrap a constructor with the given name. Useful for sum types.%)*+,-654abPQRSTUVWXYZ[\]^_`abcdefghij%ZYUWXV[\]^_`abcdefghijPQRSTba654,-+)*R0V02None7!"#$%&'*,-.012456789;<=>?@ACHMNPSUVX_`befgkm -llorentzIConcise 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 ] mlorentz-Indicates a stored entrypoint with the given param and store types.nlorentz2Indicates a submap with given key and value types.olorentz*Provides operations on stored entrypoints.store/ is the storage containing both the entrypoint epName (note: it has to be in a c/ to take advantage of lazy evaluation) and the epStore field this operates on.qlorentz/Datatype containing the full implementation of o 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.)wlorentzType synonym of a c mapping 8 (entrypoint names) to x.*This is useful when defining instances of oS as a storage field containing one or more entrypoints (lambdas) of the same type.xlorentzType synonym for a V" that can be used as an entrypointylorentz*Provides operations on submaps of storage.{lorentz/Datatype containing the full implementation of y 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 Ms.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 o 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 o for a datatype that has a  for an w$ that contains the entrypoint and a , for the field such entrypoint operates on.lorentzImplementation of o for a datatype that has a y% 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 y+ for a data type which has an instance of y= inside. For instance, it can be used for top-level storage.lorentzImplementation of o+ for a data type which has an instance of o= 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 q5 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.vlorentz Utility to push the 8! name of and entrypoint from its 9wlorentzUtility to extract an x from a , fails in case of .xlorentzUtility to set an x< into a store. Fails in case the entrypoint is already set.lorentzUtility to create ws from an entrypoint name (epName ) and an xF 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.lorentzc\ can be used as standalone key-value storage, name of submap is not accounted in this case.:lmnopqrstuvwxyz{|}~:yz{|}~opqrstuvxwnmlm9 n9 3None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmu<None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm[>|}~!'+,AB>~}AB,+!'|None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm\v#lorentz6Provides arror for convenient entrypoint documentationlorentzLift entrypoint implementation.+Entrypoint names should go with "e" prefix.ylorentzTraverse 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.zlorentz*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.lorentzDefault implementation of  for entry points.}lorentzShow what given  does on a sample.lorentzMake 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.lorentz5Go 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.lorentzLike h>, 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 Z instance.lorentz Version of  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 C for contracts with flat parameter, use it when you need only one & all over the contract implementation.This method calls  inside.lorentz6Surrouned a markdown text in a span tag with given id.1;ST1ST;4None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkmlorentz5Generic traversal for conversion between ADT sum and .lorentz1Entry points template derived from given ADT sum.lorentzConstraint required by .lorentz#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.lorentz=An action invoked when user-provided entrypoint is not found.lorentz%Implementations of some entry points.,Note that this thing inherits properties of 6, 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.lorentz"This class is needed to implement .lorentzTurn a into a Haskell value. Since we don't know its type in compile time, we have to erase it using u. The user of this function can require arbitrary constraint to hold (depending on how they want to use the result).lorentzBThis 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.lorentz6A convenient alias for type-level name-something pair.lorentzGAn entrypoint is described by two types: its name and type of argument.lorentz Construct a  safely.lorentz-Helper instruction which extracts content of .lorentzDefault implementation for , simply reports an error.lorentzPattern-match on given UParam entries.bYou have to provide all case branches and a fallback action on case when entrypoint is not found.lorentzLike (, but accepts a tuple of clauses, not a 6.lorentzMake up  from ADT sum.'Entry points template will consist of '(constructorName, constructorFieldType)@ pairs. Each constructor is expected to have exactly one field.lorentz:Note that calling given entrypoints involves constructing . lorentzAllows casts only between  and .None6!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm    $#"!%&'()*+,-./0123654789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZY[\]^_`abcdefghijklnmlopqrstuvwxyz{|}~  !"$%&'()*+,./00;=>?@AB>?GHIJKLSTUVWXYZ[\]^_`abcdefghijklmnwxyz{|}~'((+,-3456789:;<=>?@ABCDEFWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~     *+,-./01234567:;VWXYZ[\]^_`abcdefghi|}~!'+,ABEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()PQRSTUVWXYZ[\]^_`abcdefghijlmnopqrstuvwxyz{|}~    $#"!%&'()*+,-./0123654789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZY[\]^_`abcdefghijklnmlopqrstuvwxyz{|}~  !"$%&'()*+,./0;=>?@ABGHIJKLSTUVWXYZ[\]^_`abcdefghijklmnwxyz{|}~'(+,-3456789:;<=>?@ABCDEFWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~     *+,-./01234567:;VWXYZ[\]^_`abcdefghi|}~!'+,ABEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()PQRSTUVWXYZ[\]^_`abcdefghijlmnopqrstuvwxyz{|}~=None7!"#$%&'*,-.012456789;<=>?@AHMNPSUVX_`befgkm>?@>AB>?C>DE>?F>?G>?H>?I>?J>KLMNOMNP>QR>?S>?TMUVWXY>Z[>\]>^_MU`>\a>\bMUc>^d>^e>Kf>Kghijklm>?nopq>rs>tu>tu>?v>?wxyzo{|}~}~@       !"#$%%&'())*+*,--./0112334456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijk l m n n o p q r s t u v w x x y z { | } ~                                               5                                                                               !"#$%&'()*+,-./.0.1.2.3.4.5.6789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !""#$%&'()*+,-./011223456789:;<=>>?@ABBCCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxy z { | } ~      !!""""""""##7##################$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&&&&&&&&&&&&&&&&&&& & & ' ' ''''''''''''''(((((( (!("(#($(%(&('((()(*(+(,(-(.(/(0)1)1)2)3)4)5)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)V)W)X)X)Y)Z)[)[)\)\)])^)_)`)a)b)c)d)e)f)g)h)i)j)k)l)m)n)o)p)q*r*r*s*t*u*v*w*x*y*z*{*|*}+~++++,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,---- - - - - -------------........ .!.".#.$.%.&.'.(/)/*/+/,/-/.///0/1/2/3/4/5/6/7/8/9/://;<=>?@ABCDEFGHIJKLMNOPQRSTU0V0W0X0Y0Y0Z0[0\0]0^0_0`0a0b0c0d0e0f1g1h1i1j1k1l1m1n1o1p1p1q1r1s1t1u1v1w1x1y1z1{1|1}1~11111122222222222222222222222222222222222222222222222222222222222233     44444444m444 4 4!4"4#4$4%4&4'4(4)4*4+4,4-4.4/4041442434445464748494:4;4<4=4>4?4@4A4B4C4D4E4F4G4H4I4J KLM NOPOQRSTUTVTWTXTYTZ[\T]T^T_`ab"cd[efghLiLjklkmnopqrskt!u"v%w&x>yz>{|'}'~')*++,,,,,----./////0000000111111111MU222444========lorentz-0.6.2-inplaceLorentz.PreludeLorentz.Rebinded Lorentz.ValueLorentz.Constraints.Scopes Lorentz.ADTLorentz.AnnotationLorentz.Entrypoints.Doc Lorentz.DocLorentz.AddressLorentz.Entrypoints.HelpersLorentz.Entrypoints.CoreLorentz.Constraints.Derivative Lorentz.BaseLorentz.Common Lorentz.Ext Lorentz.PackLorentz.PolymorphicLorentz.UStore.CommonLorentzLorentz.Entrypoints.Impl Lorentz.ArithLorentz.WrappableLorentz.Entrypoints.Manual Lorentz.Run Lorentz.PrintLorentz.TestScenario Lorentz.Zip Lorentz.InstrLorentz.ReferencedLorentz.ErrorsLorentz.Util.THLorentz.Errors.Numeric.ContractLorentz.Errors.Common Lorentz.EmptyLorentz.ContractRegistryLorentz.CoercionsLorentz.UStore.TypesLorentz.UStore.TraversalLorentz.UStore.Migration.DiffLorentz.UStore.DocLorentz.UStore.Migration.Base!Lorentz.UStore.Migration.BatchingLorentz.UStore.Lift Lorentz.MacroLorentz.UStore.InstrLorentz.UStore.Migration.BlocksLorentz.UStore.HaskellLorentz.Errors.Numeric.DocLorentz.ExtensibleLorentz.StoreClassLorentz.UStore.InstancesLorentz.UParamNiceParameterFullLorentz.ConstraintsLorentz.EntrypointsLorentz.UStore.MigrationLorentz.Errors.NumericUtil.TypeTuple InstancesLorentz.UStore 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.ProxyProxystimessconcatQconstraints-0.12-219813e80846a99ce76bdb4a8e0b66c26d970340aef6c06b2fe8a5b96699e0aaData.ConstraintwithDictData.Set.InternalSet[data-default-class-0.1.2.0-cd82420962fb1bb36843e51775abe5ffe3c35016e35b1db0a0fccf8ccfb6a31dData.Default.ClassDefaultdefNnamed-0.3.0.1-c213d4c2c01df3dfd493e55bc222296fdaec9c9d140602f3c9de6390e6f03aa3Named.InternalargDefargFarg:!:?Xtext-manipulate-0.2.0.1-0b1092dc65bf581af911191b4232d056cc36b45e84e5aeda1ab3652751fe21faData.Text.ManipulatetoSnaketoPascaltoCamelPuniversum-1.6.1-feb74d29edc41a61b0de06fa402f3d29121212e577bc6fc320dbebeb8a0f5a01Universum.TypeOpsUniversum.Debug undefinederrorMvinyl-0.12.1-7eed6fcae264e50bba3530560fb2a8e8cadbc76c371a4c09876689da9126d803Data.Vinyl.Core:&RNilRecmorley-1.7.1-inplaceMichelson.TextmtMText Util.LabelLabelMichelson.Typed.Annotation insertTypeAnnMichelson.Typed.ExtractmkUTypeMichelson.Typed.Haskell.DocconcreteTypeDocHaskellRepconcreteTypeDocHaskellRepUnsafeconcreteTypeDocMichelsonRep!concreteTypeDocMichelsonRepUnsafecustomTypeDocMdReferencedTypeDepgenericTypeDocDependencieshaskellAddNewtypeFieldhaskellRepNoFieldshaskellRepStripFieldPrefixhomomorphicTypeDocHaskellRephomomorphicTypeDocMdReferencehomomorphicTypeDocMichelsonReppoly1TypeDocMdReferencepoly2TypeDocMdReferenceMichelson.Typed.Haskell.ValuecoerceContractRefMichelson.Untyped.Entrypoints DefEpNameMichelson.Typed.Aliases OperationValueMichelson.Typed.Entrypoints EpAddress eaAddress eaEntrypointDTypeHaveCommonTypeCtor IsHomomorphicSomeTypeWithDocTypeDocFieldDescriptions TypeHasDoctypeDocDependenciestypeDocHaskellReptypeDocMdDescriptiontypeDocMdReferencetypeDocMichelsonRep typeDocName%Michelson.Typed.Haskell.Instr.ProductConstructorFieldTypesInstrConstructCBigMapunBigMap ContractRef crAddress crEntrypointEntrypointCallIsoValueToTfromValtoValSomeEntrypointCallWellTypedIsoValueEpName Tezos.AddressAddress Tezos.CoreChainId Tezos.CryptoKeyHashMutez PublicKey Signature TimestamponeMuteztimestampFromSecondstimestampFromUTCTimetimestampQuotetoMutez zeroMutezGHasAnnotationgGetAnnotation HasAnnotation getAnnotation annOptionsGenerateFieldAnnFlagGenerateFieldAnnNotGenerateFieldAnnFollowEntrypointFlagFollowEntrypointNotFollowEntrypoint AnnOptionsfieldAnnModifierdefaultAnnOptionsdropPrefixThenappendToctorNameToAnnWithOptionsgGetAnnotationNoField$fGHasAnnotation:*:$fGHasAnnotation:+:$fGHasAnnotationM1$fGHasAnnotationM10$fGHasAnnotationM11$fGHasAnnotationM12$fGHasAnnotationU1 Michelson.Doc SomeDocItem DocGroupingcontractDocToMarkdowndocDefinitionRefdocItemPosition mdTocFromRefmkDGitRevisionmorleyRepoSettingssubDocToMarkdown ContractDoc cdContentscdDefinitionIds cdDefinitionscdDefinitionsSetDAnchorDComment DDescription DGitRevisionDGitRevisionKnownDGitRevisionUnknownDocElemdeItemdeSubDocItemDocItemPlacementDocItemReferenceddocItemDependencies docItemPos docItemRefdocItemSectionDescriptiondocItemSectionNamedocItemSectionNameStyledocItemToMarkdown docItemToToc docItemsOrder DocItemIdDocItemPlacementKindDocItemInDefinitionsDocItemInlined DocItemPos DocItemRef DocItemNoRefDocItemRefInlined DocSectionDocSectionNameStyleDocSectionNameBigDocSectionNameSmallGitRepoSettingsgrsMkGitRevisionSomeDocDefinitionItemSubDoc Util.MarkdownMarkdown$fGHasAnnotationK1$fHasAnnotation(,,,,,,)$fHasAnnotation(,,,,,)$fHasAnnotation(,,,,)$fHasAnnotation(,,,)$fHasAnnotation(,,)$fHasAnnotation(,)$fHasAnnotationOperation'$fHasAnnotation[]$fHasAnnotationSet$fHasAnnotationBigMap$fHasAnnotationMap$fHasAnnotationContractRef$fHasAnnotationSignature$fHasAnnotationPublicKey$fHasAnnotationTimestamp$fHasAnnotationKeyHash$fHasAnnotationEpAddress$fHasAnnotationAddress$fHasAnnotationMutez$fHasAnnotationByteString$fHasAnnotationBool$fHasAnnotationMText$fHasAnnotationNatural$fHasAnnotationInteger$fHasAnnotation()$fHasAnnotationMaybe$fHasAnnotationNamedF$fHasAnnotationNamedF0NiceComparableNicePrintedValueNiceFullPackedValueNiceUnpackedValueNicePackedValue NiceConstant NiceStorage NiceParameter CanHaveBigMapNoBigMapNoContractType NoOperation KnownValueniceParameterEviniceStorageEviniceConstantEvinicePackedValueEviniceUnpackedValueEvinicePrintedValueEvi $fKnownValuea$fNoOperationa$fNoContractTypea $fNoBigMapa$fCanHaveBigMapaRequireSumTypeCanHaveEntrypointsShouldHaveEntrypointsunHasEntrypoints ctorNameToAnn ctorNameToEp$fGenericShouldHaveEntrypoints$fIsoValueShouldHaveEntrypointsEpdNoneParameterContainsEntrypoints:>HasEntrypointOfType TrustEpNameHasDefEntrypointArgHasEntrypointArguseHasEntrypointArgGetEntrypointArgCustomNiceEntrypointName EntrypointRef CallDefaultCallNoExplicitDefaultEntrypointForbidExplicitDefaultEntrypointGetDefaultEntrypointArgGetEntrypointArgLookupParameterEntrypointAllParameterEntrypointsGetParameterEpDerivationParameterDeclaresEntrypointsParameterHasEntrypointsParameterEntrypointsDerivation EpCallingStep EpsWrapIn EpCallingDescepcdArgepcdEntrypoint epcdStepsEpConstructionRes EpConstructedEpConstructionFailedRequireAllUniqueEntrypointsRequireAllUniqueEntrypoints'EntrypointsDerivationEpdAllEntrypointsEpdLookupEntrypointepdNotesepdCallepdDescspepNotespepCallpepDescspepDescsWithDefparameterEntrypointsToNotesparameterEntrypointCallparameterEntrypointCallDefaultsepcCallRootCheckedeprNameparameterEntrypointCallCustom#$fHasEntrypointArgkcpTrustEpNamearg$$fEntrypointsDerivationTYPEEpdNonecp($fHasEntrypointArgTYPEcpEntrypointRefarg$fShowEpCallingStep$fEqEpCallingStep$fShowEpCallingDescMapLorentzInstrmapLorentzInstrLambda&SomeContractCode ContractCode ContractOut%>:-> LorentzInstrunLorentzInstrFII iGenericIfiAnyCodeiNonFailingCode iMapAnyCode iForceNotFailiWithVarAnnotations###parseLorentzValuetransformStringsLorentztransformBytesLorentzoptimizeLorentzWithConfoptimizeLorentz $fMonoid:->$fSemigroup:->$fBuildableParseLorentzError$fMapLorentzInstr:-> $fShow:->$fEq:->$fShowParseLorentzError$fEqParseLorentzError Entrypoint_ EntrypointFromContractReffromContractRef ToContractRef toContractRef ToTAddress toTAddress ToAddress toAddressFutureContractunFutureContract ToTAddress_TAddress unTAddresscallingTAddresscallingDefTAddress toTAddress_convertContractRef$fHasAnnotationFutureContract$fIsoValueFutureContract$fToAddressContractRef$fToAddressFutureContract$fToAddressTAddress$fToAddressEpAddress$fToAddressAddress$fToTAddresscpTAddress$fToTAddresscpAddress$fToContractRefargTAddress$fToContractRefcpFutureContract$fToContractRefcpContractRef$fFromContractRefcpAddress$fFromContractRefcpEpAddress!$fFromContractRefcpFutureContract$fFromContractRefcpContractRef$fGenericTAddress$fIsoValueTAddress$fHasAnnotationTAddressstackRef printComment testAssert stackType lPackValue lUnpackValue lEncodeValuevalueToScriptExprexpressionToScriptExprEDivOpHs 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$fEDivOpHsIntegerIntegerfieldNameToMTextUtil.CustomGenericcstr customGenericfld leftBalancedleftComb rightBalanced rightComb withDepthsList BuildEPTreeEPTreeEPNodeEPLeaf EPDelegatePlainEntrypointsC EpdWithRoot EpdDelegate EpdRecursiveEpdPlain $fGEntrypointsNotesmodeEPLeaf:*:$fGEntrypointsNotesmodeEPLeafU1*$fGEntrypointsNotesEpdDelegateEPDelegateK1$fGEntrypointsNotesmodeepM1$fGEntrypointsNotesmodeEPNodeM1 $fGEntrypointsNotesmodeEPNode:+:$fGEntrypointsNotesmodeepM10#$fGEntrypointsNotesEpdRecursiveepK1($fEntrypointsDerivationTYPEEpdWithRootcp($fEntrypointsDerivationTYPEEpdDelegatecp)$fEntrypointsDerivationTYPEEpdRecursivecp%$fEntrypointsDerivationTYPEEpdPlaincp#$fGEntrypointsNotesmodeEPDelegateM1$fGEntrypointsNotesmodeEPLeafM1UnaryArithOpHsUnaryArithResHs 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 Wrappable Unwrappable$fWrappableNamedF$fWrappableNamedF0ParameterWrapperunParameterWraper)$fParameterHasEntrypointsParameterWrapper2$fEntrypointsDerivationTYPEPwDerivParameterWrapper$fGenericParameterWrapper$fIsoValueParameterWrapper$fWrappableParameterWrapperContractcCodecDisableInitialCastcCompilationOptionsCompilationOptionscoOptimizerConfcoStringTransformercoBytesTransformerdefaultCompilationOptionscompileLorentzcompileLorentzWithOptionsdefaultContractcompileLorentzContractinterpretLorentzInstrinterpretLorentzLambdaanalyzeLorentzprintLorentzValueprintLorentzContract TestScenarioshowTestScenario$fGenericParameter$fIsoValueParameter ZipInstrsZipInstr ZippedStackzipInstr unzipInstr zippingStackunzippingStack$fHasAnnotation:-> $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[]dipInpdipOutoutDEntrypointExampledocdocGroup docStorage contractNamebuildLorentzDoccontractGeneralcontractGeneralDefaultbuildLorentzDocWithGitRevrenderLorentzDocrenderLorentzDocWithGitRevcutLorentzNonDocmkDEntrypointExample$fTypeHasDoc:->$fDocItemDEntrypointExampleDThrowsDErrorCustomErrorHasDoccustomErrDocMdCausecustomErrDocMdCauseInEntrypointcustomErrClasscustomErrArgumentSemantics ErrorClassErrClassActionExceptionErrClassBadArgumentErrClassContractInternalErrClassUnknownRequireNoArgError CustomErrorceTagceArgErrorArg SomeErrorUnspecifiedError ErrorHasDocErrorRequirements errorDocNameerrorDocMdCauseerrorDocMdCauseInEntrypointerrorDocHaskellRep errorDocClasserrorDocDependencieserrorDocRequirementsIsError errorToVal errorFromVal ErrorScope isoErrorToValisoErrorFromVal failUsingfailUnexpectedcustomErrorDocHaskellRepGeneralerrorTagToMTexterrorTagToText failCustom failCustom_ typeDocMdDescriptionReferToError$fShow->$fEq->$fIsoValueCustomError$fBuildableErrorClass$fReadErrorClass$fErrorHasDoc->$fErrorHasDocUnspecifiedError$fErrorHasDoc()$fErrorHasDocMText $fIsError->$fIsErrorUnspecifiedError $fIsError()$fIsErrorMText$fShowSomeError$fBuildableSomeError $fEqSomeError$fErrorHasDocCustomError$fIsErrorCustomError$fDocItemDError $fOrdDError $fEqDError$fDocItemDThrows $fEqDThrows$fGenericUnspecifiedError$fIsoValueUnspecifiedError$fLiftErrorClass$fShowCustomError$fEqCustomError entrypointDocerrorDoctypeDocErrorTagExclusions ErrorTagMapgatherErrorTagsaddNewErrorTagsbuildErrorTagMapexcludeErrorTagsapplyErrorTagMapapplyErrorTagMapWithExclusionsuseNumericErrorserrorFromValNumericerrorToValNumeric%$fCustomErrorHasDoc"senderIsNotAdmin"$fBuildableCustomErrorEmptyabsurd_"$fCustomErrorHasDoc"emptySupplied"$fTypeHasDocEmpty$fGenericEmpty$fIsoValueEmpty$fHasAnnotationEmpty CmdLnArgsPrintDocumentAnalyze PrintStorageContractRegistryunContractRegistry ContractInfo ciContractciIsDocumentedciStorageParserciStorageNotes?::printContractFromRegistryDoc argParserrunContractRegistry$fBuildableContractRegistry Coercible_ Castable_ 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[][]$fCanCastTokkaaPickMarkedFieldsGetUStoreFieldMarkerGetUStoreFieldGetUStoreValue GetUStoreKey GetUStoreFSMarkerFSValueMSValueMSKey ElemSignature MapSignatureFieldSignatureKnownUStoreMarkerShowUStoreFieldmkFieldMarkerUKeyUStoreSubmapKeyTUStoreSubmapKeyUMarkerPlainField UStoreFieldUStoreMarkerTypeUStoreFieldExt unUStoreField|~> UStoreSubMapunUStoreSubMapUStoreunUStoremkFieldMarkerUKeyL mkFieldUKey$$fKnownUStoreMarkerUMarkerPlainField $fEqUStore $fShowUStore$fGenericUStore$fDefaultUStore$fSemigroupUStore$fMonoidUStore$fIsoValueUStore$fMemOpHsUStore$fGetOpHsUStore$fUpdOpHsUStore$fHasAnnotationUStore$fWrappableUStore $fShow|~>$fEq|~> $fDefault|~>$fArbitrary|~>$fShowUStoreFieldExt$fEqUStoreFieldExt$fArbitraryUStoreFieldExtUStoreTraversableUStoreTraversalSubmapHandlerustoreTraversalSubmapHandlerUStoreTraversalFieldHandlerustoreTraversalFieldHandlerUStoreTraversalWayUStoreTraversalArgumentWrapperUStoreTraversalMonadtraverseUStore modifyUStore foldUStore genUStore$fGUStoreTraversablewayM1$fGUStoreTraversablewayM10$fGUStoreTraversablewayU1$fGUStoreTraversableway:*:$fGUStoreTraversablewayV1$fGUStoreTraversableway:+:$fGUStoreTraversablewayM11$fGUStoreTraversablewayM12$fGUStoreTraversablewayM13 CoverDiffMany CoverDiff DiffCoverageDcAddDcRemoveRequireEmptyDiffShowDiff BuildDiffAllUStoreFieldsFLinearizeUStoreFLinearizeUStoreDiffItemDiffKindToAddToDel FieldInfo DocumentTWDUStoreTemplateUStoreMarkerHasDocustoreMarkerKeyEncodingUStoreTemplateHasDocustoreTemplateDocNameustoreTemplateDocDescriptionustoreTemplateDocContentsustoreTemplateDocDependenciesdUStoreTemplateRef%$fUStoreMarkerHasDocUMarkerPlainField$fMonoidDocCollector$fSemigroupDocCollector*$fUStoreTraversalSubmapHandlerDocumentTWkv.$fUStoreTraversalFieldHandlerDocumentTWmarkerv$fUStoreTraversalWayDocumentTW$fUStoreTemplateHasDoc()$fDocItemDUStoreTemplate$fOrdDUStoreTemplate$fEqDUStoreTemplate$fTypeHasDocUStore MigrationAtommaNamemaScript maActionsDescDMigrationActionDesc manActionmanField manFieldTypeDMigrationActionType DAddAction DDelActionMigrationScript_MigrationScriptToMigrationScriptFromMigrationScriptunMigrationScriptUStore_ SomeUTemplatemanualWithOldUStoremanualWithNewUStoremanualMapMigrationScriptmanualConcatMigrationScriptsattachMigrationActionName#$fUStoreTemplateHasDocSomeUTemplate$fCanCastToTYPETYPEUStoreUStore1$fCanCastToTYPETYPEMigrationScriptMigrationScript$fTypeHasDocMigrationScript$fBuildableDMigrationActionType$fDocItemDMigrationActionDesc$fShowMigrationScript$fGenericMigrationScript$fIsoValueMigrationScript$fHasAnnotationMigrationScript$fWrappableMigrationScript$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 unwrapVoidaddressToEpAddresspushContractRefdupTop2 $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$fHasAnnotationView$fGenericVoid_ $fShowVoid_$fHasAnnotationVoid_$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$fOrdDDescribeErrorTagMapExtensibleHasDocextensibleDocNameextensibleDocDependenciesextensibleDocMdDescriptionExtConversionErrorConstructorIndexNotFoundArgumentUnpackFailedWrapExtCExtVal ExtensibletoExtVal fromExtValwrapExt$fWrapExtNoFields$fWrapExtOneField$fBuildableExtConversionError$fGExtValkt:+:$fGExtValTYPEtM1$fGExtValTYPEtM10 $fGExtValktM1$fTypeHasDocExtensible$fDocumentCtorCtor$fGenericExtensible$fEqExtensible$fShowExtensible$fIsoValueExtensible$fHasAnnotationExtensible$fWrappableExtensible$fEqExtConversionError$fShowExtConversionErrorCaseTC CaseArrow/-> CaseClauseLHasFieldsOfType:= NamedFieldHasFieldOfTypeHasFieldtoField toFieldNamedgetField getFieldNamedsetField modifyField construct constructTconstructStack deconstruct fieldCtorwrap_wrapOnecase_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$fStoreHasFieldUStorefnameftypeRequireFlatEpDerivationRequireFlatParamEps EntryArrow#->DocumentEntrypointsDeriveCtorFieldDocderiveCtorFieldDocDEntrypointArgepaArg epaBuildingepaTypeParamBuildingStep PbsWrapInPbsCallEntrypoint PbsCustom PbsUncallableParamBuildingDesc pbdEnglish pbdHaskell pbdMichelson ParamBuilderunParamBuilderDEntrypointReferencePlainEntrypointsKind DEntrypointdepNamedepSubdiEntrypointToMarkdown mkPbsWrapInconstructDEpArg emptyDEpArg mkDEpUTypemkDEntrypointArgSimpleclarifyParamBuildingSteps entryCase_ entryCasedocumentEntrypointfinalizeParamCallingDocareFinalizedParamBuildingStepsentryCaseSimple_entryCaseSimple$fDocItemDEntrypoint$fOrdDEntrypoint$fEqDEntrypoint$fShowDEntrypoint$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$fCanCastToTYPETYPEUParamUParam$fBuildableConstrainedSome$fShowConstrainedSome$fCaseArrowname'bodyCaseClauseU $fBuildableEntrypointLookupError$fUnpackUParamc:$fUnpackUParamc[] $fCaseUParam:$fCaseUParam[]$fGUParamLinearizeM1$fGUParamLinearizeM10$fGUParamLinearizeM11$fGUParamLinearize:+:$fGUParamLinearizeM12$fGenericUParam $fEqUParam $fShowUParam$fIsoValueUParam$fHasAnnotationUParam$fWrappableUParam$fGenericEntrypointLookupError$fEqEntrypointLookupError$fShowEntrypointLookupErrorNamedEpMichelson.Typed.ArithOrParseLorentzErrorMichelson.PreprocesstransformStringstransformBytesMorley.Micheline.Expression ExpressionMichelson.Typed.PolymorphicEDivOpSliceOpConcatOpGetOpUpdOpSizeOpMichelson.Typed.TTIterOpMapOpMemOpKeyGEntrypointsNotesEntrypointsNotesgMkEntrypointsNotesAllEntrypointsNotesTOrmkEntrypointsNotesmkEpLiftSequence mkEpDescs UnaryArithOpArithOpMichelson.Typed.InstrCONTRACTSELFDipTDupTDGeneralInfoSectionCustomErrorReppickFirstSentenceerrorsDocumentationFAILWITHD:R:ErrorArg"senderIsNotAdmin"D:R:ErrorArg"emptySupplied" UStoreMarkerGUStoreTraversableData.Functor.IdentityIdentityData.Functor.ConstConstDiffCoverageItem LiftToDiffRequireFieldNamemanualWithUStore nubCounting UStoreFields_sampleWithMyStoreUpdateNConstraint'ReplaceNConstraint' MapInstrs mapUpdateDuupXConstraint'_sample7MyStoreTemplate _sample7'MyStoreTemplateBigRequireBeInitial UStoreContentmkUStoreInternalstoreDecomposeInternalfillUStoreInternalmapMaybesStateErrorHasNumericDocnumericErrorDocHaskellRepNumericTextErrorEheNotApplicableEheConversionUnnecessarydDescribeErrorTagMapAnchortextErrorDocHandler DocumentCtorGExtVal GGetCtorsEnumerateCtorsCtorKindCtor LookupCtorWrapExt packForWrap!Michelson.Typed.Haskell.Instr.Sum CaseClauseTypepushStEpsomeStEpsetStEpGDocumentEntrypointsgDocumentEntrypointsdocumentEntrypoints CtorFieldpbSamplemodifyParamBuildingStepsmdAddIdGUParamLinearizecaseUParamUnsafe CaseClauseUversion getBinDir getLibDir getDynLibDir getDataDir getLibexecDir getSysconfDirgetDataFileName