"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IPostman__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [
            {
                components: [
                    {
                        internalType: "uint256",
                        name: "value",
                        type: "uint256",
                    },
                    {
                        internalType: "address",
                        name: "sender",
                        type: "address",
                    },
                    {
                        internalType: "address",
                        name: "client",
                        type: "address",
                    },
                    {
                        internalType: "uint16",
                        name: "chainId",
                        type: "uint16",
                    },
                ],
                internalType: "struct Message",
                name: "_msg",
                type: "tuple",
            },
            {
                internalType: "address",
                name: "_dstVautAddress",
                type: "address",
            },
            {
                internalType: "address",
                name: "_dstPostman",
                type: "address",
            },
            {
                internalType: "enum MessageType",
                name: "_messageType",
                type: "uint8",
            },
            {
                internalType: "uint16",
                name: "_dstChainId",
                type: "uint16",
            },
        ],
        name: "deliverMessage",
        outputs: [],
        stateMutability: "payable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint16",
                name: "_dstChainId",
                type: "uint16",
            },
            {
                internalType: "address",
                name: "_dstVaultAddress",
                type: "address",
            },
            {
                internalType: "enum MessageType",
                name: "_messageType",
                type: "uint8",
            },
            {
                components: [
                    {
                        internalType: "uint256",
                        name: "value",
                        type: "uint256",
                    },
                    {
                        internalType: "address",
                        name: "sender",
                        type: "address",
                    },
                    {
                        internalType: "address",
                        name: "client",
                        type: "address",
                    },
                    {
                        internalType: "uint16",
                        name: "chainId",
                        type: "uint16",
                    },
                ],
                internalType: "struct Message",
                name: "_msg",
                type: "tuple",
            },
        ],
        name: "estimateFee",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "fundPostman",
        outputs: [],
        stateMutability: "payable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_refundTo",
                type: "address",
            },
        ],
        name: "setRefundTo",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
];
var IPostman__factory = /** @class */ (function () {
    function IPostman__factory() {
    }
    IPostman__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    IPostman__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    IPostman__factory.abi = _abi;
    return IPostman__factory;
}());
exports.IPostman__factory = IPostman__factory;
//# sourceMappingURL=IPostman__factory.js.map