"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AdapterStore__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [],
        name: "ArrayLengthMismatch",
        type: "error",
    },
    {
        inputs: [],
        name: "IOFTTokenMismatch",
        type: "error",
    },
    {
        inputs: [],
        name: "NonExistentMessengerType",
        type: "error",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "bytes32",
                name: "messengerType",
                type: "bytes32",
            },
            {
                indexed: true,
                internalType: "uint256",
                name: "dstDomainId",
                type: "uint256",
            },
            {
                indexed: true,
                internalType: "address",
                name: "srcChainToken",
                type: "address",
            },
            {
                indexed: false,
                internalType: "address",
                name: "srcChainMessenger",
                type: "address",
            },
        ],
        name: "MessengerSet",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "previousOwner",
                type: "address",
            },
            {
                indexed: true,
                internalType: "address",
                name: "newOwner",
                type: "address",
            },
        ],
        name: "OwnershipTransferred",
        type: "event",
    },
    {
        inputs: [
            {
                internalType: "bytes32[]",
                name: "messengerTypes",
                type: "bytes32[]",
            },
            {
                internalType: "uint256[]",
                name: "dstDomainIds",
                type: "uint256[]",
            },
            {
                internalType: "address[]",
                name: "srcChainTokens",
                type: "address[]",
            },
            {
                internalType: "address[]",
                name: "srcChainMessengers",
                type: "address[]",
            },
        ],
        name: "batchSetMessengers",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "messengerType",
                type: "bytes32",
            },
            {
                internalType: "uint256",
                name: "dstDomainId",
                type: "uint256",
            },
            {
                internalType: "address",
                name: "srcChainToken",
                type: "address",
            },
        ],
        name: "crossChainMessengers",
        outputs: [
            {
                internalType: "address",
                name: "messengerAddress",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "owner",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "renounceOwnership",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "messengerType",
                type: "bytes32",
            },
            {
                internalType: "uint256",
                name: "dstDomainId",
                type: "uint256",
            },
            {
                internalType: "address",
                name: "srcChainToken",
                type: "address",
            },
            {
                internalType: "address",
                name: "srcChainMessenger",
                type: "address",
            },
        ],
        name: "setMessenger",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "newOwner",
                type: "address",
            },
        ],
        name: "transferOwnership",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
];
const _bytecode = " ";
const isSuperArgs = (xs) => xs.length > 1;
class AdapterStore__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.AdapterStore__factory = AdapterStore__factory;
AdapterStore__factory.bytecode = _bytecode;
AdapterStore__factory.abi = _abi;
