123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106(*****************************************************************************)(* *)(* Open Source License *)(* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)(* *)(* Permission is hereby granted, free of charge, to any person obtaining a *)(* copy of this software and associated documentation files (the "Software"),*)(* to deal in the Software without restriction, including without limitation *)(* the rights to use, copy, modify, merge, publish, distribute, sublicense, *)(* and/or sell copies of the Software, and to permit persons to whom the *)(* Software is furnished to do so, subject to the following conditions: *)(* *)(* The above copyright notice and this permission notice shall be included *)(* in all copies or substantial portions of the Software. *)(* *)(* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR*)(* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *)(* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL *)(* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER*)(* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *)(* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *)(* DEALINGS IN THE SOFTWARE. *)(* *)(*****************************************************************************)moduleLifted_protocol=Tezos_protocol_003_PsddFKi3_lifted.Lifted_protocolmoduleAlpha_block_services=Block_services.Make(Lifted_protocol)(Lifted_protocol)(** Client RPC context *)classtyperpc_context=objectinheritTezos_rpc.Context.genericinherit[Shell_services.chain*Shell_services.block]Environment.RPC_context.simpleendclasswrap_rpc_context(t:Tezos_rpc.Context.generic):rpc_context=objectmethodbase:Uri.t=t#basemethodgeneric_media_type_call=t#generic_media_type_callmethodcall_service:'m'p'q'i'o.(([<Resto.meth]as'm),unit,'p,'q,'i,'o)Tezos_rpc.Service.t->'p->'q->'i->'otzresultLwt.t=t#call_servicemethodcall_streamed_service:'m'p'q'i'o.(([<Resto.meth]as'm),unit,'p,'q,'i,'o)Tezos_rpc.Service.t->on_chunk:('o->unit)->on_close:(unit->unit)->'p->'q->'i->(unit->unit)tzresultLwt.t=t#call_streamed_serviceinherit[Shell_services.chain,Shell_services.block]Environment.proto_rpc_context(t:>Tezos_rpc.Context.t)Shell_services.Blocks.pathendclasstypefull=objectinheritClient_context.fullinherit[Shell_services.chain*Shell_services.block]Environment.RPC_context.simpleinherit[Shell_services.chain,Shell_services.block]Environment.proto_rpc_contextendclasswrap_full(t:Client_context.full):full=objectinheritClient_context.proxy_contexttinherit[Shell_services.chain,Shell_services.block]Environment.proto_rpc_context(t:>Tezos_rpc.Context.t)Shell_services.Blocks.pathendletregister_error_kindcategory~id~title~description?ppencodingfrom_errorto_error=letid="client."^Protocol.name^"."^idinregister_error_kindcategory~id~title~description?ppencodingfrom_errorto_error