QuestFactory
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
263
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 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
6 additional
variables
Balances ($0.00)
No balances found for "QuestFactory"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "QuestFactory"
ABI
ABI objects
Getter at block 22730417
claimSignerAddress() view returns (address)
0x0000000000000000000000000000000000000000
defaultMintFeeRecipient() view returns (address)
0x0000000000000000000000000000000000000000
erc1155QuestAddress() view returns (address)
0x0000000000000000000000000000000000000000
erc20QuestAddress() view returns (address)
0x0000000000000000000000000000000000000000
mintFee() view returns (uint256)
0
owner() view returns (address result)
0x0000000000000000000000000000000000000000
protocolFeeRecipient() view returns (address)
0x0000000000000000000000000000000000000000
questFee() view returns (uint16)
0
referralFee() view returns (uint16)
0
referralRewardFee() view returns (uint16)
0
referralRewardTimestamp() view returns (uint256)
0
Read-only
buildJsonString(bytes32 txHash, uint32 txHashChainId, string actionType, string) pure returns (string)
getAddressMinted(string questId_, address address_) view returns (bool)
getNumberMinted(string questId_) view returns (uint256)
getQuestName(string questId_) view returns (string)
hasAllRoles(address user, uint256 roles) view returns (bool)
hasAnyRole(address user, uint256 roles) view returns (bool)
ownershipHandoverExpiresAt(address pendingOwner) view returns (uint256 result)
questData(string questId_) view returns (struct IQuestFactoryQuestData)
questInfo(string questId_) view returns (address, uint256, uint256)
questJsonData(string questId_) view returns (struct IQuestFactoryQuestJsonData)
quests(string) view returns (address questAddress, uint256 totalParticipants, uint256 numberMinted, string questType, uint40 durationTotal, address questCreator, address mintFeeRecipient, string actionType, string questName, uint32 txHashChainId, uint16 referralRewardFee)
recoverSigner(bytes32 hash_, bytes signature_) view returns (address)
rolesOf(address user) view returns (uint256 roles)
State-modifying
Events cancelOwnershipHandover() payable
cancelQuest(string questId_)
claimCompressed(bytes compressedData_) payable
claimCompressedRef(bytes compressedData_, address claimer) payable
claimOptimized(bytes, bytes) payable
completeOwnershipHandover(address pendingOwner) payable
create1155QuestAndQueue(address rewardTokenAddress_, uint256 endTime_, uint256 startTime_, uint256 totalParticipants_, uint256 tokenId_, string questId_, string) payable returns (address)
createERC1155Quest(address rewardTokenAddress_, uint256 endTime_, uint256 startTime_, uint256 totalParticipants_, uint256 tokenId_, string questId_, string actionType_, string questName_, string projectName_) payable returns (address)
createERC1155Quest(uint32 txHashChainId_, address rewardTokenAddress_, uint256 endTime_, uint256 startTime_, uint256 totalParticipants_, uint256 tokenId_, string questId_, string actionType_, string questName_, string projectName_) payable returns (address)
createERC20Boost(uint32 txHashChainId_, address rewardTokenAddress_, uint256 endTime_, uint256 startTime_, uint256 totalParticipants_, uint256 rewardAmount_, string questId_, string actionType_, string questName_, string projectName_) returns (address)
createERC20Quest(address rewardTokenAddress_, uint256 endTime_, uint256 startTime_, uint256 totalParticipants_, uint256 rewardAmount_, string questId_, string actionType_, string questName_) returns (address)
createERC20Quest(uint32 txHashChainId_, address rewardTokenAddress_, uint256 endTime_, uint256 startTime_, uint256 totalParticipants_, uint256 rewardAmount_, string questId_, string actionType_, string questName_, string projectName_, uint256 referralRewardFee_) returns (address)
createQuestAndQueue(address rewardTokenAddress_, uint256 endTime_, uint256 startTime_, uint256 totalParticipants_, uint256 rewardAmount_, string questId_, string, uint256) returns (address)
grantRoles(address user, uint256 roles) payable
initialize(address claimSignerAddress_, address protocolFeeRecipient_, address erc20QuestAddress_, address erc1155QuestAddress_, address ownerAddress_, uint256, uint16 referralFee_, uint256 mintFee_)
renounceOwnership() payable
renounceRoles(uint256 roles) payable
requestOwnershipHandover() payable
revokeRoles(address user, uint256 roles) payable
setClaimSignerAddress(address claimSignerAddress_)
setDefaultMintFeeRecipient(address mintFeeRecipient_)
setErc1155QuestAddress(address erc1155QuestAddress_)
setErc20QuestAddress(address erc20QuestAddress_)
setMintFee(uint256 mintFee_)
setProtocolFeeRecipient(address protocolFeeRecipient_)
setQuestFee(uint16 questFee_)
setReferralFee(uint16 referralFee_)
setReferralRewardFee(uint16 referralRewardFee_)
setReferralRewardTimestamp(uint256 timestamp_)
transferOwnership(address newOwner) payable
withdrawCallback(string questId_, address protocolFeeRecipient_, uint256 protocolPayout_, address mintFeeRecipient_, uint256 mintPayout)
ExtraMintFeeReturned(address indexed recipient, uint256 amount)
Initialized(uint8 version)
MintFeePaid(string questId, address rabbitHoleAddress, uint256 rabbitHoleAmountWei, address questCreatorAddress, uint256 questCreatorAmountWei, address referrerAddress, uint256 referrerAmountWei)
MintFeeSet(uint256 mintFee)
NftQuestFeeListSet(address[] addresses, uint256[] fees)
NftQuestFeeSet(uint256 nftQuestFee)
OwnershipHandoverCanceled(address indexed pendingOwner)
OwnershipHandoverRequested(address indexed pendingOwner)
OwnershipTransferred(address indexed oldOwner, address indexed newOwner)
Quest1155Claimed(address indexed recipient, address indexed questAddress, string questId, address rewardToken, uint256 tokenId)
QuestCancelled(address indexed questAddress, string questId, uint256 endsAt)
QuestClaimReferred(address indexed recipient, address indexed questAddress, string questId, address rewardToken, uint256 rewardAmountInWeiOrTokenId, address referrer, uint16 referralFee, uint256 mintFeeEthWei, uint256 tokenReferralFee, uint256 referralClaimAmount)
QuestClaimed(address indexed recipient, address indexed questAddress, string questId, address rewardToken, uint256 rewardAmountInWei)
QuestClaimedData(address indexed recipient, address indexed questAddress, string extraData)
QuestClaimedReferred(address indexed recipient, address indexed questAddress, string questId, address rewardToken, uint256 rewardAmountInWeiOrTokenId, address referrer, uint16 referralFee, uint256 mintFeeEthWei)
QuestCreated(address indexed creator, address indexed contractAddress, string projectName, string questName, string questId, string questType, string actionType, uint32 chainId, address rewardToken, uint256 endTime, uint256 startTime, uint256 totalParticipants, uint256 rewardAmountOrTokenId)
ReferralFeeSet(uint16 percent)
RolesUpdated(address indexed user, uint256 indexed roles)
constructor()
fallback()
receive()
AddressAlreadyMinted()
AddressNotSigned()
AddressZeroNotAllowed()
AlreadyInitialized()
AuthOwnerDiscountToken()
ClaimFailed()
Deprecated()
Erc20QuestAddressNotSet()
InvalidMintFee()
MsgValueLessThanQuestNFTFee()
NewOwnerIsZeroAddress()
NoHandoverRequest()
OverMaxAllowedToMint()
QuestAddressMismatch()
QuestEnded()
QuestFeeTooHigh()
QuestIdUsed()
QuestNotQueued()
QuestNotStarted()
QuestTypeNotSupported()
Reentrancy()
ReferralFeeTooHigh()
Unauthorized()
ZeroAddressNotAllowed()
txOriginMismatch()