HeroEscrowV2

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x21b58881 at 15037425
Slot
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

No balances found for "HeroEscrowV2"

No transactions found for "HeroEscrowV2"


Functions
Getter at block 21191504
 
getAllHeroesInfo(view returns ((uint16, address, uint16, uint16, uint16, uint32)[5555])
owner(view returns (address)
0x0000000000000000000000000000000000000000
rewardsPerlevel(view returns (uint32 totalLeveluint96 accumulateduint32 lastUpdateduint96 rate)
(totalLevel=0, accumulated=0, lastUpdated=0, rate=0)
Read-only
checkUserRewards(address userview returns (uint256)
getHeroInfo(uint256 tokenIdview returns (struct HeroEscrowV2HeroInfo)
getHeroLevel(uint256 tokenIdview returns (uint32 level)
onERC721Received(address operatoraddress fromuint256 tokenIdbytes dataview returns (bytes4)
rewards(addressview returns (uint32 stakedLeveluint96 accumulateduint96 checkpoint)
stakedHeroes(addressuint256view returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
claim(address to
extendRentalPeriod(uint256 tokenIduint32 _rentableUntil
increment(
initialize(address wrldaddress herogalaxy
renounceOwnership(
setRewards(uint96 rate
setSigner(address _signer
stake(uint256[] tokenIdsuint256[] levelsaddress stakeTouint32 _maxTimestampbytes _signature
transferOwnership(address newOwner
unstake(uint256[] tokenIdsaddress unstakeTo
updateRent(uint256[] tokenIdsuint16 _deposituint16 _rentalPerDayuint16 _minRentDaysuint32 _rentableUntil
Events
HeroStaked(uint256 indexed tokenIdaddress indexed user
HeroUnstaked(uint256 indexed tokenIdaddress indexed user
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RewardClaimed(address receiveruint256 claimed
RewardsSet(uint256 rate
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.