"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
exports.__esModule = true;
exports.IDisputeManager__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "_disputeID",
                type: "bytes32"
            },
        ],
        name: "acceptDispute",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                components: [
                    {
                        internalType: "bytes32",
                        name: "requestCID",
                        type: "bytes32"
                    },
                    {
                        internalType: "bytes32",
                        name: "responseCID",
                        type: "bytes32"
                    },
                    {
                        internalType: "bytes32",
                        name: "subgraphDeploymentID",
                        type: "bytes32"
                    },
                    {
                        internalType: "bytes32",
                        name: "r",
                        type: "bytes32"
                    },
                    {
                        internalType: "bytes32",
                        name: "s",
                        type: "bytes32"
                    },
                    {
                        internalType: "uint8",
                        name: "v",
                        type: "uint8"
                    },
                ],
                internalType: "struct IDisputeManager.Attestation",
                name: "_attestation1",
                type: "tuple"
            },
            {
                components: [
                    {
                        internalType: "bytes32",
                        name: "requestCID",
                        type: "bytes32"
                    },
                    {
                        internalType: "bytes32",
                        name: "responseCID",
                        type: "bytes32"
                    },
                    {
                        internalType: "bytes32",
                        name: "subgraphDeploymentID",
                        type: "bytes32"
                    },
                    {
                        internalType: "bytes32",
                        name: "r",
                        type: "bytes32"
                    },
                    {
                        internalType: "bytes32",
                        name: "s",
                        type: "bytes32"
                    },
                    {
                        internalType: "uint8",
                        name: "v",
                        type: "uint8"
                    },
                ],
                internalType: "struct IDisputeManager.Attestation",
                name: "_attestation2",
                type: "tuple"
            },
        ],
        name: "areConflictingAttestations",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "pure",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_allocationID",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "_deposit",
                type: "uint256"
            },
        ],
        name: "createIndexingDispute",
        outputs: [
            {
                internalType: "bytes32",
                name: "",
                type: "bytes32"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes",
                name: "_attestationData",
                type: "bytes"
            },
            {
                internalType: "uint256",
                name: "_deposit",
                type: "uint256"
            },
        ],
        name: "createQueryDispute",
        outputs: [
            {
                internalType: "bytes32",
                name: "",
                type: "bytes32"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes",
                name: "_attestationData1",
                type: "bytes"
            },
            {
                internalType: "bytes",
                name: "_attestationData2",
                type: "bytes"
            },
        ],
        name: "createQueryDisputeConflict",
        outputs: [
            {
                internalType: "bytes32",
                name: "",
                type: "bytes32"
            },
            {
                internalType: "bytes32",
                name: "",
                type: "bytes32"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "_disputeID",
                type: "bytes32"
            },
        ],
        name: "drawDispute",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                components: [
                    {
                        internalType: "bytes32",
                        name: "requestCID",
                        type: "bytes32"
                    },
                    {
                        internalType: "bytes32",
                        name: "responseCID",
                        type: "bytes32"
                    },
                    {
                        internalType: "bytes32",
                        name: "subgraphDeploymentID",
                        type: "bytes32"
                    },
                ],
                internalType: "struct IDisputeManager.Receipt",
                name: "_receipt",
                type: "tuple"
            },
        ],
        name: "encodeHashReceipt",
        outputs: [
            {
                internalType: "bytes32",
                name: "",
                type: "bytes32"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                components: [
                    {
                        internalType: "bytes32",
                        name: "requestCID",
                        type: "bytes32"
                    },
                    {
                        internalType: "bytes32",
                        name: "responseCID",
                        type: "bytes32"
                    },
                    {
                        internalType: "bytes32",
                        name: "subgraphDeploymentID",
                        type: "bytes32"
                    },
                    {
                        internalType: "bytes32",
                        name: "r",
                        type: "bytes32"
                    },
                    {
                        internalType: "bytes32",
                        name: "s",
                        type: "bytes32"
                    },
                    {
                        internalType: "uint8",
                        name: "v",
                        type: "uint8"
                    },
                ],
                internalType: "struct IDisputeManager.Attestation",
                name: "_attestation",
                type: "tuple"
            },
        ],
        name: "getAttestationIndexer",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "_disputeID",
                type: "bytes32"
            },
        ],
        name: "isDisputeCreated",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "_disputeID",
                type: "bytes32"
            },
        ],
        name: "rejectDispute",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_arbitrator",
                type: "address"
            },
        ],
        name: "setArbitrator",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "uint32",
                name: "_percentage",
                type: "uint32"
            },
        ],
        name: "setFishermanRewardPercentage",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_minimumDeposit",
                type: "uint256"
            },
        ],
        name: "setMinimumDeposit",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "uint32",
                name: "_qryPercentage",
                type: "uint32"
            },
            {
                internalType: "uint32",
                name: "_idxPercentage",
                type: "uint32"
            },
        ],
        name: "setSlashingPercentage",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
];
var IDisputeManager__factory = /** @class */ (function () {
    function IDisputeManager__factory() {
    }
    IDisputeManager__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    IDisputeManager__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    IDisputeManager__factory.abi = _abi;
    return IDisputeManager__factory;
}());
exports.IDisputeManager__factory = IDisputeManager__factory;
