I'm just going to write 'All of the above' and hope the grader is in a good mood. Navigating these Solidity patterns is like trying to solve a Rubik's Cube blindfolded.
I think Option C is the right answer. The checks-effects-interactions pattern is only necessary when you can't directly call the other contract. Otherwise, it's overkill.
C) you should follow the checks-effects-interactions pattern, which is only necessary when you do calls to contracts where a direct contract call is not possible.
I think both options have their merits, but I prefer following the checks-effects-interactions pattern, especially when direct contract calls are not possible.
Martha
14 days agoTasia
24 days agoRoslyn
1 months agoClaudia
15 days agoClorinda
1 months agoCamellia
8 days agoLashawn
15 days agoDerrick
16 days agoMargart
1 months agoMitzie
1 months agoRenea
2 months agoPercy
2 months agoKaitlyn
9 days agoDevon
22 days agoPolly
2 months agoVeta
2 months agoDick
2 months agoTayna
2 months ago