A delegatecall'ed function executes inside of the delegatecaller contract's own memory & storage context.

But I'm wondering whether the following is in any way possible (i.e. if certain access modifiers are used):

EOA msg.sender calls contractA.method(), contractA.method() delegatecalls to contractB.(), contractB.method() runs. (Somehow?) ContractB's 'mapping (address => bool) approve;' is updated to include msg.sender[true].

1 Answer 1


The method on the delegate contract should be able to make call to a different method on the same contract which should put it in the context of the delegate contract

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.