"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IGraphPayments__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [
            {
                internalType: "uint256",
                name: "cut",
                type: "uint256",
            },
        ],
        name: "GraphPaymentsInvalidCut",
        type: "error",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "protocolPaymentCut",
                type: "uint256",
            },
        ],
        name: "GraphPaymentsInvalidProtocolPaymentCut",
        type: "error",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "enum IGraphPayments.PaymentTypes",
                name: "paymentType",
                type: "uint8",
            },
            {
                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",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "tokensProtocol",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "tokensDataService",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "tokensDelegationPool",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "tokensReceiver",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "address",
                name: "receiverDestination",
                type: "address",
            },
        ],
        name: "GraphPaymentCollected",
        type: "event",
    },
    {
        inputs: [],
        name: "PROTOCOL_PAYMENT_CUT",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "enum IGraphPayments.PaymentTypes",
                name: "paymentType",
                type: "uint8",
            },
            {
                internalType: "address",
                name: "receiver",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "tokens",
                type: "uint256",
            },
            {
                internalType: "address",
                name: "dataService",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "dataServiceCut",
                type: "uint256",
            },
            {
                internalType: "address",
                name: "receiverDestination",
                type: "address",
            },
        ],
        name: "collect",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "initialize",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
];
class IGraphPayments__factory {
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.IGraphPayments__factory = IGraphPayments__factory;
IGraphPayments__factory.abi = _abi;
//# sourceMappingURL=IGraphPayments__factory.js.map