PhiFactory
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
8
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "PhiFactory"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PhiFactory"
ABI
ABI objects
Getter at block 22766686
MAX_ART_CREATE_FEE() view returns (uint256)
10000000000000000
MAX_PROTOCOL_FEE() view returns (uint256)
10000000000000000
UPGRADE_INTERFACE_VERSION() view returns (string)
5.0.0
artCreateFee() view returns (uint256)
0
erc1155ArtAddress() view returns (address)
0x0000000000000000000000000000000000000000
mintProtocolFee() view returns (uint256)
0
owner() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
phiRewardsAddress() view returns (address)
0x0000000000000000000000000000000000000000
phiSignerAddress() view returns (address)
0x0000000000000000000000000000000000000000
protocolFeeDestination() view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
version() pure returns (uint256)
2
Read-only
artData(uint256 artId_) view returns (struct IPhiFactoryArtData)
checkProof(bytes32[] proof, bytes32 leaf, bytes32 root) pure returns (bool)
contractURI(address nftAddress) view returns (string)
createdContracts(address artContract) view returns (bool result)
credMerkleRoot(uint256 credChainId, uint256 credId) view returns (bytes32 root)
getArtAddress(uint256 artId_) view returns (address)
getArtMintFee(uint256 artId_, uint256 quantity_) view returns (uint256)
getNumberMinted(uint256 artId_) view returns (uint256)
getTokenURI(uint256 artId_) view returns (string)
getTotalMintFee(uint256[] artId_, uint256[] quantitys_) view returns (uint256)
isArtMinted(uint256 artId, address minter) view returns (bool)
isCredMinted(uint256 credChainId, uint256 credId, address minter) view returns (bool)
nonces(address user) view returns (uint256 count)
State-modifying
Events acceptOwnership()
batchClaim(bytes[] encodeDatas_, uint256[] ethValue_) payable
claim(bytes encodeData_) payable
createArt(bytes signedData_, bytes signature_, struct IPhiFactoryCreateConfig createConfig_) payable returns (address)
initialize(address phiSignerAddress_, address protocolFeeDestination_, address erc1155ArtAddress_, address phiRewardsAddress_, address ownerAddress_, uint256 protocolFee_, uint256 artCreateFee_)
initializeV2()
merkleClaim(bytes32[] proof_, bytes encodeData_, bytes32 leafPart_, bytes signature_, uint256 quantity_) payable
pause()
pauseArtContract(uint256 artId_)
renounceOwnership()
setArtCreatFee(uint256 artCreateFee_)
setErc1155ArtAddress(address erc1155ArtAddress_)
setPhiRewardsAddress(address phiRewardsAddress_)
setPhiSignerAddress(address phiSignerAddress_)
setProtocolFee(uint256 protocolFee_)
setProtocolFeeDestination(address protocolFeeDestination_)
signatureClaim(bytes signature_, bytes encodeData_, uint256 quantity_) payable
transferOwnership(address newOwner)
unPause()
unPauseArtContract(uint256 artId_)
updateArt(bytes signedData_, bytes signature_, struct IPhiFactoryUpdateConfig updateConfig_)
upgradeToAndCall(address newImplementation, bytes data) payable
ArtClaimedData(uint256 indexed artId, string verificationType, address indexed recipient, address ref, address verifier, address artAddress, uint256 quantity, string snapshotImage)
ArtContractCreated(address artist, address contractAddress, uint256 indexed credId, uint256 indexed credChainId)
ArtCreatFeeSet(uint256 fee)
ArtUpdated(uint256 indexed artId, string url, address receiver, uint256 maxSupply, uint256 mintFee, uint256 startTime, uint256 endTime)
ERC1155ArtAddressSet(address erc1155ArtAddress)
Initialized(uint64 version)
NewArtCreated(address indexed artist, uint256 indexed credId, uint256 indexed credChainId, uint256 artId, string url, address artAddress, uint256 tokenId)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
PhiRewardsAddressSet(address phiRewardsAddress)
PhiSignerAddressSet(address phiSignerAddress)
ProtocolFeeDestinationSet(address protocolFeeDestination)
ProtocolFeeSet(uint256 fee)
Unpaused(address account)
Upgraded(address indexed implementation)
constructor()
This contract contains no fallback and receive objects.
AddressEmptyCode(address target)
AddressNotSigned()
ArrayLengthMismatch()
ArtAlreadyCreated()
ArtCreatFeeTooHigh()
ArtEnded()
ArtNotCreated()
ArtNotStarted()
ClaimFailed()
CreateFailed()
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
EndTimeInPast()
EndTimeLessThanOrEqualToStartTime()
EnforcedPause()
ExceedMaxSupply()
ExpectedPause()
FailedInnerCall()
InvalidAddressZero()
InvalidArtCreator()
InvalidChainId()
InvalidEthValue()
InvalidExecutor()
InvalidInitialization()
InvalidMaxSupply()
InvalidMerkleProof()
InvalidMintFee()
InvalidNonce()
InvalidQuantity()
InvalidVerificationType()
NotInitializing()
OverMaxAllowedToMint()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
ProtocolFeeTooHigh()
Reentrancy()
SignatureExpired()
TxOriginMismatch()
UUPSUnauthorizedCallContext()
UUPSUnsupportedProxiableUUID(bytes32 slot)