BuildingManager

Verified contract

Active on Ethereum with 220 txns
Deployed by via 0x7a616ec5 at 19956165
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
ERC-20
--
0xfb1f4c63f15cf1de55a2f5a84b89714c7e694c0406614c09f2d0fe04e4c488cf
0x83f871b6f8ad6eef7c63d3ceb2e68066e563fe6e06b75026e0a799cce718b624
0x426ca12f6a9823ac46c548bc5b1d96ddb72c1fa0119716c5561f329bf6ab6357
0xe824be3caa4f3f038ebc47ac33b5659af6f487736bb9f4b2dbbbdd73b65d5dc5
0xbbd284f90ea60fdbc85b5e390d815314cb8e87d8e36ce2adb037af29fe04ea2c
0x9242e0ba83327dd59a5355a71ec344e9c9ccde1832036652c54fb1feb2875680
0x8530a89a23f8c9312546de06e37098946e8ed14ce16ec715b53314e38f396fb1
0x342bdae07e71c136f603245bcb991245adf1f938c51d5c8382af48281f1f72db
0x2a16c501162e8ff82e55f58d4654d312cedd9bde620138eb081122569aede3da
0xac1eb20e873857580dc9055ec483d7c3ac32ec1aa6c4452ac972af287be4cdaa

Functions
Getter at block 20876021
USDC(view returns (address)
0xdac17f958d2ee523a2206206994597c13d831ec7
affiliateFee(view returns (uint8)
0
buildingRewardManagement(view returns (address)
0x5f9ff6fdf8321262201d293e1727ec2177919d03
burnFee(view returns (uint8)
10
distributionFee(view returns (uint8)
70
 
getBuildingOwners(view returns (address[])
getMinimumClaimInterval(view returns (uint256)
60
 
getRewardAmount(view returns (uint256)
getTotalBuildingTypes(view returns (uint256)
4
getTotalBuildingsCreated(view returns (uint256)
146
getTotalRewardStaked(view returns (uint256)
2766447415312305545381820
marketingFee(view returns (uint8)
20
owner(view returns (address)
0x981e7fda63e58e94076ee4ae78bf9d2af830ded4
reservePool(view returns (address)
0xa65e24944e16eb6bef4257fdabcfdb2bddeb9406
router(view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
swapLiquify(view returns (bool)
true
swapTokensAmount(view returns (uint256)
4000000000000000000000
swapping(view returns (bool)
false
token(view returns (address)
0x9afffb7fd2de2d8024e9c3746be75476270eca68
Read-only
getAffiliateReward(address _affiliateAddressview returns (uint256)
getBuildingClaimEligibility(address _accountuint256 _buildingIndexview returns (bool)
getBuildingCreatimeOf(address _accountuint256 _buildingIndexview returns (uint256)
getBuildingLastClaimOf(address _accountuint256 _buildingIndexview returns (uint256)
getBuildingNumberOf(address _accountview returns (uint256)
getBuildingNumberOfType(address _accountuint256 _buildingIndexview returns (uint256)
getBuildingNumbersRange(uint256 _startuint256 _endview returns (uint256[])
getBuildingOwnersRange(uint256 _startuint256 _endview returns (address[])
getBuildingPrice(uint8 _typeview returns (uint256)
getBuildingRewardAmountOf(address _accountuint256 _buildingIndexview returns (uint256)
getBuildingTypeOf(address _accountuint256 _buildingIndexview returns (uint256)
getRewardAmountOf(address _accountview returns (uint256)
getRewardPerBuilding(uint8 _typeview returns (uint256)
getTotalBuildingAmount(address _accountview returns (uint256)
getTotalDailyRewards(address _accountview returns (uint256)
getTotalDailyRewardsRange(uint256 _startuint256 _endview returns (uint256[])
isBuildingOwner(address accountview returns (bool)
isExcluded(address _accountview returns (bool)
payees(uint256view returns (address)
shares(uint256view returns (uint256)
State-modifying
addBuildings(address[] buildingsuint8 _type
cashoutAll(
cashoutReward(uint256 index
cashoutRewardByCreatime(uint256 blocktime
changeBuildingManager(address _newManager
changeMinimumClaimInterval(uint256 _newVal
changeSwapLiquify(bool newVal
changeToken(address _newToken
changeUSDC(address _newUSDC
createBuildingForUser(address _accountuint8 _type
createBuildingWithTokens(uint8 _type
createBuildingWithTokensAndAffiliation(uint8 _typeaddress _affiliateAddress
createNewRewardBuildingEntity(uint256 _buildingPriceuint256 _buildingRewardPerSecond
distributeUSDCManual(uint256 usdcAmount
exclude(address _accountbool excluded
protectAgainstMalicious(address _accountbool value
removeBuildings(address[] buildings
renounceOwnership(
swapTokensForUSDCManual(uint256 tokenAmount
transferOwnership(address newOwner
updateAffiliateFee(uint8 value
updateBurnFee(uint8 value
updateDistributionFee(uint8 value
updateMarketingFee(uint8 value
updateReservePool(address _newAddress
updateRewardBuildingEntity(uint256 _buildingTypeuint256 _buildingPriceuint256 _buildingRewardPerSecond
updateV2Router(address newAddress
Events
CashoutAll(address indexed useruint256 timeuint256 amount
CashoutBuilding(address indexed useruint256 timeuint256 amount
CreationBuilding(address indexed creatoruint8 indexed leveluint256 creationTime
Exclude(address indexed _accountbool isExcluded
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
UpdateRouter(address indexed newAddressaddress indexed oldAddress
Constructor
constructor(address[] _payeesuint256[] _sharesaddress _V2Routeraddress _reservePooladdress _tokenaddress _USDCuint8[] feesuint256 swapAmountuint256 _typesNumberuint256[] _buildingPricesuint256[] _rewardPerBuildings
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
FailedInnerCall(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token