"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MockSimpleOracle__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [],
        stateMutability: "nonpayable",
        type: "constructor",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "asset",
                type: "address",
            },
        ],
        name: "getPrice",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "vToken",
                type: "address",
            },
        ],
        name: "getUnderlyingPrice",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        name: "prices",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "vToken",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "price",
                type: "uint256",
            },
        ],
        name: "setPrice",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
];
const _bytecode = "0x608060405234801561001057600080fd5b506101c9806100206000396000f3fe608060405234801561001057600080fd5b506004361061004b5760003560e01c8062e4768b1461005057806341976e091461007c578063cfed246b146100bb578063fc57d4df1461007c575b600080fd5b61007a61005e366004610121565b6001600160a01b03909116600090815260208190526040902055565b005b6100a561008a36600461015e565b6001600160a01b031660009081526020819052604090205490565b6040516100b29190610187565b60405180910390f35b6100a56100c936600461015e565b60006020819052908152604090205481565b60006001600160a01b0382165b92915050565b6100f7816100db565b811461010257600080fd5b50565b80356100e8816100ee565b806100f7565b80356100e881610110565b6000806040838503121561013757610137600080fd5b60006101438585610105565b925050602061015485828601610116565b9150509250929050565b60006020828403121561017357610173600080fd5b600061017f8484610105565b949350505050565b818152602081016100e856fea26469706673582212209a4ec26ab47030abc2bb59fb1d2ff8953679561dd9b5cf463ea531c05e978ab664736f6c634300080d0033";
const isSuperArgs = (xs) => xs.length > 1;
class MockSimpleOracle__factory extends ethers_1.ContractFactory {
    constructor(...args) {
        if (isSuperArgs(args)) {
            super(...args);
        }
        else {
            super(_abi, _bytecode, args[0]);
        }
    }
    deploy(overrides) {
        return super.deploy(overrides || {});
    }
    getDeployTransaction(overrides) {
        return super.getDeployTransaction(overrides || {});
    }
    attach(address) {
        return super.attach(address);
    }
    connect(signer) {
        return super.connect(signer);
    }
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.MockSimpleOracle__factory = MockSimpleOracle__factory;
MockSimpleOracle__factory.bytecode = _bytecode;
MockSimpleOracle__factory.abi = _abi;
//# sourceMappingURL=MockSimpleOracle__factory.js.map