This repository has been archived by the owner on Jan 11, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
be paranoid about the 'from' parameter.
Aderyn alerted of this: Passing an arbitrary `from` address to `transferFrom` (or `safeTransferFrom`) can lead to loss of funds, because anyone can transfer tokens from the `from` address if an approval is made. This is not a possibility since this parameter is in an internal library, and the only caller passes in msg.sender. But I can't predict how this code will evolve, so it may become a footgun down the line. Removing.
- Loading branch information