// SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.7.0 <0.9.0; import "./DataStorageLayer.sol"; import "./SecurityLayer.sol"; contract MainDataContract is Owner { using DataStorage_LIB for address; address DataStoragecontract; constructor(address _storageData) { DataStoragecontract = _storageData; } function addRecordProof(string memory _proof,string memory _proofIdHash) public isOwner{ DataStoragecontract.setProof(_proof,_proofIdHash); } function getRecordProof(string memory _proofIdHash) public view returns (string memory ret) { return DataStoragecontract.getProof(_proofIdHash); } function getStorageAddress() public view returns (address) { return address(DataStoragecontract); } }