HeroEscrowV2
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 5554 additional slots
-
variable spans 173 additional slots
-
variable spans 694 additional slots
Balances ($0.00)
No balances found for "HeroEscrowV2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "HeroEscrowV2"
ABI
ABI objects
Getter at block 21191504 getAllHeroesInfo() view returns ((uint16, address, uint16, uint16, uint16, uint32)[5555])
owner() view returns (address)
0x0000000000000000000000000000000000000000
rewardsPerlevel() view returns (uint32 totalLevel, uint96 accumulated, uint32 lastUpdated, uint96 rate)
(totalLevel=0, accumulated=0, lastUpdated=0, rate=0)
Read-only
checkUserRewards(address user) view returns (uint256)
getHeroInfo(uint256 tokenId) view returns (struct HeroEscrowV2HeroInfo)
getHeroLevel(uint256 tokenId) view returns (uint32 level)
onERC721Received(address operator, address from, uint256 tokenId, bytes data) view returns (bytes4)
rewards(address) view returns (uint32 stakedLevel, uint96 accumulated, uint96 checkpoint)
stakedHeroes(address, uint256) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events claim(address to)
extendRentalPeriod(uint256 tokenId, uint32 _rentableUntil)
increment()
initialize(address wrld, address herogalaxy)
renounceOwnership()
setRewards(uint96 rate)
setSigner(address _signer)
stake(uint256[] tokenIds, uint256[] levels, address stakeTo, uint32 _maxTimestamp, bytes _signature)
transferOwnership(address newOwner)
unstake(uint256[] tokenIds, address unstakeTo)
updateRent(uint256[] tokenIds, uint16 _deposit, uint16 _rentalPerDay, uint16 _minRentDays, uint32 _rentableUntil)
HeroStaked(uint256 indexed tokenId, address indexed user)
HeroUnstaked(uint256 indexed tokenId, address indexed user)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RewardClaimed(address receiver, uint256 claimed)
RewardsSet(uint256 rate)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.