Contract as a view