LandResourceV6
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
17
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "LandResourceV6"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "LandResourceV6"
ABI
ABI objects
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 _tokenId, address _resource, uint256 _currentTime, uint256 _lastUpdateTime) view returns (uint256 minableBalance)
availableItemResources(address _itemToken, uint256 _itemId, address[] _resources) view returns (uint256[])
availableLandResources(uint256 _landId, address[] _resources) view returns (uint256[])
enhanceStrengthRateByIndex(address _resource, uint256 _tokenId, uint256 _index) view returns (uint256)
enhanceStrengthRateOf(address _resource, uint256 _tokenId) view returns (uint256)
getBarItem(uint256 _tokenId, uint256 _index) view returns (address, uint256, address)
getBarMiningStrength(uint256 _landId, address _resource, uint256 _index) view returns (uint256)
getBarRate(uint256 _landId, address _resource, uint256 _index) view returns (uint256)
getBarsMiningStrength(uint256 _landId, address _resource) view returns (uint256 barsMiningStrength)
getBarsRate(uint256 _landId, address _resource) view returns (uint256 barsRate)
getItemMinedBalance(address _itemToken, uint256 _itemId, address _resource) view returns (uint256)
getLandIdByItem(address _item, uint256 _itemId) view returns (address, uint256)
getLandMinedBalance(uint256 _landId, address _resource) view returns (uint256)
getLandMiningStrength(uint256 _landId, address _resource) view returns (uint256)
getMinerOnLand(uint256 _landId, address _resource, uint256 _index) view returns (uint256)
getReleaseSpeed(uint256 _tokenId, address _resource, uint256 _time) view returns (uint256 currentSpeed)
getTotalMiningStrength(uint256 _landId, address _resource) view returns (uint256)
isNotProtect(address _token, uint256 _id) view returns (bool)
itemId2Status(address, uint256) view returns (address staker, uint256 tokenId, uint256 index)
itemMinedBalance(address, uint256, address) view returns (uint256)
land2BarRate(uint256, address, uint256) view returns (uint256)
land2ResourceMineState(uint256) view returns (uint256 lastUpdateSpeedInSeconds, uint256 lastDestoryAttenInSeconds, uint256 industryIndex, uint128 lastUpdateTime, uint64 totalMiners, uint64 maxMiners)
landId2Bars(uint256, uint256) view returns (address staker, address token, uint256 id, address resource)
landWorkingOn(uint256 _apostleTokenId) view returns (uint256 landId)
miner2Index(uint256) view returns (uint256 landTokenId, address resource, uint64 indexInResource)
protectPeriod(address, uint256) view returns (uint256)
supportsInterface(bytes4 _interfaceId) view returns (bool)
State-modifying
Events activityStopped(uint256 _tokenId)
batchClaimLandResource(uint256[] _landTokenIds)
batchStartMining(uint256[] _tokenIds, uint256[] _landTokenIds, address[] _resources)
claimItemResource(address _itemToken, uint256 _itemId)
claimLandResource(uint256 _landId)
devestAndClaim(address _itemToken, uint256 _tokenId, uint256 _index)
divest(uint256 _tokenId, uint256 _index)
equip(uint256 _tokenId, address _resource, uint256 _index, address _token, uint256 _id)
initializeContract(address _registry, uint256 _resourceReleaseStartTime)
mine(uint256 _landTokenId)
setAuthority(address authority_)
setMaxAmount(uint256 _maxAmount)
setMaxMiners(uint256 _maxMiners)
setOwner(address owner_)
startMining(uint256 _tokenId, uint256 _landTokenId, address _resource)
stopMining(uint256 _tokenId)
updateMinerStrengthWhenStart(uint256 _apostleTokenId)
updateMinerStrengthWhenStop(uint256 _apostleTokenId)
Divest(uint256 indexed tokenId, address resource, uint256 index, address staker, address token, uint256 id)
Equip(uint256 indexed tokenId, address resource, uint256 index, address staker, address token, uint256 id)
ItemResourceClaimed(address owner, address itemToken, uint256 itemTokenId, uint256 goldBalance, uint256 woodBalance, uint256 waterBalance, uint256 fireBalance, uint256 soilBalance)
LandResourceClaimed(address owner, uint256 landId, uint256 goldBalance, uint256 woodBalance, uint256 waterBalance, uint256 fireBalance, uint256 soilBalance)
LogSetAuthority(address indexed authority)
LogSetOwner(address indexed owner)
ResourceClaimed(address owner, uint256 landTokenId, uint256 goldBalance, uint256 woodBalance, uint256 waterBalance, uint256 fireBalance, uint256 soilBalance)
SetMaxLandBar(uint256 maxAmount)
SetMaxMiner(uint256 maxMiners)
StartBarMining(uint256 barIndex, uint256 landId, address resource, uint256 rate)
StartMining(uint256 minerTokenId, uint256 landId, address _resource, uint256 strength)
StopBarMining(uint256 barIndex, uint256 landId, address rate)
StopMining(uint256 minerTokenId, uint256 landId, address _resource, uint256 strength)
UpdateMiningStrengthWhenStart(uint256 apostleTokenId, uint256 landId, uint256 strength)
UpdateMiningStrengthWhenStop(uint256 apostleTokenId, uint256 landId, uint256 strength)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.