What's the difference between _msgSender(), msg.sender, and tx.origin?
I know msg.sender is the contract/EOA that invokes the function and that tx.origin is the EOA that sent the transaction, but on Google people are saying that _msgSender() is msg.sender and some are saying it's tx.origin

Jan 14, 2022, 2:38 AM
The tx.origin is global variable but msg.sender is involved variable in a function.
Jan 14, 2022, 2:47 AM

© 2024 Draquery.com All rights reserved.