getContractArray implementation