Open sangier opened 1 month ago
Staticcall can be useful for functions where only a return value is desired and state changes are unwanted. It add an extra layer of safety since it will revert if the contract called causes a state change and can save some gas.
Food for thoughts:
Staticcall can be useful for functions where only a return value is desired and state changes are unwanted. It add an extra layer of safety since it will revert if the contract called causes a state change and can save some gas.
Food for thoughts: