Stake

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x30eda924 at 16846243
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

No balances found for "Stake"

No transactions found for "Stake"


Functions
Getter at block 21307642
nft(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x0000000000000000000000000000000000000000
startTime(view returns (uint256)
0
Read-only
admin(addressview returns (bool)
getAllStakeRecords(address _addressview returns (struct StakeStakeInfo[])
getPendingStakeRecords(address _addressview returns (struct StakeStakeInfo[])
onERC721Received(addressaddressuint256bytespure returns (bytes4)
stakeTokenIds(uint256view returns (address)
stateInfoById(addressuint256view returns (uint256 iduint256 tokenIduint256 startTimeuint256 endTimeuint8 statusaddress stakeAddressuint256 stakeType)
State-modifying
initialize(uint256 _stakeType
renounceOwnership(
setAdmin(address _senderbool _flag
setNftAddress(address _nft
setStartTime(uint256 _startTime
stake(uint256 _tokenId
takeBack(uint256 _id
transferOwnership(address newOwner
Events
Initialized(uint8 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
statusChange(address indexed _fromuint256 indexed _iduint8 indexed _status
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
NotAdmin(address msgSender
NotYetStartTime(uint256 blockTimeuint256 startTime
WrongStartTime(uint256 startTimeuint256 blockTime