Escrow Contract
is protected by theOwnable
access control library using theonlyOwner
modifier, which helps to protect against any unauthorized access to funds. Also, any funds related to theBuyer
of the escrow is protected with theonlyBuyer
modifier, the same applies for theSeller
with theonlySeller
modifier, of-course after certain conditions are met.
- The
Escrow Contract
is using recent stable compiler version0.8.8
.
- A specific compiler version
0.8.8
is used to avoid any bugs introduced in any other old/new compiler version.
- Always using the
require()
function when applicable to make sure certain conditions are met before calling continuing the function call.