ProjectOpenSea / operator-filter-registry

MIT License
312 stars 93 forks source link

Add permanently revokable OperatorFilterer examples #29

Closed operatorfilterer closed 1 year ago

operatorfilterer commented 1 year ago

The registry allows contracts to unregister (unregister(address)) themselves, so aside from saving some amount of gas, a contract-level toggle is mostly redundant.

This adds examples with a storage boolean that the owner() can flip once to permanently disable the call to the registry.