"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CompoundLens__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [],
        name: "AddReservesMarketNotFresh",
        type: "error",
    },
    {
        inputs: [],
        name: "AddReservesOverflow",
        type: "error",
    },
    {
        inputs: [],
        name: "BorrowAndDepositBackFailed",
        type: "error",
    },
    {
        inputs: [],
        name: "BorrowCapReached",
        type: "error",
    },
    {
        inputs: [],
        name: "BorrowCashNotAvailable",
        type: "error",
    },
    {
        inputs: [],
        name: "BorrowMarketNotFresh",
        type: "error",
    },
    {
        inputs: [],
        name: "BorrowPaused",
        type: "error",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "usdThreshold",
                type: "uint256",
            },
        ],
        name: "BorrowValueMustBeLargerThanThreshold",
        type: "error",
    },
    {
        inputs: [],
        name: "CantEnterPausedMarket",
        type: "error",
    },
    {
        inputs: [],
        name: "CantExitMarketWithNonZeroBorrowBalance",
        type: "error",
    },
    {
        inputs: [],
        name: "CantSweepUnderlying",
        type: "error",
    },
    {
        inputs: [],
        name: "ComptrollerMismatch",
        type: "error",
    },
    {
        inputs: [],
        name: "EitherAssetOrDebtMustBeZero",
        type: "error",
    },
    {
        inputs: [
            {
                internalType: "uint8",
                name: "groupId",
                type: "uint8",
            },
            {
                internalType: "uint256",
                name: "cDepositVal",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "suDepositVal",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "cBorrowVal",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "suBorrowVal",
                type: "uint256",
            },
        ],
        name: "EitherAssetOrDebtMustBeZeroInGroup",
        type: "error",
    },
    {
        inputs: [],
        name: "ExpiredSignature",
        type: "error",
    },
    {
        inputs: [],
        name: "InsufficientCollateral",
        type: "error",
    },
    {
        inputs: [],
        name: "InsufficientShortfall",
        type: "error",
    },
    {
        inputs: [],
        name: "InterMintNotAllowed",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidAddress",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidAmount",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidBlockNumber",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidCToken",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidCloseFactor",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidComptroller",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidDiscountRate",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidExchangeRate",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidGroupId",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidInput",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidInterestRateModel",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidMinSuBorrowValue",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidRedeem",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidReduceAmount",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidReserveFactor",
        type: "error",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "signer",
                type: "address",
            },
        ],
        name: "InvalidSignatureForBorrow",
        type: "error",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "signer",
                type: "address",
            },
        ],
        name: "InvalidSignatureForMint",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidSignatureForRedeemFaceValue",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidSignatureLength",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidSuToken",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidTimestamp",
        type: "error",
    },
    {
        inputs: [],
        name: "LiquidateBorrow_LiquidatorIsBorrower",
        type: "error",
    },
    {
        inputs: [],
        name: "LiquidateBorrow_RepayAmountIsMax",
        type: "error",
    },
    {
        inputs: [],
        name: "LiquidateBorrow_RepayAmountIsZero",
        type: "error",
    },
    {
        inputs: [],
        name: "LiquidateBorrow_SeizeTooMuch",
        type: "error",
    },
    {
        inputs: [],
        name: "LiquidateCollateralMarketNotFresh",
        type: "error",
    },
    {
        inputs: [],
        name: "LiquidateMarketNotFresh",
        type: "error",
    },
    {
        inputs: [],
        name: "MarketAlreadyListed",
        type: "error",
    },
    {
        inputs: [],
        name: "MarketAlreadyUnlisted",
        type: "error",
    },
    {
        inputs: [],
        name: "MarketCanOnlyInitializeOnce",
        type: "error",
    },
    {
        inputs: [],
        name: "MarketNotEmpty",
        type: "error",
    },
    {
        inputs: [],
        name: "MarketNotListed",
        type: "error",
    },
    {
        inputs: [],
        name: "MarketPaused",
        type: "error",
    },
    {
        inputs: [],
        name: "MinDelayNotReached",
        type: "error",
    },
    {
        inputs: [],
        name: "MintMarketNotFresh",
        type: "error",
    },
    {
        inputs: [],
        name: "MintPaused",
        type: "error",
    },
    {
        inputs: [],
        name: "MintTokensCantBeZero",
        type: "error",
    },
    {
        inputs: [],
        name: "NoRedemptionProvider",
        type: "error",
    },
    {
        inputs: [],
        name: "NotCToken",
        type: "error",
    },
    {
        inputs: [],
        name: "NotEnoughForSeize",
        type: "error",
    },
    {
        inputs: [],
        name: "NotEnoughRedeemAmount",
        type: "error",
    },
    {
        inputs: [],
        name: "NotEnoughRedeemTokens",
        type: "error",
    },
    {
        inputs: [],
        name: "NotEnoughUnderlyingAfterRedeem",
        type: "error",
    },
    {
        inputs: [],
        name: "NotEnoughUnderlyingForMint",
        type: "error",
    },
    {
        inputs: [],
        name: "NotImplemented",
        type: "error",
    },
    {
        inputs: [],
        name: "NotLiquidatableYet",
        type: "error",
    },
    {
        inputs: [],
        name: "NotSuToken",
        type: "error",
    },
    {
        inputs: [],
        name: "OnlyAdmin",
        type: "error",
    },
    {
        inputs: [],
        name: "OnlyAdminOrPauser",
        type: "error",
    },
    {
        inputs: [],
        name: "OnlyCToken",
        type: "error",
    },
    {
        inputs: [],
        name: "OnlyListedCToken",
        type: "error",
    },
    {
        inputs: [],
        name: "OnlyPausedMarketCanBeUnlisted",
        type: "error",
    },
    {
        inputs: [],
        name: "OnlyPendingAdmin",
        type: "error",
    },
    {
        inputs: [],
        name: "OnlyRedemptionManager",
        type: "error",
    },
    {
        inputs: [],
        name: "OverThreshold",
        type: "error",
    },
    {
        inputs: [],
        name: "PriceError",
        type: "error",
    },
    {
        inputs: [],
        name: "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
        type: "error",
    },
    {
        inputs: [],
        name: "RedeemMarketNotFresh",
        type: "error",
    },
    {
        inputs: [],
        name: "RedeemTransferOutNotPossible",
        type: "error",
    },
    {
        inputs: [],
        name: "RedemptionSeizeTooMuch",
        type: "error",
    },
    {
        inputs: [],
        name: "RedemptionSignerNotInitialized",
        type: "error",
    },
    {
        inputs: [],
        name: "ReduceReservesCashNotAvailable",
        type: "error",
    },
    {
        inputs: [],
        name: "ReduceReservesMarketNotFresh",
        type: "error",
    },
    {
        inputs: [],
        name: "Reentered",
        type: "error",
    },
    {
        inputs: [],
        name: "RepayBorrowMarketNotFresh",
        type: "error",
    },
    {
        inputs: [],
        name: "RepayTokenNotListed",
        type: "error",
    },
    {
        inputs: [],
        name: "SeizePaused",
        type: "error",
    },
    {
        inputs: [],
        name: "SeizeTokenNotListed",
        type: "error",
    },
    {
        inputs: [],
        name: "Seize_LiquidatorIsBorrower",
        type: "error",
    },
    {
        inputs: [],
        name: "SenderMustBeCToken",
        type: "error",
    },
    {
        inputs: [],
        name: "SetInterestRateModelMarketNotFresh",
        type: "error",
    },
    {
        inputs: [],
        name: "SetReservesFactorMarketNotFresh",
        type: "error",
    },
    {
        inputs: [],
        name: "SupplyCapReached",
        type: "error",
    },
    {
        inputs: [],
        name: "TokenInOrAmountInMustBeZero",
        type: "error",
    },
    {
        inputs: [],
        name: "TokenTransferInFailed",
        type: "error",
    },
    {
        inputs: [],
        name: "TokenTransferOutFailed",
        type: "error",
    },
    {
        inputs: [],
        name: "TooMuchRepay",
        type: "error",
    },
    {
        inputs: [],
        name: "TotalBorrowsNotZero",
        type: "error",
    },
    {
        inputs: [],
        name: "TotalSupplyNotZero",
        type: "error",
    },
    {
        inputs: [],
        name: "TransferNotAllowed",
        type: "error",
    },
    {
        inputs: [],
        name: "TransferPaused",
        type: "error",
    },
    {
        inputs: [],
        name: "UnderlyingBalanceError",
        type: "error",
    },
    {
        inputs: [],
        name: "ZeroAddressNotAllowed",
        type: "error",
    },
    {
        inputs: [
            {
                internalType: "contract ICToken",
                name: "cToken",
                type: "address",
            },
            {
                internalType: "address payable",
                name: "account",
                type: "address",
            },
        ],
        name: "cTokenBalances",
        outputs: [
            {
                components: [
                    {
                        internalType: "address",
                        name: "cToken",
                        type: "address",
                    },
                    {
                        internalType: "bool",
                        name: "isCToken",
                        type: "bool",
                    },
                    {
                        internalType: "bool",
                        name: "isCEther",
                        type: "bool",
                    },
                    {
                        internalType: "uint256",
                        name: "balanceOf",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "borrowBalanceCurrent",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "balanceOfUnderlying",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "tokenBalance",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "tokenAllowance",
                        type: "uint256",
                    },
                ],
                internalType: "struct CompoundLens.CTokenBalances",
                name: "",
                type: "tuple",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract ICToken[]",
                name: "cTokens",
                type: "address[]",
            },
            {
                internalType: "address payable",
                name: "account",
                type: "address",
            },
        ],
        name: "cTokenBalancesAll",
        outputs: [
            {
                components: [
                    {
                        internalType: "address",
                        name: "cToken",
                        type: "address",
                    },
                    {
                        internalType: "bool",
                        name: "isCToken",
                        type: "bool",
                    },
                    {
                        internalType: "bool",
                        name: "isCEther",
                        type: "bool",
                    },
                    {
                        internalType: "uint256",
                        name: "balanceOf",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "borrowBalanceCurrent",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "balanceOfUnderlying",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "tokenBalance",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "tokenAllowance",
                        type: "uint256",
                    },
                ],
                internalType: "struct CompoundLens.CTokenBalances[]",
                name: "",
                type: "tuple[]",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract ICToken",
                name: "cToken",
                type: "address",
            },
        ],
        name: "cTokenMetadata",
        outputs: [
            {
                components: [
                    {
                        internalType: "address",
                        name: "cToken",
                        type: "address",
                    },
                    {
                        internalType: "uint256",
                        name: "exchangeRateCurrent",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "supplyRatePerBlock",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "borrowRatePerBlock",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "reserveFactorMantissa",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "totalBorrows",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "totalReserves",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "totalSupply",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "totalCash",
                        type: "uint256",
                    },
                    {
                        internalType: "bool",
                        name: "isListed",
                        type: "bool",
                    },
                    {
                        internalType: "address",
                        name: "underlyingAssetAddress",
                        type: "address",
                    },
                    {
                        internalType: "uint256",
                        name: "cTokenDecimals",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "underlyingDecimals",
                        type: "uint256",
                    },
                    {
                        internalType: "bool",
                        name: "isCToken",
                        type: "bool",
                    },
                    {
                        internalType: "bool",
                        name: "isCEther",
                        type: "bool",
                    },
                    {
                        internalType: "uint256",
                        name: "borrowCap",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "depositCap",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "heteroLiquidationIncentive",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "homoLiquidationIncentive",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "sutokenLiquidationIncentive",
                        type: "uint256",
                    },
                    {
                        internalType: "uint8",
                        name: "groupId",
                        type: "uint8",
                    },
                    {
                        internalType: "uint256",
                        name: "intraRate",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "mintRate",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "interRate",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "discountRate",
                        type: "uint256",
                    },
                    {
                        internalType: "bool",
                        name: "interMintAllowed",
                        type: "bool",
                    },
                ],
                internalType: "struct CompoundLens.CTokenMetadata",
                name: "",
                type: "tuple",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract ICToken[]",
                name: "cTokens",
                type: "address[]",
            },
        ],
        name: "cTokenMetadataAll",
        outputs: [
            {
                components: [
                    {
                        internalType: "address",
                        name: "cToken",
                        type: "address",
                    },
                    {
                        internalType: "uint256",
                        name: "exchangeRateCurrent",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "supplyRatePerBlock",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "borrowRatePerBlock",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "reserveFactorMantissa",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "totalBorrows",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "totalReserves",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "totalSupply",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "totalCash",
                        type: "uint256",
                    },
                    {
                        internalType: "bool",
                        name: "isListed",
                        type: "bool",
                    },
                    {
                        internalType: "address",
                        name: "underlyingAssetAddress",
                        type: "address",
                    },
                    {
                        internalType: "uint256",
                        name: "cTokenDecimals",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "underlyingDecimals",
                        type: "uint256",
                    },
                    {
                        internalType: "bool",
                        name: "isCToken",
                        type: "bool",
                    },
                    {
                        internalType: "bool",
                        name: "isCEther",
                        type: "bool",
                    },
                    {
                        internalType: "uint256",
                        name: "borrowCap",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "depositCap",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "heteroLiquidationIncentive",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "homoLiquidationIncentive",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "sutokenLiquidationIncentive",
                        type: "uint256",
                    },
                    {
                        internalType: "uint8",
                        name: "groupId",
                        type: "uint8",
                    },
                    {
                        internalType: "uint256",
                        name: "intraRate",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "mintRate",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "interRate",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "discountRate",
                        type: "uint256",
                    },
                    {
                        internalType: "bool",
                        name: "interMintAllowed",
                        type: "bool",
                    },
                ],
                internalType: "struct CompoundLens.CTokenMetadata[]",
                name: "",
                type: "tuple[]",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract ICToken",
                name: "cToken",
                type: "address",
            },
        ],
        name: "cTokenUnderlyingPrice",
        outputs: [
            {
                components: [
                    {
                        internalType: "address",
                        name: "cToken",
                        type: "address",
                    },
                    {
                        internalType: "uint256",
                        name: "underlyingPrice",
                        type: "uint256",
                    },
                ],
                internalType: "struct CompoundLens.CTokenUnderlyingPrice",
                name: "",
                type: "tuple",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract ICToken[]",
                name: "cTokens",
                type: "address[]",
            },
        ],
        name: "cTokenUnderlyingPriceAll",
        outputs: [
            {
                components: [
                    {
                        internalType: "address",
                        name: "cToken",
                        type: "address",
                    },
                    {
                        internalType: "uint256",
                        name: "underlyingPrice",
                        type: "uint256",
                    },
                ],
                internalType: "struct CompoundLens.CTokenUnderlyingPrice[]",
                name: "",
                type: "tuple[]",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "account",
                type: "address",
            },
            {
                internalType: "address",
                name: "cTokenCollateral",
                type: "address",
            },
            {
                internalType: "address",
                name: "suToken",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "suBorrowAmount",
                type: "uint256",
            },
        ],
        name: "calcBorrowAmountForProtectedMint",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract IComptroller",
                name: "comptroller",
                type: "address",
            },
            {
                internalType: "address",
                name: "account",
                type: "address",
            },
        ],
        name: "getAccountLimits",
        outputs: [
            {
                components: [
                    {
                        internalType: "address[]",
                        name: "markets",
                        type: "address[]",
                    },
                    {
                        internalType: "uint256",
                        name: "liquidity",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "shortfall",
                        type: "uint256",
                    },
                ],
                internalType: "struct CompoundLens.AccountLimits",
                name: "",
                type: "tuple",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract IComptroller",
                name: "comptroller",
                type: "address",
            },
            {
                internalType: "address",
                name: "collateralToken",
                type: "address",
            },
            {
                internalType: "address",
                name: "liabilityToken",
                type: "address",
            },
        ],
        name: "getCollateralRate",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract ICToken",
                name: "comp",
                type: "address",
            },
            {
                internalType: "address",
                name: "account",
                type: "address",
            },
        ],
        name: "getCompBalanceMetadata",
        outputs: [
            {
                components: [
                    {
                        internalType: "uint256",
                        name: "balance",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "votes",
                        type: "uint256",
                    },
                    {
                        internalType: "address",
                        name: "delegate",
                        type: "address",
                    },
                ],
                internalType: "struct CompoundLens.CompBalanceMetadata",
                name: "",
                type: "tuple",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract ICToken",
                name: "comp",
                type: "address",
            },
            {
                internalType: "contract IComptroller",
                name: "comptroller",
                type: "address",
            },
            {
                internalType: "address",
                name: "account",
                type: "address",
            },
        ],
        name: "getCompBalanceMetadataExt",
        outputs: [
            {
                components: [
                    {
                        internalType: "uint256",
                        name: "balance",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "votes",
                        type: "uint256",
                    },
                    {
                        internalType: "address",
                        name: "delegate",
                        type: "address",
                    },
                    {
                        internalType: "uint256",
                        name: "allocated",
                        type: "uint256",
                    },
                ],
                internalType: "struct CompoundLens.CompBalanceMetadataExt",
                name: "",
                type: "tuple",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract ICToken",
                name: "comp",
                type: "address",
            },
            {
                internalType: "address",
                name: "account",
                type: "address",
            },
            {
                internalType: "uint32[]",
                name: "blockNumbers",
                type: "uint32[]",
            },
        ],
        name: "getCompVotes",
        outputs: [
            {
                components: [
                    {
                        internalType: "uint256",
                        name: "blockNumber",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "votes",
                        type: "uint256",
                    },
                ],
                internalType: "struct CompoundLens.CompVotes[]",
                name: "",
                type: "tuple[]",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract IGovernorBravo",
                name: "governor",
                type: "address",
            },
            {
                internalType: "uint256[]",
                name: "proposalIds",
                type: "uint256[]",
            },
        ],
        name: "getGovBravoProposals",
        outputs: [
            {
                components: [
                    {
                        internalType: "uint256",
                        name: "proposalId",
                        type: "uint256",
                    },
                    {
                        internalType: "address",
                        name: "proposer",
                        type: "address",
                    },
                    {
                        internalType: "uint256",
                        name: "eta",
                        type: "uint256",
                    },
                    {
                        internalType: "address[]",
                        name: "targets",
                        type: "address[]",
                    },
                    {
                        internalType: "uint256[]",
                        name: "values",
                        type: "uint256[]",
                    },
                    {
                        internalType: "string[]",
                        name: "signatures",
                        type: "string[]",
                    },
                    {
                        internalType: "bytes[]",
                        name: "calldatas",
                        type: "bytes[]",
                    },
                    {
                        internalType: "uint256",
                        name: "startBlock",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "endBlock",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "forVotes",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "againstVotes",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "abstainVotes",
                        type: "uint256",
                    },
                    {
                        internalType: "bool",
                        name: "canceled",
                        type: "bool",
                    },
                    {
                        internalType: "bool",
                        name: "executed",
                        type: "bool",
                    },
                ],
                internalType: "struct CompoundLens.GovBravoProposal[]",
                name: "",
                type: "tuple[]",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract IGovernorBravo",
                name: "governor",
                type: "address",
            },
            {
                internalType: "address",
                name: "voter",
                type: "address",
            },
            {
                internalType: "uint256[]",
                name: "proposalIds",
                type: "uint256[]",
            },
        ],
        name: "getGovBravoReceipts",
        outputs: [
            {
                components: [
                    {
                        internalType: "uint256",
                        name: "proposalId",
                        type: "uint256",
                    },
                    {
                        internalType: "bool",
                        name: "hasVoted",
                        type: "bool",
                    },
                    {
                        internalType: "uint8",
                        name: "support",
                        type: "uint8",
                    },
                    {
                        internalType: "uint96",
                        name: "votes",
                        type: "uint96",
                    },
                ],
                internalType: "struct CompoundLens.GovBravoReceipt[]",
                name: "",
                type: "tuple[]",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract IGovernorAlpha",
                name: "governor",
                type: "address",
            },
            {
                internalType: "uint256[]",
                name: "proposalIds",
                type: "uint256[]",
            },
        ],
        name: "getGovProposals",
        outputs: [
            {
                components: [
                    {
                        internalType: "uint256",
                        name: "proposalId",
                        type: "uint256",
                    },
                    {
                        internalType: "address",
                        name: "proposer",
                        type: "address",
                    },
                    {
                        internalType: "uint256",
                        name: "eta",
                        type: "uint256",
                    },
                    {
                        internalType: "address[]",
                        name: "targets",
                        type: "address[]",
                    },
                    {
                        internalType: "uint256[]",
                        name: "values",
                        type: "uint256[]",
                    },
                    {
                        internalType: "string[]",
                        name: "signatures",
                        type: "string[]",
                    },
                    {
                        internalType: "bytes[]",
                        name: "calldatas",
                        type: "bytes[]",
                    },
                    {
                        internalType: "uint256",
                        name: "startBlock",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "endBlock",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "forVotes",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "againstVotes",
                        type: "uint256",
                    },
                    {
                        internalType: "bool",
                        name: "canceled",
                        type: "bool",
                    },
                    {
                        internalType: "bool",
                        name: "executed",
                        type: "bool",
                    },
                ],
                internalType: "struct CompoundLens.GovProposal[]",
                name: "",
                type: "tuple[]",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract IGovernorAlpha",
                name: "governor",
                type: "address",
            },
            {
                internalType: "address",
                name: "voter",
                type: "address",
            },
            {
                internalType: "uint256[]",
                name: "proposalIds",
                type: "uint256[]",
            },
        ],
        name: "getGovReceipts",
        outputs: [
            {
                components: [
                    {
                        internalType: "uint256",
                        name: "proposalId",
                        type: "uint256",
                    },
                    {
                        internalType: "bool",
                        name: "hasVoted",
                        type: "bool",
                    },
                    {
                        internalType: "bool",
                        name: "support",
                        type: "bool",
                    },
                    {
                        internalType: "uint96",
                        name: "votes",
                        type: "uint96",
                    },
                ],
                internalType: "struct CompoundLens.GovReceipt[]",
                name: "",
                type: "tuple[]",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "percentScale",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "version",
        outputs: [
            {
                internalType: "enum Version",
                name: "",
                type: "uint8",
            },
        ],
        stateMutability: "pure",
        type: "function",
    },
];
const _bytecode = " ";
const isSuperArgs = (xs) => xs.length > 1;
class CompoundLens__factory extends ethers_1.ContractFactory {
    constructor(...args) {
        if (isSuperArgs(args)) {
            super(...args);
        }
        else {
            super(_abi, _bytecode, args[0]);
        }
    }
    getDeployTransaction(overrides) {
        return super.getDeployTransaction(overrides || {});
    }
    deploy(overrides) {
        return super.deploy(overrides || {});
    }
    connect(runner) {
        return super.connect(runner);
    }
    static createInterface() {
        return new ethers_1.Interface(_abi);
    }
    static connect(address, runner) {
        return new ethers_1.Contract(address, _abi, runner);
    }
}
exports.CompoundLens__factory = CompoundLens__factory;
CompoundLens__factory.bytecode = _bytecode;
CompoundLens__factory.abi = _abi;
//# sourceMappingURL=CompoundLens__factory.js.map