DistrictsCore

Verified contract

Active on Ethereum with 46 txns
Deployed by via 0x3c436c03 at 5945612
Slot
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

No balances found for "DistrictsCore"

0x04e5a5d7b7e899aa01b84f9cc37e4d11b4857757001cf362ea35420396862ba0
0x075fb8638c4e9aa8465aae8698fb0cb372295843d2adadd8b4dfccbe794b740b
0x9a9e8b054d3d01b14e46bfce9b81339d7f8430850359728a7f7adc7b33253f36
0x549575298b22be67b1513b2aec43da878f4b3d971d1b2b2bcce2830394c69d67
0x4f0d2a42e610f3800d3630313fed4e1284745a545af8da1fd68024dc682295c3
0x1767e4d9e6a56fc6977ebeb851ff94b4f276a7551168404d8c9401f420ffb041
0x2d69e70eb8e99dba89564ac930dd3d074cf7ec8b0bfa7ddfb9ef7c82c28c6f72
0xffe90295962d9a0c83dd39a93341291ed8a8f52cabb690f8f2ae59e88145c542
0x58f572da811cbbc730e293aba4948fd7d02ad77fbfecd75eecba7cc840bc79f8
0x4264627d929c368ca3b17a6a773cf145a54e2ad00278dd1ae28d42f778ce8524

Functions
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(uint256view returns (uint256 weedPotuint256 weedAmountHereuint256 cokePotuint256 cokeAmountHerebool hasMarketstring name)
getDistrict(uint256 _idview returns (uint256[6] exitsbool hasMarketuint256[24] pricesbool[24] isStockeduint256 weedPotuint256 cokePotuint256 weedAmountHereuint256 cokeAmountHerestring name)
getNarcoHomeLocation(uint256 _narcoIdview returns (uint8 location)
getNarcoLocation(uint256 _narcoIdview returns (uint8 location)
marketItems(uint256view returns (uint256 idstring itemNameuint8 skillAffecteduint8 upgradeAmountuint8 levelRequired)
narcosByDistrict(uint8 _locview returns (uint256[] narcosHere)
numberOfNarcosByDistrict(uint8 _locview returns (uint256 number)
tokenContractAddresses(uint256view returns (address)
State-modifying
buyItem(uint256 _narcoIduint256 _districtuint256 _itemIndexuint256 _quantitypayable 
configureDistrict(uint256 _indexuint256[6] _exitsuint256[24] _pricesbool[24] _isStocked
configureMarketItem(uint256 _iduint8 _skillAffecteduint8 _upgradeAmountuint8 _levelRequiredstring _itemName
createNamedDistrict(uint256 _indexstring _namebool _hasMarket
distributeRevenue(uint256 _districtuint8 _splitWuint8 _splitCpayable 
floatEconony(payable 
hijack(uint256 _hijackerIduint256 _victimIdpayable 
increaseDistrictCoke(uint256 _districtuint256 _quantity
increaseDistrictWeed(uint256 _districtuint256 _quantity
initializeSupply(uint256 _indexuint256 _weedSupplyuint256 _cokeSupply
pause(
sellItem(uint256 _narcoIduint256 _districtuint256 _itemIndexuint256 _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 _narcoIduint256 _exitIdpayable 
unpause(
updatCokeTotal(uint256 _narcoIduint16 _total
updateConsumable(uint256 _narcoIduint256 _indexuint8 _newQuantity
updateWeedTotal(uint256 _narcoIduint16 _total
withdrawFees(
Events
ContractUpgrade(address newContract
EscapedHijack(uint256 indexed hijackeruint256 indexed victimuint8 escapeLocation
HijackDefended(uint256 indexed hijackeruint256 indexed victim
Hijacked(uint256 indexed hijackeruint256 indexed victimuint16 stolenWeeduint16 stolenCoke
NarcoArrived(uint8 indexed locationuint256 indexed narcoId
NarcoLeft(uint8 indexed locationuint256 indexed narcoId
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Pause(
TravelBust(uint256 indexed narcoIduint16 confiscatedWeeduint16 confiscatedCoke
Unpause(
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.