delegatable / delegatable-sol

Counterfactual revocable-delegation
https://delegatable.org
113 stars 14 forks source link

Enforcer/timestamp after #21

Closed gkoum-7 closed 2 years ago

kamescg commented 2 years ago

The pull request looks good to me @gkoum-7

@danfinlay After some brainstorming with a couple of developers (@gkoum-7 @mcoso @JustBassey) we thought it made more sense to split the BlockNumber and BlockTimestamp enforcers into 2 distinct enforcers: before and after. Instead of overloading a single enforcer with multiple switches/flags for changing the expected behavior.

In short thinking we'll replace:

With the incoming PRs:

Is that cool with you?