UniQuest

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x4f09d7c8 at 14324436
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 49 additional slots
-
variable spans 48 additional slots
6 additional variables

No balances found for "UniQuest"

No transactions found for "UniQuest"


Functions
Getter at block 21273042
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
UCD(view returns (address)
0x0000000000000000000000000000000000000000
UU(view returns (address)
0x0000000000000000000000000000000000000000
baseGoldenReward(view returns (uint256)
0
baseReward(view returns (uint256)
0
baseRoboReward(view returns (uint256)
0
clans(view returns (bytes)
0x
Read-only
areAvailiable(uint256[] tokenIdsview returns (bool out)
areOwned(uint256[] tokenIdsview returns (bool out)
calculateHODLReward(uint256 tokenIdview returns (uint256 HODLRewards)
calculateHODLRewards(uint256[] tokenIdsview returns (uint256 HODLRewards)
calculateRewards(uint256 questIdview returns (uint256 rewardAmount)
clanMultipliers(uint256view returns (uint256)
getClan(uint256 tokenIdview returns (uint8)
getClanMultiplier(uint256 clanCountview returns (uint256)
getLengthMultiplier(uint256 questLevelview returns (uint256)
getQuest(uint256 questIdview returns (struct UniQuestQuest)
getRareMultiplier(uint256 rareCountview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getUserQuests(address userview returns (uint256[])
hasRole(bytes32 roleaddress accountview returns (bool)
isQuestEndable(uint256 questIdview returns (bool)
isQuestOver(uint256 questIdview returns (bool)
lengthMultipliers(uint256view returns (uint256)
onQuest(uint256view returns (uint256)
questLengths(uint256view returns (uint256)
quests(uint256view returns (address questOwneruint256 questLeveluint256 questStartuint256 questEnduint256 lastClaimuint256 clanMultiplieruint256 rareMultiplieruint256 lengthMultiplieruint8 questState)
rareMultipliers(uint256view returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
userQuests(addressuint256view returns (uint256)
State-modifying
__UniQuest_init(address uuuint256 _baseRewarduint256 _baseRoboRewarduint256 _baseGoldenRewardaddress deployeraddress treasury
claimAllRewards(
claimHODLRewards(uint256[] tokenIds
claimRewards(uint256 questId
endQuest(uint256 questId
grantRole(bytes32 roleaddress account
onERC721Received(addressaddressuint256bytesreturns (bytes4)
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setBaseReward(uint256 _amount
setGoldenIds(uint256[] _goldenTokenIds
setGoldenReward(uint256 _amount
setQuestLengths(uint256[] _newQuestLengths
setRoboIds(uint256[] _roboTokenIds
setRoboReward(uint256 _amount
setTimeScale(uint256 _newTimescale
setUniCandy(address uniCandy
startQuest(uint256[] unicornIdsuint256 questLevel
transferQuestOwnership(uint256 questIdaddress newOwner
updateClans(bytes _clans
upgradeQuest(uint256 questIduint256 questLevel
Events
QuestEnded(address indexed useruint256 questIduint256 endDate
QuestStarted(address indexed useruint256 questIduint256[] unicornIdsuint256 questLeveluint256 questStartuint256 questEnd
QuestUpgraded(address indexed useruint256 questIduint256 questLevel
RewardClaimed(address indexed useruint256 amountuint256 claimTime
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.