package octez-protocol-016-PtMumbai-libs
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
    
    
  sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053
    
    
  doc/octez-protocol-016-PtMumbai-libs.client/Tezos_client_016_PtMumbai/Annotated_manager_operation/index.html
Module Tezos_client_016_PtMumbai.Annotated_manager_operationSource
Annotated manager operations are wrappers used to accumulate information (especially about limits) on the operation prior to the injection.
type _ t = - | Manager_info : {- source : Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.public_key_hash option;
- fee : Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.Tez.t Limit.t;
- gas_limit : Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.Gas.Arith.integral Limit.t;
- storage_limit : Z.t Limit.t;
- counter : Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.Manager_counter.t option;
- operation : 'kind Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.manager_operation;
 - } -> 'kind t
type _ annotated_list = - | Single_manager : 'kind t -> 'kind annotated_list
- | Cons_manager : 'kind t * 'rest annotated_list -> ('kind * 'rest) annotated_list
The annotated_list type helps making contents_list from a list of manager_operations. Its construction mimics contents_list in order to keep consistent types when calling inject_manager_operation and inject_operation.
Convert a list of annotated operations to a list of packed annotated operations
Converse of manager_to_list
val join_fee : 
  Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.Tez.t Limit.t ->
  'a t ->
  'a t Tezos_base.TzPervasives.tzresultjoin_fee fee op updates op.fee to Limit.join op.fee fee and fails if the join fails
val set_fee : 
  Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.Tez.t Limit.t ->
  'a t ->
  'a tset_fee fee op updates op.fee to fee
val join_gas_limit : 
  Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.Gas.Arith.integral Limit.t ->
  'a t ->
  'a t Tezos_base.TzPervasives.tzresultSee join_fee
val set_gas_limit : 
  Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.Gas.Arith.integral Limit.t ->
  'a t ->
  'a tSee set_fee
See join_fee
val set_counter : 
  Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.Manager_counter.t ->
  'a t ->
  'a t Tezos_base.TzPervasives.tzresultSet the counter of the annotated operation. Fail if the counter is already set.
val set_source : 
  Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.public_key_hash ->
  'a t ->
  'a t Tezos_base.TzPervasives.tzresultSet the source of the operation. Fail if the source is already set.
val manager_from_annotated : 
  'a t ->
  'a Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.Kind.manager
    Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.contents
    Tezos_base.TzPervasives.tzresultConvert an annotated manager operation to a proper manager operation. Fail if some fields in the annotated operation are not set.
val manager_list_from_annotated : 
  'kind annotated_list ->
  'kind Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.Kind.manager
    Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.contents_list
    Tezos_base.TzPervasives.tzresult