Skip to content

Commit

Permalink
Merge pull request #14201 from MinaProtocol/georgeee/zkapp-gen-improv…
Browse files Browse the repository at this point in the history
…ements

Zkapp generator improvements
  • Loading branch information
deepthiskumar authored Oct 8, 2023
2 parents d731e7a + 2e870c1 commit 9752e23
Show file tree
Hide file tree
Showing 13 changed files with 813 additions and 494 deletions.
18 changes: 12 additions & 6 deletions src/app/itn_orchestrator/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,12 @@ scalar UInt16

"""Keys and other information for scheduling zkapp commands"""
input ZkappCommandsDetails {
"""
Parameter of zkapp generation, each generated zkapp tx will have
(2*maxAccountUpdates+2) account updates (including balancing and fee payer)
"""
maxAccountUpdates: Int

"""Generate max cost zkApp command"""
maxCost: Boolean!

Expand All @@ -193,18 +199,18 @@ input ZkappCommandsDetails {
"""
initBalance: CurrencyAmount!

"""Maximum new zkapp balance"""
maxNewZkappBalance: CurrencyAmount!

"""Minimum new zkapp balance"""
minNewZkappBalance: CurrencyAmount!

"""Maximum balance change"""
maxBalanceChange: CurrencyAmount!

"""Minimum balance change"""
minBalanceChange: CurrencyAmount!

"""Minimum new zkapp balance"""
minNewZkappBalance: CurrencyAmount!

"""Maximum new zkapp balance"""
maxNewZkappBalance: CurrencyAmount!

"""Disable the precondition in account updates"""
noPrecondition: Boolean!

Expand Down
Loading

0 comments on commit 9752e23

Please sign in to comment.