package tezos-protocol-013-PtJakart
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=43723d096307603703a1a89ed1b2eb202b365f5e7824b96b0cbf813b343a6cf7
sha512=b2a637f2e965000d3d49ad85277ca24d6cb07a1a7cf2bc69d296d8b03ad78c3eaa8e21e94b9162e62c2e11649cd03bc845b2a3dafe623b91065df69d47dc8e4f
doc/tezos-protocol-013-PtJakart.raw/Tezos_raw_protocol_013_PtJakart/Apply_results/index.html
Module Tezos_raw_protocol_013_PtJakart.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.
type 'kind internal_manager_operation = | Transaction : Alpha_context.transaction -> Alpha_context.Kind.transaction internal_manager_operation| Origination : Alpha_context.origination -> Alpha_context.Kind.origination internal_manager_operation| Delegation : Tezos_protocol_environment_013_PtJakart.Signature.Public_key_hash.t option -> Alpha_context.Kind.delegation internal_manager_operation
val manager_operation_of_internal_operation :
'kind internal_manager_operation ->
'kind Alpha_context.manager_operationtype 'kind internal_contents = {source : Alpha_context.Contract.contract;operation : 'kind internal_manager_operation;nonce : int;
}type packed_internal_contents = | Internal_contents : 'kind internal_contents -> packed_internal_contents
val contents_of_packed_internal_operation :
Script_typed_ir.packed_internal_operation ->
packed_internal_contentsval contents_of_packed_internal_operations :
Script_typed_ir.packed_internal_operation list ->
packed_internal_contents listResult of applying a Operation.t. Follows the same structure.
and packed_operation_metadata = | Operation_metadata : 'kind operation_metadata -> packed_operation_metadata| No_operation_metadata : packed_operation_metadata
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.
and packed_contents_result_list = | Contents_result_list : 'kind contents_result_list -> packed_contents_result_list
and 'kind contents_result = | Preendorsement_result : {balance_updates : Alpha_context.Receipt.balance_updates;delegate : Tezos_protocol_environment_013_PtJakart.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_013_PtJakart.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_manager_operation_result list;
} -> 'kind Alpha_context.Kind.manager contents_result
Result of applying an Operation.contents. Follows the same structure.
and packed_contents_result = | Contents_result : 'kind contents_result -> packed_contents_result
and 'kind manager_operation_result = | Applied of 'kind successful_manager_operation_result| Backtracked of 'kind successful_manager_operation_result * Tezos_protocol_environment_013_PtJakart.Error_monad.error Tezos_protocol_environment_013_PtJakart.Error_monad.trace option| Failed : 'kind Alpha_context.Kind.manager * Tezos_protocol_environment_013_PtJakart.Error_monad.error Tezos_protocol_environment_013_PtJakart.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.
and successful_transaction_result = | Transaction_to_contract_result of {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_013_PtJakart.Z.t;paid_storage_size_diff : Tezos_protocol_environment_013_PtJakart.Z.t;allocated_destination_contract : bool;
}| Transaction_to_tx_rollup_result of {ticket_hash : Alpha_context.Ticket_hash.t;balance_updates : Alpha_context.Receipt.balance_updates;consumed_gas : Alpha_context.Gas.Arith.fp;paid_storage_size_diff : Tezos_protocol_environment_013_PtJakart.Z.t;
}
Result of applying a transaction, either internal or external
and _ successful_manager_operation_result = | Reveal_result : {consumed_gas : Alpha_context.Gas.Arith.fp;
} -> Alpha_context.Kind.reveal successful_manager_operation_result| Transaction_result : successful_transaction_result -> 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_013_PtJakart.Z.t;paid_storage_size_diff : Tezos_protocol_environment_013_PtJakart.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_013_PtJakart.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| Tx_rollup_origination_result : {balance_updates : Alpha_context.Receipt.balance_updates;consumed_gas : Alpha_context.Gas.Arith.fp;originated_tx_rollup : Alpha_context.Tx_rollup.t;
} -> Alpha_context.Kind.tx_rollup_origination successful_manager_operation_result| Tx_rollup_submit_batch_result : {balance_updates : Alpha_context.Receipt.balance_updates;consumed_gas : Alpha_context.Gas.Arith.fp;paid_storage_size_diff : Tezos_protocol_environment_013_PtJakart.Z.t;
} -> Alpha_context.Kind.tx_rollup_submit_batch successful_manager_operation_result| Tx_rollup_commit_result : {balance_updates : Alpha_context.Receipt.balance_updates;consumed_gas : Alpha_context.Gas.Arith.fp;
} -> Alpha_context.Kind.tx_rollup_commit successful_manager_operation_result| Tx_rollup_return_bond_result : {balance_updates : Alpha_context.Receipt.balance_updates;consumed_gas : Alpha_context.Gas.Arith.fp;
} -> Alpha_context.Kind.tx_rollup_return_bond successful_manager_operation_result| Tx_rollup_finalize_commitment_result : {balance_updates : Alpha_context.Receipt.balance_updates;consumed_gas : Alpha_context.Gas.Arith.fp;level : Alpha_context.Tx_rollup_level.t;
} -> Alpha_context.Kind.tx_rollup_finalize_commitment successful_manager_operation_result| Tx_rollup_remove_commitment_result : {balance_updates : Alpha_context.Receipt.balance_updates;consumed_gas : Alpha_context.Gas.Arith.fp;level : Alpha_context.Tx_rollup_level.t;
} -> Alpha_context.Kind.tx_rollup_remove_commitment successful_manager_operation_result| Tx_rollup_rejection_result : {balance_updates : Alpha_context.Receipt.balance_updates;consumed_gas : Alpha_context.Gas.Arith.fp;
} -> Alpha_context.Kind.tx_rollup_rejection successful_manager_operation_result| Tx_rollup_dispatch_tickets_result : {balance_updates : Alpha_context.Receipt.balance_updates;consumed_gas : Alpha_context.Gas.Arith.fp;paid_storage_size_diff : Tezos_protocol_environment_013_PtJakart.Z.t;
} -> Alpha_context.Kind.tx_rollup_dispatch_tickets successful_manager_operation_result| Transfer_ticket_result : {balance_updates : Alpha_context.Receipt.balance_updates;consumed_gas : Alpha_context.Gas.Arith.fp;paid_storage_size_diff : Tezos_protocol_environment_013_PtJakart.Z.t;
} -> Alpha_context.Kind.transfer_ticket successful_manager_operation_result| Sc_rollup_originate_result : {balance_updates : Alpha_context.Receipt.balance_updates;address : Alpha_context.Sc_rollup.Address.t;consumed_gas : Alpha_context.Gas.Arith.fp;size : Tezos_protocol_environment_013_PtJakart.Z.t;
} -> Alpha_context.Kind.sc_rollup_originate successful_manager_operation_result| Sc_rollup_add_messages_result : {consumed_gas : Alpha_context.Gas.Arith.fp;inbox_after : Alpha_context.Sc_rollup.Inbox.t;
} -> Alpha_context.Kind.sc_rollup_add_messages successful_manager_operation_result| Sc_rollup_cement_result : {consumed_gas : Alpha_context.Gas.Arith.fp;
} -> Alpha_context.Kind.sc_rollup_cement successful_manager_operation_result| Sc_rollup_publish_result : {consumed_gas : Alpha_context.Gas.Arith.fp;staked_hash : Alpha_context.Sc_rollup.Commitment_hash.t;
} -> Alpha_context.Kind.sc_rollup_publish successful_manager_operation_result
Result of applying a manager_operation_content, either internal or external.
and packed_successful_manager_operation_result = | Successful_manager_result : 'kind successful_manager_operation_result -> packed_successful_manager_operation_result
and packed_internal_manager_operation_result = | Internal_manager_operation_result : 'kind internal_contents * 'kind manager_operation_result -> packed_internal_manager_operation_result
val contents_of_internal_operation :
'kind Script_typed_ir.internal_operation ->
'kind internal_contentsval pack_internal_manager_operation_result :
'kind Script_typed_ir.internal_operation ->
'kind manager_operation_result ->
packed_internal_manager_operation_resultval internal_contents_encoding :
packed_internal_contents
Tezos_protocol_environment_013_PtJakart.Data_encoding.tval pack_migration_operation_results :
Alpha_context.Migration.origination_result list ->
packed_successful_manager_operation_result listval operation_metadata_encoding :
packed_operation_metadata
Tezos_protocol_environment_013_PtJakart.Data_encoding.tSerializer for packed_operation_result.
val operation_data_and_metadata_encoding :
(Alpha_context.Operation.packed_protocol_data * packed_operation_metadata)
Tezos_protocol_environment_013_PtJakart.Data_encoding.ttype '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
type packed_contents_and_result_list = | Contents_and_result_list : 'kind contents_and_result_list -> packed_contents_and_result_list
val contents_and_result_list_encoding :
packed_contents_and_result_list
Tezos_protocol_environment_013_PtJakart.Data_encoding.tval pack_contents_list :
'kind Alpha_context.contents_list ->
'kind contents_result_list ->
'kind contents_and_result_listval unpack_contents_list :
'kind contents_and_result_list ->
'kind Alpha_context.contents_list * 'kind contents_result_listval kind_equal_list :
'kind Alpha_context.contents_list ->
'kind2 contents_result_list ->
('kind, 'kind2) eq optiontype block_metadata = {proposer : Tezos_protocol_environment_013_PtJakart.Signature.Public_key_hash.t;baker : Tezos_protocol_environment_013_PtJakart.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_013_PtJakart.Signature.Public_key_hash.t list;balance_updates : Alpha_context.Receipt.balance_updates;liquidity_baking_toggle_ema : Alpha_context.Liquidity_baking.Toggle_EMA.t;implicit_operations_results : packed_successful_manager_operation_result list;
}val block_metadata_encoding :
block_metadata Tezos_protocol_environment_013_PtJakart.Data_encoding.encodingtype precheck_result = {consumed_gas : Alpha_context.Gas.Arith.fp;balance_updates : Alpha_context.Receipt.balance_updates;
}type 'kind prechecked_contents = {contents : 'kind Alpha_context.contents;result : precheck_result;
}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