Skip to content
This repository was archived by the owner on Sep 1, 2023. It is now read-only.

Commit 7369ca4

Browse files
update docstrings
1 parent a06c5a4 commit 7369ca4

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

src/RevokableDefaultOperatorFilterer.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import {RevokableOperatorFilterer} from "./RevokableOperatorFilterer.sol";
66
/**
77
* @title RevokableDefaultOperatorFilterer
88
* @notice Inherits from RevokableOperatorFilterer and automatically subscribes to the default OpenSea subscription.
9+
* Note that OpenSea will disable creator fee enforcement if filtered operators begin fulfilling orders
10+
* on-chain, eg, if the registry is revoked or bypassed.
911
*/
1012
abstract contract RevokableDefaultOperatorFilterer is RevokableOperatorFilterer {
1113
address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

src/RevokableOperatorFilterer.sol

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";
99
* @notice This contract is meant to allow contracts to permanently skip OperatorFilterRegistry checks if desired. The
1010
* Registry itself has an "unregister" function, but if the contract is ownable, the owner can re-register at
1111
* any point. As implemented, this abstract contract allows the contract owner to permanently skip the
12-
* OperatorFilterRegistry checks by passing the zero address to updateRegistryAddress. Once done, the registry
12+
* OperatorFilterRegistry checks by calling revokeOperatorFilterRegistry. Once done, the registry
1313
* address cannot be further updated.
14+
* Note that OpenSea will still disable creator fee enforcement if filtered operators begin fulfilling orders
15+
* on-chain, eg, if the registry is revoked or bypassed.
1416
*/
1517
abstract contract RevokableOperatorFilterer is UpdatableOperatorFilterer {
1618
error RegistryHasBeenRevoked();

src/UpdatableOperatorFilterer.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";
99
* registrant's entries in the OperatorFilterRegistry. This contract allows the Owner to update the
1010
* OperatorFilterRegistry address via updateOperatorFilterRegistryAddress, including to the zero address,
1111
* which will bypass registry checks.
12+
* Note that OpenSea will still disable creator fee enforcement if filtered operators begin fulfilling orders
13+
* on-chain, eg, if the registry is revoked or bypassed.
1214
* @dev This smart contract is meant to be inherited by token contracts so they can use the following:
1315
* - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
1416
* - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.

0 commit comments

Comments
 (0)