Closed tdergouzi closed 1 year ago
When one account "subscribes" to another, the isOperatorAllowed
method refers directly to the subscription account's curated lists of filtered operators and codehashes. No data is copied when subscribing, since the isOperatorAllowed
check looks directly at the other account's lists. Any updates the subscription account makes to its lists are automatically reflected in the check. In effect, when an account subscribes to another, they are delegating their curation to the second account.
Subscriptions can be removed or updated at any time.
Accounts may optionally copy the lists of other accounts instead of subscribing. In that case, however, any updates the second account makes will not be reflected by the first account - because the registry is looking at the curated lists of the original account, and not a separate subscription account.
Thanks for helping me figured it out.
First, i want to thank to OpenSea about enforce creator fees. I have some problems with the function
subscribe
:According to the function comments, if the registrant calls this function to subscribe a new subscription. Is that means the
_filteredOperators[registrant]
should contains_filteredOperators[newSubscription]
, but there is nocopy
code. And there is functioncopyEntriesOf
, why not copy the entries of new subscription into registrant's filtered operators when callsubscribe
?