Module Forge.Input

type t
val encoding : t Data_encoding.t
val pos : t -> int64
val amount : t -> int64
val address : t -> Core.Viewing_key.address
val compare : t -> t -> int
val is_spent : t -> S.state -> Core.Viewing_key.t -> bool
val get : S.state -> int64 -> Core.Viewing_key.t -> (Stdlib.Bytes.t * t) option
val get_out : S.state -> int64 -> Core.Spending_key.ovk -> (Stdlib.Bytes.t * t) option
val mem : S.state -> int64 -> bool