"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.ISortitionModule__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "enum ISortitionModule.Phase",
                name: "_phase",
                type: "uint8",
            },
        ],
        name: "NewPhase",
        type: "event",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "_roundID",
                type: "uint256",
            },
        ],
        name: "createDisputeHook",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "_key",
                type: "bytes32",
            },
            {
                internalType: "bytes",
                name: "_extraData",
                type: "bytes",
            },
        ],
        name: "createTree",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "_court",
                type: "bytes32",
            },
            {
                internalType: "uint256",
                name: "_coreDisputeID",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "_nonce",
                type: "uint256",
            },
        ],
        name: "draw",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_juror",
                type: "address",
            },
            {
                internalType: "uint96",
                name: "_courtID",
                type: "uint96",
            },
        ],
        name: "getJurorBalance",
        outputs: [
            {
                internalType: "uint256",
                name: "totalStaked",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "totalLocked",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "stakedInCourt",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "nbCourts",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_juror",
                type: "address",
            },
        ],
        name: "getJurorCourtIDs",
        outputs: [
            {
                internalType: "uint96[]",
                name: "",
                type: "uint96[]",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_juror",
                type: "address",
            },
        ],
        name: "isJurorStaked",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_account",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "_relativeAmount",
                type: "uint256",
            },
        ],
        name: "lockStake",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_drawnNumber",
                type: "uint256",
            },
        ],
        name: "notifyRandomNumber",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_account",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "_relativeAmount",
                type: "uint256",
            },
        ],
        name: "penalizeStake",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_disputeID",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "_roundID",
                type: "uint256",
            },
        ],
        name: "postDrawHook",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_account",
                type: "address",
            },
        ],
        name: "setJurorInactive",
        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: "setStake",
        outputs: [
            {
                internalType: "uint256",
                name: "pnkDeposit",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "pnkWithdrawal",
                type: "uint256",
            },
            {
                internalType: "enum StakingResult",
                name: "stakingResult",
                type: "uint8",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_account",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "_relativeAmount",
                type: "uint256",
            },
        ],
        name: "unlockStake",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
];
class ISortitionModule__factory {
    static abi = _abi;
    static createInterface() {
        return new ethers_1.Interface(_abi);
    }
    static connect(address, runner) {
        return new ethers_1.Contract(address, _abi, runner);
    }
}
exports.ISortitionModule__factory = ISortitionModule__factory;
