MCPSale

Verified contract

Active on Ethereum with 21,542 txns
Deployed by via 0x40702466 at 5668830
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $0.13
ERC-20
Value $0
ERC-20
--
 (#10627)
ERC-721
--
0x9d42e8ced7335139ea37f9b15e3e29311c74485a5c3665310ddca2bb4f29508a
0x2ebc4380c6c6eb95a28d2aebbbf80505a56c7f752ee1d8ee17845501d4d5f0ed
0x32eecb5641efdda2f02e1b594e8c75d2dd9210051724d0be937d87c4aac1cec9
0x46621155adcd7efe3e418fbadd4babcf235d952eb9f9e50363e4119223ca405b
0xbb1b5dd1659e2d6af32981fd80ae7c2a673b71d52b10edb51dcf381e12a27073
0x60cd9dba08938c5e8462596916d0c3859b4e25c02e0bcfcb948c006867b3d197
0x736c3f459aa0b964868b5ab891b18eec3c8bf4bee215cb2eebb1e076197325db
0xfec3e7f7397d5929d755422fa5bc18d2b62124989138f30e054cd1e59f157adb
0x3872ad2783b15db965515f65bb2a4a33125e2007b2be3c97f0f7ecb6033e8808
0x37992f7557b68adad616f91d24217c3e997c693b0436413d63304a1a4c58553b

Functions
Getter at block 21276016
SaleActive(view returns (bool)
false
basePrice(view returns (uint256)
10000000000000000
beneficiary(view returns (address)
0xe4952e54e0797f90eb119464aaa54d30a34011a5
defaultRegionTax(view returns (uint8)
10
divider(view returns (uint32)
8
implementsERC721(view returns (bool)
true
isActive(view returns (bool)
false
mapMaster(view returns (address)
0x501f51187acfbbfb711166dea9ee5bbf77c6c2d8
minMargin(view returns (uint256)
1944000000000000
owner(view returns (address)
0x8acaf4c318803cca315cc63339ef5765628b31a4
totalSupply(view returns (uint256)
45084
Read-only
approved(uint256view returns (address)
balanceOf(address _ownerview returns (uint256 balance)
balances(addressview returns (uint256)
getLandPrice(int32 xint32 yview returns (uint256 price)
getPayouts(int32 xint32 yview returns (uint256[49] payoutsaddress[49] addressesuint8 tokenBought)
getRegionPrice(uint16 regionIdview returns (uint256 next_bid)
ownerOf(uint256 _tokenIdview returns (address owner)
regionExists(uint16 _regionIdview returns (bool)
region_bids(uint16view returns (address currentBuyeruint256 biduint256 activeTill)
regions(uint16view returns (address owneruint8 taxuint256 startPricestring regionNamebool onSalebool allowSaleLandsbool created)
tokens(uint256view returns (uint8 resourcesuint16 regionuint256 buyPriceaddress owner)
zone(int32int32view returns (uint256)
zone_reverse(uint256view returns (int32 xint32 y)
State-modifying
activateZone(int32[] xint32[] yuint8[] regionuint8[] resources
addRegion(uint16 _regionIduint256 _startPricestring _regionName
approve(address _touint256 _tokenId
buyLand(int32 xint32 ypayable 
completeRegionAuction(uint16 regionId
makeBid(uint16 regionIdpayable 
setAllowSellLands(uint16 regionId
setBasePrice(uint256 _amount
setBeneficiary(address _beneficiary
setMapMaster(address _mapMaster
setMinMargin(uint256 _amount
setRegionName(uint16 regionIdstring regionName
setRegionOnSale(uint16 regionId
setRegionOwner(uint16 regionIdaddress owneruint256 viewPrice
setRegionPrice(uint16 regionIduint256 price
setRegionTax(uint16 regionIduint8 tax
setSaleEnd(
takeRegion(uint16 regionId
transfer(address _touint256 _tokenId
transferFrom(address _fromaddress _touint256 _tokenId
transferOwnership(address newOwner
withdrawal(uint256 amount
withdrawalAll(
Events
ActivateMap(int256 xint256 yuint256 tokenId
AddRegion(uint16 indexed regionId
Approval(address indexed owneraddress indexed approveduint256 tokenId
AuctionStarts(uint16 indexed regionId
ChangeRegionName(uint16 indexed regionIdstring regionName
EndSale(bool isEnded
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Payout(address indexed touint256 value
RegionAllowSaleLands(uint16 regionId
RegionNewBid(uint16 indexed regionIdaddress buyeruint256 valueuint256 activeTill
RegionOnSale(uint16 indexed regionId
RegionPayout(address indexed touint256 value
RegionSold(uint16 indexed regionIdaddress owner
TaxUpdate(uint16 indexed regionIduint8 tax
Transfer(address indexed fromaddress indexed touint256 tokenId
UpdateRegionPrice(uint16 indexed regionIduint256 price
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.