import { Contract, ContractFactory, Interface } from "ethers";
const _abi = [
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "pending",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "provided",
                "type": "uint256"
            }
        ],
        "name": "AccusationVoteValidityMismatch",
        "type": "error"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "readyAt",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "nowAt",
                "type": "uint256"
            }
        ],
        "name": "AccusationVoteValidityTimelockActive",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "AccusationVoteValidityZeroRequiresTimelock",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "AttestationBindingCountMismatch",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "BondingRegistryNotSet",
        "type": "error"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "node",
                "type": "address"
            }
        ],
        "name": "CiphernodeNotEnabled",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "CommitteeAlreadyFinalized",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "CommitteeAlreadyPublished",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "CommitteeAlreadyRequested",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "CommitteeDeadlineReached",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "CommitteeNotFinalized",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "CommitteeNotInitializedOrFinalized",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "CommitteeNotPublished",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "CommitteeNotRequested",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "DkgProofRequired",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "FoldAttestationVerifierAlreadySet",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "FoldAttestationVerifierNotSet",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "FoldAttestationsRequired",
        "type": "error"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "requested",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "available",
                "type": "uint256"
            }
        ],
        "name": "InsufficientCiphernodes",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "InvalidDkgProof",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "InvalidFoldAttestation",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "InvalidTicketNumber",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "NoPendingAccusationVoteValidityUpdate",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "NoPendingVerifierUpdate",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "NodeAlreadySubmitted",
        "type": "error"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "node",
                "type": "address"
            }
        ],
        "name": "NodeNotBonded",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "NodeNotEligible",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "NodeNotSubmitted",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "NotOwnerOrBondingRegistry",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "NotSlashingManager",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "OnlyBondingRegistry",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "OnlyInterfold",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "PartyIdNotInProof",
        "type": "error"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "partyId",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "committeeSize",
                "type": "uint256"
            }
        ],
        "name": "PartyIdOutOfBounds",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "PkCommitmentRequired",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "SubmissionWindowClosed",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "SubmissionWindowNotClosed",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "ThresholdNotMet",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "Unauthorized",
        "type": "error"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "pending",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "provided",
                "type": "address"
            }
        ],
        "name": "VerifierMismatch",
        "type": "error"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "readyAt",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "nowAt",
                "type": "uint256"
            }
        ],
        "name": "VerifierUpdateTimelockActive",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "ZeroAddress",
        "type": "error"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "accusationVoteValidity",
                "type": "uint256"
            }
        ],
        "name": "AccusationVoteValidityProposalCancelled",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "accusationVoteValidity",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "readyAt",
                "type": "uint256"
            }
        ],
        "name": "AccusationVoteValidityProposed",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "accusationVoteValidity",
                "type": "uint256"
            }
        ],
        "name": "AccusationVoteValiditySet",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "node",
                "type": "address"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "index",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "numNodes",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "size",
                "type": "uint256"
            }
        ],
        "name": "CiphernodeAdded",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "node",
                "type": "address"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "index",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "numNodes",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "size",
                "type": "uint256"
            }
        ],
        "name": "CiphernodeRemoved",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "uint256",
                "name": "e3Id",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "bool",
                "name": "active",
                "type": "bool"
            }
        ],
        "name": "CommitteeActivationChanged",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "uint256",
                "name": "e3Id",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "nodesSubmitted",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "thresholdRequired",
                "type": "uint256"
            }
        ],
        "name": "CommitteeFormationFailed",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "uint256",
                "name": "e3Id",
                "type": "uint256"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "node",
                "type": "address"
            },
            {
                "indexed": false,
                "internalType": "bytes32",
                "name": "reason",
                "type": "bytes32"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "activeCountAfter",
                "type": "uint256"
            }
        ],
        "name": "CommitteeMemberExpelled",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "uint256",
                "name": "e3Id",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "address[]",
                "name": "nodes",
                "type": "address[]"
            },
            {
                "indexed": false,
                "internalType": "bytes",
                "name": "publicKey",
                "type": "bytes"
            },
            {
                "indexed": false,
                "internalType": "bytes32",
                "name": "pkCommitment",
                "type": "bytes32"
            },
            {
                "indexed": false,
                "internalType": "bytes",
                "name": "proof",
                "type": "bytes"
            }
        ],
        "name": "CommitteePublished",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "uint256",
                "name": "e3Id",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "seed",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "uint32[2]",
                "name": "threshold",
                "type": "uint32[2]"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "requestBlock",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "committeeDeadline",
                "type": "uint256"
            }
        ],
        "name": "CommitteeRequested",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "uint256",
                "name": "e3Id",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "activeCount",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "thresholdM",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "bool",
                "name": "viable",
                "type": "bool"
            }
        ],
        "name": "CommitteeViabilityUpdated",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "verifier",
                "type": "address"
            }
        ],
        "name": "DkgFoldAttestationVerifierProposalCancelled",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "verifier",
                "type": "address"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "readyAt",
                "type": "uint256"
            }
        ],
        "name": "DkgFoldAttestationVerifierProposed",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "verifier",
                "type": "address"
            }
        ],
        "name": "DkgFoldAttestationVerifierUpdated",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "interfold",
                "type": "address"
            }
        ],
        "name": "InterfoldSet",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "uint256",
                "name": "e3Id",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "address[]",
                "name": "committee",
                "type": "address[]"
            },
            {
                "indexed": false,
                "internalType": "uint256[]",
                "name": "scores",
                "type": "uint256[]"
            }
        ],
        "name": "SortitionCommitteeFinalized",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "sortitionSubmissionWindow",
                "type": "uint256"
            }
        ],
        "name": "SortitionSubmissionWindowSet",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "uint256",
                "name": "e3Id",
                "type": "uint256"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "node",
                "type": "address"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "ticketId",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "score",
                "type": "uint256"
            }
        ],
        "name": "TicketSubmitted",
        "type": "event"
    },
    {
        "inputs": [],
        "name": "accusationVoteValidity",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "name": "addCiphernode",
        "outputs": [],
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "cancelAccusationVoteValidityProposal",
        "outputs": [],
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "e3Id",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "partyId",
                "type": "uint256"
            }
        ],
        "name": "canonicalCommitteeNodeAt",
        "outputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "commitAccusationVoteValidity",
        "outputs": [],
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "e3Id",
                "type": "uint256"
            }
        ],
        "name": "committeePublicKey",
        "outputs": [
            {
                "internalType": "bytes32",
                "name": "",
                "type": "bytes32"
            }
        ],
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "e3Id",
                "type": "uint256"
            },
            {
                "internalType": "address",
                "name": "member",
                "type": "address"
            },
            {
                "internalType": "bytes32",
                "name": "",
                "type": "bytes32"
            }
        ],
        "name": "expelCommitteeMember",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            },
            {
                "internalType": "uint32",
                "name": "",
                "type": "uint32"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "finalizeCommittee",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "getActiveCommitteeNodes",
        "outputs": [
            {
                "internalType": "address[]",
                "name": "nodes",
                "type": "address[]"
            },
            {
                "internalType": "uint256[]",
                "name": "scores",
                "type": "uint256[]"
            }
        ],
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "getBondingRegistry",
        "outputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "getCommitteeDeadline",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "e3Id",
                "type": "uint256"
            }
        ],
        "name": "getCommitteeHash",
        "outputs": [
            {
                "internalType": "bytes32",
                "name": "",
                "type": "bytes32"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "e3Id",
                "type": "uint256"
            }
        ],
        "name": "getCommitteeNodes",
        "outputs": [
            {
                "internalType": "address[]",
                "name": "",
                "type": "address[]"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "e3Id",
                "type": "uint256"
            }
        ],
        "name": "getCommitteeViability",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            },
            {
                "internalType": "uint32",
                "name": "",
                "type": "uint32"
            },
            {
                "internalType": "uint32",
                "name": "",
                "type": "uint32"
            },
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "e3Id",
                "type": "uint256"
            }
        ],
        "name": "getDkgAnchors",
        "outputs": [
            {
                "internalType": "uint256[]",
                "name": "partyIds",
                "type": "uint256[]"
            },
            {
                "internalType": "bytes32[]",
                "name": "skAggCommits",
                "type": "bytes32[]"
            },
            {
                "internalType": "bytes32[]",
                "name": "esmAggCommits",
                "type": "bytes32[]"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "name": "isCiphernodeEligible",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "e3Id",
                "type": "uint256"
            },
            {
                "internalType": "address",
                "name": "node",
                "type": "address"
            }
        ],
        "name": "isCommitteeMember",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "e3Id",
                "type": "uint256"
            },
            {
                "internalType": "address",
                "name": "node",
                "type": "address"
            }
        ],
        "name": "isCommitteeMemberActive",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "name": "isEnabled",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "isOpen",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "proposeAccusationVoteValidity",
        "outputs": [],
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            },
            {
                "internalType": "bytes",
                "name": "",
                "type": "bytes"
            },
            {
                "internalType": "bytes32",
                "name": "",
                "type": "bytes32"
            },
            {
                "internalType": "bytes",
                "name": "",
                "type": "bytes"
            },
            {
                "internalType": "bytes",
                "name": "",
                "type": "bytes"
            }
        ],
        "name": "publishCommittee",
        "outputs": [],
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "name": "removeCiphernode",
        "outputs": [],
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            },
            {
                "internalType": "uint32[2]",
                "name": "",
                "type": "uint32[2]"
            }
        ],
        "name": "requestCommittee",
        "outputs": [
            {
                "internalType": "bool",
                "name": "success",
                "type": "bool"
            }
        ],
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "root",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "rootAt",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "v",
                "type": "uint256"
            }
        ],
        "name": "setAccusationVoteValidity",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "contract IBondingRegistry",
                "name": "",
                "type": "address"
            }
        ],
        "name": "setBondingRegistry",
        "outputs": [],
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "e3Id",
                "type": "uint256"
            },
            {
                "internalType": "address[]",
                "name": "nodes",
                "type": "address[]"
            }
        ],
        "name": "setCommitteeNodes",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "e3Id",
                "type": "uint256"
            },
            {
                "internalType": "uint256[]",
                "name": "partyIds",
                "type": "uint256[]"
            },
            {
                "internalType": "bytes32[]",
                "name": "skAggCommits",
                "type": "bytes32[]"
            },
            {
                "internalType": "bytes32[]",
                "name": "esmAggCommits",
                "type": "bytes32[]"
            }
        ],
        "name": "setDkgAnchors",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "contract IInterfold",
                "name": "",
                "type": "address"
            }
        ],
        "name": "setInterfold",
        "outputs": [],
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "setSortitionSubmissionWindow",
        "outputs": [],
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "e3Id",
                "type": "uint256"
            },
            {
                "internalType": "uint32",
                "name": "m",
                "type": "uint32"
            }
        ],
        "name": "setThreshold",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "sortitionSubmissionWindow",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "submitTicket",
        "outputs": [],
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "treeSize",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "pure",
        "type": "function"
    }
];
const _bytecode = " ";
const isSuperArgs = (xs) => xs.length > 1;
export class MockCiphernodeRegistry__factory extends 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 Interface(_abi);
    }
    attach(address) {
        return super.attach(address);
    }
    static connect(address, runner) {
        return new Contract(address, _abi, runner);
    }
}
