QuestFactory

Verified contract

Implementation

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

No balances found for "QuestFactory"

No transactions found for "QuestFactory"


Functions
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 useruint256 rolesview returns (bool)
hasAnyRole(address useruint256 rolesview returns (bool)
mintFeeRecipientList(addressview returns (address)
nftQuestFeeList(addressview returns (uint256 feebool exists)
ownerCollections(addressuint256view returns (address)
ownershipHandoverExpiresAt(address pendingOwnerview returns (uint256 result)
questData(string questId_view returns (struct IQuestFactoryQuestData)
questInfo(string questId_view returns (addressuint256uint256)
quests(stringview returns (address questAddressuint256 totalParticipantsuint256 numberMintedstring questTypeuint40 durationTotaladdress questCreatoraddress mintFeeRecipientstring actionTypestring questName)
recoverSigner(bytes32 hash_bytes signature_view returns (address)
rewardAllowlist(addressview returns (bool)
rolesOf(address userview returns (uint256 roles)
totalQuestNFTFee(uint256 totalParticipants_view returns (uint256)
State-modifying
cancelOwnershipHandover(payable 
claimCompressed(bytes compressedData_payable 
claimOptimized(bytes signature_bytes data_payable 
completeOwnershipHandover(address pendingOwnerpayable 
create1155QuestAndQueue(address rewardTokenAddress_uint256 endTime_uint256 startTime_uint256 totalParticipants_uint256 tokenId_string questId_stringpayable 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_stringuint256returns (address)
grantRoles(address useruint256 rolespayable 
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 rolespayable 
requestOwnershipHandover(payable 
revokeRoles(address useruint256 rolespayable 
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 newOwnerpayable 
withdrawCallback(string questId_address protocolFeeRecipient_uint256 protocolPayout_address mintFeeRecipient_uint256 mintPayout
Events
ExtraMintFeeReturned(address indexed recipientuint256 amount
Initialized(uint8 version
MintFeePaid(string questIdaddress rabbitHoleAddressuint256 rabbitHoleAmountWeiaddress questCreatorAddressuint256 questCreatorAmountWeiaddress referrerAddressuint256 referrerAmountWei
MintFeeSet(uint256 mintFee
NftQuestFeeListSet(address[] addressesuint256[] fees
NftQuestFeeSet(uint256 nftQuestFee
OwnershipHandoverCanceled(address indexed pendingOwner
OwnershipHandoverRequested(address indexed pendingOwner
OwnershipTransferred(address indexed oldOwneraddress indexed newOwner
Quest1155Claimed(address indexed recipientaddress indexed questAddressstring questIdaddress rewardTokenuint256 tokenId
QuestClaimed(address indexed recipientaddress indexed questAddressstring questIdaddress rewardTokenuint256 rewardAmountInWei
QuestClaimedData(address indexed recipientaddress indexed questAddressstring extraData
QuestClaimedReferred(address indexed recipientaddress indexed questAddressstring questIdaddress rewardTokenuint256 rewardAmountInWeiOrTokenIdaddress referreruint16 referralFeeuint256 mintFeeEthWei
QuestCreated(address indexed creatoraddress indexed contractAddressstring questIdstring questTypeaddress rewardTokenuint256 endTimeuint256 startTimeuint256 totalParticipantsuint256 rewardAmountOrTokenId
ReferralFeeSet(uint16 percent
RolesUpdated(address indexed useruint256 indexed roles
SablierV2LockupLinearAddressSet(address sablierV2LockupLinearAddress
Constructor
constructor(
Fallback and receive
fallback(
receive(
Errors
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(