var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        if (typeof b !== "function" && b !== null)
            throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { utils, Contract, ContractFactory, } from "ethers";
var _abi = [
    {
        inputs: [
            {
                internalType: "uint8",
                name: "__decimals",
                type: "uint8",
            },
            {
                internalType: "int256",
                name: "__answer",
                type: "int256",
            },
        ],
        stateMutability: "nonpayable",
        type: "constructor",
    },
    {
        inputs: [],
        name: "decimals",
        outputs: [
            {
                internalType: "uint8",
                name: "",
                type: "uint8",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "latestRoundData",
        outputs: [
            {
                internalType: "uint80",
                name: "roundId",
                type: "uint80",
            },
            {
                internalType: "int256",
                name: "answer",
                type: "int256",
            },
            {
                internalType: "uint256",
                name: "startedAt",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "updatedAt",
                type: "uint256",
            },
            {
                internalType: "uint80",
                name: "answeredInRound",
                type: "uint80",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
];
var _bytecode = "0x60806040523480156100115760006000fd5b5060405161027f38038061027f83398181016040528101906100339190610067565b5b81600060006101000a81548160ff021916908360ff1602179055508060016000508190909055505b50506100a4566100a3565b600060006040838503121561007c5760006000fd5b825160ff8116811415156100905760006000fd5b80925050602083015190505b9250929050565b5b6101cc806100b36000396000f3fe60806040523480156100115760006000fd5b506004361061003b5760003560e01c8063313ce56714610041578063feaf968c1461005f5761003b565b60006000fd5b610049610081565b60405161005691906100fd565b60405180910390f35b61006761009d565b604051610078959493929190610112565b60405180910390f35b6000600060009054906101000a900460ff16905061009a565b90565b60006000600060006000680300000000000018ed9450845060016000505493508350610708426100cd9190610150565b92508250610384426100df9190610150565b91508150680300000000000018ed905080505b909192939456610195565b600060208201905060ff831682525b92915050565b600060a08201905069ffffffffffffffffffff80881683528660208401528560408401528460608401528084166080840152505b9695505050505050565b600082821015610189577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b82820390505b92915050565bfea26469706673582212209bb07605d1597fd385164c8ed2376a646916e57a39ee8616a405dd6bb74671ef64736f6c634300080b0033";
var isSuperArgs = function (xs) { return xs.length > 1; };
var MockPriceAggregator__factory = /** @class */ (function (_super) {
    __extends(MockPriceAggregator__factory, _super);
    function MockPriceAggregator__factory() {
        var args = [];
        for (var _i = 0; _i < arguments.length; _i++) {
            args[_i] = arguments[_i];
        }
        var _this = this;
        if (isSuperArgs(args)) {
            _this = _super.apply(this, args) || this;
        }
        else {
            _this = _super.call(this, _abi, _bytecode, args[0]) || this;
        }
        return _this;
    }
    MockPriceAggregator__factory.prototype.deploy = function (__decimals, __answer, overrides) {
        return _super.prototype.deploy.call(this, __decimals, __answer, overrides || {});
    };
    MockPriceAggregator__factory.prototype.getDeployTransaction = function (__decimals, __answer, overrides) {
        return _super.prototype.getDeployTransaction.call(this, __decimals, __answer, overrides || {});
    };
    MockPriceAggregator__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    MockPriceAggregator__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    MockPriceAggregator__factory.createInterface = function () {
        return new utils.Interface(_abi);
    };
    MockPriceAggregator__factory.connect = function (address, signerOrProvider) {
        return new Contract(address, _abi, signerOrProvider);
    };
    MockPriceAggregator__factory.bytecode = _bytecode;
    MockPriceAggregator__factory.abi = _abi;
    return MockPriceAggregator__factory;
}(ContractFactory));
export { MockPriceAggregator__factory };
