UniQuest
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
3
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 49 additional slots
-
variable spans 48 additional slots
6 additional
variables
Balances ($0.00)
No balances found for "UniQuest"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "UniQuest"
ABI
ABI objects
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[] tokenIds) view returns (bool out)
areOwned(uint256[] tokenIds) view returns (bool out)
calculateHODLReward(uint256 tokenId) view returns (uint256 HODLRewards)
calculateHODLRewards(uint256[] tokenIds) view returns (uint256 HODLRewards)
calculateRewards(uint256 questId) view returns (uint256 rewardAmount)
clanMultipliers(uint256) view returns (uint256)
getClan(uint256 tokenId) view returns (uint8)
getClanMultiplier(uint256 clanCount) view returns (uint256)
getLengthMultiplier(uint256 questLevel) view returns (uint256)
getQuest(uint256 questId) view returns (struct UniQuestQuest)
getRareMultiplier(uint256 rareCount) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getUserQuests(address user) view returns (uint256[])
hasRole(bytes32 role, address account) view returns (bool)
isQuestEndable(uint256 questId) view returns (bool)
isQuestOver(uint256 questId) view returns (bool)
lengthMultipliers(uint256) view returns (uint256)
onQuest(uint256) view returns (uint256)
questLengths(uint256) view returns (uint256)
quests(uint256) view returns (address questOwner, uint256 questLevel, uint256 questStart, uint256 questEnd, uint256 lastClaim, uint256 clanMultiplier, uint256 rareMultiplier, uint256 lengthMultiplier, uint8 questState)
rareMultipliers(uint256) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
userQuests(address, uint256) view returns (uint256)
State-modifying
Events __UniQuest_init(address uu, uint256 _baseReward, uint256 _baseRoboReward, uint256 _baseGoldenReward, address deployer, address treasury)
claimAllRewards()
claimHODLRewards(uint256[] tokenIds)
claimRewards(uint256 questId)
endQuest(uint256 questId)
grantRole(bytes32 role, address account)
onERC721Received(address, address, uint256, bytes) returns (bytes4)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address 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[] unicornIds, uint256 questLevel)
transferQuestOwnership(uint256 questId, address newOwner)
updateClans(bytes _clans)
upgradeQuest(uint256 questId, uint256 questLevel)
QuestEnded(address indexed user, uint256 questId, uint256 endDate)
QuestStarted(address indexed user, uint256 questId, uint256[] unicornIds, uint256 questLevel, uint256 questStart, uint256 questEnd)
QuestUpgraded(address indexed user, uint256 questId, uint256 questLevel)
RewardClaimed(address indexed user, uint256 amount, uint256 claimTime)
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)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.