"use strict";
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: "getPtToAssetRate",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
];
class IPendlePtOracle__factory {
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.IPendlePtOracle__factory = IPendlePtOracle__factory;
IPendlePtOracle__factory.abi = _abi;
//# sourceMappingURL=IPendlePtOracle__factory.js.map