Lifecycle first
Understand every state transition before touching a function.
A documented token escrow flow for client-to-freelancer payments, platform fees, refunds, and withdrawals.
Project note: This documentation is grounded in the current
Escrow.solimplementation in the source repository.
DaramolaFemi/ERC20-escrow-contract
Client creates escrow
↓
Client approves ERC-20 spending
↓
Client funds escrow
↓
Freelancer delivers work
↓
Client approves work
↓
Freelancer + platform withdraw balancesA separate refund path exists when an escrow remains Funded beyond its deadline.