With Phased Transaction you can add conditions to your transaction.
In this example Jimmy wants to send some Ignis to his friend Frank. In this phased transaction “mommy” has to approve and “daddy” has to approve but at the same time has to have a minimum amount of Ignis in his wallet.
Only if these conditions are met, the transaction will be approved and the Ignis will be sent from Jimmy to Frank.
Here in the first condition (Approval Model) called “MOMMY” the address on Jimmy’s mom is in the whitelist.
The second condition (Approval Model) is called “DADDY” in which the Ardor address of Jimmy’s father is in the whitelist and the account has to hold a minimum of 10000 Ignis.
The combined condition (Approval Model) called “PAY” required that both previous conditions are met (AND operator “&”)
Jimmy’s mom gets a notification with the approval request
Jimmy’s dad also has to approve
Once both conditions are met and the transaction deadline is reached, the transaction is executed and the funds are transferred from Jimmy to Frank