Is there anyway to know the name of the external method calling a contract's method from within the called contract method?

As an example, msg.sender gives you the address of the calling contract. I tried using msg.sig, however msg.sig gives you the function of the contract being called and not the name of the function where the original call came from.

In my particular application, I do not have control of the calling contract so I cant have a solution on that end.

Method A From Contract A calls Method B From Contract B.

Contract B needs to know what method from Contract A Called without Contract A passing that information.

Is this possible?



Browse other questions tagged or ask your own question.