Part of #1055. It should check given scripthash against manifest groups and return the contract state as a struct (not interop interface).
Manifest contains all of smartcontract's metadata including parameters, return value, permissions etc.