contract IBMapping {
    mapping(string => address) _contractAddress;                    //  投票合约映射

    //  查询地址
    function checkAddress(string memory name) public view returns (address contractAddress) {
        return _contractAddress[name];
    }
    
    // //  添加合约映射地址
    // function addContractAddress(string memory name, address contractAddress) public onlyOwner {
    //     _contractAddress[name] = contractAddress;
    // }

	//  查看是否管理员 //TODO: 
	function checkOwners(address man) public view returns (bool) {
        return true;
    }
}
//  映射合约
function checkAddress(string memory name) public view returns (address contractAddress) {
    return _contractAddress[name];
}

//  投票合约映射
//  查询地址