QuestFactory

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x7cf4b7c5 at 17276154
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
6 additional variables

No balances found for "QuestFactory"

No transactions found for "QuestFactory"


Functions
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 txHashuint32 txHashChainIdstring actionTypestringpure returns (string)
getAddressMinted(string questId_address address_view returns (bool)
getNumberMinted(string questId_view returns (uint256)
getQuestName(string questId_view returns (string)
hasAllRoles(address useruint256 rolesview returns (bool)
hasAnyRole(address useruint256 rolesview returns (bool)
ownershipHandoverExpiresAt(address pendingOwnerview returns (uint256 result)
questData(string questId_view returns (struct IQuestFactoryQuestData)
questInfo(string questId_view returns (addressuint256uint256)
questJsonData(string questId_view returns (struct IQuestFactoryQuestJsonData)
quests(stringview returns (address questAddressuint256 totalParticipantsuint256 numberMintedstring questTypeuint40 durationTotaladdress questCreatoraddress mintFeeRecipientstring actionTypestring questNameuint32 txHashChainIduint16 referralRewardFee)
recoverSigner(bytes32 hash_bytes signature_view returns (address)
rolesOf(address userview returns (uint256 roles)
State-modifying
cancelOwnershipHandover(payable 
cancelQuest(string questId_
claimCompressed(bytes compressedData_payable 
claimCompressedRef(bytes compressedData_address claimerpayable 
claimOptimized(bytesbytespayable 
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_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_stringuint256returns (address)
grantRoles(address useruint256 rolespayable 
initialize(address claimSignerAddress_address protocolFeeRecipient_address erc20QuestAddress_address erc1155QuestAddress_address ownerAddress_uint256uint16 referralFee_uint256 mintFee_
renounceOwnership(payable 
renounceRoles(uint256 rolespayable 
requestOwnershipHandover(payable 
revokeRoles(address useruint256 rolespayable 
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 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
QuestCancelled(address indexed questAddressstring questIduint256 endsAt
QuestClaimReferred(address indexed recipientaddress indexed questAddressstring questIdaddress rewardTokenuint256 rewardAmountInWeiOrTokenIdaddress referreruint16 referralFeeuint256 mintFeeEthWeiuint256 tokenReferralFeeuint256 referralClaimAmount
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 projectNamestring questNamestring questIdstring questTypestring actionTypeuint32 chainIdaddress rewardTokenuint256 endTimeuint256 startTimeuint256 totalParticipantsuint256 rewardAmountOrTokenId
ReferralFeeSet(uint16 percent
RolesUpdated(address indexed useruint256 indexed roles
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(
Unauthorized(
ZeroAddressNotAllowed(
txOriginMismatch(