package tezos-protocol-001-PtCJ7pwo

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type prim = Michelson_v1_primitives.prim =
  1. | K_parameter
  2. | K_storage
  3. | K_code
  4. | D_False
  5. | D_Elt
  6. | D_Left
  7. | D_None
  8. | D_Pair
  9. | D_Right
  10. | D_Some
  11. | D_True
  12. | D_Unit
  13. | I_PACK
  14. | I_UNPACK
  15. | I_BLAKE2B
  16. | I_SHA256
  17. | I_SHA512
  18. | I_ABS
  19. | I_ADD
  20. | I_AMOUNT
  21. | I_AND
  22. | I_BALANCE
  23. | I_CAR
  24. | I_CDR
  25. | I_CHECK_SIGNATURE
  26. | I_COMPARE
  27. | I_CONCAT
  28. | I_CONS
  29. | I_CREATE_ACCOUNT
  30. | I_CREATE_CONTRACT
  31. | I_IMPLICIT_ACCOUNT
  32. | I_DIP
  33. | I_DROP
  34. | I_DUP
  35. | I_EDIV
  36. | I_EMPTY_MAP
  37. | I_EMPTY_SET
  38. | I_EQ
  39. | I_EXEC
  40. | I_FAILWITH
  41. | I_GE
  42. | I_GET
  43. | I_GT
  44. | I_HASH_KEY
  45. | I_IF
  46. | I_IF_CONS
  47. | I_IF_LEFT
  48. | I_IF_NONE
  49. | I_INT
  50. | I_LAMBDA
  51. | I_LE
  52. | I_LEFT
  53. | I_LOOP
  54. | I_LSL
  55. | I_LSR
  56. | I_LT
  57. | I_MAP
  58. | I_MEM
  59. | I_MUL
  60. | I_NEG
  61. | I_NEQ
  62. | I_NIL
  63. | I_NONE
  64. | I_NOT
  65. | I_NOW
  66. | I_OR
  67. | I_PAIR
  68. | I_PUSH
  69. | I_RIGHT
  70. | I_SIZE
  71. | I_SOME
  72. | I_SOURCE
  73. | I_SENDER
  74. | I_SELF
  75. | I_STEPS_TO_QUOTA
  76. | I_SUB
  77. | I_SWAP
  78. | I_TRANSFER_TOKENS
  79. | I_SET_DELEGATE
  80. | I_UNIT
  81. | I_UPDATE
  82. | I_XOR
  83. | I_ITER
  84. | I_LOOP_LEFT
  85. | I_ADDRESS
  86. | I_CONTRACT
  87. | I_ISNAT
  88. | I_CAST
  89. | I_RENAME
  90. | T_bool
  91. | T_contract
  92. | T_int
  93. | T_key
  94. | T_key_hash
  95. | T_lambda
  96. | T_list
  97. | T_map
  98. | T_big_map
  99. | T_nat
  100. | T_option
  101. | T_or
  102. | T_pair
  103. | T_set
  104. | T_signature
  105. | T_string
  106. | T_bytes
  107. | T_mutez
  108. | T_timestamp
  109. | T_unit
  110. | T_operation
  111. | T_address
type location = int
type annot = string list
type expr = prim Tezos_micheline.Micheline.canonical
type lazy_expr = expr Tezos_base__TzPervasives.Data_encoding.lazy_t
val lazy_expr : expr -> lazy_expr
type node = (location, prim) Tezos_micheline.Micheline.node
type t = {
  1. code : lazy_expr;
  2. storage : lazy_expr;
}
val location_encoding : location Tezos_base__TzPervasives.Data_encoding.t
val expr_encoding : expr Tezos_base__TzPervasives.Data_encoding.t
val prim_encoding : prim Tezos_base__TzPervasives.Data_encoding.t
val encoding : t Tezos_base__TzPervasives.Data_encoding.t
val lazy_expr_encoding : lazy_expr Tezos_base__TzPervasives.Data_encoding.t
val deserialized_cost : expr -> Gas.cost
val serialized_cost : Tezos_protocol_environment_structs.V0.M.MBytes.t -> Gas.cost
val traversal_cost : node -> Gas.cost
val node_cost : node -> Gas.cost
val int_node_cost : Z.t -> Gas.cost
val int_node_cost_of_numbits : int -> Gas.cost
val string_node_cost : string -> Gas.cost
val string_node_cost_of_length : int -> Gas.cost
val bytes_node_cost : Tezos_protocol_environment_structs.V0.M.MBytes.t -> Gas.cost
val bytes_node_cost_of_length : int -> Gas.cost
val prim_node_cost_nonrec : expr list -> annot -> Gas.cost
val prim_node_cost_nonrec_of_length : int -> annot -> Gas.cost
val seq_node_cost_nonrec : expr list -> Gas.cost
val seq_node_cost_nonrec_of_length : int -> Gas.cost
val minimal_deserialize_cost : lazy_expr -> Gas.cost
val force_decode : context -> lazy_expr -> (expr * context, Tezos_protocol_environment_001_PtCJ7pwo__Environment.Error_monad.error list) Stdlib.result Lwt.t
val force_bytes : context -> lazy_expr -> (Tezos_protocol_environment_structs.V0.M.MBytes.t * context, Tezos_protocol_environment_001_PtCJ7pwo__Environment.Error_monad.error list) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.