File: PhiFactory.sol
642:     function _initializePhiArt(PhiArt storage art, ERC1155Data memory createData_) private {
643:         (
644:             uint256 credId,
645:             address credCreator,
646:             string memory verificationType,
647:             uint256 credChainId,
648:             bytes32 merkleRootHash
649:         ) = abi.decode(createData_.credData, (uint256, address, string, uint256, bytes32));
650: 
651:         ...
658:         art.receiver = createData_.receiver;
659:         ...
  function claimFromFactory(
        uint256 artId_,
        address minter_,
        address ref_,
        address verifier_,
        uint256 quantity_,
        bytes32 data_,
        string calldata imageURI_
    )
        external
        payable
        whenNotPaused
        onlyPhiFactory
    {
        ...

        IPhiRewards(payable(phiFactoryContract.phiRewardsAddress())).handleRewardsAndGetValueSent{ value: msg.value }(
            artId_, credId, quantity_, mintFee(tokenId_), addressesData_, credChainId == block.chainid
        );
    }
