{
  "contractName": "IRoyalties",
  "abi": [
    {
      "inputs": [
        {
          "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\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getRoyalties\",\"outputs\":[{\"internalType\":\"address payable[]\",\"name\":\"\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Royalty interface for creator core classes\",\"kind\":\"dev\",\"methods\":{\"getRoyalties(uint256)\":{\"details\":\"Get royalites of a token.  Returns list of receivers and basisPoints\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/core/IRoyalties.sol\":\"IRoyalties\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":25},\"remappings\":[]},\"sources\":{\"project:/contracts/core/IRoyalties.sol\":{\"keccak256\":\"0x8835088a97625bdfc43d8ca118fb2af81f735d752ffe95c4aa7855eecc51d309\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7d4c841073e5d584d76febcfed80aecfb77a76b101c57d3110994d0923b63565\",\"dweb:/ipfs/QmaifZi4Tu4hKNkUmaY1xmpxwGYMoriend6vMNeQv434UU\"]}},\"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\n\n/**\n * @dev Royalty interface for creator core classes\n */\ninterface IRoyalties {\n    /**\n     * @dev Get royalites of a token.  Returns list of receivers and basisPoints\n     */\n    function getRoyalties(uint256 tokenId) external view returns (address payable[] memory, uint256[] memory);\n}",
  "sourcePath": "/Users/chung/git/manifoldxyz/solidity/creator-core-solidity/contracts/core/IRoyalties.sol",
  "ast": {
    "absolutePath": "project:/contracts/core/IRoyalties.sol",
    "exportedSymbols": {
      "IRoyalties": [
        15494
      ]
    },
    "id": 15495,
    "license": "MIT",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 15480,
        "literals": [
          "solidity",
          "^",
          "0.8",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "33:23:40"
      },
      {
        "abstract": false,
        "baseContracts": [],
        "canonicalName": "IRoyalties",
        "contractDependencies": [],
        "contractKind": "interface",
        "documentation": {
          "id": 15481,
          "nodeType": "StructuredDocumentation",
          "src": "86:58:40",
          "text": " @dev Royalty interface for creator core classes"
        },
        "fullyImplemented": false,
        "id": 15494,
        "linearizedBaseContracts": [
          15494
        ],
        "name": "IRoyalties",
        "nameLocation": "155:10:40",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "documentation": {
              "id": 15482,
              "nodeType": "StructuredDocumentation",
              "src": "172:92:40",
              "text": " @dev Get royalites of a token.  Returns list of receivers and basisPoints"
            },
            "functionSelector": "bb3bafd6",
            "id": 15493,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getRoyalties",
            "nameLocation": "278:12:40",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15485,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15484,
                  "mutability": "mutable",
                  "name": "tokenId",
                  "nameLocation": "299:7:40",
                  "nodeType": "VariableDeclaration",
                  "scope": 15493,
                  "src": "291:15:40",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15483,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "291:7:40",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "290:17:40"
            },
            "returnParameters": {
              "id": 15492,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15488,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 15493,
                  "src": "331:24:40",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_address_payable_$dyn_memory_ptr",
                    "typeString": "address payable[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 15486,
                      "name": "address",
                      "nodeType": "ElementaryTypeName",
                      "src": "331:15:40",
                      "stateMutability": "payable",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address_payable",
                        "typeString": "address payable"
                      }
                    },
                    "id": 15487,
                    "nodeType": "ArrayTypeName",
                    "src": "331:17:40",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_address_payable_$dyn_storage_ptr",
                      "typeString": "address payable[]"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15491,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 15493,
                  "src": "357:16:40",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
                    "typeString": "uint256[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 15489,
                      "name": "uint256",
                      "nodeType": "ElementaryTypeName",
                      "src": "357:7:40",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 15490,
                    "nodeType": "ArrayTypeName",
                    "src": "357:9:40",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
                      "typeString": "uint256[]"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "330:44:40"
            },
            "scope": 15494,
            "src": "269:106:40",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "scope": 15495,
        "src": "145:232:40",
        "usedErrors": []
      }
    ],
    "src": "33:344:40"
  },
  "compiler": {
    "name": "solc",
    "version": "0.8.19+commit.7dd6d404.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.4.12",
  "updatedAt": "2023-03-22T17:07:39.757Z",
  "devdoc": {
    "details": "Royalty interface for creator core classes",
    "kind": "dev",
    "methods": {
      "getRoyalties(uint256)": {
        "details": "Get royalites of a token.  Returns list of receivers and basisPoints"
      }
    },
    "version": 1
  },
  "userdoc": {
    "kind": "user",
    "methods": {},
    "version": 1
  }
}