"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IPaymentsCollector__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "enum IGraphPayments.PaymentTypes",
                name: "paymentType",
                type: "uint8",
            },
            {
                indexed: true,
                internalType: "bytes32",
                name: "collectionId",
                type: "bytes32",
            },
            {
                indexed: true,
                internalType: "address",
                name: "payer",
                type: "address",
            },
            {
                indexed: false,
                internalType: "address",
                name: "receiver",
                type: "address",
            },
            {
                indexed: true,
                internalType: "address",
                name: "dataService",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "tokens",
                type: "uint256",
            },
        ],
        name: "PaymentCollected",
        type: "event",
    },
    {
        inputs: [
            {
                internalType: "enum IGraphPayments.PaymentTypes",
                name: "paymentType",
                type: "uint8",
            },
            {
                internalType: "bytes",
                name: "data",
                type: "bytes",
            },
        ],
        name: "collect",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
];
class IPaymentsCollector__factory {
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.IPaymentsCollector__factory = IPaymentsCollector__factory;
IPaymentsCollector__factory.abi = _abi;
//# sourceMappingURL=IPaymentsCollector__factory.js.map