Can you access an internal function using Multicall?

Hi everyone,

I’m thinking about adding a Multicall abstraction to my contracts to increase the performance of my DApp.

Can you access an internal function of the contract using the multicall abstraction?

If I understand it well, calling a function using the multicall will trigger a CALL opcode which doesn’t allow access to internal elements, but I’m not 100% sure about this and it may have quite bad repercussions.

Welcome @Yakitori. Using Multicall you can’t access internal functions. It actually uses delegatecall as opposed to call, but they are both similar in that they can only invoke external functions.


Thanks for your answer!