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
{{ message }}
This repository has been archived by the owner on Jul 6, 2022. It is now read-only.
While transfer()'s only requirement (in terms of being whitelisted) is that the recipient is whitelisted (marked as allowed in sharehoders mapping), transferTo requires in addition that the msg.sender be in that whitelist as well.
If transfer can be initiated without being in the whitelist, why shouldn't it be the same for transferFrom ?
The text was updated successfully, but these errors were encountered:
My point is that it should not work like that. See @adamdossa 's comment on this:
should transferFrom insist that the msg.sender is whitelisted? approve / transferFrom is used to allow a 3rd party to transfer tokens on your behalf, but that 3rd party never owns the tokens. The 3rd party may for example be a smart contract or exchange - is there a requirement that the 3rd party has been KYC’ed / whitelisted?
While
transfer()
's only requirement (in terms of being whitelisted) is that the recipient is whitelisted (marked as allowed in sharehoders mapping), transferTo requires in addition that the msg.sender be in that whitelist as well.If transfer can be initiated without being in the whitelist, why shouldn't it be the same for transferFrom ?
The text was updated successfully, but these errors were encountered: