hats-finance / hats-contracts

MIT License
37 stars 47 forks source link

Replace revocable enum with bool #506

Closed ben-kaufman closed 1 year ago

ben-kaufman commented 1 year ago

This is a small simplification which also saves a bit of contract size. Currently the Revocable option of the token lock is an enum, but only the enabled and disabled options are usable, so this could be simply replaced by a bool instead.