DistrictsCore
Verified contract
Active on
Ethereum with 46 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 5 additional slots
-
variable spans 71 additional slots
-
variable spans 295 additional slots
Balances ($0.00)
No balances found for "DistrictsCore"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 5946940 | 6 years ago | | | 0 | 0.0048257500 | |
| 5946938 | 6 years ago | | | 0 | 0.0048065500 | |
| 5946912 | 6 years ago | | | 0 | 0.0048161500 | |
| 5946893 | 6 years ago | | | 0 | 0.0048129500 | |
| 5946890 | 6 years ago | | | 0 | 0.0048129500 | |
| 5946868 | 6 years ago | | | 0 | 0.0048033500 | |
| 5946866 | 6 years ago | | | 0 | 0.0048289500 | |
| 5946864 | 6 years ago | | | 0 | 0.0048065500 | |
| 5946860 | 6 years ago | | | 0 | 0.0047969500 | |
| 5946855 | 6 years ago | | | 0 | 0.0048033500 |
ABI
ABI objects
Getter at block 21160273
airLiftPrice() view returns (uint256)
10000000000000000
bustRange() view returns (uint256)
10
coreAddress() view returns (address)
0x3bcbd2093e991363b98cf0f51d40fecd94a55a0d
currentDevFees() view returns (uint256)
0
devFeePercent() view returns (uint256)
2
hijackPrice() view returns (uint256)
8000000000000000
isDopeRaiderDistrictsCore() pure returns (bool)
true
localRevenuePercent() view returns (uint256)
80
narcoCore() view returns (address)
0x3bcbd2093e991363b98cf0f51d40fecd94a55a0d
newContractAddress() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x435bc25b1de2097faaed46e08536121bc50f9d8a
paused() view returns (bool)
true
spreadPercent() view returns (uint256)
5
travelPrice() view returns (uint256)
2000000000000000
Read-only
districts(uint256) view returns (uint256 weedPot, uint256 weedAmountHere, uint256 cokePot, uint256 cokeAmountHere, bool hasMarket, string name)
getDistrict(uint256 _id) view returns (uint256[6] exits, bool hasMarket, uint256[24] prices, bool[24] isStocked, uint256 weedPot, uint256 cokePot, uint256 weedAmountHere, uint256 cokeAmountHere, string name)
getNarcoHomeLocation(uint256 _narcoId) view returns (uint8 location)
getNarcoLocation(uint256 _narcoId) view returns (uint8 location)
marketItems(uint256) view returns (uint256 id, string itemName, uint8 skillAffected, uint8 upgradeAmount, uint8 levelRequired)
narcosByDistrict(uint8 _loc) view returns (uint256[] narcosHere)
numberOfNarcosByDistrict(uint8 _loc) view returns (uint256 number)
tokenContractAddresses(uint256) view returns (address)
State-modifying
Events buyItem(uint256 _narcoId, uint256 _district, uint256 _itemIndex, uint256 _quantity) payable
configureDistrict(uint256 _index, uint256[6] _exits, uint256[24] _prices, bool[24] _isStocked)
configureMarketItem(uint256 _id, uint8 _skillAffected, uint8 _upgradeAmount, uint8 _levelRequired, string _itemName)
createNamedDistrict(uint256 _index, string _name, bool _hasMarket)
distributeRevenue(uint256 _district, uint8 _splitW, uint8 _splitC) payable
floatEconony() payable
hijack(uint256 _hijackerId, uint256 _victimId) payable
increaseDistrictCoke(uint256 _district, uint256 _quantity)
increaseDistrictWeed(uint256 _district, uint256 _quantity)
initializeSupply(uint256 _index, uint256 _weedSupply, uint256 _cokeSupply)
pause()
sellItem(uint256 _narcoId, uint256 _district, uint256 _itemIndex, uint256 _quantity)
setAirLiftPrice(uint256 _price)
setBustRange(uint256 _range)
setDevFeePercent(uint256 _fee)
setHijackPrice(uint256 _price)
setLocalRevenuPercent(uint256 _lrp)
setNarcosCoreAddress(address _address)
setNewAddress(address _v2Address)
setSpreadPercent(uint256 _spread)
setTokenAddresses(address[6] _addresses)
setTravelPrice(uint256 _price)
transferOwnership(address newOwner)
travelTo(uint256 _narcoId, uint256 _exitId) payable
unpause()
updatCokeTotal(uint256 _narcoId, uint16 _total)
updateConsumable(uint256 _narcoId, uint256 _index, uint8 _newQuantity)
updateWeedTotal(uint256 _narcoId, uint16 _total)
withdrawFees()
ContractUpgrade(address newContract)
EscapedHijack(uint256 indexed hijacker, uint256 indexed victim, uint8 escapeLocation)
HijackDefended(uint256 indexed hijacker, uint256 indexed victim)
Hijacked(uint256 indexed hijacker, uint256 indexed victim, uint16 stolenWeed, uint16 stolenCoke)
NarcoArrived(uint8 indexed location, uint256 indexed narcoId)
NarcoLeft(uint8 indexed location, uint256 indexed narcoId)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Pause()
TravelBust(uint256 indexed narcoId, uint16 confiscatedWeed, uint16 confiscatedCoke)
Unpause()
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.