CryptoElections
Verified contract
Active on
Ethereum with 569 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($8.99)
Native
Value
$8.99
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0.0024 | $3,747.09 |
$8.99 | |
SHNZ2 | ERC-20 | 2K | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 5231035 | 7 years ago | | | 0 | 0.000055244000 | |
| 5225331 | 7 years ago | | | 0 | 0.000042528000 | |
| 5209373 | 7 years ago | | | 0 | 0.000066000000 | |
| 5199555 | 7 years ago | | | 0 | 0.000085056000 | |
| 5193951 | 7 years ago | | | 0 | 0.000085056000 | |
| 5193627 | 7 years ago | | | 0 | 0.000092664000 | |
| 5193622 | 7 years ago | | | 0 | 0.000093292000 | |
| 5193604 | 7 years ago | | | 0 | 0.000087660000 | |
| 5192985 | 7 years ago | | | 0 | 0.000085056000 | |
| 5180967 | 7 years ago | | | 0 | 0.00013213500 |
ABI
ABI objects
Getter at block 21379612
This contract contains no getter function objects.
Read-only
cities(uint256) view returns (address mayor, string slogan, string picture, uint256 purchases)
citiesCountries(uint256) view returns (uint256)
cityPopulation(uint256) view returns (uint256)
countries(uint256) view returns (address president, string slogan, string flagUrl)
countriesCities(uint256, uint256) view returns (uint256)
getPrices(uint256 purchases) pure returns (uint256[4])
getUserCities(address user) view returns (uint256[])
userCities(address, uint256) view returns (uint256)
userNicknames(address) view returns (string)
userPendingWithdrawals(address) view returns (uint256)
State-modifying
Events addCitiesPopulation(uint256[] _cities, uint256[] _populations)
addCountryCities(uint256 countryId, uint256[] _cities)
buyCity(uint256 cityId) payable
kill()
setCityPicture(uint256 cityId, string _picture)
setCitySlogan(uint256 cityId, string _slogan)
setCountryPicture(uint256 countryId, string _flagUrl)
setCountrySlogan(uint256 countryId, string slogan)
setMaintenanceMode(bool _maintenance)
setNickname(string nickname)
transfer(address newCreator)
withdraw()
assignCountryEvent(address user, uint256 countryId)
buyCityEvent(address user, uint256 cityId)
pendingWithdrawalEvent(address user, uint256 value)
withdrawalEvent(address user, uint256 value)
constructor()
fallback()
This contract contains no error objects.