WHStake

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x2594c0be at 16980152
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 49 additional slots
-
variable spans 46 additional slots
-
variable spans 48 additional slots

No balances found for "WHStake"

No transactions found for "WHStake"


Functions
Getter at block 21205084
getRank(view returns (uint256[])
[]
getUsers(view returns (address[])
[]
getUsersLength(view returns (uint256)
0
name(view returns (string)
owner(view returns (address)
0x0000000000000000000000000000000000000000
whNFT(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
balanceOf(address accountuint256 idview returns (uint256)
balanceOfBatch(address[] accountsuint256[] idsview returns (uint256[])
bonus(addressview returns (uint256)
getUserBonus(address userview returns (uint256)
getUserTokens(address userview returns (uint256[])
isApprovedForAll(address accountaddress operatorview returns (bool)
levelConfig(uint256view returns (uint256 rewardPerSeconduint256 stakePeriod)
onERC721Received(address operatoraddress fromuint256 tokenIdbytes datapure returns (bytes4)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenStakeInfo(uint256view returns (address useruint256 startTimestampuint256 endTimestampuint256 leveluint256 rewardPerSecond)
tokenURI(uint256 tokenIdview returns (string)
totalIdSupply(uint256view returns (uint256)
uri(uint256view returns (string)
userTokens(addressuint256view returns (uint256)
State-modifying
claimReward(uint256 reward
initialize(address whNFT_string uri_string name_
renounceOwnership(
safeBatchTransferFrom(address fromaddress touint256[] idsuint256[] amountsbytes data
safeTransferFrom(address fromaddress touint256 iduint256 amountbytes data
setApprovalForAll(address operatorbool approved
setPoolConfig(uint256[] levelsstruct WHStakePoolConfig[] conf_
setState(uint256 state_
setUri(string uri_
stake(uint256 tokenIduint256 level_
transferOwnership(address newOwner
unStake(uint256 tokenId
Events
ApprovalForAll(address indexed accountaddress indexed operatorbool approved
Initialized(uint8 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Stake(address indexed useruint256 indexed tokenIduint256 level
TransferBatch(address indexed operatoraddress indexed fromaddress indexed touint256[] idsuint256[] values
TransferSingle(address indexed operatoraddress indexed fromaddress indexed touint256 iduint256 value
URI(string valueuint256 indexed id
UnStake(address indexed useruint256 indexed tokenIduint256 point
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
OperatorNotAllowed(address operator