import chain and ctypes proxy tyeps definition