struct ForeignCall { bool set; address foreignCallAddress; bytes4 signature; ParamTypes returnType; uint256 foreignCallIndex; ParamTypes[] parameterTypes; int8[] typeSpecificIndices; }