Is it possible to call internal functions from a function called using delegatecall?

Contract A call contract B using delegatecall, contract B needs to call an internal function from contract A.

1 Answer 1


No, it's not possible.

Delegatecall simply calls the function inside the context of the current contract. It's like saying "Run function A and do whatever you want in MY storage".

It has nothing to do with visibility, only storage.

It's a good question though, certainly nonintuitive. ✌️


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.