"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.KlerosCoreUniversity__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [],
        stateMutability: "nonpayable",
        type: "constructor",
    },
    {
        inputs: [],
        name: "AllJurorsDrawn",
        type: "error",
    },
    {
        inputs: [],
        name: "AlreadyInitialized",
        type: "error",
    },
    {
        inputs: [],
        name: "AppealFeesNotEnough",
        type: "error",
    },
    {
        inputs: [],
        name: "AppealPeriodNotPassed",
        type: "error",
    },
    {
        inputs: [],
        name: "ArbitrationFeesNotEnough",
        type: "error",
    },
    {
        inputs: [],
        name: "ArraysLengthMismatch",
        type: "error",
    },
    {
        inputs: [],
        name: "CannotDisableClassicDK",
        type: "error",
    },
    {
        inputs: [],
        name: "CommitPeriodNotPassed",
        type: "error",
    },
    {
        inputs: [],
        name: "DepthLevelMax",
        type: "error",
    },
    {
        inputs: [],
        name: "DisputeKitNotSupportedByCourt",
        type: "error",
    },
    {
        inputs: [],
        name: "DisputeKitOnly",
        type: "error",
    },
    {
        inputs: [],
        name: "DisputeNotAppealable",
        type: "error",
    },
    {
        inputs: [],
        name: "DisputePeriodIsFinal",
        type: "error",
    },
    {
        inputs: [],
        name: "DisputeStillDrawing",
        type: "error",
    },
    {
        inputs: [],
        name: "EvidenceNotPassedAndNotAppeal",
        type: "error",
    },
    {
        inputs: [],
        name: "FailedDelegateCall",
        type: "error",
    },
    {
        inputs: [],
        name: "GovernorOnly",
        type: "error",
    },
    {
        inputs: [],
        name: "GovernorOrInstructorOnly",
        type: "error",
    },
    {
        inputs: [],
        name: "InstructorOnly",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidDisputKitParent",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidForkingCourtAsParent",
        type: "error",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "implementation",
                type: "address",
            },
        ],
        name: "InvalidImplementation",
        type: "error",
    },
    {
        inputs: [],
        name: "MinStakeLowerThanParentCourt",
        type: "error",
    },
    {
        inputs: [],
        name: "MustSupportDisputeKitClassic",
        type: "error",
    },
    {
        inputs: [],
        name: "NoJurorDrawn",
        type: "error",
    },
    {
        inputs: [],
        name: "NotEvidencePeriod",
        type: "error",
    },
    {
        inputs: [],
        name: "NotExecutionPeriod",
        type: "error",
    },
    {
        inputs: [],
        name: "NotInitializing",
        type: "error",
    },
    {
        inputs: [],
        name: "RulingAlreadyExecuted",
        type: "error",
    },
    {
        inputs: [],
        name: "SortitionModuleOnly",
        type: "error",
    },
    {
        inputs: [],
        name: "StakingInTooManyCourts",
        type: "error",
    },
    {
        inputs: [],
        name: "StakingLessThanCourtMinStake",
        type: "error",
    },
    {
        inputs: [],
        name: "StakingNotPossibleInThisCourt",
        type: "error",
    },
    {
        inputs: [],
        name: "StakingTransferFailed",
        type: "error",
    },
    {
        inputs: [],
        name: "TokenNotAccepted",
        type: "error",
    },
    {
        inputs: [],
        name: "TransferFailed",
        type: "error",
    },
    {
        inputs: [],
        name: "UUPSUnauthorizedCallContext",
        type: "error",
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "slot",
                type: "bytes32",
            },
        ],
        name: "UUPSUnsupportedProxiableUUID",
        type: "error",
    },
    {
        inputs: [],
        name: "UnstakingTransferFailed",
        type: "error",
    },
    {
        inputs: [],
        name: "UnsuccessfulCall",
        type: "error",
    },
    {
        inputs: [],
        name: "UnsupportedDisputeKit",
        type: "error",
    },
    {
        inputs: [],
        name: "VotePeriodNotPassed",
        type: "error",
    },
    {
        inputs: [],
        name: "WrongDisputeKitIndex",
        type: "error",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "contract IERC20",
                name: "_token",
                type: "address",
            },
            {
                indexed: true,
                internalType: "bool",
                name: "_accepted",
                type: "bool",
            },
        ],
        name: "AcceptedFeeToken",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
            {
                indexed: true,
                internalType: "contract IArbitrableV2",
                name: "_arbitrable",
                type: "address",
            },
        ],
        name: "AppealDecision",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
            {
                indexed: true,
                internalType: "contract IArbitrableV2",
                name: "_arbitrable",
                type: "address",
            },
        ],
        name: "AppealPossible",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "uint256",
                name: "_courtID",
                type: "uint256",
            },
            {
                indexed: true,
                internalType: "uint96",
                name: "_parent",
                type: "uint96",
            },
            {
                indexed: false,
                internalType: "bool",
                name: "_hiddenVotes",
                type: "bool",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_minStake",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_alpha",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_feeForJuror",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_jurorsForCourtJump",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256[4]",
                name: "_timesPerPeriod",
                type: "uint256[4]",
            },
            {
                indexed: false,
                internalType: "uint256[]",
                name: "_supportedDisputeKits",
                type: "uint256[]",
            },
        ],
        name: "CourtCreated",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
            {
                indexed: true,
                internalType: "uint256",
                name: "_roundID",
                type: "uint256",
            },
            {
                indexed: true,
                internalType: "uint96",
                name: "_fromCourtID",
                type: "uint96",
            },
            {
                indexed: false,
                internalType: "uint96",
                name: "_toCourtID",
                type: "uint96",
            },
        ],
        name: "CourtJump",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "uint96",
                name: "_courtID",
                type: "uint96",
            },
            {
                indexed: false,
                internalType: "bool",
                name: "_hiddenVotes",
                type: "bool",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_minStake",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_alpha",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_feeForJuror",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_jurorsForCourtJump",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256[4]",
                name: "_timesPerPeriod",
                type: "uint256[4]",
            },
        ],
        name: "CourtModified",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
            {
                indexed: true,
                internalType: "contract IArbitrableV2",
                name: "_arbitrable",
                type: "address",
            },
        ],
        name: "DisputeCreation",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "uint256",
                name: "_disputeKitID",
                type: "uint256",
            },
            {
                indexed: true,
                internalType: "contract IDisputeKit",
                name: "_disputeKitAddress",
                type: "address",
            },
        ],
        name: "DisputeKitCreated",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "uint96",
                name: "_courtID",
                type: "uint96",
            },
            {
                indexed: true,
                internalType: "uint256",
                name: "_disputeKitID",
                type: "uint256",
            },
            {
                indexed: true,
                internalType: "bool",
                name: "_enable",
                type: "bool",
            },
        ],
        name: "DisputeKitEnabled",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
            {
                indexed: true,
                internalType: "uint256",
                name: "_roundID",
                type: "uint256",
            },
            {
                indexed: true,
                internalType: "uint256",
                name: "_fromDisputeKitID",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_toDisputeKitID",
                type: "uint256",
            },
        ],
        name: "DisputeKitJump",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "_address",
                type: "address",
            },
            {
                indexed: true,
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_roundID",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_voteID",
                type: "uint256",
            },
        ],
        name: "Draw",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "uint64",
                name: "version",
                type: "uint64",
            },
        ],
        name: "Initialized",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
            {
                indexed: true,
                internalType: "uint256",
                name: "_roundID",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_pnkAmount",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_feeAmount",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "contract IERC20",
                name: "_feeToken",
                type: "address",
            },
        ],
        name: "LeftoverRewardSent",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "contract IERC20",
                name: "_feeToken",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint64",
                name: "_rateInEth",
                type: "uint64",
            },
            {
                indexed: false,
                internalType: "uint8",
                name: "_rateDecimals",
                type: "uint8",
            },
        ],
        name: "NewCurrencyRate",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "enum KlerosCoreUniversity.Period",
                name: "_period",
                type: "uint8",
            },
        ],
        name: "NewPeriod",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "contract IArbitrableV2",
                name: "_arbitrable",
                type: "address",
            },
            {
                indexed: true,
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_ruling",
                type: "uint256",
            },
        ],
        name: "Ruling",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "_account",
                type: "address",
            },
            {
                indexed: true,
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
            {
                indexed: true,
                internalType: "uint256",
                name: "_roundID",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_degreeOfCoherency",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "int256",
                name: "_pnkAmount",
                type: "int256",
            },
            {
                indexed: false,
                internalType: "int256",
                name: "_feeAmount",
                type: "int256",
            },
            {
                indexed: false,
                internalType: "contract IERC20",
                name: "_feeToken",
                type: "address",
            },
        ],
        name: "TokenAndETHShift",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "newImplementation",
                type: "address",
            },
        ],
        name: "Upgraded",
        type: "event",
    },
    {
        inputs: [
            {
                internalType: "contract IDisputeKit",
                name: "_disputeKitAddress",
                type: "address",
            },
        ],
        name: "addNewDisputeKit",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "_numberOfChoices",
                type: "uint256",
            },
            {
                internalType: "bytes",
                name: "_extraData",
                type: "bytes",
            },
        ],
        name: "appeal",
        outputs: [],
        stateMutability: "payable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
        ],
        name: "appealCost",
        outputs: [
            {
                internalType: "uint256",
                name: "cost",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
        ],
        name: "appealPeriod",
        outputs: [
            {
                internalType: "uint256",
                name: "start",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "end",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "bytes",
                name: "_extraData",
                type: "bytes",
            },
            {
                internalType: "contract IERC20",
                name: "_feeToken",
                type: "address",
            },
        ],
        name: "arbitrationCost",
        outputs: [
            {
                internalType: "uint256",
                name: "cost",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "bytes",
                name: "_extraData",
                type: "bytes",
            },
        ],
        name: "arbitrationCost",
        outputs: [
            {
                internalType: "uint256",
                name: "cost",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract IERC20",
                name: "_feeToken",
                type: "address",
            },
            {
                internalType: "bool",
                name: "_accepted",
                type: "bool",
            },
        ],
        name: "changeAcceptedFeeTokens",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint96",
                name: "_courtID",
                type: "uint96",
            },
            {
                internalType: "bool",
                name: "_hiddenVotes",
                type: "bool",
            },
            {
                internalType: "uint256",
                name: "_minStake",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "_alpha",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "_feeForJuror",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "_jurorsForCourtJump",
                type: "uint256",
            },
            {
                internalType: "uint256[4]",
                name: "_timesPerPeriod",
                type: "uint256[4]",
            },
        ],
        name: "changeCourtParameters",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract IERC20",
                name: "_feeToken",
                type: "address",
            },
            {
                internalType: "uint64",
                name: "_rateInEth",
                type: "uint64",
            },
            {
                internalType: "uint8",
                name: "_rateDecimals",
                type: "uint8",
            },
        ],
        name: "changeCurrencyRates",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address payable",
                name: "_governor",
                type: "address",
            },
        ],
        name: "changeGovernor",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_instructor",
                type: "address",
            },
        ],
        name: "changeInstructor",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_jurorProsecutionModule",
                type: "address",
            },
        ],
        name: "changeJurorProsecutionModule",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract IERC20",
                name: "_pinakion",
                type: "address",
            },
        ],
        name: "changePinakion",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract ISortitionModuleUniversity",
                name: "_sortitionModule",
                type: "address",
            },
        ],
        name: "changeSortitionModule",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract IERC20",
                name: "_toToken",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "_amountInEth",
                type: "uint256",
            },
        ],
        name: "convertEthToTokenAmount",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        name: "courts",
        outputs: [
            {
                internalType: "uint96",
                name: "parent",
                type: "uint96",
            },
            {
                internalType: "bool",
                name: "hiddenVotes",
                type: "bool",
            },
            {
                internalType: "uint256",
                name: "minStake",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "alpha",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "feeForJuror",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "jurorsForCourtJump",
                type: "uint256",
            },
            {
                internalType: "bool",
                name: "disabled",
                type: "bool",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint96",
                name: "_parent",
                type: "uint96",
            },
            {
                internalType: "bool",
                name: "_hiddenVotes",
                type: "bool",
            },
            {
                internalType: "uint256",
                name: "_minStake",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "_alpha",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "_feeForJuror",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "_jurorsForCourtJump",
                type: "uint256",
            },
            {
                internalType: "uint256[4]",
                name: "_timesPerPeriod",
                type: "uint256[4]",
            },
            {
                internalType: "uint256[]",
                name: "_supportedDisputeKits",
                type: "uint256[]",
            },
        ],
        name: "createCourt",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_numberOfChoices",
                type: "uint256",
            },
            {
                internalType: "bytes",
                name: "_extraData",
                type: "bytes",
            },
        ],
        name: "createDispute",
        outputs: [
            {
                internalType: "uint256",
                name: "disputeID",
                type: "uint256",
            },
        ],
        stateMutability: "payable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_numberOfChoices",
                type: "uint256",
            },
            {
                internalType: "bytes",
                name: "_extraData",
                type: "bytes",
            },
            {
                internalType: "contract IERC20",
                name: "_feeToken",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "_feeAmount",
                type: "uint256",
            },
        ],
        name: "createDispute",
        outputs: [
            {
                internalType: "uint256",
                name: "disputeID",
                type: "uint256",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract IERC20",
                name: "",
                type: "address",
            },
        ],
        name: "currencyRates",
        outputs: [
            {
                internalType: "bool",
                name: "feePaymentAccepted",
                type: "bool",
            },
            {
                internalType: "uint64",
                name: "rateInEth",
                type: "uint64",
            },
            {
                internalType: "uint8",
                name: "rateDecimals",
                type: "uint8",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
        ],
        name: "currentRuling",
        outputs: [
            {
                internalType: "uint256",
                name: "ruling",
                type: "uint256",
            },
            {
                internalType: "bool",
                name: "tied",
                type: "bool",
            },
            {
                internalType: "bool",
                name: "overridden",
                type: "bool",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        name: "disputeKits",
        outputs: [
            {
                internalType: "contract IDisputeKit",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        name: "disputes",
        outputs: [
            {
                internalType: "uint96",
                name: "courtID",
                type: "uint96",
            },
            {
                internalType: "contract IArbitrableV2",
                name: "arbitrated",
                type: "address",
            },
            {
                internalType: "enum KlerosCoreUniversity.Period",
                name: "period",
                type: "uint8",
            },
            {
                internalType: "bool",
                name: "ruled",
                type: "bool",
            },
            {
                internalType: "uint256",
                name: "lastPeriodChange",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
            {
                internalType: "address",
                name: "_juror",
                type: "address",
            },
        ],
        name: "draw",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint96",
                name: "_courtID",
                type: "uint96",
            },
            {
                internalType: "uint256[]",
                name: "_disputeKitIDs",
                type: "uint256[]",
            },
            {
                internalType: "bool",
                name: "_enable",
                type: "bool",
            },
        ],
        name: "enableDisputeKits",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "_round",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "_iterations",
                type: "uint256",
            },
        ],
        name: "execute",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_destination",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "_amount",
                type: "uint256",
            },
            {
                internalType: "bytes",
                name: "_data",
                type: "bytes",
            },
        ],
        name: "executeGovernorProposal",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
        ],
        name: "executeRuling",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "getDisputeKitsLength",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
        ],
        name: "getNumberOfRounds",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
        ],
        name: "getNumberOfVotes",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "_round",
                type: "uint256",
            },
        ],
        name: "getRoundInfo",
        outputs: [
            {
                components: [
                    {
                        internalType: "uint256",
                        name: "disputeKitID",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "pnkAtStakePerJuror",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "totalFeesForJurors",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "nbVotes",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "repartitions",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "pnkPenalties",
                        type: "uint256",
                    },
                    {
                        internalType: "address[]",
                        name: "drawnJurors",
                        type: "address[]",
                    },
                    {
                        internalType: "uint256",
                        name: "sumFeeRewardPaid",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "sumPnkRewardPaid",
                        type: "uint256",
                    },
                    {
                        internalType: "contract IERC20",
                        name: "feeToken",
                        type: "address",
                    },
                    {
                        internalType: "uint256",
                        name: "drawIterations",
                        type: "uint256",
                    },
                ],
                internalType: "struct KlerosCoreUniversity.Round",
                name: "",
                type: "tuple",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint96",
                name: "_courtID",
                type: "uint96",
            },
        ],
        name: "getTimesPerPeriod",
        outputs: [
            {
                internalType: "uint256[4]",
                name: "timesPerPeriod",
                type: "uint256[4]",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "governor",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_governor",
                type: "address",
            },
            {
                internalType: "address",
                name: "_instructor",
                type: "address",
            },
            {
                internalType: "contract IERC20",
                name: "_pinakion",
                type: "address",
            },
            {
                internalType: "address",
                name: "_jurorProsecutionModule",
                type: "address",
            },
            {
                internalType: "contract IDisputeKit",
                name: "_disputeKit",
                type: "address",
            },
            {
                internalType: "bool",
                name: "_hiddenVotes",
                type: "bool",
            },
            {
                internalType: "uint256[4]",
                name: "_courtParameters",
                type: "uint256[4]",
            },
            {
                internalType: "uint256[4]",
                name: "_timesPerPeriod",
                type: "uint256[4]",
            },
            {
                internalType: "contract ISortitionModuleUniversity",
                name: "_sortitionModuleAddress",
                type: "address",
            },
        ],
        name: "initialize",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "instructor",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
        ],
        name: "isDisputeKitJumping",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint96",
                name: "_courtID",
                type: "uint96",
            },
            {
                internalType: "uint256",
                name: "_disputeKitID",
                type: "uint256",
            },
        ],
        name: "isSupported",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "jurorProsecutionModule",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
        ],
        name: "passPeriod",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "pinakion",
        outputs: [
            {
                internalType: "contract IERC20",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "proxiableUUID",
        outputs: [
            {
                internalType: "bytes32",
                name: "",
                type: "bytes32",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint96",
                name: "_courtID",
                type: "uint96",
            },
            {
                internalType: "uint256",
                name: "_newStake",
                type: "uint256",
            },
        ],
        name: "setStake",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_account",
                type: "address",
            },
            {
                internalType: "uint96",
                name: "_courtID",
                type: "uint96",
            },
            {
                internalType: "uint256",
                name: "_newStake",
                type: "uint256",
            },
            {
                internalType: "bool",
                name: "_alreadyTransferred",
                type: "bool",
            },
        ],
        name: "setStakeBySortitionModule",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "sortitionModule",
        outputs: [
            {
                internalType: "contract ISortitionModuleUniversity",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "newImplementation",
                type: "address",
            },
            {
                internalType: "bytes",
                name: "data",
                type: "bytes",
            },
        ],
        name: "upgradeToAndCall",
        outputs: [],
        stateMutability: "payable",
        type: "function",
    },
    {
        inputs: [],
        name: "version",
        outputs: [
            {
                internalType: "string",
                name: "",
                type: "string",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
];
const _bytecode = " ";
const isSuperArgs = (xs) => xs.length > 1;
class KlerosCoreUniversity__factory extends ethers_1.ContractFactory {
    constructor(...args) {
        if (isSuperArgs(args)) {
            super(...args);
        }
        else {
            super(_abi, _bytecode, args[0]);
        }
    }
    getDeployTransaction(overrides) {
        return super.getDeployTransaction(overrides || {});
    }
    deploy(overrides) {
        return super.deploy(overrides || {});
    }
    connect(runner) {
        return super.connect(runner);
    }
    static bytecode = _bytecode;
    static abi = _abi;
    static createInterface() {
        return new ethers_1.Interface(_abi);
    }
    static connect(address, runner) {
        return new ethers_1.Contract(address, _abi, runner);
    }
}
exports.KlerosCoreUniversity__factory = KlerosCoreUniversity__factory;
