{
  "contractName": "ICreatorExtensionRoyalties",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "interfaceId",
          "type": "bytes4"
        }
      ],
      "name": "supportsInterface",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "creator",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "tokenId",
          "type": "uint256"
        }
      ],
      "name": "getRoyalties",
      "outputs": [
        {
          "internalType": "address payable[]",
          "name": "",
          "type": "address[]"
        },
        {
          "internalType": "uint256[]",
          "name": "",
          "type": "uint256[]"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getRoyalties\",\"outputs\":[{\"internalType\":\"address payable[]\",\"name\":\"\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Implement this if you want your extension to have overloadable royalties\",\"kind\":\"dev\",\"methods\":{\"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\":{\"getRoyalties(address,uint256)\":{\"notice\":\"Get the royalties for a given creator/tokenId\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/extensions/ICreatorExtensionRoyalties.sol\":\"ICreatorExtensionRoyalties\"},\"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/extensions/ICreatorExtensionRoyalties.sol\":{\"keccak256\":\"0xf61dcf7e6bc3e49e629630ad28377f079a31b154ecd0e604d1c0a51ae2a057f2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2fda5e6d49a47fbe347ed9198c1fff5555bd687a3a73d2a9f45d5c3a2d053e40\",\"dweb:/ipfs/QmdrLJ3rscxvpMTjdRp1FyhPtYDTDL1CCQyhFeLFuFkFXH\"]}},\"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 Implement this if you want your extension to have overloadable royalties\n */\ninterface ICreatorExtensionRoyalties is IERC165 {\n\n    /**\n     * Get the royalties for a given creator/tokenId\n     */\n    function getRoyalties(address creator, uint256 tokenId) external view returns (address payable[] memory, uint256[] memory);\n}\n",
  "sourcePath": "/Users/chung/git/manifoldxyz/solidity/creator-core-solidity/contracts/extensions/ICreatorExtensionRoyalties.sol",
  "ast": {
    "absolutePath": "project:/contracts/extensions/ICreatorExtensionRoyalties.sol",
    "exportedSymbols": {
      "ICreatorExtensionRoyalties": [
        16574
      ],
      "IERC165": [
        2338
      ]
    },
    "id": 16575,
    "license": "MIT",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 16555,
        "literals": [
          "solidity",
          "^",
          "0.8",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "33:23:54"
      },
      {
        "absolutePath": "@openzeppelin/contracts/utils/introspection/IERC165.sol",
        "file": "@openzeppelin/contracts/utils/introspection/IERC165.sol",
        "id": 16556,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 16575,
        "sourceUnit": 2339,
        "src": "85:65:54",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "abstract": false,
        "baseContracts": [
          {
            "baseName": {
              "id": 16558,
              "name": "IERC165",
              "nameLocations": [
                "281:7:54"
              ],
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 2338,
              "src": "281:7:54"
            },
            "id": 16559,
            "nodeType": "InheritanceSpecifier",
            "src": "281:7:54"
          }
        ],
        "canonicalName": "ICreatorExtensionRoyalties",
        "contractDependencies": [],
        "contractKind": "interface",
        "documentation": {
          "id": 16557,
          "nodeType": "StructuredDocumentation",
          "src": "152:88:54",
          "text": " @dev Implement this if you want your extension to have overloadable royalties"
        },
        "fullyImplemented": false,
        "id": 16574,
        "linearizedBaseContracts": [
          16574,
          2338
        ],
        "name": "ICreatorExtensionRoyalties",
        "nameLocation": "251:26:54",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "documentation": {
              "id": 16560,
              "nodeType": "StructuredDocumentation",
              "src": "296:64:54",
              "text": " Get the royalties for a given creator/tokenId"
            },
            "functionSelector": "9ca7dc7a",
            "id": 16573,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getRoyalties",
            "nameLocation": "374:12:54",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 16565,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16562,
                  "mutability": "mutable",
                  "name": "creator",
                  "nameLocation": "395:7:54",
                  "nodeType": "VariableDeclaration",
                  "scope": 16573,
                  "src": "387:15:54",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 16561,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "387:7:54",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 16564,
                  "mutability": "mutable",
                  "name": "tokenId",
                  "nameLocation": "412:7:54",
                  "nodeType": "VariableDeclaration",
                  "scope": 16573,
                  "src": "404:15:54",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 16563,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "404:7:54",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "386:34:54"
            },
            "returnParameters": {
              "id": 16572,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16568,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 16573,
                  "src": "444:24:54",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_address_payable_$dyn_memory_ptr",
                    "typeString": "address payable[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 16566,
                      "name": "address",
                      "nodeType": "ElementaryTypeName",
                      "src": "444:15:54",
                      "stateMutability": "payable",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address_payable",
                        "typeString": "address payable"
                      }
                    },
                    "id": 16567,
                    "nodeType": "ArrayTypeName",
                    "src": "444:17:54",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_address_payable_$dyn_storage_ptr",
                      "typeString": "address payable[]"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 16571,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 16573,
                  "src": "470:16:54",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
                    "typeString": "uint256[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 16569,
                      "name": "uint256",
                      "nodeType": "ElementaryTypeName",
                      "src": "470:7:54",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 16570,
                    "nodeType": "ArrayTypeName",
                    "src": "470:9:54",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
                      "typeString": "uint256[]"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "443:44:54"
            },
            "scope": 16574,
            "src": "365:123:54",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "scope": 16575,
        "src": "241:249:54",
        "usedErrors": []
      }
    ],
    "src": "33:458:54"
  },
  "compiler": {
    "name": "solc",
    "version": "0.8.19+commit.7dd6d404.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.4.12",
  "updatedAt": "2023-03-22T17:07:39.768Z",
  "devdoc": {
    "details": "Implement this if you want your extension to have overloadable royalties",
    "kind": "dev",
    "methods": {
      "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": {
      "getRoyalties(address,uint256)": {
        "notice": "Get the royalties for a given creator/tokenId"
      }
    },
    "version": 1
  }
}