DCCStaking
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
6
Slot
XX
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 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
5 additional
variables
Balances ($0.00)
No balances found for "DCCStaking"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "DCCStaking"
ABI
ABI objects
Getter at block 21315025
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
PARAM_LIMIT() view returns (uint256)
20
bonusActivationCollectionId() view returns (uint256)
0
bonusStaking() view returns (address)
0x0000000000000000000000000000000000000000
collectionCount() view returns (uint256)
0
getBlockTimestamp() view returns (uint256)
1733144927
owner() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
rewardToken() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
canStakeInCollectionNow(address _contract, uint256 _collectionIndex, uint256[] _slotsWithTokenId) view returns (bool)
countStaking(address _user) view returns (uint256)
getCollection(uint256 _index) view returns (struct DCCStakingCollection)
getCollectionRewards(address _user) view returns (uint256)
getFullCollected(address _user) view returns (uint256[])
getRewardsToClaim(address _user) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
getStaking(address _contract, address _user) view returns (uint256[])
getStakingInCollection(address _user, uint256 _index) view returns (uint16[])
hasRole(bytes32 role, address account) view returns (bool)
isMatchedCollectionSlot(address _contract, uint256 _collectionIndex, uint256 _slotIndex, uint256 _tokenId) view returns (bool)
nftContracts(uint256) view returns (address)
stakeContracts(address) view returns (address)
supportsInterface(bytes4 interfaceId) view returns (bool)
traitCache(address) view returns (address)
State-modifying
Events acceptOwnership()
addCollection(string _name, address[] _slotContracts, uint64[][] _slots, uint256 _rewardPerSecond, uint256 _rewardEndsAt, bool _canStake)
claim()
grantRole(bytes32 role, address account)
initialize(address _rewardToken)
pause()
renounceOwnership()
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setBonusActivationCollectionId(uint256 _collectionId)
setBonusContract(address _contract)
setBonusWeight(address _nftContract, uint256 weight)
setStakingContract(address stakeContract)
setTraitCache(address _contract, address _cache)
stake(address _contract, uint256[] _tokenIds)
stakeInCollection(address _contract, uint256 _collectionIndex, uint256[] _slotsWithTokenId)
transferOwnership(address newOwner)
unpause()
unstake(address _contract, uint256[] _tokenIds, uint256[] _tokenIndexes)
updateCollection(uint256 _collectionIndex, string _name, uint256 _rewardEndsAt, bool _canStake)
CLAIM(address user)
Initialized(uint8 version)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SET_STAKING_CONTRACT(address nftContract, address stakeContract)
STAKE(address user, address contractAddress, uint256[] tokenIds)
STAKE_IN_COLLECTION(address user, address contractAddress, uint256 collectionIndex, uint256[] slotsWithTokenIds)
UNSTAKE(address user, address contractAddress, uint256[] tokenIds)
Unpaused(address account)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AddressIsZero()
AlreadyExists()
CanNotStakeInSlot()
CollectionNotAvailable()
Disallowed()
ExceedMaxTokenLimit()
ExceedsLimit()
InvalidAdditionalVolume()
InvalidCollectionIndex()
InvalidParameter()
InvalidRequirementIndex()
InvalidSlotContract()
InvalidSlotIndex()
InvalidSubSlotIndex()
InvalidTokenID()
MismatchSlots()
NoTokenID()
NotNFTOwner()
NotStaking()
SlotIsFull()
UnsupportedToken()