OptimizedTransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 4,292 txns
Unified 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
0xc4a0…d508
0xb1db…0713
8 additional
variables
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
UU | ERC-721 | 1 | -- | -- | |
UU | ERC-721 | 1 | -- | -- | |
UU | ERC-721 | 1 | -- | -- | |
UU | ERC-721 | 1 | -- | -- | |
UU | ERC-721 | 1 | -- | -- | |
UU | ERC-721 | 1 | -- | -- | |
UU | ERC-721 | 1 | -- | -- | |
UU | ERC-721 | 1 | -- | -- | |
UU | ERC-721 | 1 | -- | -- | |
UU | ERC-721 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20853085 | 2 months ago | | | 0 | 0.0057316576 | |
| 20510934 | 3 months ago | | | 0 | 0.00064296838 | |
| 20510930 | 3 months ago | | | 0 | 0.00070810513 | |
| 20510911 | 3 months ago | | | 0 | 0.00070177849 | |
| 20510898 | 3 months ago | | | 0 | 0.00056830769 | |
| 20510888 | 3 months ago | | | 0 | 0.00064058787 | |
| 20510879 | 3 months ago | | | 0 | 0.00062453932 | |
| 20510866 | 3 months ago | | | 0 | 0.00061764919 | |
| 20510848 | 3 months ago | | | 0 | 0.00067502689 | |
| 20473709 | 4 months ago | | | 0 | 0.00099225870 |
ABI
ABI objects
Getter at block 21273042 clans() view returns (bytes)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
UCD() view returns (address)
0xb1db366890eeb8f28c2813c6a6084353e0b90713
UU() view returns (address)
0xc4a0b1e7aa137ada8b2f911a501638088dfdd508
baseGoldenReward() view returns (uint256)
20000000000000000000
baseReward() view returns (uint256)
6000000000000000000
baseRoboReward() view returns (uint256)
10000000000000000000
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 admin() returns (address)
implementation() returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
__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)
Upgraded(address indexed implementation)
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)
constructor(address initialLogic, address initialAdmin, bytes _data)
fallback()
receive()
This contract contains no error objects.