/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import type { Provider } from "@ethersproject/providers"; import type { IUserManagerAbi, IUserManagerAbiInterface, } from "../IUserManagerAbi"; const _abi = [ { inputs: [], name: "BadUserIndex", type: "error", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address", }, { indexed: true, internalType: "uint256", name: "epoch", type: "uint256", }, { indexed: false, internalType: "uint256", name: "loyaltyLevel", type: "uint256", }, ], name: "UserLoyaltyLevelUpdated", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "epoch", type: "uint256", }, { indexed: false, internalType: "uint256", name: "userCount", type: "uint256", }, ], name: "UserLoyaltyLevelsForEpochProcessed", type: "event", }, { inputs: [], name: "allUsers", outputs: [ { internalType: "address[]", name: "", type: "address[]", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "epoch", type: "uint256", }, ], name: "areUserEpochLoyaltyLevelProcessed", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "batchSize", type: "uint256", }, ], name: "batchCalculateUserLoyaltyLevels", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "user", type: "address", }, { internalType: "uint256", name: "epoch", type: "uint256", }, ], name: "calculatedUserEpochLoyaltyLevel", outputs: [ { internalType: "uint8", name: "loyaltyLevel", type: "uint8", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "user", type: "address", }, ], name: "canUserDepositInJuniorTranche", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "epoch", type: "uint256", }, ], name: "epochUserLoyaltyProcessing", outputs: [ { components: [ { internalType: "bool", name: "didStart", type: "bool", }, { internalType: "uint256", name: "userCount", type: "uint256", }, { internalType: "uint256", name: "processedUsersCount", type: "uint256", }, ], internalType: "struct EpochUserLoyaltyProcessing", name: "", type: "tuple", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "user", type: "address", }, ], name: "hasUserRKSU", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "fromIndex", type: "uint256", }, { internalType: "uint256", name: "toIndex", type: "uint256", }, ], name: "updateUserLendingPools", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "user", type: "address", }, ], name: "userLendingPools", outputs: [ { internalType: "address[]", name: "lendingPools", type: "address[]", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "user", type: "address", }, ], name: "userLoyaltyLevel", outputs: [ { internalType: "uint256", name: "currentEpoch", type: "uint256", }, { internalType: "uint8", name: "loyaltyLevel", type: "uint8", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "user", type: "address", }, { internalType: "address", name: "lendingPool", type: "address", }, ], name: "userRequestedDeposit", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "user", type: "address", }, ], name: "userTotalPendingAndActiveDepositedAmount", outputs: [ { internalType: "uint256", name: "activeDepositAmount", type: "uint256", }, { internalType: "uint256", name: "pendingDepositAmount", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "user", type: "address", }, ], name: "userTotalPendingAndActiveDepositedAmountForCurrentEpoch", outputs: [ { internalType: "uint256", name: "activeDepositAmount", type: "uint256", }, { internalType: "uint256", name: "pendingDepositAmount", type: "uint256", }, ], stateMutability: "view", type: "function", }, ] as const; export class IUserManagerAbi__factory { static readonly abi = _abi; static createInterface(): IUserManagerAbiInterface { return new utils.Interface(_abi) as IUserManagerAbiInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): IUserManagerAbi { return new Contract(address, _abi, signerOrProvider) as IUserManagerAbi; } }