{
  "abi": [
    {
      "inputs": [
        {
          "internalType": "uint96",
          "name": "id",
          "type": "uint96"
        }
      ],
      "name": "decodeBundleData",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "instanceId",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "riskpoolId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "bundleId",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "token",
          "type": "address"
        },
        {
          "internalType": "string",
          "name": "displayName",
          "type": "string"
        },
        {
          "internalType": "uint256",
          "name": "expiryAt",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint96",
          "name": "id",
          "type": "uint96"
        }
      ],
      "name": "decodeComponentData",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "instanceId",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "componentId",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "token",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint96",
          "name": "id",
          "type": "uint96"
        }
      ],
      "name": "decodeStakeData",
      "outputs": [
        {
          "internalType": "uint96",
          "name": "target",
          "type": "uint96"
        },
        {
          "internalType": "uint8",
          "name": "targetType",
          "type": "uint8"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint96",
          "name": "id",
          "type": "uint96"
        }
      ],
      "name": "exists",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint96",
          "name": "id",
          "type": "uint96"
        },
        {
          "internalType": "uint256",
          "name": "lifetimeExtension",
          "type": "uint256"
        }
      ],
      "name": "extendBundleLifetime",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "instanceId",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "bundleId",
          "type": "uint256"
        }
      ],
      "name": "getBundleNftId",
      "outputs": [
        {
          "internalType": "uint96",
          "name": "nftId",
          "type": "uint96"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "instanceId",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "componentId",
          "type": "uint256"
        }
      ],
      "name": "getComponentNftId",
      "outputs": [
        {
          "internalType": "uint96",
          "name": "nftId",
          "type": "uint96"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "instanceId",
          "type": "bytes32"
        }
      ],
      "name": "getInstanceNftId",
      "outputs": [
        {
          "internalType": "uint96",
          "name": "nftId",
          "type": "uint96"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getNft",
      "outputs": [
        {
          "internalType": "contract IChainNftFacade",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes5",
          "name": "chain",
          "type": "bytes5"
        },
        {
          "internalType": "uint8",
          "name": "objectType",
          "type": "uint8"
        },
        {
          "internalType": "uint256",
          "name": "idx",
          "type": "uint256"
        }
      ],
      "name": "getNftId",
      "outputs": [
        {
          "internalType": "uint96",
          "name": "nftId",
          "type": "uint96"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes5",
          "name": "chain",
          "type": "bytes5"
        },
        {
          "internalType": "uint8",
          "name": "objectType",
          "type": "uint8"
        }
      ],
      "name": "objects",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "numberOfObjects",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "owner",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint96",
          "name": "id",
          "type": "uint96"
        }
      ],
      "name": "ownerOf",
      "outputs": [
        {
          "internalType": "address",
          "name": "nftOwner",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "instanceId",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "riskpoolId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "bundleId",
          "type": "uint256"
        },
        {
          "internalType": "string",
          "name": "displayName",
          "type": "string"
        },
        {
          "internalType": "uint256",
          "name": "expiryAt",
          "type": "uint256"
        }
      ],
      "name": "registerBundle",
      "outputs": [
        {
          "internalType": "uint96",
          "name": "nftId",
          "type": "uint96"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "chainId",
          "type": "uint256"
        }
      ],
      "name": "toChain",
      "outputs": [
        {
          "internalType": "bytes5",
          "name": "chain",
          "type": "bytes5"
        }
      ],
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "version",
      "outputs": [
        {
          "internalType": "uint48",
          "name": "",
          "type": "uint48"
        }
      ],
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "versionParts",
      "outputs": [
        {
          "internalType": "uint16",
          "name": "major",
          "type": "uint16"
        },
        {
          "internalType": "uint16",
          "name": "minor",
          "type": "uint16"
        },
        {
          "internalType": "uint16",
          "name": "patch",
          "type": "uint16"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "allSourcePaths": {
    "35": "contracts/registry/IChainNftFacade.sol",
    "37": "contracts/registry/IChainRegistryFacade.sol"
  },
  "ast": {
    "absolutePath": "contracts/registry/IChainRegistryFacade.sol",
    "exportedSymbols": {
      "IChainNftFacade": [
        3536
      ],
      "IChainRegistryFacade": [
        4180
      ]
    },
    "id": 4181,
    "license": "Apache-2.0",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 4027,
        "literals": [
          "solidity",
          "^",
          "0.8",
          ".19"
        ],
        "nodeType": "PragmaDirective",
        "src": "39:24:37"
      },
      {
        "absolutePath": "contracts/registry/IChainNftFacade.sol",
        "file": "./IChainNftFacade.sol",
        "id": 4029,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 4181,
        "sourceUnit": 3537,
        "src": "542:54:37",
        "symbolAliases": [
          {
            "foreign": {
              "id": 4028,
              "name": "IChainNftFacade",
              "nodeType": "Identifier",
              "overloadedDeclarations": [],
              "referencedDeclaration": 3536,
              "src": "550:15:37",
              "typeDescriptions": {}
            },
            "nameLocation": "-1:-1:-1"
          }
        ],
        "unitAlias": ""
      },
      {
        "abstract": false,
        "baseContracts": [],
        "canonicalName": "IChainRegistryFacade",
        "contractDependencies": [],
        "contractKind": "interface",
        "fullyImplemented": false,
        "id": 4180,
        "linearizedBaseContracts": [
          4180
        ],
        "name": "IChainRegistryFacade",
        "nameLocation": "608:20:37",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "functionSelector": "5b1cfdbd",
            "id": 4044,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "registerBundle",
            "nameLocation": "645:14:37",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4040,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4031,
                  "mutability": "mutable",
                  "name": "instanceId",
                  "nameLocation": "677:10:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4044,
                  "src": "669:18:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4030,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "669:7:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4033,
                  "mutability": "mutable",
                  "name": "riskpoolId",
                  "nameLocation": "705:10:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4044,
                  "src": "697:18:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4032,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "697:7:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4035,
                  "mutability": "mutable",
                  "name": "bundleId",
                  "nameLocation": "733:8:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4044,
                  "src": "725:16:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4034,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "725:7:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4037,
                  "mutability": "mutable",
                  "name": "displayName",
                  "nameLocation": "765:11:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4044,
                  "src": "751:25:37",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 4036,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "751:6:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4039,
                  "mutability": "mutable",
                  "name": "expiryAt",
                  "nameLocation": "794:8:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4044,
                  "src": "786:16:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4038,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "786:7:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "659:149:37"
            },
            "returnParameters": {
              "id": 4043,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4042,
                  "mutability": "mutable",
                  "name": "nftId",
                  "nameLocation": "849:5:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4044,
                  "src": "842:12:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint96",
                    "typeString": "uint96"
                  },
                  "typeName": {
                    "id": 4041,
                    "name": "uint96",
                    "nodeType": "ElementaryTypeName",
                    "src": "842:6:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint96",
                      "typeString": "uint96"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "841:14:37"
            },
            "scope": 4180,
            "src": "636:220:37",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "16f48f62",
            "id": 4051,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "extendBundleLifetime",
            "nameLocation": "871:20:37",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4049,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4046,
                  "mutability": "mutable",
                  "name": "id",
                  "nameLocation": "899:2:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4051,
                  "src": "892:9:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint96",
                    "typeString": "uint96"
                  },
                  "typeName": {
                    "id": 4045,
                    "name": "uint96",
                    "nodeType": "ElementaryTypeName",
                    "src": "892:6:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint96",
                      "typeString": "uint96"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4048,
                  "mutability": "mutable",
                  "name": "lifetimeExtension",
                  "nameLocation": "911:17:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4051,
                  "src": "903:25:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4047,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "903:7:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "891:38:37"
            },
            "returnParameters": {
              "id": 4050,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "938:0:37"
            },
            "scope": 4180,
            "src": "862:77:37",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "8da5cb5b",
            "id": 4056,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "owner",
            "nameLocation": "954:5:37",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4052,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "959:2:37"
            },
            "returnParameters": {
              "id": 4055,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4054,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 4056,
                  "src": "984:7:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 4053,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "984:7:37",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "983:9:37"
            },
            "scope": 4180,
            "src": "945:48:37",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "ac513fb8",
            "id": 4062,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getNft",
            "nameLocation": "1007:6:37",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4057,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1013:2:37"
            },
            "returnParameters": {
              "id": 4061,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4060,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 4062,
                  "src": "1038:15:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IChainNftFacade_$3536",
                    "typeString": "contract IChainNftFacade"
                  },
                  "typeName": {
                    "id": 4059,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 4058,
                      "name": "IChainNftFacade",
                      "nameLocations": [
                        "1038:15:37"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 3536,
                      "src": "1038:15:37"
                    },
                    "referencedDeclaration": 3536,
                    "src": "1038:15:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IChainNftFacade_$3536",
                      "typeString": "contract IChainNftFacade"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1037:17:37"
            },
            "scope": 4180,
            "src": "998:57:37",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "178156ca",
            "id": 4069,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "toChain",
            "nameLocation": "1069:7:37",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4065,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4064,
                  "mutability": "mutable",
                  "name": "chainId",
                  "nameLocation": "1085:7:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4069,
                  "src": "1077:15:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4063,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1077:7:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1076:17:37"
            },
            "returnParameters": {
              "id": 4068,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4067,
                  "mutability": "mutable",
                  "name": "chain",
                  "nameLocation": "1123:5:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4069,
                  "src": "1116:12:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes5",
                    "typeString": "bytes5"
                  },
                  "typeName": {
                    "id": 4066,
                    "name": "bytes5",
                    "nodeType": "ElementaryTypeName",
                    "src": "1116:6:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes5",
                      "typeString": "bytes5"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1115:14:37"
            },
            "scope": 4180,
            "src": "1060:70:37",
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "d044a1ed",
            "id": 4078,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "objects",
            "nameLocation": "1145:7:37",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4074,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4071,
                  "mutability": "mutable",
                  "name": "chain",
                  "nameLocation": "1160:5:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4078,
                  "src": "1153:12:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes5",
                    "typeString": "bytes5"
                  },
                  "typeName": {
                    "id": 4070,
                    "name": "bytes5",
                    "nodeType": "ElementaryTypeName",
                    "src": "1153:6:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes5",
                      "typeString": "bytes5"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4073,
                  "mutability": "mutable",
                  "name": "objectType",
                  "nameLocation": "1173:10:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4078,
                  "src": "1167:16:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint8",
                    "typeString": "uint8"
                  },
                  "typeName": {
                    "id": 4072,
                    "name": "uint8",
                    "nodeType": "ElementaryTypeName",
                    "src": "1167:5:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint8",
                      "typeString": "uint8"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1152:32:37"
            },
            "returnParameters": {
              "id": 4077,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4076,
                  "mutability": "mutable",
                  "name": "numberOfObjects",
                  "nameLocation": "1215:15:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4078,
                  "src": "1207:23:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4075,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1207:7:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1206:25:37"
            },
            "scope": 4180,
            "src": "1136:96:37",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "2b52487a",
            "id": 4089,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getNftId",
            "nameLocation": "1246:8:37",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4085,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4080,
                  "mutability": "mutable",
                  "name": "chain",
                  "nameLocation": "1262:5:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4089,
                  "src": "1255:12:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes5",
                    "typeString": "bytes5"
                  },
                  "typeName": {
                    "id": 4079,
                    "name": "bytes5",
                    "nodeType": "ElementaryTypeName",
                    "src": "1255:6:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes5",
                      "typeString": "bytes5"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4082,
                  "mutability": "mutable",
                  "name": "objectType",
                  "nameLocation": "1275:10:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4089,
                  "src": "1269:16:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint8",
                    "typeString": "uint8"
                  },
                  "typeName": {
                    "id": 4081,
                    "name": "uint8",
                    "nodeType": "ElementaryTypeName",
                    "src": "1269:5:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint8",
                      "typeString": "uint8"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4084,
                  "mutability": "mutable",
                  "name": "idx",
                  "nameLocation": "1295:3:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4089,
                  "src": "1287:11:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4083,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1287:7:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1254:45:37"
            },
            "returnParameters": {
              "id": 4088,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4087,
                  "mutability": "mutable",
                  "name": "nftId",
                  "nameLocation": "1329:5:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4089,
                  "src": "1322:12:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint96",
                    "typeString": "uint96"
                  },
                  "typeName": {
                    "id": 4086,
                    "name": "uint96",
                    "nodeType": "ElementaryTypeName",
                    "src": "1322:6:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint96",
                      "typeString": "uint96"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1321:14:37"
            },
            "scope": 4180,
            "src": "1237:99:37",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "4f9c1c09",
            "id": 4096,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "exists",
            "nameLocation": "1350:6:37",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4092,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4091,
                  "mutability": "mutable",
                  "name": "id",
                  "nameLocation": "1364:2:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4096,
                  "src": "1357:9:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint96",
                    "typeString": "uint96"
                  },
                  "typeName": {
                    "id": 4090,
                    "name": "uint96",
                    "nodeType": "ElementaryTypeName",
                    "src": "1357:6:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint96",
                      "typeString": "uint96"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1356:11:37"
            },
            "returnParameters": {
              "id": 4095,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4094,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 4096,
                  "src": "1390:4:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 4093,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1390:4:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1389:6:37"
            },
            "scope": 4180,
            "src": "1341:55:37",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "38bb429a",
            "id": 4103,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "ownerOf",
            "nameLocation": "1410:7:37",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4099,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4098,
                  "mutability": "mutable",
                  "name": "id",
                  "nameLocation": "1425:2:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4103,
                  "src": "1418:9:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint96",
                    "typeString": "uint96"
                  },
                  "typeName": {
                    "id": 4097,
                    "name": "uint96",
                    "nodeType": "ElementaryTypeName",
                    "src": "1418:6:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint96",
                      "typeString": "uint96"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1417:11:37"
            },
            "returnParameters": {
              "id": 4102,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4101,
                  "mutability": "mutable",
                  "name": "nftOwner",
                  "nameLocation": "1459:8:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4103,
                  "src": "1451:16:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 4100,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1451:7:37",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1450:18:37"
            },
            "scope": 4180,
            "src": "1401:68:37",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "c0759d0d",
            "id": 4110,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getInstanceNftId",
            "nameLocation": "1484:16:37",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4106,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4105,
                  "mutability": "mutable",
                  "name": "instanceId",
                  "nameLocation": "1509:10:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4110,
                  "src": "1501:18:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4104,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1501:7:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1500:20:37"
            },
            "returnParameters": {
              "id": 4109,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4108,
                  "mutability": "mutable",
                  "name": "nftId",
                  "nameLocation": "1550:5:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4110,
                  "src": "1543:12:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint96",
                    "typeString": "uint96"
                  },
                  "typeName": {
                    "id": 4107,
                    "name": "uint96",
                    "nodeType": "ElementaryTypeName",
                    "src": "1543:6:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint96",
                      "typeString": "uint96"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1542:14:37"
            },
            "scope": 4180,
            "src": "1475:82:37",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "d91fc8c7",
            "id": 4119,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getComponentNftId",
            "nameLocation": "1571:17:37",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4115,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4112,
                  "mutability": "mutable",
                  "name": "instanceId",
                  "nameLocation": "1597:10:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4119,
                  "src": "1589:18:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4111,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1589:7:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4114,
                  "mutability": "mutable",
                  "name": "componentId",
                  "nameLocation": "1617:11:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4119,
                  "src": "1609:19:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4113,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1609:7:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1588:41:37"
            },
            "returnParameters": {
              "id": 4118,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4117,
                  "mutability": "mutable",
                  "name": "nftId",
                  "nameLocation": "1659:5:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4119,
                  "src": "1652:12:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint96",
                    "typeString": "uint96"
                  },
                  "typeName": {
                    "id": 4116,
                    "name": "uint96",
                    "nodeType": "ElementaryTypeName",
                    "src": "1652:6:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint96",
                      "typeString": "uint96"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1651:14:37"
            },
            "scope": 4180,
            "src": "1562:104:37",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "afb9128e",
            "id": 4128,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getBundleNftId",
            "nameLocation": "1680:14:37",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4124,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4121,
                  "mutability": "mutable",
                  "name": "instanceId",
                  "nameLocation": "1703:10:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4128,
                  "src": "1695:18:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4120,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1695:7:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4123,
                  "mutability": "mutable",
                  "name": "bundleId",
                  "nameLocation": "1723:8:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4128,
                  "src": "1715:16:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4122,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1715:7:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1694:38:37"
            },
            "returnParameters": {
              "id": 4127,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4126,
                  "mutability": "mutable",
                  "name": "nftId",
                  "nameLocation": "1762:5:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4128,
                  "src": "1755:12:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint96",
                    "typeString": "uint96"
                  },
                  "typeName": {
                    "id": 4125,
                    "name": "uint96",
                    "nodeType": "ElementaryTypeName",
                    "src": "1755:6:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint96",
                      "typeString": "uint96"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1754:14:37"
            },
            "scope": 4180,
            "src": "1671:98:37",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "54fd4d50",
            "id": 4133,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "version",
            "nameLocation": "1784:7:37",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4129,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1791:2:37"
            },
            "returnParameters": {
              "id": 4132,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4131,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 4133,
                  "src": "1816:6:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint48",
                    "typeString": "uint48"
                  },
                  "typeName": {
                    "id": 4130,
                    "name": "uint48",
                    "nodeType": "ElementaryTypeName",
                    "src": "1816:6:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint48",
                      "typeString": "uint48"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1815:8:37"
            },
            "scope": 4180,
            "src": "1775:49:37",
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "bd4080ec",
            "id": 4142,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "versionParts",
            "nameLocation": "1838:12:37",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4134,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1850:2:37"
            },
            "returnParameters": {
              "id": 4141,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4136,
                  "mutability": "mutable",
                  "name": "major",
                  "nameLocation": "1919:5:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4142,
                  "src": "1912:12:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint16",
                    "typeString": "uint16"
                  },
                  "typeName": {
                    "id": 4135,
                    "name": "uint16",
                    "nodeType": "ElementaryTypeName",
                    "src": "1912:6:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint16",
                      "typeString": "uint16"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4138,
                  "mutability": "mutable",
                  "name": "minor",
                  "nameLocation": "1945:5:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4142,
                  "src": "1938:12:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint16",
                    "typeString": "uint16"
                  },
                  "typeName": {
                    "id": 4137,
                    "name": "uint16",
                    "nodeType": "ElementaryTypeName",
                    "src": "1938:6:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint16",
                      "typeString": "uint16"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4140,
                  "mutability": "mutable",
                  "name": "patch",
                  "nameLocation": "1971:5:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4142,
                  "src": "1964:12:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint16",
                    "typeString": "uint16"
                  },
                  "typeName": {
                    "id": 4139,
                    "name": "uint16",
                    "nodeType": "ElementaryTypeName",
                    "src": "1964:6:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint16",
                      "typeString": "uint16"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1898:88:37"
            },
            "scope": 4180,
            "src": "1829:158:37",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "0082d973",
            "id": 4153,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "decodeComponentData",
            "nameLocation": "2003:19:37",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4145,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4144,
                  "mutability": "mutable",
                  "name": "id",
                  "nameLocation": "2030:2:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4153,
                  "src": "2023:9:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint96",
                    "typeString": "uint96"
                  },
                  "typeName": {
                    "id": 4143,
                    "name": "uint96",
                    "nodeType": "ElementaryTypeName",
                    "src": "2023:6:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint96",
                      "typeString": "uint96"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2022:11:37"
            },
            "returnParameters": {
              "id": 4152,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4147,
                  "mutability": "mutable",
                  "name": "instanceId",
                  "nameLocation": "2101:10:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4153,
                  "src": "2093:18:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4146,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2093:7:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4149,
                  "mutability": "mutable",
                  "name": "componentId",
                  "nameLocation": "2133:11:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4153,
                  "src": "2125:19:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4148,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2125:7:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4151,
                  "mutability": "mutable",
                  "name": "token",
                  "nameLocation": "2166:5:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4153,
                  "src": "2158:13:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 4150,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2158:7:37",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2079:93:37"
            },
            "scope": 4180,
            "src": "1994:179:37",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "7cf6b414",
            "id": 4170,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "decodeBundleData",
            "nameLocation": "2189:16:37",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4156,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4155,
                  "mutability": "mutable",
                  "name": "id",
                  "nameLocation": "2213:2:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4170,
                  "src": "2206:9:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint96",
                    "typeString": "uint96"
                  },
                  "typeName": {
                    "id": 4154,
                    "name": "uint96",
                    "nodeType": "ElementaryTypeName",
                    "src": "2206:6:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint96",
                      "typeString": "uint96"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2205:11:37"
            },
            "returnParameters": {
              "id": 4169,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4158,
                  "mutability": "mutable",
                  "name": "instanceId",
                  "nameLocation": "2284:10:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4170,
                  "src": "2276:18:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4157,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2276:7:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4160,
                  "mutability": "mutable",
                  "name": "riskpoolId",
                  "nameLocation": "2316:10:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4170,
                  "src": "2308:18:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4159,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2308:7:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4162,
                  "mutability": "mutable",
                  "name": "bundleId",
                  "nameLocation": "2348:8:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4170,
                  "src": "2340:16:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4161,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2340:7:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4164,
                  "mutability": "mutable",
                  "name": "token",
                  "nameLocation": "2378:5:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4170,
                  "src": "2370:13:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 4163,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2370:7:37",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4166,
                  "mutability": "mutable",
                  "name": "displayName",
                  "nameLocation": "2411:11:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4170,
                  "src": "2397:25:37",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 4165,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "2397:6:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4168,
                  "mutability": "mutable",
                  "name": "expiryAt",
                  "nameLocation": "2444:8:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4170,
                  "src": "2436:16:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4167,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2436:7:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2262:191:37"
            },
            "scope": 4180,
            "src": "2180:274:37",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "e089bc7d",
            "id": 4179,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "decodeStakeData",
            "nameLocation": "2470:15:37",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4173,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4172,
                  "mutability": "mutable",
                  "name": "id",
                  "nameLocation": "2493:2:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4179,
                  "src": "2486:9:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint96",
                    "typeString": "uint96"
                  },
                  "typeName": {
                    "id": 4171,
                    "name": "uint96",
                    "nodeType": "ElementaryTypeName",
                    "src": "2486:6:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint96",
                      "typeString": "uint96"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2485:11:37"
            },
            "returnParameters": {
              "id": 4178,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4175,
                  "mutability": "mutable",
                  "name": "target",
                  "nameLocation": "2563:6:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4179,
                  "src": "2556:13:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint96",
                    "typeString": "uint96"
                  },
                  "typeName": {
                    "id": 4174,
                    "name": "uint96",
                    "nodeType": "ElementaryTypeName",
                    "src": "2556:6:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint96",
                      "typeString": "uint96"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4177,
                  "mutability": "mutable",
                  "name": "targetType",
                  "nameLocation": "2589:10:37",
                  "nodeType": "VariableDeclaration",
                  "scope": 4179,
                  "src": "2583:16:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint8",
                    "typeString": "uint8"
                  },
                  "typeName": {
                    "id": 4176,
                    "name": "uint8",
                    "nodeType": "ElementaryTypeName",
                    "src": "2583:5:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint8",
                      "typeString": "uint8"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2542:58:37"
            },
            "scope": 4180,
            "src": "2461:140:37",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "scope": 4181,
        "src": "598:2006:37",
        "usedErrors": []
      }
    ],
    "src": "39:2565:37"
  },
  "bytecode": "",
  "bytecodeSha1": "da39a3ee5e6b4b0d3255bfef95601890afd80709",
  "compiler": {
    "evm_version": "istanbul",
    "optimizer": {
      "enabled": true,
      "runs": 200
    },
    "version": "0.8.19+commit.7dd6d404"
  },
  "contractName": "IChainRegistryFacade",
  "coverageMap": {
    "branches": {},
    "statements": {}
  },
  "dependencies": [
    "IChainNftFacade"
  ],
  "deployedBytecode": "",
  "deployedSourceMap": "",
  "language": "Solidity",
  "natspec": {
    "kind": "dev",
    "methods": {},
    "version": 1
  },
  "offset": [
    598,
    2604
  ],
  "opcodes": "",
  "pcMap": {},
  "sha1": "4a7ae46d402acf718c8392e93be5e976dfa18abf",
  "source": "// SPDX-License-Identifier: Apache-2.0\npragma solidity ^0.8.19;\n\n/**\n * @dev this facade is intended for user contracts with limited \n * interactions with the actual contract and that need to work \n * with older solidity versions that do not support user defined \n * types.\n * \n * usage: \n * (1) copy this interface into your repository\n * (2) adapt the pragma to your needsd\n * (3) use it in your contracts, ie. cast actual contract \n * address to this interface, then  usd the resulting facade \n * to interact with the actual contract\n */\n\nimport {IChainNftFacade} from \"./IChainNftFacade.sol\";\n\ninterface IChainRegistryFacade {\n\n    function registerBundle(\n        bytes32 instanceId,\n        uint256 riskpoolId,\n        uint256 bundleId,\n        string memory displayName,\n        uint256 expiryAt\n    )\n        external\n        returns(uint96 nftId);\n\n    function extendBundleLifetime(uint96 id, uint256 lifetimeExtension) external;\n\n    function owner() external view returns(address);\n    function getNft() external view returns(IChainNftFacade);\n    function toChain(uint256 chainId) external pure returns(bytes5 chain);\n\n    function objects(bytes5 chain, uint8 objectType) external view returns(uint256 numberOfObjects);\n    function getNftId(bytes5 chain, uint8 objectType, uint256 idx) external view returns(uint96 nftId);\n    function exists(uint96 id) external view returns(bool);\n    function ownerOf(uint96 id) external view returns(address nftOwner);\n\n    function getInstanceNftId(bytes32 instanceId) external view returns(uint96 nftId);\n    function getComponentNftId(bytes32 instanceId, uint256 componentId) external view returns(uint96 nftId);\n    function getBundleNftId(bytes32 instanceId, uint256 bundleId) external view returns(uint96 nftId);\n\n    function version() external pure returns(uint48);\n    function versionParts()\n        external\n        view\n        returns(\n            uint16 major,\n            uint16 minor,\n            uint16 patch\n        );\n\n\n    function decodeComponentData(uint96 id)\n        external\n        view\n        returns(\n            bytes32 instanceId,\n            uint256 componentId,\n            address token);\n\n\n    function decodeBundleData(uint96 id)\n        external\n        view\n        returns(\n            bytes32 instanceId,\n            uint256 riskpoolId,\n            uint256 bundleId,\n            address token,\n            string memory displayName,\n            uint256 expiryAt);\n\n\n    function decodeStakeData(uint96 id)\n        external\n        view\n        returns(\n            uint96 target,\n            uint8 targetType);\n\n}",
  "sourceMap": "",
  "sourcePath": "contracts/registry/IChainRegistryFacade.sol",
  "type": "interface"
}