AvatarsEscrow

Verified contract

Active on Ethereum with 2,392 txns
Deployed by via 0x2d1665ed at 19641096
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 8 additional slots
ERC-20
Value $13,243.54
 (#11914)
ERC-721
--
 (#11911)
ERC-721
--
 (#11909)
ERC-721
--
 (#11908)
ERC-721
--
 (#11907)
ERC-721
--
 (#11906)
ERC-721
--
 (#11905)
ERC-721
--
 (#11904)
ERC-721
--
 (#11903)
ERC-721
--
0x2880996ae7dcae1e4b7679f04d48df599e577cb9c35db04ed5330cdebd0c90cd
0x94bf5052dfba8a48dffd92223eee15ce1890c72f79ada6bd3578744e03e46f03
0x074d5c5d1777fb255c7a1dab2c70e887ccfe950ff593b54a3a66c97b87781f50
0xd62be9f0625e6dc46e7c2bf40e285ed20abb4eec3107d974a860a391d274be61
0x426c37d9ddba906f87df16349e07e1562ff77ec7d425731f110a68f6c9388a2b
0x2558a0d504b463b0a8592965fe976a9a97e9eb038be19b8e4181667897ec2efa
0x7f0ca62e5ef1838fdb19f1da674f904952a2ce07f53b4a5ded1c86192d157598
0x8053634cd6fd48b001af1d8b14b4d1beaff886f44af3f2c6655b4f1ce9007f94
0x40d72ff7b8f1e7f9bfc8679aa78c87ed4cfe4810b67fb1f1ff27faa823e2cec5
0x5d99c3fc5d0f4219b16f5fdea10f6cea38df10910f7ab3b724e98f0b4f493652

Functions
Getter at block 21287483
owner(view returns (address)
0x156fb9db6cb952daaebbf080974022271988868f
rewardsPerWeight(view returns (struct IAvatarsEscrowRewardsPerWeight)
(258990602, 34992426968685007, 1732811003, 452997028330000000)
rewardsPeriod(view returns (struct IAvatarsEscrowRewardsPeriod)
(1713418500, 1823794500)
Read-only
checkUserRewards(address _userview returns (uint256)
getAvatarInfo(uint256 _tokenIdview returns (struct IAvatarsEscrowAvatarInfo)
onERC721Received(address operatoraddress fromuint256 tokenIdbytes dataview returns (bytes4)
rewards(address userview returns (struct IAvatarsEscrowUserRewards)
supportsInterface(bytes4 _interfaceIdview returns (bool)
userStakedAvatars(address _userview returns (uint256[])
State-modifying
claim(address _to
extendRentalPeriod(uint256 _tokenIduint32 _rentableUntil
initialStake(uint256[] _tokenIdsuint256[] _weightsaddress _stakeTouint16 _deposituint16 _rentalPerDayuint16 _minRentDaysuint32 _rentableUntiluint32 _maxTimestampbytes _signature
renounceOwnership(
setAvatarsERC721(address _avatars
setAvatarsRental(address _rental
setRentalContract(address _rental
setRewardTokenAddress(address _rewardTokenAddress
setRewards(uint32 _startuint32 _enduint96 _rate
setSigner(address _signer
setUpgrade(bytes4 _sigaddress _target
setWeight(uint256[] _tokenIdsuint256[] _weights
stake(uint256[] _tokenIdsaddress _stakeTouint16 _deposituint16 _rentalPerDayuint16 _minRentDaysuint32 _rentableUntil
transferOwnership(address newOwner
unstake(uint256[] _tokenIdsaddress _unstakeTo
updateAvatar(uint256 _tokenIdstring _ipfsHashuint256 _noncebytes _updateApproverSignature
updateRent(uint256[] _tokenIdsuint16 _deposituint16 _rentalPerDayuint16 _minRentDaysuint32 _rentableUntil
Events
AvatarStaked(uint256 indexed tokenIdaddress indexed user
AvatarUnstaked(uint256 indexed tokenIdaddress indexed user
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RewardClaimed(address receiveruint256 claimed
RewardsPerWeightUpdated(uint256 accumulated
RewardsSet(uint32 startuint32 enduint256 rate
RewardsUpdated(uint32 startuint32 enduint256 rate
UserRewardsUpdated(address useruint256 userRewardsuint256 paidRewardPerWeight
WeightUpdated(address indexed userbool increaseuint256 weightuint256 timestamp
Constructor
constructor(address _rewardTokenAddressaddress _avatars
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.