LandResourceV6

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xc1f28122 at 12748431
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "LandResourceV6"

No transactions found for "LandResourceV6"


Functions
Getter at block 21281543
CONTRACT_FIRE_ERC20_TOKEN(view returns (bytes32)
0x434f4e54524143545f464952455f45524332305f544f4b454e00000000000000
CONTRACT_GOLD_ERC20_TOKEN(view returns (bytes32)
0x434f4e54524143545f474f4c445f45524332305f544f4b454e00000000000000
CONTRACT_INTERSTELLAR_ENCODER(view returns (bytes32)
0x434f4e54524143545f494e5445525354454c4c41525f454e434f444552000000
CONTRACT_LAND_BASE(view returns (bytes32)
0x434f4e54524143545f4c414e445f424153450000000000000000000000000000
CONTRACT_METADATA_TELLER(view returns (bytes32)
0x434f4e54524143545f4d455441444154415f54454c4c45520000000000000000
CONTRACT_OBJECT_OWNERSHIP(view returns (bytes32)
0x434f4e54524143545f4f424a4543545f4f574e45525348495000000000000000
CONTRACT_SOIL_ERC20_TOKEN(view returns (bytes32)
0x434f4e54524143545f534f494c5f45524332305f544f4b454e00000000000000
CONTRACT_TOKEN_USE(view returns (bytes32)
0x434f4e54524143545f544f4b454e5f5553450000000000000000000000000000
CONTRACT_WATER_ERC20_TOKEN(view returns (bytes32)
0x434f4e54524143545f57415445525f45524332305f544f4b454e000000000000
CONTRACT_WOOD_ERC20_TOKEN(view returns (bytes32)
0x434f4e54524143545f574f4f445f45524332305f544f4b454e00000000000000
DENOMINATOR(view returns (uint256)
10000
FURNACE_ITEM_MINE_FEE(view returns (bytes32)
0x4655524e4143455f4954454d5f4d494e455f4645450000000000000000000000
InterfaceId_ERC165(view returns (bytes4)
0x01ffc9a7
RATE_PRECISION(view returns (uint128)
100000000
TOTAL_SECONDS(view returns (uint256)
864000000
UINT_ITEMBAR_PROTECT_PERIOD(view returns (bytes32)
0x55494e545f4954454d4241525f50524f544543545f504552494f440000000000
attenPerDay(view returns (uint256)
1
authority(view returns (address)
0x0000000000000000000000000000000000000000
maxAmount(view returns (uint256)
0
maxMiners(view returns (uint256)
0
owner(view returns (address)
0x7ae77149ed38c5dd313e9069d790ce7085caf0a6
recoverAttenPerDay(view returns (uint256)
20
registry(view returns (address)
0x0000000000000000000000000000000000000000
resourceReleaseStartTime(view returns (uint256)
0
Read-only
_getMinableBalance(uint256 _tokenIdaddress _resourceuint256 _currentTimeuint256 _lastUpdateTimeview returns (uint256 minableBalance)
availableItemResources(address _itemTokenuint256 _itemIdaddress[] _resourcesview returns (uint256[])
availableLandResources(uint256 _landIdaddress[] _resourcesview returns (uint256[])
enhanceStrengthRateByIndex(address _resourceuint256 _tokenIduint256 _indexview returns (uint256)
enhanceStrengthRateOf(address _resourceuint256 _tokenIdview returns (uint256)
getBarItem(uint256 _tokenIduint256 _indexview returns (addressuint256address)
getBarMiningStrength(uint256 _landIdaddress _resourceuint256 _indexview returns (uint256)
getBarRate(uint256 _landIdaddress _resourceuint256 _indexview returns (uint256)
getBarsMiningStrength(uint256 _landIdaddress _resourceview returns (uint256 barsMiningStrength)
getBarsRate(uint256 _landIdaddress _resourceview returns (uint256 barsRate)
getItemMinedBalance(address _itemTokenuint256 _itemIdaddress _resourceview returns (uint256)
getLandIdByItem(address _itemuint256 _itemIdview returns (addressuint256)
getLandMinedBalance(uint256 _landIdaddress _resourceview returns (uint256)
getLandMiningStrength(uint256 _landIdaddress _resourceview returns (uint256)
getMinerOnLand(uint256 _landIdaddress _resourceuint256 _indexview returns (uint256)
getReleaseSpeed(uint256 _tokenIdaddress _resourceuint256 _timeview returns (uint256 currentSpeed)
getTotalMiningStrength(uint256 _landIdaddress _resourceview returns (uint256)
isNotProtect(address _tokenuint256 _idview returns (bool)
itemId2Status(addressuint256view returns (address stakeruint256 tokenIduint256 index)
itemMinedBalance(addressuint256addressview returns (uint256)
land2BarRate(uint256addressuint256view returns (uint256)
land2ResourceMineState(uint256view returns (uint256 lastUpdateSpeedInSecondsuint256 lastDestoryAttenInSecondsuint256 industryIndexuint128 lastUpdateTimeuint64 totalMinersuint64 maxMiners)
landId2Bars(uint256uint256view returns (address stakeraddress tokenuint256 idaddress resource)
landWorkingOn(uint256 _apostleTokenIdview returns (uint256 landId)
miner2Index(uint256view returns (uint256 landTokenIdaddress resourceuint64 indexInResource)
protectPeriod(addressuint256view returns (uint256)
supportsInterface(bytes4 _interfaceIdview returns (bool)
State-modifying
activityStopped(uint256 _tokenId
batchClaimLandResource(uint256[] _landTokenIds
batchStartMining(uint256[] _tokenIdsuint256[] _landTokenIdsaddress[] _resources
claimItemResource(address _itemTokenuint256 _itemId
claimLandResource(uint256 _landId
devestAndClaim(address _itemTokenuint256 _tokenIduint256 _index
divest(uint256 _tokenIduint256 _index
equip(uint256 _tokenIdaddress _resourceuint256 _indexaddress _tokenuint256 _id
initializeContract(address _registryuint256 _resourceReleaseStartTime
mine(uint256 _landTokenId
setAuthority(address authority_
setMaxAmount(uint256 _maxAmount
setMaxMiners(uint256 _maxMiners
setOwner(address owner_
startMining(uint256 _tokenIduint256 _landTokenIdaddress _resource
stopMining(uint256 _tokenId
updateMinerStrengthWhenStart(uint256 _apostleTokenId
updateMinerStrengthWhenStop(uint256 _apostleTokenId
Events
Divest(uint256 indexed tokenIdaddress resourceuint256 indexaddress stakeraddress tokenuint256 id
Equip(uint256 indexed tokenIdaddress resourceuint256 indexaddress stakeraddress tokenuint256 id
ItemResourceClaimed(address owneraddress itemTokenuint256 itemTokenIduint256 goldBalanceuint256 woodBalanceuint256 waterBalanceuint256 fireBalanceuint256 soilBalance
LandResourceClaimed(address owneruint256 landIduint256 goldBalanceuint256 woodBalanceuint256 waterBalanceuint256 fireBalanceuint256 soilBalance
LogSetAuthority(address indexed authority
LogSetOwner(address indexed owner
ResourceClaimed(address owneruint256 landTokenIduint256 goldBalanceuint256 woodBalanceuint256 waterBalanceuint256 fireBalanceuint256 soilBalance
SetMaxLandBar(uint256 maxAmount
SetMaxMiner(uint256 maxMiners
StartBarMining(uint256 barIndexuint256 landIdaddress resourceuint256 rate
StartMining(uint256 minerTokenIduint256 landIdaddress _resourceuint256 strength
StopBarMining(uint256 barIndexuint256 landIdaddress rate
StopMining(uint256 minerTokenIduint256 landIdaddress _resourceuint256 strength
UpdateMiningStrengthWhenStart(uint256 apostleTokenIduint256 landIduint256 strength
UpdateMiningStrengthWhenStop(uint256 apostleTokenIduint256 landIduint256 strength
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.