"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
exports.__esModule = true;
exports.IServiceRegistry__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [
            {
                internalType: "address",
                name: "_indexer",
                type: "address"
            },
        ],
        name: "isRegistered",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "string",
                name: "_url",
                type: "string"
            },
            {
                internalType: "string",
                name: "_geohash",
                type: "string"
            },
        ],
        name: "register",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_indexer",
                type: "address"
            },
            {
                internalType: "string",
                name: "_url",
                type: "string"
            },
            {
                internalType: "string",
                name: "_geohash",
                type: "string"
            },
        ],
        name: "registerFor",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [],
        name: "unregister",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_indexer",
                type: "address"
            },
        ],
        name: "unregisterFor",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
];
var IServiceRegistry__factory = /** @class */ (function () {
    function IServiceRegistry__factory() {
    }
    IServiceRegistry__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    IServiceRegistry__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    IServiceRegistry__factory.abi = _abi;
    return IServiceRegistry__factory;
}());
exports.IServiceRegistry__factory = IServiceRegistry__factory;
