123456789101112131415161718192021222324252627282930313233343536373839404142434445464748(*****************************************************************************)(* *)(* SPDX-License-Identifier: MIT *)(* SPDX-FileCopyrightText: 2024 Functori, <contact@functori.com> *)(* SPDX-FileCopyrightText: 2024 Nomadic Labs, <contact@nomadic-labs.com> *)(* *)(*****************************************************************************)openProtocol.Alpha_contextopenTezos_rpctype'rpcservice=('meth,'prefix,'params,'query,'input,'output)Service.serviceconstraint'rpc=<meth:'meth;prefix:'prefix;params:'params;query:'query;input:'input;output:'output>moduleCommitments_history=structletcell_hash_arg:Dal.Slots_history.Pointer_hash.tArg.t=Arg.make~descr:"The hash of a DAL skip list cell"~name:"skip_list_cell_hash"~construct:Dal.Slots_history.Pointer_hash.to_b58check~destruct:(funh->matchDal.Slots_history.Pointer_hash.of_b58check_opthwith|Someb->Okb|None->Error"Cannot parse skip list cell hash")()lethash_content:<meth:[`GET];input:unit;output:Dal.Slots_history.t;prefix:unit;params:unit*Dal.Slots_history.Pointer_hash.t;query:unit>service=Service.get_service~description:"Returns the DAL skip list cell of the given hash"~query:Query.empty~output:Dal.Slots_history.encodingPath.(open_root/"commitments_history"/"hash"/:cell_hash_arg)end