Task: Write DAML contract for Painter, Customer and Bank
-
Alice
- wants to paint her house. She has money but she wants to send transfer only when job is done -
Bob
- is a skilled painter and he also wants his money after the house is painted -
Bank
- is intermediary. It has open accounts for Alice and Bob and should move funds only after confirmation from paricipants of the painting deal.
Write a DAML contract to execute such task.