CryptoElections

Verified contract

Active on Ethereum with 569 txns
Deployed by via 0xba2f128d at 5160207
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $8.99
ERC-20
--
0x8dd8aabbc6a8ef2ce513bad7f237a3ce8d99ebaf55c63e16a4ed681f3ded9837
0x5f21ba9c8f13c0c32af0968c12f14d2937d66698879df1aa463eae3815621d86
0x15d96b5753edab9e3de200c68e34aece2f0d0f79e2d5241fd8d0f90f276daf7e
0x3c33c3b262f436274e532842b27faa726885279b29a599a6ea9d4f7a4581d034
0xc09cc9dcd4d15458bfde2f7f86cb24ece44415e9370feddb9144011e2acc6b7a
0x544f19587caca17af7d7f8d0f88860a46f00474eae61190b39fd992ab58e2f2a
0xf7342befc0fb35a7a3730946eca3bbbb7e64bb3a762485417b65320e873dca5e
0x68929a6d04ce1b0e16e88342f0a0ce2712566eb68ef4f5218f1aaf999062d0ed
0xed71c44ff9c26f8f42fd24a86195771a76bc729651e3cb737dc308b246c991d1
0x2c0b4126dadb71e0f159347dcc8f1f60c7b0bc82f03ad0b38cd6a6c54801d617

Functions
Getter at block 21379612

This contract contains no getter function objects.

Read-only
cities(uint256view returns (address mayorstring sloganstring pictureuint256 purchases)
citiesCountries(uint256view returns (uint256)
cityPopulation(uint256view returns (uint256)
countries(uint256view returns (address presidentstring sloganstring flagUrl)
countriesCities(uint256uint256view returns (uint256)
getPrices(uint256 purchasespure returns (uint256[4])
getUserCities(address userview returns (uint256[])
userCities(addressuint256view returns (uint256)
userNicknames(addressview returns (string)
userPendingWithdrawals(addressview returns (uint256)
State-modifying
addCitiesPopulation(uint256[] _citiesuint256[] _populations
addCountryCities(uint256 countryIduint256[] _cities
buyCity(uint256 cityIdpayable 
kill(
setCityPicture(uint256 cityIdstring _picture
setCitySlogan(uint256 cityIdstring _slogan
setCountryPicture(uint256 countryIdstring _flagUrl
setCountrySlogan(uint256 countryIdstring slogan
setMaintenanceMode(bool _maintenance
setNickname(string nickname
transfer(address newCreator
withdraw(
Events
assignCountryEvent(address useruint256 countryId
buyCityEvent(address useruint256 cityId
pendingWithdrawalEvent(address useruint256 value
withdrawalEvent(address useruint256 value
Constructor
constructor(
Fallback and receive
fallback(
Errors

This contract contains no error objects.