"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AdminRelayTokensAdapter__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        type: "constructor",
        inputs: [
            {
                name: "underlyingAdapter",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "UNDERLYING_ADAPTER",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "relayMessage",
        inputs: [
            {
                name: "target",
                type: "address",
                internalType: "address",
            },
            {
                name: "message",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "relayTokens",
        inputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
            {
                name: "",
                type: "address",
                internalType: "address",
            },
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "payable",
    },
    {
        type: "event",
        name: "MessageRelayed",
        inputs: [
            {
                name: "target",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "message",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "TokensRelayed",
        inputs: [
            {
                name: "l1Token",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "l2Token",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "to",
                type: "address",
                indexed: false,
                internalType: "address",
            },
        ],
        anonymous: false,
    },
    {
        type: "error",
        name: "DelegateCallFailed",
        inputs: [],
    },
    {
        type: "error",
        name: "RelayTokensNotSupported",
        inputs: [],
    },
    {
        type: "error",
        name: "TargetSpokeMismatch",
        inputs: [],
    },
];
var AdminRelayTokensAdapter__factory = (function () {
    function AdminRelayTokensAdapter__factory() {
    }
    AdminRelayTokensAdapter__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    AdminRelayTokensAdapter__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    AdminRelayTokensAdapter__factory.abi = _abi;
    return AdminRelayTokensAdapter__factory;
}());
exports.AdminRelayTokensAdapter__factory = AdminRelayTokensAdapter__factory;
//# sourceMappingURL=AdminRelayTokensAdapter__factory.js.map