QuestFactory
Verified contract
Implementation
Active on
Ethereum 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
5 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 21217252
claimSignerAddress() view returns (address)
0x0000000000000000000000000000000000000000
defaultMintFeeRecipient() view returns (address)
0x0000000000000000000000000000000000000000
defaultReferralFeeRecipient() view returns (address)
0x0000000000000000000000000000000000000000
erc1155QuestAddress() view returns (address)
0x0000000000000000000000000000000000000000
erc20QuestAddress() view returns (address)
0x0000000000000000000000000000000000000000
mintFee() view returns (uint256)
0
nftQuestFee() view returns (uint256)
0
owner() view returns (address result)
0x0000000000000000000000000000000000000000
protocolFeeRecipient() view returns (address)
0x0000000000000000000000000000000000000000
questFee() view returns (uint16)
0
questNFTAddress() view returns (address)
0x0000000000000000000000000000000000000000
rabbitHoleReceiptContract() view returns (address)
0x0000000000000000000000000000000000000000
rabbitHoleTicketsContract() view returns (address)
0x0000000000000000000000000000000000000000
referralFee() view returns (uint16)
0
sablierV2LockupLinearAddress() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getAddressMinted(string questId_, address address_) view returns (bool)
getMintFeeRecipient(address questCreatorAddress_) view returns (address)
getNftQuestFee(address address_) view returns (uint256)
getNumberMinted(string questId_) view returns (uint256)
hasAllRoles(address user, uint256 roles) view returns (bool)
hasAnyRole(address user, uint256 roles) view returns (bool)
mintFeeRecipientList(address) view returns (address)
nftQuestFeeList(address) view returns (uint256 fee, bool exists)
ownerCollections(address, uint256) view returns (address)
ownershipHandoverExpiresAt(address pendingOwner) view returns (uint256 result)
questData(string questId_) view returns (struct IQuestFactoryQuestData)
questInfo(string questId_) view returns (address, uint256, uint256)
quests(string) view returns (address questAddress, uint256 totalParticipants, uint256 numberMinted, string questType, uint40 durationTotal, address questCreator, address mintFeeRecipient, string actionType, string questName)
recoverSigner(bytes32 hash_, bytes signature_) view returns (address)
rewardAllowlist(address) view returns (bool)
rolesOf(address user) view returns (uint256 roles)
totalQuestNFTFee(uint256 totalParticipants_) view returns (uint256)
State-modifying
Events cancelOwnershipHandover() payable
claimCompressed(bytes compressedData_) payable
claimOptimized(bytes signature_, bytes data_) 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_) payable returns (address)
createERC20Quest(address rewardTokenAddress_, uint256 endTime_, uint256 startTime_, uint256 totalParticipants_, uint256 rewardAmount_, string questId_, string actionType_, string questName_) 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_, address defaultReferralFeeRecipientAddress_, address sablierV2LockupLinearAddress_, uint256 nftQuestFee_, uint16 referralFee_, uint256 mintFee_)
renounceOwnership() payable
renounceRoles(uint256 roles) payable
requestOwnershipHandover() payable
revokeRoles(address user, uint256 roles) payable
setClaimSignerAddress(address claimSignerAddress_)
setDefaultMintFeeRecipient(address mintFeeRecipient_)
setDefaultReferralFeeRecipient(address defaultReferralFeeRecipient_)
setErc1155QuestAddress(address erc1155QuestAddress_)
setErc20QuestAddress(address erc20QuestAddress_)
setMintFee(uint256 mintFee_)
setMintFeeRecipientForAddress(address address_, address mintFeeRecipient_)
setNftQuestFee(uint256 nftQuestFee_)
setNftQuestFeeList(address[] toAddAddresses_, uint256[] fees_)
setProtocolFeeRecipient(address protocolFeeRecipient_)
setQuestFee(uint16 questFee_)
setReferralFee(uint16 referralFee_)
setRewardAllowlistAddress(address rewardAddress_, bool allowed_)
setSablierV2LockupLinearAddress(address sablierV2LockupLinearAddress_)
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)
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 questId, string questType, address rewardToken, uint256 endTime, uint256 startTime, uint256 totalParticipants, uint256 rewardAmountOrTokenId)
ReferralFeeSet(uint16 percent)
RolesUpdated(address indexed user, uint256 indexed roles)
SablierV2LockupLinearAddressSet(address sablierV2LockupLinearAddress)
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()
RewardNotAllowed()
Unauthorized()
ZeroAddressNotAllowed()