"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PendleYieldContractFactory__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: 'address',
                name: 'SY',
                type: 'address',
            },
            {
                indexed: true,
                internalType: 'uint256',
                name: 'expiry',
                type: 'uint256',
            },
            {
                indexed: false,
                internalType: 'address',
                name: 'PT',
                type: 'address',
            },
            {
                indexed: false,
                internalType: 'address',
                name: 'YT',
                type: 'address',
            },
        ],
        name: 'CreateYieldContract',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: 'uint256',
                name: 'newExpiryDivisor',
                type: 'uint256',
            },
        ],
        name: 'SetExpiryDivisor',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: 'uint256',
                name: 'newInterestFeeRate',
                type: 'uint256',
            },
        ],
        name: 'SetInterestFeeRate',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: 'uint256',
                name: 'newRewardFeeRate',
                type: 'uint256',
            },
        ],
        name: 'SetRewardFeeRate',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: 'address',
                name: 'treasury',
                type: 'address',
            },
        ],
        name: 'SetTreasury',
        type: 'event',
    },
    {
        inputs: [],
        name: 'expiryDivisor',
        outputs: [
            {
                internalType: 'uint96',
                name: '',
                type: 'uint96',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: 'SY',
                type: 'address',
            },
            {
                internalType: 'uint256',
                name: 'expiry',
                type: 'uint256',
            },
        ],
        name: 'getPT',
        outputs: [
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: 'SY',
                type: 'address',
            },
            {
                internalType: 'uint256',
                name: 'expiry',
                type: 'uint256',
            },
        ],
        name: 'getYT',
        outputs: [
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [],
        name: 'interestFeeRate',
        outputs: [
            {
                internalType: 'uint128',
                name: '',
                type: 'uint128',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
        ],
        name: 'isPT',
        outputs: [
            {
                internalType: 'bool',
                name: '',
                type: 'bool',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
        ],
        name: 'isYT',
        outputs: [
            {
                internalType: 'bool',
                name: '',
                type: 'bool',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [],
        name: 'rewardFeeRate',
        outputs: [
            {
                internalType: 'uint128',
                name: '',
                type: 'uint128',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [],
        name: 'treasury',
        outputs: [
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
];
class PendleYieldContractFactory__factory {
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.PendleYieldContractFactory__factory = PendleYieldContractFactory__factory;
PendleYieldContractFactory__factory.abi = _abi;
//# sourceMappingURL=PendleYieldContractFactory__factory.js.map