"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IPolicy__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [],
        name: "AlreadyEnforced",
        type: "error",
    },
    {
        inputs: [],
        name: "TargetAlreadySet",
        type: "error",
    },
    {
        inputs: [],
        name: "TargetNotSet",
        type: "error",
    },
    {
        inputs: [],
        name: "TargetOnly",
        type: "error",
    },
    {
        inputs: [],
        name: "UnsuccessfulCheck",
        type: "error",
    },
    {
        inputs: [],
        name: "ZeroAddress",
        type: "error",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "guarded",
                type: "address",
            },
        ],
        name: "TargetSet",
        type: "event",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_guarded",
                type: "address",
            },
        ],
        name: "setTarget",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "trait",
        outputs: [
            {
                internalType: "string",
                name: "",
                type: "string",
            },
        ],
        stateMutability: "pure",
        type: "function",
    },
];
class IPolicy__factory {
    static createInterface() {
        return new ethers_1.Interface(_abi);
    }
    static connect(address, runner) {
        return new ethers_1.Contract(address, _abi, runner);
    }
}
exports.IPolicy__factory = IPolicy__factory;
IPolicy__factory.abi = _abi;
//# sourceMappingURL=IPolicy__factory.js.map