{
  "contractName": "IERC1155CreatorMintPermissions",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "interfaceId",
          "type": "bytes4"
        }
      ],
      "name": "supportsInterface",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "extension",
          "type": "address"
        },
        {
          "internalType": "address[]",
          "name": "to",
          "type": "address[]"
        },
        {
          "internalType": "uint256[]",
          "name": "tokenIds",
          "type": "uint256[]"
        },
        {
          "internalType": "uint256[]",
          "name": "amounts",
          "type": "uint256[]"
        }
      ],
      "name": "approveMint",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"extension\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"to\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"tokenIds\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"approveMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Required interface of an ERC1155Creator compliant extension contracts.\",\"kind\":\"dev\",\"methods\":{\"approveMint(address,address[],uint256[],uint256[])\":{\"details\":\"get approval to mint\"},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/permissions/ERC1155/IERC1155CreatorMintPermissions.sol\":\"IERC1155CreatorMintPermissions\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":25},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]},\"project:/contracts/permissions/ERC1155/IERC1155CreatorMintPermissions.sol\":{\"keccak256\":\"0x0cf037e3da9a47dab1b0c287d128497f6e28bdbadb4b66f7949a63f8fa144de0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://627c99459b5e9bf311d7b463ffefc405ca7f257a518ad7b6ea3e14859998bb25\",\"dweb:/ipfs/QmaPeix3g2ZDAt662biM5pkAEJ54TNH4jCqeJd46KhEguP\"]}},\"version\":1}",
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "immutableReferences": {},
  "generatedSources": [],
  "deployedGeneratedSources": [],
  "sourceMap": "",
  "deployedSourceMap": "",
  "source": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\n/// @author: manifold.xyz\n\nimport \"@openzeppelin/contracts/utils/introspection/IERC165.sol\";\n\n/**\n * @dev Required interface of an ERC1155Creator compliant extension contracts.\n */\ninterface IERC1155CreatorMintPermissions is IERC165 {\n\n    /**\n     * @dev get approval to mint\n     */\n    function approveMint(address extension, address[] calldata to, uint256[] calldata tokenIds, uint256[] calldata amounts) external;\n}",
  "sourcePath": "/Users/chung/git/manifoldxyz/solidity/creator-core-solidity/contracts/permissions/ERC1155/IERC1155CreatorMintPermissions.sol",
  "ast": {
    "absolutePath": "project:/contracts/permissions/ERC1155/IERC1155CreatorMintPermissions.sol",
    "exportedSymbols": {
      "IERC1155CreatorMintPermissions": [
        18396
      ],
      "IERC165": [
        2338
      ]
    },
    "id": 18397,
    "license": "MIT",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 18376,
        "literals": [
          "solidity",
          "^",
          "0.8",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "33:23:71"
      },
      {
        "absolutePath": "@openzeppelin/contracts/utils/introspection/IERC165.sol",
        "file": "@openzeppelin/contracts/utils/introspection/IERC165.sol",
        "id": 18377,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 18397,
        "sourceUnit": 2339,
        "src": "85:65:71",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "abstract": false,
        "baseContracts": [
          {
            "baseName": {
              "id": 18379,
              "name": "IERC165",
              "nameLocations": [
                "283:7:71"
              ],
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 2338,
              "src": "283:7:71"
            },
            "id": 18380,
            "nodeType": "InheritanceSpecifier",
            "src": "283:7:71"
          }
        ],
        "canonicalName": "IERC1155CreatorMintPermissions",
        "contractDependencies": [],
        "contractKind": "interface",
        "documentation": {
          "id": 18378,
          "nodeType": "StructuredDocumentation",
          "src": "152:86:71",
          "text": " @dev Required interface of an ERC1155Creator compliant extension contracts."
        },
        "fullyImplemented": false,
        "id": 18396,
        "linearizedBaseContracts": [
          18396,
          2338
        ],
        "name": "IERC1155CreatorMintPermissions",
        "nameLocation": "249:30:71",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "documentation": {
              "id": 18381,
              "nodeType": "StructuredDocumentation",
              "src": "298:44:71",
              "text": " @dev get approval to mint"
            },
            "functionSelector": "f1d4552e",
            "id": 18395,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "approveMint",
            "nameLocation": "356:11:71",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 18393,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 18383,
                  "mutability": "mutable",
                  "name": "extension",
                  "nameLocation": "376:9:71",
                  "nodeType": "VariableDeclaration",
                  "scope": 18395,
                  "src": "368:17:71",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 18382,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "368:7:71",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 18386,
                  "mutability": "mutable",
                  "name": "to",
                  "nameLocation": "406:2:71",
                  "nodeType": "VariableDeclaration",
                  "scope": 18395,
                  "src": "387:21:71",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr",
                    "typeString": "address[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 18384,
                      "name": "address",
                      "nodeType": "ElementaryTypeName",
                      "src": "387:7:71",
                      "stateMutability": "nonpayable",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "id": 18385,
                    "nodeType": "ArrayTypeName",
                    "src": "387:9:71",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
                      "typeString": "address[]"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 18389,
                  "mutability": "mutable",
                  "name": "tokenIds",
                  "nameLocation": "429:8:71",
                  "nodeType": "VariableDeclaration",
                  "scope": 18395,
                  "src": "410:27:71",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
                    "typeString": "uint256[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 18387,
                      "name": "uint256",
                      "nodeType": "ElementaryTypeName",
                      "src": "410:7:71",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 18388,
                    "nodeType": "ArrayTypeName",
                    "src": "410:9:71",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
                      "typeString": "uint256[]"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 18392,
                  "mutability": "mutable",
                  "name": "amounts",
                  "nameLocation": "458:7:71",
                  "nodeType": "VariableDeclaration",
                  "scope": 18395,
                  "src": "439:26:71",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
                    "typeString": "uint256[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 18390,
                      "name": "uint256",
                      "nodeType": "ElementaryTypeName",
                      "src": "439:7:71",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 18391,
                    "nodeType": "ArrayTypeName",
                    "src": "439:9:71",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
                      "typeString": "uint256[]"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "367:99:71"
            },
            "returnParameters": {
              "id": 18394,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "475:0:71"
            },
            "scope": 18396,
            "src": "347:129:71",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "scope": 18397,
        "src": "239:239:71",
        "usedErrors": []
      }
    ],
    "src": "33:445:71"
  },
  "compiler": {
    "name": "solc",
    "version": "0.8.19+commit.7dd6d404.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.4.12",
  "updatedAt": "2023-03-22T17:07:39.836Z",
  "devdoc": {
    "details": "Required interface of an ERC1155Creator compliant extension contracts.",
    "kind": "dev",
    "methods": {
      "approveMint(address,address[],uint256[],uint256[])": {
        "details": "get approval to mint"
      },
      "supportsInterface(bytes4)": {
        "details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas."
      }
    },
    "version": 1
  },
  "userdoc": {
    "kind": "user",
    "methods": {},
    "version": 1
  }
}