Consider replacing factory pattern with clone pattern
Env: all
Commit: 592dbb0a1535e7d86668b7041bfbcca7b6d6aa07
Observed:
Creating a new Escrow or SDO involves deploying contract code for both the state and logic. This is expensive and wasteful, since every one of these contracts will share the same logic.
Desired:
Implement a clone factory pattern using EIP-1167 which allows deployment of contracts with their own state but with shared logic, decreasing the cost of creating escrows and SDOs.
Steps to reproduce:
Replace the existing factories with ones that use the clone factory pattern.