"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Merkle__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        type: "function",
        name: "getProof",
        inputs: [
            {
                name: "data",
                type: "bytes32[]",
                internalType: "bytes32[]",
            },
            {
                name: "node",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        outputs: [
            {
                name: "",
                type: "bytes32[]",
                internalType: "bytes32[]",
            },
        ],
        stateMutability: "pure",
    },
    {
        type: "function",
        name: "getRoot",
        inputs: [
            {
                name: "data",
                type: "bytes32[]",
                internalType: "bytes32[]",
            },
        ],
        outputs: [
            {
                name: "",
                type: "bytes32",
                internalType: "bytes32",
            },
        ],
        stateMutability: "pure",
    },
    {
        type: "function",
        name: "hashLeafPairs",
        inputs: [
            {
                name: "left",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "right",
                type: "bytes32",
                internalType: "bytes32",
            },
        ],
        outputs: [
            {
                name: "_hash",
                type: "bytes32",
                internalType: "bytes32",
            },
        ],
        stateMutability: "pure",
    },
    {
        type: "function",
        name: "log2ceil",
        inputs: [
            {
                name: "x",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        outputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "pure",
    },
    {
        type: "function",
        name: "log2ceilBitMagic",
        inputs: [
            {
                name: "x",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        outputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "pure",
    },
    {
        type: "function",
        name: "verifyProof",
        inputs: [
            {
                name: "root",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "proof",
                type: "bytes32[]",
                internalType: "bytes32[]",
            },
            {
                name: "valueToProve",
                type: "bytes32",
                internalType: "bytes32",
            },
        ],
        outputs: [
            {
                name: "",
                type: "bool",
                internalType: "bool",
            },
        ],
        stateMutability: "pure",
    },
];
var Merkle__factory = (function () {
    function Merkle__factory() {
    }
    Merkle__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    Merkle__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    Merkle__factory.abi = _abi;
    return Merkle__factory;
}());
exports.Merkle__factory = Merkle__factory;
//# sourceMappingURL=Merkle__factory.js.map