Module Processor.Internal_command
type t = {command_type : string; |
receiver_id : int; |
fee : string; |
hash : string; |
}val to_hlist :
t ->
( unit, string -> int -> string -> string -> unit ) H_list.tval of_hlist :
( unit, string -> int -> string -> string -> unit ) H_list.t ->
tval receiver_id : t -> intval command_type : t -> stringval find_opt :
(module Caqti_async.CONNECTION) ->
transaction_hash:Mina_transaction.Transaction_hash.t ->
command_type:string ->
( int option, [> Caqti_error.call_or_retrieve ] ) Stdlib.result
Async_kernel.Deferred.tval load :
(module Caqti_async.CONNECTION) ->
id:int ->
( t, [> Caqti_error.call_or_retrieve ] ) Stdlib.result
Async_kernel.Deferred.tval add_extensional_if_doesn't_exist :
(module Caqti_async.CONNECTION) ->
Extensional.Internal_command.t ->
( int, [> Caqti_error.call_or_retrieve ] ) Async_kernel__Deferred_result.t