"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AdapterStore__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        type: "function",
        name: "batchSetMessengers",
        inputs: [
            {
                name: "messengerTypes",
                type: "bytes32[]",
                internalType: "bytes32[]",
            },
            {
                name: "dstDomainIds",
                type: "uint256[]",
                internalType: "uint256[]",
            },
            {
                name: "srcChainTokens",
                type: "address[]",
                internalType: "address[]",
            },
            {
                name: "srcChainMessengers",
                type: "address[]",
                internalType: "address[]",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "crossChainMessengers",
        inputs: [
            {
                name: "messengerType",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "dstDomainId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "srcChainToken",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [
            {
                name: "messengerAddress",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "owner",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "renounceOwnership",
        inputs: [],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "setMessenger",
        inputs: [
            {
                name: "messengerType",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "dstDomainId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "srcChainToken",
                type: "address",
                internalType: "address",
            },
            {
                name: "srcChainMessenger",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "transferOwnership",
        inputs: [
            {
                name: "newOwner",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "event",
        name: "MessengerSet",
        inputs: [
            {
                name: "messengerType",
                type: "bytes32",
                indexed: true,
                internalType: "bytes32",
            },
            {
                name: "dstDomainId",
                type: "uint256",
                indexed: true,
                internalType: "uint256",
            },
            {
                name: "srcChainToken",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "srcChainMessenger",
                type: "address",
                indexed: false,
                internalType: "address",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "OwnershipTransferred",
        inputs: [
            {
                name: "previousOwner",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "newOwner",
                type: "address",
                indexed: true,
                internalType: "address",
            },
        ],
        anonymous: false,
    },
    {
        type: "error",
        name: "ArrayLengthMismatch",
        inputs: [],
    },
    {
        type: "error",
        name: "IOFTTokenMismatch",
        inputs: [],
    },
    {
        type: "error",
        name: "NonExistentMessengerType",
        inputs: [],
    },
];
class AdapterStore__factory {
    static abi = _abi;
    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;
//# sourceMappingURL=AdapterStore__factory.js.map