add hash.ml + refacto

This commit is contained in:
swrup 2026-02-05 17:51:24 +01:00
parent 55ccc6f18a
commit d974f7b486
11 changed files with 186 additions and 188 deletions

View file

@ -24,13 +24,12 @@
open Crypto
open Bin_sig
open Jsont.Object
module DenominationHash = Hash.DenominationHash
let encode_exn jsont v = Jsont_bytesrw.encode_string jsont v |> Result.get_ok
let encode jsont v = Jsont_bytesrw.encode_string jsont v
let decode jsont v = Jsont_bytesrw.decode_string jsont v
module DenominationHash = Bin_type.DenominationHash
module Account_operation = struct
type t =
| Withdraw