2

Imagine a contract C that makes a delegatecall to a library L.

C -> L

What's the value of this inside L: address(C) or address(L) ?


If now that L makes a normal call to another contract D.

C -> L -> D

What's the value ofmsg.sender inside D: address(C) or address(L) ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.