Body.Graphql_repr
module Stable : sig ... end
type t = Stable.Latest.t = {
public_key : Signature_lib.Public_key.Compressed.t; |
token_id : Token_id.t; |
update : Update.t; |
balance_change : ( Currency.Amount.t, Sgn.t ) Currency.Signed_poly.t; |
increment_nonce : bool; |
events : Events'.t; |
sequence_events : Events'.t; |
call_data : Pickles.Backend.Tick.Field.t; |
call_depth : int; |
preconditions : Preconditions.t; |
use_full_commitment : bool; |
caller : Token_id.t; |
authorization_kind : Authorization_kind.t; |
}
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val _ : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val hash_fold_t :
Ppx_hash_lib.Std.Hash.state ->
t ->
Ppx_hash_lib.Std.Hash.state
val hash : t -> Ppx_hash_lib.Std.Hash.hash_value
val authorization_kind : t -> Authorization_kind.t
val caller : t -> Token_id.t
val use_full_commitment : t -> bool
val preconditions : t -> Preconditions.t
val call_depth : t -> int
val call_data : t -> Pickles.Backend.Tick.Field.t
val increment_nonce : t -> bool
val balance_change : t -> ( Currency.Amount.t, Sgn.t ) Currency.Signed_poly.t
val token_id : t -> Token_id.t
val public_key : t -> Signature_lib.Public_key.Compressed.t
module Fields : sig ... end
val deriver :
( t,
( ( < contramap : ( t -> t ) Core_kernel.ref
; graphql_arg :
( unit ->
t Fields_derivers_graphql.Schema.Arg.arg_typ )
Core_kernel.ref
; graphql_arg_accumulator :
t Fields_derivers_zkapps.Graphql.Args.Acc.T.t Core_kernel.ref
; graphql_creator :
( ( ( 'b, t, t, 'c ) Fields_derivers_zkapps.Graphql.Args.Output.t,
t,
t,
'c )
Fields_derivers_zkapps.Graphql.Args.Input.t ->
t )
Core_kernel.ref
; graphql_fields :
t Fields_derivers_zkapps.Graphql.Fields.Input.T.t Core_kernel.ref
; graphql_fields_accumulator :
t Fields_derivers_zkapps.Graphql.Fields.Accumulator.T.t list
Core_kernel.ref
; graphql_query : string option Core_kernel.ref
; graphql_query_accumulator :
(Core_kernel.String.t * string option) option list Core_kernel.ref
; js_layout :
[> `Assoc of (string * Yojson.Safe.t) list ] Core_kernel.ref
; js_layout_accumulator :
Fields_derivers_zkapps__Fields_derivers_js.Js_layout.Accumulator.field
option
list
Core_kernel.ref
; map : ( t -> t ) Core_kernel.ref
; nullable_graphql_arg :
( unit ->
'c Fields_derivers_graphql.Schema.Arg.arg_typ )
Core_kernel.ref
; nullable_graphql_fields :
t option Fields_derivers_zkapps.Graphql.Fields.Input.T.t
Core_kernel.ref
; of_json :
( [> `Assoc of (Core_kernel.String.Map.Key.t * Yojson.Safe.t) list ] ->
t )
Core_kernel.ref
; of_json_creator :
Yojson.Safe.t Core_kernel.String.Map.t Core_kernel.ref
; skip : bool Core_kernel.ref
; to_json :
( t ->
[> `Assoc of (Core_kernel.String.t * Yojson.Safe.t) list ] )
Core_kernel.ref
; to_json_accumulator :
(Core_kernel.String.t * ( t -> Yojson.Safe.t )) option list
Core_kernel.ref.. > as 'a,
t,
t,
'c )
Fields_derivers_zkapps.Graphql.Args.Input.t,
t,
t,
'd )
Fields_derivers_zkapps.Graphql.Args.Acc.t,
t,
t option )
Fields_derivers_zkapps.Graphql.Fields.Accumulator.t ->
( t,
( 'a, t, t, 'c ) Fields_derivers_zkapps.Graphql.Args.Acc.t,
t,
t option )
Fields_derivers_zkapps.Graphql.Fields.Accumulator.t
val dummy : t