State employee knowingly, otherwise than as provided by law for the proper discharge of official duties, directly or indirectly give, promise or offer compensation to a public official in relation to any particular matter in which the commonwealth or a state agency is a party or has a direct and substantial interest