"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MultiCallerUpgradeable__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        type: "function",
        name: "multicall",
        inputs: [
            {
                name: "data",
                type: "bytes[]",
                internalType: "bytes[]",
            },
        ],
        outputs: [
            {
                name: "results",
                type: "bytes[]",
                internalType: "bytes[]",
            },
        ],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "tryMulticall",
        inputs: [
            {
                name: "data",
                type: "bytes[]",
                internalType: "bytes[]",
            },
        ],
        outputs: [
            {
                name: "results",
                type: "tuple[]",
                internalType: "struct MultiCallerUpgradeable.Result[]",
                components: [
                    {
                        name: "success",
                        type: "bool",
                        internalType: "bool",
                    },
                    {
                        name: "returnData",
                        type: "bytes",
                        internalType: "bytes",
                    },
                ],
            },
        ],
        stateMutability: "nonpayable",
    },
];
class MultiCallerUpgradeable__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.MultiCallerUpgradeable__factory = MultiCallerUpgradeable__factory;
//# sourceMappingURL=MultiCallerUpgradeable__factory.js.map