Tezos_raw_protocol_015_PtLimaPt.Apply_resultsTypes 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.
and packed_operation_metadata = | Operation_metadata : 'kind operation_metadata -> packed_operation_metadata| No_operation_metadata : packed_operation_metadataand '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_listResult 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_listand 'kind contents_result = | Preendorsement_result : {balance_updates : Alpha_context.Receipt.balance_updates;delegate : Tezos_protocol_environment_015_PtLimaPt.Signature.public_key_hash;consensus_key : Tezos_protocol_environment_015_PtLimaPt.Signature.public_key_hash;preendorsement_power : int;} -> Alpha_context.Kind.preendorsement contents_result| Endorsement_result : {balance_updates : Alpha_context.Receipt.balance_updates;delegate : Tezos_protocol_environment_015_PtLimaPt.Signature.public_key_hash;consensus_key : Tezos_protocol_environment_015_PtLimaPt.Signature.public_key_hash;endorsement_power : int;} -> Alpha_context.Kind.endorsement contents_result| Dal_slot_availability_result : {} -> Alpha_context.Kind.dal_slot_availability contents_result| Seed_nonce_revelation_result : Alpha_context.Receipt.balance_updates ->
Alpha_context.Kind.seed_nonce_revelation
contents_result| Vdf_revelation_result : Alpha_context.Receipt.balance_updates -> Alpha_context.Kind.vdf_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| Drain_delegate_result : {balance_updates : Alpha_context.Receipt.balance_updates;allocated_destination_contract : bool;} -> Alpha_context.Kind.drain_delegate contents_result| Manager_operation_result : {balance_updates : Alpha_context.Receipt.balance_updates;operation_result : 'kind manager_operation_result;internal_operation_results : Apply_internal_results.packed_internal_operation_result
list;} -> 'kind Alpha_context.Kind.manager contents_resultResult of applying an Operation.contents. Follows the same structure.
and 'kind manager_operation_result =
('kind,
'kind Alpha_context.Kind.manager,
'kind successful_manager_operation_result)
Apply_operation_result.operation_resultand successful_transaction_result =
Apply_internal_results.successful_transaction_resultResult of applying a transaction.
and successful_origination_result =
Apply_internal_results.successful_origination_resultResult of applying an origination.
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 : successful_origination_result -> 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_015_PtLimaPt.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| Increase_paid_storage_result : {balance_updates : Alpha_context.Receipt.balance_updates;consumed_gas : Alpha_context.Gas.Arith.fp;} -> Alpha_context.Kind.increase_paid_storage
successful_manager_operation_result| Update_consensus_key_result : {consumed_gas : Alpha_context.Gas.Arith.fp;} -> Alpha_context.Kind.update_consensus_key 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_015_PtLimaPt.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_015_PtLimaPt.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_015_PtLimaPt.Z.t;} -> Alpha_context.Kind.transfer_ticket successful_manager_operation_result| Dal_publish_slot_header_result : {consumed_gas : Alpha_context.Gas.Arith.fp;} -> Alpha_context.Kind.dal_publish_slot_header
successful_manager_operation_result| Sc_rollup_originate_result : {balance_updates : Alpha_context.Receipt.balance_updates;address : Tezos_raw_protocol_015_PtLimaPt.Alpha_context.Sc_rollup.Address.t;genesis_commitment_hash : Alpha_context.Sc_rollup.Commitment.Hash.t;consumed_gas : Alpha_context.Gas.Arith.fp;size : Tezos_protocol_environment_015_PtLimaPt.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;inbox_level : Alpha_context.Raw_level.t;} -> 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;published_at_level : Alpha_context.Raw_level.t;balance_updates : Alpha_context.Receipt.balance_updates;} -> Alpha_context.Kind.sc_rollup_publish successful_manager_operation_result| Sc_rollup_refute_result : {consumed_gas : Alpha_context.Gas.Arith.fp;game_status : Alpha_context.Sc_rollup.Game.status;balance_updates : Alpha_context.Receipt.balance_updates;} -> Alpha_context.Kind.sc_rollup_refute successful_manager_operation_result| Sc_rollup_timeout_result : {consumed_gas : Alpha_context.Gas.Arith.fp;game_status : Alpha_context.Sc_rollup.Game.status;balance_updates : Alpha_context.Receipt.balance_updates;} -> Alpha_context.Kind.sc_rollup_timeout successful_manager_operation_result| Sc_rollup_execute_outbox_message_result : {balance_updates : Alpha_context.Receipt.balance_updates;consumed_gas : Alpha_context.Gas.Arith.fp;paid_storage_size_diff : Tezos_protocol_environment_015_PtLimaPt.Z.t;} -> Alpha_context.Kind.sc_rollup_execute_outbox_message
successful_manager_operation_result| Sc_rollup_recover_bond_result : {balance_updates : Alpha_context.Receipt.balance_updates;consumed_gas : Alpha_context.Gas.Arith.fp;} -> Alpha_context.Kind.sc_rollup_recover_bond
successful_manager_operation_result| Sc_rollup_dal_slot_subscribe_result : {consumed_gas : Alpha_context.Gas.Arith.fp;slot_index : Alpha_context.Dal.Slot_index.t;level : Alpha_context.Raw_level.t;} -> Alpha_context.Kind.sc_rollup_dal_slot_subscribe
successful_manager_operation_result| Zk_rollup_origination_result : {balance_updates : Alpha_context.Receipt.balance_updates;originated_zk_rollup : Alpha_context.Zk_rollup.t;consumed_gas : Alpha_context.Gas.Arith.fp;storage_size : Tezos_protocol_environment_015_PtLimaPt.Z.t;} -> Alpha_context.Kind.zk_rollup_origination
successful_manager_operation_result| Zk_rollup_publish_result : {balance_updates : Alpha_context.Receipt.balance_updates;consumed_gas : Alpha_context.Gas.Arith.fp;paid_storage_size_diff : Tezos_protocol_environment_015_PtLimaPt.Z.t;} -> Alpha_context.Kind.zk_rollup_publish successful_manager_operation_resultResult of applying an external manager_operation_content.
and packed_successful_manager_operation_result = | Successful_manager_result : 'kind successful_manager_operation_result ->
packed_successful_manager_operation_resultval 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_015_PtLimaPt.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_015_PtLimaPt.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_listtype packed_contents_and_result_list = | Contents_and_result_list : 'kind contents_and_result_list -> packed_contents_and_result_listval contents_and_result_list_encoding :
packed_contents_and_result_list
Tezos_protocol_environment_015_PtLimaPt.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 to_list : packed_contents_result_list -> packed_contents_result listval kind_equal_list :
'kind Alpha_context.contents_list ->
'kind2 contents_result_list ->
('kind, 'kind2) eq optiontype block_metadata = {proposer : Alpha_context.Consensus_key.t;baker : Alpha_context.Consensus_key.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_015_PtLimaPt.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;dal_slot_availability : Alpha_context.Dal.Endorsement.t option;}val block_metadata_encoding :
block_metadata Tezos_protocol_environment_015_PtLimaPt.Data_encoding.encoding