[{"constant":true,"inputs":[{"name":"_cityId","type":"uint256"},{"name":"_active","type":"bool"}],"name":"getCityBuildings","outputs":[{"name":"countBuildings","type":"uint256"},{"name":"countHouses","type":"uint256"},{"name":"countSchools","type":"uint256"},{"name":"countHospital","type":"uint256"},{"name":"countAmusement","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_cityId","type":"uint256"},{"name":"_buildingType","type":"uint256"},{"name":"_active","type":"bool"}],"name":"getCountBuildings","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_landPrice","type":"uint256"},{"name":"_owner","type":"address"}],"name":"CreateLand","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_cityId","type":"uint256"},{"name":"_amount","type":"uint256"}],"name":"purchaseMetal","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"_senderAddress","type":"address"}],"name":"getCountSenderCities","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"BuildingTypeSquaresOccupied","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"BuildingTypeMetalNeeded","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_cityId","type":"uint256"},{"name":"_buildingType","type":"uint256"}],"name":"getCityActiveBuildings","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_transactionId","type":"uint256"}],"name":"getTransaction","outputs":[{"name":"buyerId","type":"uint256"},{"name":"sellerId","type":"uint256"},{"name":"transactionValue","type":"uint256"},{"name":"itemId","type":"uint256"},{"name":"blockId","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_businessId","type":"uint256"},{"name":"_itemPrice","type":"uint256"}],"name":"updateBusiness","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_cityId","type":"uint256"}],"name":"getHealthCitizens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_cityId","type":"uint256"}],"name":"getProductivityCitizens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_businessId","type":"uint256"}],"name":"getProductionTimeBusiness","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_itemId","type":"uint256"},{"name":"_itemPrice","type":"uint256"},{"name":"_cityId","type":"uint256"}],"name":"createBusiness","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_businessId","type":"uint256"}],"name":"getBusiness","outputs":[{"name":"itemToProduce","type":"uint256"},{"name":"itemPrice","type":"uint256"},{"name":"cityId","type":"uint256"},{"name":"cityMetalStock","type":"uint256"},{"name":"readyTime","type":"uint256"},{"name":"productionTime","type":"uint256"},{"name":"cityLandId","type":"uint256"},{"name":"cityOwner","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_landId","type":"uint256"}],"name":"createCity","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_cityId","type":"uint256"}],"name":"getMaxBusinessesPerCity","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"CityBusinessCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_senderAddress","type":"address"}],"name":"getCountSenderLands","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_itemId","type":"uint256"},{"name":"_businessId","type":"uint256"},{"name":"_cityId","type":"uint256"}],"name":"purchaseBuilding","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_landId","type":"uint256"},{"name":"_createCity","type":"bool"},{"name":"_cityId","type":"uint256"}],"name":"rentLand","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_cityId","type":"uint256"}],"name":"getSalesCity","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_landId","type":"uint256"},{"name":"_typePurchase","type":"uint256"},{"name":"_commission","type":"uint256"}],"name":"purchaseLand","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_landId","type":"uint256"}],"name":"removeTenant","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"CityBuildingsCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"Initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_cityId","type":"uint256"},{"name":"_buildingType","type":"uint256"}],"name":"getCityPendingBuildings","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_cityId","type":"uint256"}],"name":"getActiveBusinessesPerCity","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newAddress","type":"address"}],"name":"UpdateInitiateContractAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_cityId","type":"uint256"}],"name":"getHappinessCitizens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_cityId","type":"uint256"}],"name":"getEducationCitizens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_senderAddress","type":"address"}],"name":"getSenderLands","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_buildingId","type":"uint256"}],"name":"getBuilding","outputs":[{"name":"buildingType","type":"uint256"},{"name":"cityId","type":"uint256"},{"name":"readyTime","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"CitySalesTransactionsCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_cityId","type":"uint256"}],"name":"getCityPopulation","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_senderAddress","type":"address"}],"name":"getSenderCities","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_businessType","type":"uint256"}],"name":"getActiveBusinessesPerType","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"CountBusinessesPerType","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_landId","type":"uint256"},{"name":"_landPrice","type":"uint256"},{"name":"_typeUpdate","type":"uint256"},{"name":"_commission","type":"uint256"}],"name":"updateLand","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_cityId","type":"uint256"}],"name":"getCity","outputs":[{"name":"landId","type":"uint256"},{"name":"landOwner","type":"address"},{"name":"cityOwner","type":"address"},{"name":"cityPrice","type":"uint256"},{"name":"cityGdp","type":"uint256"},{"name":"cityForSale","type":"bool"},{"name":"squaresOccupied","type":"uint256"},{"name":"metalStock","type":"uint256"},{"name":"cityPopulation","type":"uint256"},{"name":"healthCitizens","type":"uint256"},{"name":"educationCitizens","type":"uint256"},{"name":"happinessCitizens","type":"uint256"},{"name":"productivityCitizens","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_cityId","type":"uint256"},{"name":"_active","type":"bool"}],"name":"getCountAllBuildings","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_landId","type":"uint256"}],"name":"getLand","outputs":[{"name":"ownerAddress","type":"address"},{"name":"landPrice","type":"uint256"},{"name":"landForSale","type":"bool"},{"name":"landForRent","type":"bool"},{"name":"landOwnerCommission","type":"uint256"},{"name":"isOccupied","type":"bool"},{"name":"cityRentingId","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getCountCities","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]