Mavryk_raw_protocol_001_PtAtLas.Destination_reprThe 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.tThis 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 Mavryk_protocol_environment_001_PtAtLas.Compare.S with type t := tval to_b58check : t -> stringval of_b58check :
string ->
t Mavryk_protocol_environment_001_PtAtLas.Error_monad.tzresultval encoding : t Mavryk_protocol_environment_001_PtAtLas.Data_encoding.tval pp : Mavryk_protocol_environment_001_PtAtLas.Format.formatter -> t -> unitval in_memory_size : t -> Cache_memory_helpers.sintin_memory_size contract returns the number of bytes that are allocated in the RAM for contract.