"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MockBoundValidator__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [],
        stateMutability: "nonpayable",
        type: "constructor",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "token",
                type: "address",
            },
            {
                internalType: "bool",
                name: "pass",
                type: "bool",
            },
        ],
        name: "setValidateResult",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "twapUpdated",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "asset",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "reporterPrice",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "anchorPrice",
                type: "uint256",
            },
        ],
        name: "validateAssetPriceWithAnchorPrice",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "vToken",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "reporterPrice",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "anchorPrice",
                type: "uint256",
            },
        ],
        name: "validatePriceWithAnchorPrice",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        name: "validateResults",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
];
const _bytecode = "0x608060405234801561001057600080fd5b5061025e806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c806328d0ef671461005c57806379c5e512146100a05780638146bf7f146100db57806397c7033e1461005c578063a050bcb3146100e8575b600080fd5b61008a61006a366004610151565b50506001600160a01b031660009081526020819052604090205460ff1690565b60405161009791906101a1565b60405180910390f35b6100d96100ae3660046101c2565b6001600160a01b03919091166000908152602081905260409020805460ff1916911515919091179055565b005b60015461008a9060ff1681565b61008a6100f63660046101ff565b60006020819052908152604090205460ff1681565b60006001600160a01b0382165b92915050565b6101278161010b565b811461013257600080fd5b50565b80356101188161011e565b80610127565b803561011881610140565b60008060006060848603121561016957610169600080fd5b60006101758686610135565b935050602061018686828701610146565b925050604061019786828701610146565b9150509250925092565b811515815260208101610118565b801515610127565b8035610118816101af565b600080604083850312156101d8576101d8600080fd5b60006101e48585610135565b92505060206101f5858286016101b7565b9150509250929050565b60006020828403121561021457610214600080fd5b60006102208484610135565b94935050505056fea26469706673582212206ba8901ddb91b65b30eda73e577d3c46054aaf92711147f5f1ff5276ad59147964736f6c634300080d0033";
const isSuperArgs = (xs) => xs.length > 1;
class MockBoundValidator__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.MockBoundValidator__factory = MockBoundValidator__factory;
MockBoundValidator__factory.bytecode = _bytecode;
MockBoundValidator__factory.abi = _abi;
//# sourceMappingURL=MockBoundValidator__factory.js.map