Module Bech32.Segwit
module type NETWORK = sig ... endtype 'a t= private{network : (module NETWORK with type t = 'a);version : int option;prog : string;}
val scriptPubKey : 'a t -> stringval pp : Stdlib.Format.formatter -> _ t -> unitval create : ?version:int -> (module NETWORK with type t = 'a) -> string -> 'a tval encode : _ t -> (string, string) Stdlib.resultval encode_exn : _ t -> stringval decode : (module NETWORK with type t = 'a) -> string -> ('a t, string) Stdlib.resultval decode_exn : (module NETWORK with type t = 'a) -> string -> 'a t