Skip to content

Commit

Permalink
CORE-19290 - Added the field strategy to TokenClaimQuery (#1585)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipesoliveira authored Mar 28, 2024
1 parent cb683fd commit 6ffabad
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "enum",
"name": "Strategy",
"namespace": "net.corda.data.ledger.utxo.token.selection.data",
"doc": "Token selection strategy.",
"symbols": ["RANDOM", "PRIORITY"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{
"name": "targetAmount",
"type": "net.corda.data.ledger.utxo.token.selection.data.TokenAmount",
"doc": "The target amount to be claimed."
"doc": "The target amount to be claimed"
},
{
"name": "ownerHash",
Expand All @@ -30,6 +30,12 @@
"type": ["null", "string"],
"default": null,
"doc": "Optional regular expression used to match a tag, null will match all"
},
{
"name": "strategy",
"type": ["null","net.corda.data.ledger.utxo.token.selection.data.Strategy"],
"default": null,
"doc": " The token selection strategy to use"
}
]
}

0 comments on commit 6ffabad

Please sign in to comment.