"use strict";
/* Autogenerated file. Do not edit manually. */
Object.defineProperty(exports, "__esModule", { value: true });
exports.TimeManagerV5__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        constant: true,
        inputs: [],
        name: "SECONDS_PER_YEAR",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function",
    },
    {
        constant: true,
        inputs: [],
        name: "blocksOrSecondsPerYear",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function",
    },
    {
        constant: true,
        inputs: [],
        name: "getBlockNumberOrTimestamp",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function",
    },
    {
        constant: true,
        inputs: [],
        name: "isTimeBased",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool",
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function",
    },
];
const _bytecode = "0x608060405234801561001057600080fd5b5060fe8061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060465760003560e01c80636857249c14604b578063c7ad0895146063578063e1d146fb14607d578063e6a69ab8146083575b600080fd5b60516089565b60408051918252519081900360200190f35b6069608f565b604080519115158252519081900360200190f35b60516098565b605160b9565b60005481565b60015460ff1681565b60015460009060ff1660ae5760aa60c1565b60b4565b60b460c5565b905090565b6301e1338081565b4390565b429056fea265627a7a72315820d9133b40b9ee4a8897a4736df1246e493795ee9da360eb51aef4095d2137574464736f6c63430005100032";
const isSuperArgs = (xs) => xs.length > 1;
class TimeManagerV5__factory extends ethers_1.ContractFactory {
    constructor(...args) {
        if (isSuperArgs(args)) {
            super(...args);
        }
        else {
            super(_abi, _bytecode, args[0]);
        }
    }
    deploy(overrides) {
        return super.deploy(overrides || {});
    }
    getDeployTransaction(overrides) {
        return super.getDeployTransaction(overrides || {});
    }
    attach(address) {
        return super.attach(address);
    }
    connect(signer) {
        return super.connect(signer);
    }
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.TimeManagerV5__factory = TimeManagerV5__factory;
TimeManagerV5__factory.bytecode = _bytecode;
TimeManagerV5__factory.abi = _abi;
