"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.IStreamRegistry__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [
            {
                internalType: "string",
                name: "streamIdPath",
                type: "string",
            },
            {
                internalType: "string",
                name: "metadataJsonString",
                type: "string",
            },
        ],
        name: "createStream",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "string",
                name: "streamId",
                type: "string",
            },
        ],
        name: "deleteStream",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "string",
                name: "streamId",
                type: "string",
            },
        ],
        name: "exists",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "string",
                name: "streamId",
                type: "string",
            },
            {
                internalType: "address",
                name: "user",
                type: "address",
            },
            {
                internalType: "enum IStreamRegistry.PermissionType",
                name: "permissionType",
                type: "uint8",
            },
        ],
        name: "grantPermission",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "string",
                name: "streamId",
                type: "string",
            },
            {
                internalType: "enum IStreamRegistry.PermissionType",
                name: "permissionType",
                type: "uint8",
            },
        ],
        name: "grantPublicPermission",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "string",
                name: "streamId",
                type: "string",
            },
            {
                internalType: "address",
                name: "user",
                type: "address",
            },
            {
                internalType: "enum IStreamRegistry.PermissionType",
                name: "permissionType",
                type: "uint8",
            },
        ],
        name: "revokePermission",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
];
class IStreamRegistry__factory {
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.IStreamRegistry__factory = IStreamRegistry__factory;
IStreamRegistry__factory.abi = _abi;
//# sourceMappingURL=IStreamRegistry__factory.js.map