MyEtherCityGame

Verified contract

Active on Ethereum with 1,195 txns
Deployed by via 0x415aa00b at 5331937
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0xb6075dfc511b37e3e484d559f20a5aad2d2b9372b915586de64d7521f2b72738
0x2d48f079cd4fd09e9c8a094dd6a69ddf343da92e58f825d1656fdc8484e5c544
0xcb76e97096032bb200305fd4e5790493b36d94d2ddb253b944c0e8a4ac070761
0xf0990caa1d58bd351a73ef8704bad52a672fa500a666241e513b60bb5460a93c
0xa5719344d6f8f742a42fef766212234c27ac6d9f99fb48c05003939ca3d602ec
0xf197bb9a83b29993e42058c10b91382e945b2aad5de647f57b50240b249ccc37
From
0x82daba488fbf4039e0c98382f64fcdef753e3b0f1cb21e264574b62b2caa3372
From
0xb28e4ee53f1baadf97e70b56f5349009fa6a36f4db8acb202fa8661ac742d0a6
From
0xde97801ce0a877d22cebecbbf2ba9d1a2b8372aeec574f934cc8832ae3039bcb
From
0x91da9f447f8483762251ab0cd0df23c84040b358ff795e15d5467cacd0aba603
From

Functions
Getter at block 21309965
getCountCities(view returns (uint256)
110
Read-only
BuildingTypeMetalNeeded(uint256view returns (uint256)
BuildingTypeSquaresOccupied(uint256view returns (uint256)
CityBuildingsCount(uint256view returns (uint256)
CityBusinessCount(uint256view returns (uint256)
CitySalesTransactionsCount(uint256view returns (uint256)
CountBusinessesPerType(uint256view returns (uint256)
getActiveBusinessesPerCity(uint256 _cityIdview returns (uint256[])
getActiveBusinessesPerType(uint256 _businessTypeview returns (uint256[])
getBuilding(uint256 _buildingIdview returns (uint256 buildingTypeuint256 cityIduint32 readyTime)
getBusiness(uint256 _businessIdview returns (uint256 itemToProduceuint256 itemPriceuint256 cityIduint256 cityMetalStockuint256 readyTimeuint256 productionTimeuint256 cityLandIdaddress cityOwner)
getCity(uint256 _cityIdview returns (uint256 landIdaddress landOwneraddress cityOwneruint256 cityPriceuint256 cityGdpbool cityForSaleuint256 squaresOccupieduint256 metalStockuint256 cityPopulationuint256 healthCitizensuint256 educationCitizensuint256 happinessCitizensuint256 productivityCitizens)
getCityActiveBuildings(uint256 _cityIduint256 _buildingTypeview returns (uint256[])
getCityBuildings(uint256 _cityIdbool _activeview returns (uint256 countBuildingsuint256 countHousesuint256 countSchoolsuint256 countHospitaluint256 countAmusement)
getCityPendingBuildings(uint256 _cityIduint256 _buildingTypeview returns (uint256[])
getCityPopulation(uint256 _cityIdview returns (uint256)
getCountAllBuildings(uint256 _cityIdbool _activeview returns (uint256)
getCountBuildings(uint256 _cityIduint256 _buildingTypebool _activeview returns (uint256)
getCountSenderCities(address _senderAddressview returns (uint256)
getCountSenderLands(address _senderAddressview returns (uint256)
getEducationCitizens(uint256 _cityIdview returns (uint256)
getHappinessCitizens(uint256 _cityIdview returns (uint256)
getHealthCitizens(uint256 _cityIdview returns (uint256)
getLand(uint256 _landIdview returns (address ownerAddressuint256 landPricebool landForSalebool landForRentuint256 landOwnerCommissionbool isOccupieduint256 cityRentingId)
getMaxBusinessesPerCity(uint256 _cityIdview returns (uint256)
getProductionTimeBusiness(uint256 _businessIdview returns (uint256)
getProductivityCitizens(uint256 _cityIdview returns (uint256)
getSalesCity(uint256 _cityIdview returns (uint256[])
getSenderCities(address _senderAddressview returns (uint256[])
getSenderLands(address _senderAddressview returns (uint256[])
getTransaction(uint256 _transactionIdview returns (uint256 buyerIduint256 sellerIduint256 transactionValueuint256 itemIduint256 blockId)
State-modifying
CreateLand(uint256 _landPriceaddress _owner
Initialize(
UpdateInitiateContractAddress(address _newAddress
createBusiness(uint256 _itemIduint256 _itemPriceuint256 _cityId
createCity(uint256 _landId
purchaseBuilding(uint256 _itemIduint256 _businessIduint256 _cityIdpayable 
purchaseLand(uint256 _landIduint256 _typePurchaseuint256 _commissionpayable 
purchaseMetal(uint256 _cityIduint256 _amountpayable 
removeTenant(uint256 _landId
rentLand(uint256 _landIdbool _createCityuint256 _cityId
updateBusiness(uint256 _businessIduint256 _itemPrice
updateLand(uint256 _landIduint256 _landPriceuint256 _typeUpdateuint256 _commission
Events

This contract contains no event objects.

Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.