"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IPendlePtOracle__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [
            {
                internalType: "address",
                name: "market",
                type: "address",
            },
            {
                internalType: "uint32",
                name: "duration",
                type: "uint32",
            },
        ],
        name: "getOracleState",
        outputs: [
            {
                internalType: "bool",
                name: "increaseCardinalityRequired",
                type: "bool",
            },
            {
                internalType: "uint16",
                name: "cardinalityRequired",
                type: "uint16",
            },
            {
                internalType: "bool",
                name: "oldestObservationSatisfied",
                type: "bool",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "market",
                type: "address",
            },
            {
                internalType: "uint32",
                name: "duration",
                type: "uint32",
            },
        ],
        name: "getPtToSyRate",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
];
class IPendlePtOracle__factory {
    static createInterface() {
        return new ethers_1.Interface(_abi);
    }
    static connect(address, runner) {
        return new ethers_1.Contract(address, _abi, runner);
    }
}
exports.IPendlePtOracle__factory = IPendlePtOracle__factory;
IPendlePtOracle__factory.abi = _abi;
//# sourceMappingURL=IPendlePtOracle__factory.js.map