BS-10294, add expression to retrieve a contract input