open class NoZeroSizedOutputs<S : FungibleAsset<T>, T : Any> : GroupClause<S, Issued<T>>
Clause for fungible asset contracts, which enforces that no output state should have a balance of zero.
<init> |
NoZeroSizedOutputs() Clause for fungible asset contracts, which enforces that no output state should have a balance of zero. |
ifMatched |
open val ifMatched: MatchBehaviour Behaviour if this clause is not matches |
ifNotMatched |
open val ifNotMatched: MatchBehaviour Behaviour if this clause is matched |
requiredCommands |
open val requiredCommands: Set<Class<CommandData>> Classes for commands which must ALL be present in transaction for this clause to be triggered |
verify |
open fun verify(tx: TransactionForContract, inputs: List<S>, outputs: List<S>, commands: Collection<AuthenticatedObject<CommandData>>, token: Issued<T>): Set<CommandData> |