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
The compiler does throw an error for combining implementations since it does not know which method to use. This does not solve the correct implementation tho. But either way I created an implementation so we can see it and decide afterwards if we want to use it or not.
The approach in this implementation is:
But this approach has gotten much more expensive with recent gas cost changes.
We can improve this to a
pure
implementation to save gas.The text was updated successfully, but these errors were encountered: