enhance ContractService