contract execution workflow