Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 599 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 599 Bytes

Escrow POC

This is a demonstration of how a TimelockController can be used to create an escrow that belongs to a user, but can only be accessed by that user after a certain amount of time has passed. Other users are given an allowance, so they can withdraw the funds from the escrow before the time has passed.

How to use

Read the tests in test/Escrow.test.sol to see how the escrow can be used. Execute the tests by running forge test.

More info

More internal documentation can be found here.