Skip to content
This repository has been archived by the owner on Jul 6, 2022. It is now read-only.

SecurityToken's transferFrom requires the msg.sender to be whitelisted #45

Closed
pabloruiz55 opened this issue Jan 16, 2018 · 2 comments
Closed

Comments

@pabloruiz55
Copy link
Contributor

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 ?

@pabloruiz55
Copy link
Contributor Author

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants