Skip to content
Verified contractExactMIT

ZoraCreatorRedeemMinterFactory

Address0xdb27fdb31bc5d459ee7e8a12e8d6a20fc764aca0
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.8.17

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.17+commit.8df45f5f
Language
solidity
Optimization
Yes, 5,000 runs
EVM version
london
Via IR
yes
License
MIT
Match
Exactcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
17,124,769
Creation transaction
0x9c41d61915…1431638f90

Read9

  • CONTRACT_BASE_ID() → (uint256)
  • contractName() → (string)
  • contractURI() → (string)
  • contractVersion() → (string)
  • doesRedeemMinterExistForCreatorContract(address) → (bool)
  • getDeployedRedeemMinterForCreatorContract(address) → (address)
  • predictMinterAddress(address) → (address)
  • supportsInterface(bytes4) → (bool)
  • zoraRedeemMinterImplementation() → (address)

Write2

  • createMinterIfNoneExists()
  • requestMint(address,uint256,uint256,uint256,bytes) → (tuple)

Events1

  • RedeemMinterDeployed(address,address)

Errors3

  • CallerNotZoraCreator1155()
  • MinterContractAlreadyExists()
  • MinterContractDoesNotExist()

ABI as JSON

[
  {
    "type": "constructor",
    "inputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "CallerNotZoraCreator1155",
    "type": "error",
    "inputs": []
  },
  {
    "name": "MinterContractAlreadyExists",
    "type": "error",
    "inputs": []
  },
  {
    "name": "MinterContractDoesNotExist",
    "type": "error",
    "inputs": []
  },
  {
    "name": "RedeemMinterDeployed",
    "type": "event",
    "inputs": [
      {
        "name": "creatorContract",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "minterContract",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "CONTRACT_BASE_ID",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "contractName",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "pure"
  },
  {
    "name": "contractURI",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "pure"
  },
  {
    "name": "contractVersion",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "pure"
  },
  {
    "name": "createMinterIfNoneExists",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "doesRedeemMinterExistForCreatorContract",
    "type": "function",
    "inputs": [
      {
        "name": "_creatorContract",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "getDeployedRedeemMinterForCreatorContract",
    "type": "function",
    "inputs": [
      {
        "name": "_creatorContract",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "predictMinterAddress",
    "type": "function",
    "inputs": [
      {
        "name": "_creatorContract",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "requestMint",
    "type": "function",
    "inputs": [
      {
        "name": "sender",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "tokenId",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "quantity",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "ethValueSent",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "minterArguments",
        "type": "bytes",
        "internalType": "bytes"
      }
    ],
    "outputs": [
      {
        "name": "commands",
        "type": "tuple",
        "components": [
          {
            "name": "commands",
            "type": "tuple[]",
            "components": [
              {
                "name": "method",
                "type": "uint8",
                "internalType": "enum ICreatorCommands.CreatorActions"
              },
              {
                "name": "args",
                "type": "bytes",
                "internalType": "bytes"
              }
            ],
            "internalType": "struct ICreatorCommands.Command[]"
          },
          {
            "name": "at",
            "type": "uint256",
            "internalType": "uint256"
          }
        ],
        "internalType": "struct ICreatorCommands.CommandSet"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "name": "supportsInterface",
    "type": "function",
    "inputs": [
      {
        "name": "interfaceId",
        "type": "bytes4",
        "internalType": "bytes4"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "pure"
  },
  {
    "name": "zoraRedeemMinterImplementation",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.