MomocoStaking
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
Balances ($0.00)
No balances found for "MomocoStaking"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "MomocoStaking"
ABI
ABI objects
Getter at block 21079271
maxRule() view returns (uint256)
0
nft() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
token() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
canStake(uint256 _tokenId) view returns (bool)
countStake(address _user) view returns (uint256)
getStaked(address _user) view returns (uint256[])
indexStake(address _user, uint256 _tokenId) view returns (uint256)
isStaked(address _user, uint256 _tokenId) view returns (bool)
queryClaim(uint256 _tokenId) view returns (uint256)
staked(address, uint256) view returns (uint256)
stakingRuleId(uint256) view returns (uint256)
stakingRules(uint256) view returns (uint128 duration, uint128 amount)
stakingTime(uint256) view returns (uint256)
State-modifying
Events addStake(uint256 _tokenId) returns (bool)
addStakes(uint256[] _tokenIds) returns (bool)
changeOwner(address _newOwner)
claim(uint256 _tokenId)
initialize(address _nft, address _token, uint32 _maxRule)
onERC721Received(address, address _from, uint256 _tokenId, bytes) returns (bytes4)
pause()
removeStake(uint256 _tokenId) returns (bool)
removeStakes(uint256[] _tokenIds) returns (bool)
setMaxRule(uint32 _maxRule)
setStakingRule(uint256 _id, struct MomocoStakingStakingRule _rule)
setStakingRules(uint256[] _ids, struct MomocoStakingStakingRule[] _rules)
unpause()
Claimed(address indexed _user, uint256 indexed _tokenId, uint256 indexed _amount)
OwnerChanged(address indexed _oldOwner, address indexed _newOwner)
Paused()
StakeAdded(address indexed _user, uint256 indexed _tokenId)
StakedRemoved(address indexed _user, uint256 indexed _tokenId)
Unpaused()
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.