House

Verified contract

Active on Ethereum with 61 txns
Deployed by via 0x99d57ef8 at 18638358
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $650.53
ERC-20
--
 (#60)
ERC-721
--
 (#59)
ERC-721
--
 (#58)
ERC-721
--
 (#57)
ERC-721
--
 (#55)
ERC-721
--
 (#54)
ERC-721
--
 (#53)
ERC-721
--
 (#51)
ERC-721
--
0x2f5aefc5cb180cb7db372f25841f92bacc3f356216ab37a7314f06c46f89aa93
0x47221ec3a2da998d093b2bb51652d43200b44c04e4015919b5a4a8669d78db0e
0x37739329b3c0ac0f16f34b8828ca7eb379ef25c61232ce3d6d6b1bf745ed1f71
0xdad08fd6be588ab6ba471cf5eee61059a653d43a8be679df8443fab6ef5efee0
0xbf4c4a24b71b24ed6e7b27c833d5203a281ac86ae396b45f7916ba1f632f7254
0x9bea6ccdd7c76521b3076146a35c4b4bcf1f655c8ed4471337cece0515b80ada
0x471a359860a0653ff05a51203d3d839207865a3bf98621937b8b7698c92c52d6
0x88ecbcc96d1926a44459dc730590e906d71eae2e048981eb29695afec1d7f81d
0xd838ae10295279f12ba927bec78bbfdbd623c6c4c1548ccd9c5972fd4c75110c
0xcd2d93f96ec83b9eb7aa0733e1ae315e1ab0e13d66428870447be06562c30bd0

Functions
Getter at block 21267187
area(view returns (uint256)
60
availableNFTs(view returns (uint256)
7
ftAddress(view returns (address)
0x5b34e7b4d994fbd585eb4e7dafd06d6188efa5e1
isActive(view returns (bool)
true
nftAddress(view returns (address)
0x4ed831ff799506682c5a7aa49dd6d41542518a42
owner(view returns (address)
0x35e869e0e4385e36c8869204ff13891d0dc843fe
rewardsAddress(view returns (address)
0xdac17f958d2ee523a2206206994597c13d831ec7
Read-only
getUserInfo(address _addressview returns (struct HouseUser)
getUserNFTs(address _addressview returns (uint256[])
State-modifying
activateHouse(bool _isActive
buyNFT(uint256 _nftAmount
claimRewards(
distributeRewards(uint256 _rewards
onERC721Received(address _operatoraddress _fromuint256 _tokenIdbytes _datareturns (bytes4)
renounceOwnership(
sellNFT(uint256[] _tokenIds
stakeNFT(uint256[] _tokenIds
transferOwnership(address newOwner
unstakeNFT(uint256[] _tokenIds
withdraw(
withdrawRewards(
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(uint256 _areaaddress _ftAddressaddress _nftAddressaddress _rewardsAddress
Fallback and receive

This contract contains no fallback and receive objects.

Errors
HouseIsNotActive(
NoFundsToClaim(
NoTokensToSellOrStakeOrUnstake(
NotAnNFTOwner(
NotEnoughFunds(
NotEnoughFundsOnContract(
NotEnoughNFTsOnContract(