Skip to content

DelegateContext

DelegateContext

FunctionMustBeCalledThroughDelegatecall

error FunctionMustBeCalledThroughDelegatecall()

Thrown when a function is called directly and not through a delegatecall.

__self

address __self

onlyDelegatecall

modifier onlyDelegatecall()

Check that the execution is being performed through a delegatecall call.