"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Merkle__factory = void 0;
const ethers_1 = require("ethers");
const _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",
    },
];
class Merkle__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.Merkle__factory = Merkle__factory;
//# sourceMappingURL=Merkle__factory.js.map