[
  {
    "type": "function",
    "name": "_msgSender",
    "inputs": [],
    "outputs": [
      {
        "name": "sender",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "_msgValue",
    "inputs": [],
    "outputs": [
      {
        "name": "value",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "pure"
  },
  {
    "type": "function",
    "name": "_world",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "areGatesOnline",
    "inputs": [
      {
        "name": "sourceGateId",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "destinationGateId",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "canJump",
    "inputs": [
      {
        "name": "characterId",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "sourceGateId",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "destinationGateId",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "configureGate",
    "inputs": [
      {
        "name": "smartObjectId",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "systemId",
        "type": "bytes32",
        "internalType": "ResourceId"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "createAndAnchorGate",
    "inputs": [
      {
        "name": "params",
        "type": "tuple",
        "internalType": "struct CreateAndAnchorParams",
        "components": [
          {
            "name": "smartObjectId",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "assemblyType",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "entityRecordParams",
            "type": "tuple",
            "internalType": "struct EntityRecordParams",
            "components": [
              {
                "name": "tenantId",
                "type": "bytes32",
                "internalType": "bytes32"
              },
              {
                "name": "typeId",
                "type": "uint256",
                "internalType": "uint256"
              },
              {
                "name": "itemId",
                "type": "uint256",
                "internalType": "uint256"
              },
              {
                "name": "volume",
                "type": "uint256",
                "internalType": "uint256"
              }
            ]
          },
          {
            "name": "owner",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "locationData",
            "type": "tuple",
            "internalType": "struct LocationData",
            "components": [
              {
                "name": "solarSystemId",
                "type": "uint256",
                "internalType": "uint256"
              },
              {
                "name": "x",
                "type": "uint256",
                "internalType": "uint256"
              },
              {
                "name": "y",
                "type": "uint256",
                "internalType": "uint256"
              },
              {
                "name": "z",
                "type": "uint256",
                "internalType": "uint256"
              }
            ]
          }
        ]
      },
      {
        "name": "maxDistance",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "networkNodeId",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "isAnyGateLinked",
    "inputs": [
      {
        "name": "sourceGateId",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "destinationGateId",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "isGateLinked",
    "inputs": [
      {
        "name": "sourceGateId",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "destinationGateId",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "isWithinRange",
    "inputs": [
      {
        "name": "sourceGateId",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "destinationGateId",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "linkGates",
    "inputs": [
      {
        "name": "sourceGateId",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "destinationGateId",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "supportsInterface",
    "inputs": [
      {
        "name": "interfaceId",
        "type": "bytes4",
        "internalType": "bytes4"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "pure"
  },
  {
    "type": "function",
    "name": "unlinkGates",
    "inputs": [
      {
        "name": "sourceGateId",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "destinationGateId",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "event",
    "name": "Store_DeleteRecord",
    "inputs": [
      {
        "name": "tableId",
        "type": "bytes32",
        "indexed": true,
        "internalType": "ResourceId"
      },
      {
        "name": "keyTuple",
        "type": "bytes32[]",
        "indexed": false,
        "internalType": "bytes32[]"
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "Store_SetRecord",
    "inputs": [
      {
        "name": "tableId",
        "type": "bytes32",
        "indexed": true,
        "internalType": "ResourceId"
      },
      {
        "name": "keyTuple",
        "type": "bytes32[]",
        "indexed": false,
        "internalType": "bytes32[]"
      },
      {
        "name": "staticData",
        "type": "bytes",
        "indexed": false,
        "internalType": "bytes"
      },
      {
        "name": "encodedLengths",
        "type": "bytes32",
        "indexed": false,
        "internalType": "EncodedLengths"
      },
      {
        "name": "dynamicData",
        "type": "bytes",
        "indexed": false,
        "internalType": "bytes"
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "Store_SpliceStaticData",
    "inputs": [
      {
        "name": "tableId",
        "type": "bytes32",
        "indexed": true,
        "internalType": "ResourceId"
      },
      {
        "name": "keyTuple",
        "type": "bytes32[]",
        "indexed": false,
        "internalType": "bytes32[]"
      },
      {
        "name": "start",
        "type": "uint48",
        "indexed": false,
        "internalType": "uint48"
      },
      {
        "name": "data",
        "type": "bytes",
        "indexed": false,
        "internalType": "bytes"
      }
    ],
    "anonymous": false
  },
  {
    "type": "error",
    "name": "DeployableSystemLib_CallingFromRootSystem",
    "inputs": []
  },
  {
    "type": "error",
    "name": "Deployable_IncorrectState",
    "inputs": [
      {
        "name": "smartObjectId",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "currentState",
        "type": "uint8",
        "internalType": "enum State"
      }
    ]
  },
  {
    "type": "error",
    "name": "SOF_CallTooDeep",
    "inputs": [
      {
        "name": "callCount",
        "type": "uint256",
        "internalType": "uint256"
      }
    ]
  },
  {
    "type": "error",
    "name": "SOF_InvalidAccessLogic",
    "inputs": []
  },
  {
    "type": "error",
    "name": "SOF_InvalidCall",
    "inputs": []
  },
  {
    "type": "error",
    "name": "SOF_InvalidEntityType",
    "inputs": [
      {
        "name": "givenEntity",
        "type": "uint256",
        "internalType": "uint256"
      }
    ]
  },
  {
    "type": "error",
    "name": "SOF_UnscopedSystemCall",
    "inputs": [
      {
        "name": "entityId",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "systemId",
        "type": "bytes32",
        "internalType": "ResourceId"
      }
    ]
  },
  {
    "type": "error",
    "name": "Slice_OutOfBounds",
    "inputs": [
      {
        "name": "data",
        "type": "bytes",
        "internalType": "bytes"
      },
      {
        "name": "start",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "end",
        "type": "uint256",
        "internalType": "uint256"
      }
    ]
  },
  {
    "type": "error",
    "name": "SmartGate_GateAlreadyLinked",
    "inputs": [
      {
        "name": "sourceGateId",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "destinationGateId",
        "type": "uint256",
        "internalType": "uint256"
      }
    ]
  },
  {
    "type": "error",
    "name": "SmartGate_GateNotLinked",
    "inputs": [
      {
        "name": "sourceGateId",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "destinationGateId",
        "type": "uint256",
        "internalType": "uint256"
      }
    ]
  },
  {
    "type": "error",
    "name": "SmartGate_GateNotOnline",
    "inputs": [
      {
        "name": "smartObjectId",
        "type": "uint256",
        "internalType": "uint256"
      }
    ]
  },
  {
    "type": "error",
    "name": "SmartGate_GatesNotOnline",
    "inputs": [
      {
        "name": "sourceGateId",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "destinationGateId",
        "type": "uint256",
        "internalType": "uint256"
      }
    ]
  },
  {
    "type": "error",
    "name": "SmartGate_NotConfigured",
    "inputs": [
      {
        "name": "smartObjectId",
        "type": "uint256",
        "internalType": "uint256"
      }
    ]
  },
  {
    "type": "error",
    "name": "SmartGate_NotWithtinRange",
    "inputs": [
      {
        "name": "sourceGateId",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "destinationGateId",
        "type": "uint256",
        "internalType": "uint256"
      }
    ]
  },
  {
    "type": "error",
    "name": "SmartGate_SameSourceAndDestination",
    "inputs": [
      {
        "name": "sourceGateId",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "destinationGateId",
        "type": "uint256",
        "internalType": "uint256"
      }
    ]
  },
  {
    "type": "error",
    "name": "SmartGate_UndefinedClassId",
    "inputs": []
  }
]