"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.ISectGrail__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "user",
                type: "address",
            },
            {
                indexed: true,
                internalType: "address",
                name: "usageAddress",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "bytes",
                name: "usageData",
                type: "bytes",
            },
        ],
        name: "Allocate",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "user",
                type: "address",
            },
            {
                indexed: true,
                internalType: "address",
                name: "usageAddress",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "bytes",
                name: "usageData",
                type: "bytes",
            },
        ],
        name: "Deallocate",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "user",
                type: "address",
            },
            {
                indexed: true,
                internalType: "address",
                name: "farm",
                type: "address",
            },
            {
                indexed: true,
                internalType: "uint256",
                name: "positionId",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "DepositIntoFarm",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "user",
                type: "address",
            },
            {
                indexed: true,
                internalType: "address",
                name: "farm",
                type: "address",
            },
            {
                indexed: true,
                internalType: "uint256",
                name: "positionId",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256[]",
                name: "harvested",
                type: "uint256[]",
            },
        ],
        name: "HarvestFarm",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "contractAddr",
                type: "address",
            },
            {
                indexed: false,
                internalType: "bool",
                name: "isWhitelisted",
                type: "bool",
            },
        ],
        name: "UpdateWhitelist",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "user",
                type: "address",
            },
            {
                indexed: true,
                internalType: "address",
                name: "farm",
                type: "address",
            },
            {
                indexed: true,
                internalType: "uint256",
                name: "positionId",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "WithdrawFromFarm",
        type: "event",
    },
    {
        inputs: [
            {
                internalType: "contract INFTPool",
                name: "_farm",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "positionId",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "allocateToPosition",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract INFTPool",
                name: "_farm",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "positionId",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "deallocateFromPosition",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract INFTPool",
                name: "_farm",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "positionId",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "depositIntoFarm",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "user",
                type: "address",
            },
        ],
        name: "getAllocations",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract INFTPool",
                name: "_farm",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "positionId",
                type: "uint256",
            },
        ],
        name: "getFarmLp",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "user",
                type: "address",
            },
        ],
        name: "getNonAllocatedBalance",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "grailToken",
        outputs: [
            {
                internalType: "contract IERC20",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract INFTPool",
                name: "_farm",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "positionId",
                type: "uint256",
            },
        ],
        name: "harvestFarm",
        outputs: [
            {
                internalType: "uint256[]",
                name: "harvested",
                type: "uint256[]",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "contractAddr",
                type: "address",
            },
            {
                internalType: "bool",
                name: "isWhitelisted",
                type: "bool",
            },
        ],
        name: "updateWhitelist",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "contractAddr",
                type: "address",
            },
        ],
        name: "whitelist",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract INFTPool",
                name: "_farm",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "positionId",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "withdrawFromFarm",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "xGrailToken",
        outputs: [
            {
                internalType: "contract IXGrailToken",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
];
var ISectGrail__factory = /** @class */ (function () {
    function ISectGrail__factory() {
    }
    ISectGrail__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    ISectGrail__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    ISectGrail__factory.abi = _abi;
    return ISectGrail__factory;
}());
exports.ISectGrail__factory = ISectGrail__factory;
//# sourceMappingURL=ISectGrail__factory.js.map