/* Autogenerated file. Do not edit manually. */

/* tslint:disable */

/* eslint-disable */
import type {
  IPrime,
  IPrimeInterface,
} from "../../../../../../@venusprotocol/venus-protocol/contracts/Tokens/Prime/IPrime";
import type { Provider } from "@ethersproject/providers";
import { Contract, Signer, utils } from "ethers";

const _abi = [
  {
    constant: false,
    inputs: [
      {
        internalType: "address",
        name: "vToken",
        type: "address",
      },
    ],
    name: "accrueInterest",
    outputs: [],
    payable: false,
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    constant: false,
    inputs: [
      {
        internalType: "address",
        name: "user",
        type: "address",
      },
      {
        internalType: "address",
        name: "market",
        type: "address",
      },
    ],
    name: "accrueInterestAndUpdateScore",
    outputs: [],
    payable: false,
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    constant: true,
    inputs: [
      {
        internalType: "address",
        name: "user",
        type: "address",
      },
    ],
    name: "isUserPrimeHolder",
    outputs: [
      {
        internalType: "bool",
        name: "isPrimeHolder",
        type: "bool",
      },
    ],
    payable: false,
    stateMutability: "view",
    type: "function",
  },
  {
    constant: false,
    inputs: [
      {
        internalType: "address",
        name: "user",
        type: "address",
      },
    ],
    name: "xvsUpdated",
    outputs: [],
    payable: false,
    stateMutability: "nonpayable",
    type: "function",
  },
] as const;

export class IPrime__factory {
  static readonly abi = _abi;
  static createInterface(): IPrimeInterface {
    return new utils.Interface(_abi) as IPrimeInterface;
  }
  static connect(address: string, signerOrProvider: Signer | Provider): IPrime {
    return new Contract(address, _abi, signerOrProvider) as IPrime;
  }
}
