Posts

Showing posts from March 17, 2019

What other constants depend on the current call like msg.sender?

Image
2 I recently noticed that msg.sender isn't always the original caller's address (see here). It's the address of the current call. So if foo() calls bar() , then msg.sender in bar() will be the address of the contract containing foo() . My questions are: Are there any other constants that depend on the current call? Full list: https://solidity.readthedocs.io/en/latest/units-and-global-variables.html#special-variables-and-functions What's the best way to get the original sender's address? contract-design contract-invocation constant share | improve this question edited Jan 24 at 19:10 Rob