package tezos-protocol-alpha
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a
doc/tezos_raw_protocol_alpha/Tezos_raw_protocol_alpha/Destination_repr/index.html
Module Tezos_raw_protocol_alpha.Destination_repr
Source
The type of the destination
argument of the Operation_repr.manager_operation.Transaction
manager operation.
The introduction of this type allows to interact with emerging layer-2 solutions using the API Tezos users and tooling are already used to: contract calls to entrypoint. These solutions cannot be integrated to Contract_repr.t
directly, because values of this type are given a balance, which has an impact on the delegation system.
type t =
| Contract of Contract_repr.t
| Sc_rollup of Sc_rollup_repr.t
| Zk_rollup of Zk_rollup_repr.t
This type is a superset of the set of contracts (Contract_repr.t
).
Note: It is of key importance that the encoding of this type remains compatible with Contract_repr.encoding
, for the introduction to this type to remain transparent from the existing tooling perspective.
include Tezos_protocol_environment_alpha.Compare.S with type t := t
in_memory_size contract
returns the number of bytes that are allocated in the RAM for contract
.