"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IBasePolicy__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: "subject",
                type: "address",
            },
            {
                indexed: true,
                internalType: "address",
                name: "guarded",
                type: "address",
            },
            {
                indexed: false,
                internalType: "bytes",
                name: "evidence",
                type: "bytes",
            },
        ],
        name: "Enforced",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "guarded",
                type: "address",
            },
        ],
        name: "TargetSet",
        type: "event",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "subject",
                type: "address",
            },
            {
                internalType: "bytes",
                name: "evidence",
                type: "bytes",
            },
        ],
        name: "enforce",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        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 IBasePolicy__factory {
    static createInterface() {
        return new ethers_1.Interface(_abi);
    }
    static connect(address, runner) {
        return new ethers_1.Contract(address, _abi, runner);
    }
}
exports.IBasePolicy__factory = IBasePolicy__factory;
IBasePolicy__factory.abi = _abi;
//# sourceMappingURL=IBasePolicy__factory.js.map