ContractDetails only accepts 2 inputs and 2 inputs are provided, need to figure out which are required