"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
exports.__esModule = true;
exports.ICMCWithdraw__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [
            {
                components: [
                    {
                        internalType: "address",
                        name: "channelAddress",
                        type: "address"
                    },
                    {
                        internalType: "address",
                        name: "assetId",
                        type: "address"
                    },
                    {
                        internalType: "address payable",
                        name: "recipient",
                        type: "address"
                    },
                    {
                        internalType: "uint256",
                        name: "amount",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "nonce",
                        type: "uint256"
                    },
                    {
                        internalType: "address",
                        name: "callTo",
                        type: "address"
                    },
                    {
                        internalType: "bytes",
                        name: "callData",
                        type: "bytes"
                    },
                ],
                internalType: "struct WithdrawData",
                name: "wd",
                type: "tuple"
            },
        ],
        name: "getWithdrawalTransactionRecord",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                components: [
                    {
                        internalType: "address",
                        name: "channelAddress",
                        type: "address"
                    },
                    {
                        internalType: "address",
                        name: "assetId",
                        type: "address"
                    },
                    {
                        internalType: "address payable",
                        name: "recipient",
                        type: "address"
                    },
                    {
                        internalType: "uint256",
                        name: "amount",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "nonce",
                        type: "uint256"
                    },
                    {
                        internalType: "address",
                        name: "callTo",
                        type: "address"
                    },
                    {
                        internalType: "bytes",
                        name: "callData",
                        type: "bytes"
                    },
                ],
                internalType: "struct WithdrawData",
                name: "wd",
                type: "tuple"
            },
            {
                internalType: "bytes",
                name: "aliceSignature",
                type: "bytes"
            },
            {
                internalType: "bytes",
                name: "bobSignature",
                type: "bytes"
            },
        ],
        name: "withdraw",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
];
var ICMCWithdraw__factory = /** @class */ (function () {
    function ICMCWithdraw__factory() {
    }
    ICMCWithdraw__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    ICMCWithdraw__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    ICMCWithdraw__factory.abi = _abi;
    return ICMCWithdraw__factory;
}());
exports.ICMCWithdraw__factory = ICMCWithdraw__factory;
