DCCStaking

Verified contract

Implementation

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

No balances found for "DCCStaking"

No transactions found for "DCCStaking"


Functions
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 _contractuint256 _collectionIndexuint256[] _slotsWithTokenIdview returns (bool)
countStaking(address _userview returns (uint256)
getCollection(uint256 _indexview returns (struct DCCStakingCollection)
getCollectionRewards(address _userview returns (uint256)
getFullCollected(address _userview returns (uint256[])
getRewardsToClaim(address _userview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getStaking(address _contractaddress _userview returns (uint256[])
getStakingInCollection(address _useruint256 _indexview returns (uint16[])
hasRole(bytes32 roleaddress accountview returns (bool)
isMatchedCollectionSlot(address _contractuint256 _collectionIndexuint256 _slotIndexuint256 _tokenIdview returns (bool)
nftContracts(uint256view returns (address)
stakeContracts(addressview returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
traitCache(addressview returns (address)
State-modifying
acceptOwnership(
addCollection(string _nameaddress[] _slotContractsuint64[][] _slotsuint256 _rewardPerSeconduint256 _rewardEndsAtbool _canStake
claim(
grantRole(bytes32 roleaddress account
initialize(address _rewardToken
pause(
renounceOwnership(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setBonusActivationCollectionId(uint256 _collectionId
setBonusContract(address _contract
setBonusWeight(address _nftContractuint256 weight
setStakingContract(address stakeContract
setTraitCache(address _contractaddress _cache
stake(address _contractuint256[] _tokenIds
stakeInCollection(address _contractuint256 _collectionIndexuint256[] _slotsWithTokenId
transferOwnership(address newOwner
unpause(
unstake(address _contractuint256[] _tokenIdsuint256[] _tokenIndexes
updateCollection(uint256 _collectionIndexstring _nameuint256 _rewardEndsAtbool _canStake
Events
CLAIM(address user
Initialized(uint8 version
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SET_STAKING_CONTRACT(address nftContractaddress stakeContract
STAKE(address useraddress contractAddressuint256[] tokenIds
STAKE_IN_COLLECTION(address useraddress contractAddressuint256 collectionIndexuint256[] slotsWithTokenIds
UNSTAKE(address useraddress contractAddressuint256[] tokenIds
Unpaused(address account
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressIsZero(
AlreadyExists(
CanNotStakeInSlot(
CollectionNotAvailable(
Disallowed(
ExceedMaxTokenLimit(
ExceedsLimit(
InvalidAdditionalVolume(
InvalidCollectionIndex(
InvalidParameter(
InvalidRequirementIndex(
InvalidSlotContract(
InvalidSlotIndex(
InvalidSubSlotIndex(
InvalidTokenID(
MismatchSlots(
NoTokenID(
NotNFTOwner(
NotStaking(
SlotIsFull(
UnsupportedToken(