From 3667b6a9ddde7f77f2adab807079f42b9209339f Mon Sep 17 00:00:00 2001 From: swrup Date: Sat, 6 Dec 2025 17:14:44 +0100 Subject: [PATCH] + ZeroLimitedOperation --- src/api.ml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/api.ml b/src/api.ml index e4d7e007..ede981d6 100644 --- a/src/api.ml +++ b/src/api.ml @@ -1074,3 +1074,15 @@ module AccountLimit = struct |> opt_mem "soft_limit" Jsont.bool ~enc:soft_limit |> finish end + +module ZeroLimitedOperation = struct + type t = { operation_type: Account_operation.t } + + let jsont = + let make operation_type = { operation_type } in + let operation_type v = v.operation_type in + let open Jsont.Object in + map ~kind:"ZeroLimitedOperation" make + |> mem "operation_type" Account_operation.jsont ~enc:operation_type + |> finish +end