"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LibVariable__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
const ethers_1 = require("ethers");
const _abi = [
    {
        type: "function",
        name: "assertExists",
        inputs: [
            {
                name: "self",
                type: "tuple",
                internalType: "struct Variable",
                components: [
                    {
                        name: "ty",
                        type: "tuple",
                        internalType: "struct Type",
                        components: [
                            {
                                name: "kind",
                                type: "TypeKind",
                                internalType: "enum TypeKind",
                            },
                            {
                                name: "isArray",
                                type: "bool",
                                internalType: "bool",
                            },
                        ],
                    },
                    {
                        name: "data",
                        type: "bytes",
                        internalType: "bytes",
                    },
                ],
            },
        ],
        outputs: [],
        stateMutability: "pure",
    },
    {
        type: "error",
        name: "NotInitialized",
        inputs: [],
    },
    {
        type: "error",
        name: "TypeMismatch",
        inputs: [
            {
                name: "expected",
                type: "string",
                internalType: "string",
            },
            {
                name: "actual",
                type: "string",
                internalType: "string",
            },
        ],
    },
    {
        type: "error",
        name: "UnsafeCast",
        inputs: [
            {
                name: "message",
                type: "string",
                internalType: "string",
            },
        ],
    },
];
const _bytecode = "0x608080604052346019576101b6908161001e823930815050f35b5f80fdfe60806040526004361015610011575f80fd5b5f3560e01c6315af8fee14610024575f80fd5b60203660031901126101485760043567ffffffffffffffff81116101485760031981360301906060821261014857604061005c610160565b92126101485761006a610160565b8160040135600881101561014857815260248201358015158103610148576020820152825260448101359067ffffffffffffffff821161014857013660238201121561014857600481013567ffffffffffffffff811161014c5760405191601f8201601f19908116603f0116830167ffffffffffffffff81118482101761014c57604052818352366024828401011161014857815f926024602093018386013783010152602082015251516008811015610134571561012557005b6321c4e35760e21b5f5260045ffd5b634e487b7160e01b5f52602160045260245ffd5b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b604051906040820182811067ffffffffffffffff82111761014c5760405256fea2646970667358221220a930b7d179dbd17002cf4674ed74cea2e1a5a9300cb4a262ef922b79f391e45e64736f6c634300081e0033";
const isSuperArgs = (xs) => xs.length > 1;
class LibVariable__factory extends ethers_1.ContractFactory {
    constructor(...args) {
        if (isSuperArgs(args)) {
            super(...args);
        }
        else {
            super(_abi, _bytecode, args[0]);
        }
    }
    deploy(overrides) {
        return super.deploy(overrides || {});
    }
    getDeployTransaction(overrides) {
        return super.getDeployTransaction(overrides || {});
    }
    attach(address) {
        return super.attach(address);
    }
    connect(signer) {
        return super.connect(signer);
    }
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.LibVariable__factory = LibVariable__factory;
LibVariable__factory.bytecode = _bytecode;
LibVariable__factory.abi = _abi;
