You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see now that I could derive the type of scheme from its permissions. But we will need an interface also for other types of schemes. I'd go for the second option: each Scheme as a type or schemeType attribute that has the same name as the contract - from that we can derive its interface (if we have the code).
Here's the thing:
In the library, I'd expect this kind of interaction (one of these, I'm not sure about the syntax yet):
The first problem with this is that at the moment there is no way (as far as I can see) to get the 'schemeRegistrar' from the controller.
There is an extra complication that in theory there is no the schemeRegistrar, there could be many registered.
(Just be clear, what we can do is:
)
Possible solutions:
schemeRegistrar
,updateScheme
andglobalConstraintRegistrar
(with specific registration functions).I vote tentatively for the second solution, which seems the least traumatic and does not need any changes in the code.
The text was updated successfully, but these errors were encountered: