package tezos-protocol-012-Psithaca
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.
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_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.
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
.
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.
and packed_successful_manager_operation_result =
| Successful_manager_result : 'kind successful_manager_operation_result -> packed_successful_manager_operation_result
and packed_internal_operation_result =
| Internal_operation_result : 'kind Alpha_context.internal_operation * 'kind manager_operation_result -> packed_internal_operation_result
val pack_migration_operation_results :
Alpha_context.Migration.origination_result list ->
packed_successful_manager_operation_result list
val operation_metadata_encoding :
packed_operation_metadata
Tezos_protocol_environment_012_Psithaca.Data_encoding.t
Serializer for packed_operation_result
.
val operation_data_and_metadata_encoding :
(Alpha_context.Operation.packed_protocol_data * packed_operation_metadata)
Tezos_protocol_environment_012_Psithaca.Data_encoding.t
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
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_012_Psithaca.Data_encoding.t
val pack_contents_list :
'kind Alpha_context.contents_list ->
'kind contents_result_list ->
'kind contents_and_result_list
val unpack_contents_list :
'kind contents_and_result_list ->
'kind Alpha_context.contents_list * 'kind contents_result_list
val to_list : packed_contents_result_list -> packed_contents_result list
val kind_equal_list :
'kind Alpha_context.contents_list ->
'kind2 contents_result_list ->
('kind, 'kind2) eq option
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;
}
val block_metadata_encoding :
block_metadata Tezos_protocol_environment_012_Psithaca.Data_encoding.encoding
type 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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>