"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SystemContractMock__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
const ethers_1 = require("ethers");
const _abi = [
    {
        type: "constructor",
        inputs: [
            {
                name: "wzeta_",
                type: "address",
                internalType: "address",
            },
            {
                name: "uniswapv2Factory_",
                type: "address",
                internalType: "address",
            },
            {
                name: "uniswapv2Router02_",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "gasCoinZRC20ByChainId",
        inputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "gasPriceByChainId",
        inputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        outputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "gasZetaPoolByChainId",
        inputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "onCrossChainCall",
        inputs: [
            {
                name: "target",
                type: "address",
                internalType: "address",
            },
            {
                name: "zrc20",
                type: "address",
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "message",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "setGasCoinZRC20",
        inputs: [
            {
                name: "chainID",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "zrc20",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "setGasPrice",
        inputs: [
            {
                name: "chainID",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "price",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "setWZETAContractAddress",
        inputs: [
            {
                name: "addr",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "uniswapv2FactoryAddress",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "uniswapv2PairFor",
        inputs: [
            {
                name: "factory",
                type: "address",
                internalType: "address",
            },
            {
                name: "tokenA",
                type: "address",
                internalType: "address",
            },
            {
                name: "tokenB",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [
            {
                name: "pair",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "pure",
    },
    {
        type: "function",
        name: "uniswapv2Router02Address",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "wZetaContractAddress",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "event",
        name: "SetGasCoin",
        inputs: [
            {
                name: "",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "",
                type: "address",
                indexed: false,
                internalType: "address",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "SetGasPrice",
        inputs: [
            {
                name: "",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "SetGasZetaPool",
        inputs: [
            {
                name: "",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "",
                type: "address",
                indexed: false,
                internalType: "address",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "SetWZeta",
        inputs: [
            {
                name: "",
                type: "address",
                indexed: false,
                internalType: "address",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "SystemContractDeployed",
        inputs: [],
        anonymous: false,
    },
    {
        type: "error",
        name: "CallerIsNotFungibleModule",
        inputs: [],
    },
    {
        type: "error",
        name: "CantBeIdenticalAddresses",
        inputs: [],
    },
    {
        type: "error",
        name: "CantBeZeroAddress",
        inputs: [],
    },
    {
        type: "error",
        name: "InvalidTarget",
        inputs: [],
    },
];
const _bytecode = " ";
const isSuperArgs = (xs) => xs.length > 1;
class SystemContractMock__factory extends ethers_1.ContractFactory {
    constructor(...args) {
        if (isSuperArgs(args)) {
            super(...args);
        }
        else {
            super(_abi, _bytecode, args[0]);
        }
    }
    getDeployTransaction(wzeta_, uniswapv2Factory_, uniswapv2Router02_, overrides) {
        return super.getDeployTransaction(wzeta_, uniswapv2Factory_, uniswapv2Router02_, overrides || {});
    }
    deploy(wzeta_, uniswapv2Factory_, uniswapv2Router02_, overrides) {
        return super.deploy(wzeta_, uniswapv2Factory_, uniswapv2Router02_, 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.SystemContractMock__factory = SystemContractMock__factory;
SystemContractMock__factory.bytecode = _bytecode;
SystemContractMock__factory.abi = _abi;
