package tezos-protocol-012-Psithaca
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  Tezos/Protocol: economic-protocol definition
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      tezos-17.3.tar.gz
    
    
        
    
  
  
  
    
  
  
    
  
        sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
    
    
  sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc
    
    
  doc/tezos-protocol-012-Psithaca.raw/Tezos_raw_protocol_012_Psithaca/Apply_results/index.html
Module Tezos_raw_protocol_012_Psithaca.Apply_resultsSource
Types representing results of applying an operation.
These are used internally by Apply, and can be used for experimenting with protocol updates, by clients to print out a summary of the operation at pre-injection simulation and at confirmation time, and by block explorers.
Result of applying a Operation.t. Follows the same structure.
Source
and packed_operation_metadata = - | Operation_metadata : 'kind operation_metadata -> packed_operation_metadata
- | No_operation_metadata : packed_operation_metadata
Source
and 'kind contents_result_list = - | Single_result : 'kind contents_result -> 'kind contents_result_list
- | Cons_result : 'kind Alpha_context.Kind.manager contents_result * 'rest Alpha_context.Kind.manager contents_result_list -> ('kind * 'rest) Alpha_context.Kind.manager contents_result_list
Result of applying a Operation.contents_list. Follows the same structure.
Source
and packed_contents_result_list = - | Contents_result_list : 'kind contents_result_list -> packed_contents_result_list
Source
and 'kind contents_result = - | Preendorsement_result : {- balance_updates : Alpha_context.Receipt.balance_updates;
- delegate : Tezos_protocol_environment_012_Psithaca.Signature.Public_key_hash.t;
- preendorsement_power : int;
 - } -> Alpha_context.Kind.preendorsement contents_result
- | Endorsement_result : {- balance_updates : Alpha_context.Receipt.balance_updates;
- delegate : Tezos_protocol_environment_012_Psithaca.Signature.Public_key_hash.t;
- endorsement_power : int;
 - } -> Alpha_context.Kind.endorsement contents_result
- | Seed_nonce_revelation_result : Alpha_context.Receipt.balance_updates -> Alpha_context.Kind.seed_nonce_revelation contents_result
- | Double_endorsement_evidence_result : Alpha_context.Receipt.balance_updates -> Alpha_context.Kind.double_endorsement_evidence contents_result
- | Double_preendorsement_evidence_result : Alpha_context.Receipt.balance_updates -> Alpha_context.Kind.double_preendorsement_evidence contents_result
- | Double_baking_evidence_result : Alpha_context.Receipt.balance_updates -> Alpha_context.Kind.double_baking_evidence contents_result
- | Activate_account_result : Alpha_context.Receipt.balance_updates -> Alpha_context.Kind.activate_account contents_result
- | Proposals_result : Alpha_context.Kind.proposals contents_result
- | Ballot_result : Alpha_context.Kind.ballot contents_result
- | Manager_operation_result : {- balance_updates : Alpha_context.Receipt.balance_updates;
- operation_result : 'kind manager_operation_result;
- internal_operation_results : packed_internal_operation_result list;
 - } -> 'kind Alpha_context.Kind.manager contents_result
Result of applying an Operation.contents. Follows the same structure.
Source
and packed_contents_result = - | Contents_result : 'kind contents_result -> packed_contents_result
Source
and 'kind manager_operation_result = - | Applied of 'kind successful_manager_operation_result
- | Backtracked of 'kind successful_manager_operation_result * Tezos_protocol_environment_012_Psithaca.Error_monad.error Tezos_protocol_environment_012_Psithaca.Error_monad.trace option
- | Failed : 'kind Alpha_context.Kind.manager * Tezos_protocol_environment_012_Psithaca.Error_monad.error Tezos_protocol_environment_012_Psithaca.Error_monad.trace -> 'kind manager_operation_result
- | Skipped : 'kind Alpha_context.Kind.manager -> 'kind manager_operation_result
The result of an operation in the queue. Skipped ones should always be at the tail, and after a single Failed.
Source
and _ successful_manager_operation_result = - | Reveal_result : {- consumed_gas : Alpha_context.Gas.Arith.fp;
 - } -> Alpha_context.Kind.reveal successful_manager_operation_result
- | Transaction_result : {- storage : Alpha_context.Script.expr option;
- lazy_storage_diff : Alpha_context.Lazy_storage.diffs option;
- balance_updates : Alpha_context.Receipt.balance_updates;
- originated_contracts : Alpha_context.Contract.t list;
- consumed_gas : Alpha_context.Gas.Arith.fp;
- storage_size : Tezos_protocol_environment_012_Psithaca.Z.t;
- paid_storage_size_diff : Tezos_protocol_environment_012_Psithaca.Z.t;
- allocated_destination_contract : bool;
 - } -> Alpha_context.Kind.transaction successful_manager_operation_result
- | Origination_result : {- lazy_storage_diff : Alpha_context.Lazy_storage.diffs option;
- balance_updates : Alpha_context.Receipt.balance_updates;
- originated_contracts : Alpha_context.Contract.t list;
- consumed_gas : Alpha_context.Gas.Arith.fp;
- storage_size : Tezos_protocol_environment_012_Psithaca.Z.t;
- paid_storage_size_diff : Tezos_protocol_environment_012_Psithaca.Z.t;
 - } -> Alpha_context.Kind.origination successful_manager_operation_result
- | Delegation_result : {- consumed_gas : Alpha_context.Gas.Arith.fp;
 - } -> Alpha_context.Kind.delegation successful_manager_operation_result
- | Register_global_constant_result : {- balance_updates : Alpha_context.Receipt.balance_updates;
- consumed_gas : Alpha_context.Gas.Arith.fp;
- size_of_constant : Tezos_protocol_environment_012_Psithaca.Z.t;
- global_address : Script_expr_hash.t;
 - } -> Alpha_context.Kind.register_global_constant successful_manager_operation_result
- | Set_deposits_limit_result : {- consumed_gas : Alpha_context.Gas.Arith.fp;
 - } -> Alpha_context.Kind.set_deposits_limit successful_manager_operation_result
Result of applying a manager_operation_content, either internal or external.
Source
and packed_successful_manager_operation_result = - | Successful_manager_result : 'kind successful_manager_operation_result -> packed_successful_manager_operation_result
Source
and packed_internal_operation_result = - | Internal_operation_result : 'kind Alpha_context.internal_operation * 'kind manager_operation_result -> packed_internal_operation_result
Source
val pack_migration_operation_results : 
  Alpha_context.Migration.origination_result list ->
  packed_successful_manager_operation_result listSource
val operation_metadata_encoding : 
  packed_operation_metadata
    Tezos_protocol_environment_012_Psithaca.Data_encoding.tSerializer for packed_operation_result.
Source
val operation_data_and_metadata_encoding : 
  (Alpha_context.Operation.packed_protocol_data * packed_operation_metadata)
    Tezos_protocol_environment_012_Psithaca.Data_encoding.tSource
type 'kind contents_and_result_list = - | Single_and_result : 'kind Alpha_context.contents * 'kind contents_result -> 'kind contents_and_result_list
- | Cons_and_result : 'kind Alpha_context.Kind.manager Alpha_context.contents * 'kind Alpha_context.Kind.manager contents_result * 'rest Alpha_context.Kind.manager contents_and_result_list -> ('kind * 'rest) Alpha_context.Kind.manager contents_and_result_list
Source
type packed_contents_and_result_list = - | Contents_and_result_list : 'kind contents_and_result_list -> packed_contents_and_result_list
Source
val contents_and_result_list_encoding : 
  packed_contents_and_result_list
    Tezos_protocol_environment_012_Psithaca.Data_encoding.tSource
val pack_contents_list : 
  'kind Alpha_context.contents_list ->
  'kind contents_result_list ->
  'kind contents_and_result_listSource
val unpack_contents_list : 
  'kind contents_and_result_list ->
  'kind Alpha_context.contents_list * 'kind contents_result_listSource
val kind_equal_list : 
  'kind Alpha_context.contents_list ->
  'kind2 contents_result_list ->
  ('kind, 'kind2) eq optionSource
type block_metadata = {- proposer : Tezos_protocol_environment_012_Psithaca.Signature.Public_key_hash.t;
- baker : Tezos_protocol_environment_012_Psithaca.Signature.Public_key_hash.t;
- level_info : Alpha_context.Level.t;
- voting_period_info : Alpha_context.Voting_period.info;
- nonce_hash : Nonce_hash.t option;
- consumed_gas : Alpha_context.Gas.Arith.fp;
- deactivated : Tezos_protocol_environment_012_Psithaca.Signature.Public_key_hash.t list;
- balance_updates : Alpha_context.Receipt.balance_updates;
- liquidity_baking_escape_ema : Alpha_context.Liquidity_baking.escape_ema;
- implicit_operations_results : packed_successful_manager_operation_result list;
}Source
val block_metadata_encoding : 
  block_metadata Tezos_protocol_environment_012_Psithaca.Data_encoding.encodingSource
type precheck_result = {- consumed_gas : Alpha_context.Gas.Arith.fp;
- balance_updates : Alpha_context.Receipt.balance_updates;
}Source
type 'kind prechecked_contents = {- contents : 'kind Alpha_context.contents;
- result : precheck_result;
}Source
type _ prechecked_contents_list = - | PrecheckedSingle : 'kind prechecked_contents -> 'kind prechecked_contents_list
- | PrecheckedCons : 'kind Alpha_context.Kind.manager prechecked_contents * 'rest Alpha_context.Kind.manager prechecked_contents_list -> ('kind * 'rest) Alpha_context.Kind.manager prechecked_contents_list
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >