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
Currently, when you want to check whether a user is delegated to an adress I have to always repeat this pattern:
getCode
remove EIP7702 Prefix
sanitzie Address
and can then compare that.
It would be nice to have some function like checkDelegation(userAddress, expectedDelegationAddress) which checks the above and then returns true | false or at least the respective address.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, when you want to check whether a user is delegated to an adress I have to always repeat this pattern:
and can then compare that.
It would be nice to have some function like checkDelegation(userAddress, expectedDelegationAddress) which checks the above and then returns true | false or at least the respective address.
Beta Was this translation helpful? Give feedback.
All reactions