Generated_graphql_queries.Pooled_zkapp_commands
module Pooled_zkapp_commands_inner : sig ... end
include module type of struct include Pooled_zkapp_commands_inner end
module Raw = Pooled_zkapp_commands_inner.Raw
type t_pooledZkappCommands_failureReason =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_failureReason =
{
index : Graphql_lib.Scalars.Index.t option; |
failures : Graphql_lib.Scalars.TransactionStatusFailure.t array; |
}
type t_pooledZkappCommands_zkappCommand_feePayer_body =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_feePayer_body =
{
publicKey : Graphql_lib.Scalars.PublicKey.t; |
fee : Graphql_lib.Scalars.Fee.t; |
validUntil : Graphql_lib.Scalars.UInt32.t option; |
nonce : Graphql_lib.Scalars.UInt32.t; |
}
type t_pooledZkappCommands_zkappCommand_feePayer =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_feePayer =
{
body : t_pooledZkappCommands_zkappCommand_feePayer_body; |
authorization : Graphql_ppx_runtime.Json.t; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_update_verificationKey =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_update_verificationKey =
{
data : Graphql_lib.Scalars.VerificationKey.t; |
hash : Graphql_ppx_runtime.Json.t; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_update_permissions =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_update_permissions =
{
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_update_timing =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_update_timing =
{
initialMinimumBalance : Graphql_lib.Scalars.Balance.t; |
cliffTime : Graphql_lib.Scalars.GlobalSlot.t; |
cliffAmount : Graphql_ppx_runtime.Json.t; |
vestingPeriod : Graphql_lib.Scalars.GlobalSlot.t; |
vestingIncrement : Graphql_ppx_runtime.Json.t; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_update =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_update =
{
appState : Graphql_ppx_runtime.Json.t option array; |
delegate : Graphql_lib.Scalars.PublicKey.t option; |
verificationKey : t_pooledZkappCommands_zkappCommand_accountUpdates_body_update_verificationKey
option; |
permissions : t_pooledZkappCommands_zkappCommand_accountUpdates_body_update_permissions
option; |
zkappUri : string option; |
tokenSymbol : string option; |
timing : t_pooledZkappCommands_zkappCommand_accountUpdates_body_update_timing
option; |
votingFor : Graphql_lib.Scalars.StateHash.t option; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_balanceChange =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_balanceChange =
{
magnitude : Graphql_ppx_runtime.Json.t; |
sgn : Graphql_ppx_runtime.Json.t; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_blockchainLength =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_blockchainLength =
{
lower : Graphql_lib.Scalars.UInt32.t; |
upper : Graphql_lib.Scalars.UInt32.t; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_minWindowDensity =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_minWindowDensity =
{
lower : Graphql_lib.Scalars.UInt32.t; |
upper : Graphql_lib.Scalars.UInt32.t; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_totalCurrency =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_totalCurrency =
{
lower : Graphql_ppx_runtime.Json.t; |
upper : Graphql_ppx_runtime.Json.t; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_globalSlotSinceGenesis =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_globalSlotSinceGenesis =
{
lower : Graphql_lib.Scalars.UInt32.t; |
upper : Graphql_lib.Scalars.UInt32.t; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_ledger_totalCurrency =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_ledger_totalCurrency =
{
lower : Graphql_ppx_runtime.Json.t; |
upper : Graphql_ppx_runtime.Json.t; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_ledger =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_ledger =
{
hash : Graphql_ppx_runtime.Json.t option; |
totalCurrency : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_ledger_totalCurrency
option; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_epochLength =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_epochLength =
{
lower : Graphql_lib.Scalars.UInt32.t; |
upper : Graphql_lib.Scalars.UInt32.t; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData =
{
ledger : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_ledger; |
seed : Graphql_ppx_runtime.Json.t option; |
startCheckpoint : Graphql_ppx_runtime.Json.t option; |
lockCheckpoint : Graphql_ppx_runtime.Json.t option; |
epochLength : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_epochLength
option; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_ledger_totalCurrency =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_ledger_totalCurrency =
{
lower : Graphql_ppx_runtime.Json.t; |
upper : Graphql_ppx_runtime.Json.t; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_ledger =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_ledger =
{
hash : Graphql_ppx_runtime.Json.t option; |
totalCurrency : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_ledger_totalCurrency
option; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_epochLength =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_epochLength =
{
lower : Graphql_lib.Scalars.UInt32.t; |
upper : Graphql_lib.Scalars.UInt32.t; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData =
{
ledger : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_ledger; |
seed : Graphql_ppx_runtime.Json.t option; |
startCheckpoint : Graphql_ppx_runtime.Json.t option; |
lockCheckpoint : Graphql_ppx_runtime.Json.t option; |
epochLength : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_epochLength
option; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network =
{
snarkedLedgerHash : Graphql_ppx_runtime.Json.t option; |
blockchainLength : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_blockchainLength
option; |
minWindowDensity : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_minWindowDensity
option; |
totalCurrency : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_totalCurrency
option; |
globalSlotSinceGenesis : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_globalSlotSinceGenesis
option; |
stakingEpochData : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData; |
nextEpochData : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_account_balance =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_account_balance =
{
lower : Graphql_lib.Scalars.Balance.t; |
upper : Graphql_lib.Scalars.Balance.t; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_account_nonce =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_account_nonce =
{
lower : Graphql_lib.Scalars.UInt32.t; |
upper : Graphql_lib.Scalars.UInt32.t; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_account =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_account =
{
balance : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_account_balance
option; |
nonce : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_account_nonce
option; |
receiptChainHash : Graphql_ppx_runtime.Json.t option; |
delegate : Graphql_lib.Scalars.PublicKey.t option; |
state : Graphql_ppx_runtime.Json.t option array; |
sequenceState : Graphql_ppx_runtime.Json.t option; |
provedState : bool option; |
isNew : bool option; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions =
{
network : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network; |
account : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_account; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body =
{
publicKey : Graphql_lib.Scalars.PublicKey.t; |
tokenId : Graphql_lib.Scalars.TokenId.t; |
update : t_pooledZkappCommands_zkappCommand_accountUpdates_body_update; |
balanceChange : t_pooledZkappCommands_zkappCommand_accountUpdates_body_balanceChange; |
incrementNonce : bool; |
events : Graphql_ppx_runtime.Json.t array array; |
sequenceEvents : Graphql_ppx_runtime.Json.t array array; |
callData : Graphql_ppx_runtime.Json.t; |
callDepth : int; |
preconditions : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions; |
useFullCommitment : bool; |
caller : Graphql_lib.Scalars.TokenId.t; |
authorizationKind : Graphql_ppx_runtime.Json.t; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_authorization =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_authorization =
{
proof : Graphql_ppx_runtime.Json.t option; |
signature : Graphql_ppx_runtime.Json.t option; |
}
type t_pooledZkappCommands_zkappCommand_accountUpdates =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates =
{
body : t_pooledZkappCommands_zkappCommand_accountUpdates_body; |
authorization : t_pooledZkappCommands_zkappCommand_accountUpdates_authorization; |
}
type t_pooledZkappCommands_zkappCommand =
Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand =
{
feePayer : t_pooledZkappCommands_zkappCommand_feePayer; |
accountUpdates : t_pooledZkappCommands_zkappCommand_accountUpdates array; |
memo : Graphql_ppx_runtime.Json.t; |
}
type t_pooledZkappCommands = Pooled_zkapp_commands_inner.t_pooledZkappCommands =
{
id : Graphql_lib.Scalars.TransactionId.t; |
hash : Graphql_lib.Scalars.TransactionHash.t; |
failureReason : t_pooledZkappCommands_failureReason option array option; |
zkappCommand : t_pooledZkappCommands_zkappCommand; |
}
type t_variables = Pooled_zkapp_commands_inner.t_variables = {
public_key : Graphql_ppx_runtime.Json.t option; |
}
Serialize the ReasonML GraphQL data that was parsed using the parse function back to the original JSON compatible data
val serializeVariables : t_variables -> Raw.t_variables
val makeVariables :
?public_key:Graphql_ppx_runtime.Json.t ->
unit ->
t_variables
val makeDefaultVariables : unit -> t_variables
val unsafe_fromJson : Graphql_ppx_runtime.Json.t -> Raw.t
val toJson : Raw.t -> Graphql_ppx_runtime.Json.t
val variablesToJson : Raw.t_variables -> Graphql_ppx_runtime.Json.t
include module type of struct include Graphql_lib.Serializing.ExtendQuery(Pooled_zkapp_commands_inner) end
val make :
Pooled_zkapp_commands_inner.t_variables ->
< parse : Yojson.Basic.t -> Pooled_zkapp_commands_inner.t
; query : Base.string
; variables : Yojson.Basic.t >