/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */

import { Contract, Signer, utils } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type { CoreState, CoreStateInterface } from "../CoreState";

const _abi = [
  {
    type: "constructor",
    inputs: [],
    stateMutability: "nonpayable",
  },
  {
    type: "function",
    name: "HYPE_TOKEN_INDEX",
    inputs: [],
    outputs: [
      {
        name: "",
        type: "uint64",
        internalType: "uint64",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "USDC_TOKEN_INDEX",
    inputs: [],
    outputs: [
      {
        name: "",
        type: "uint64",
        internalType: "uint64",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "forceAccountActivation",
    inputs: [
      {
        name: "account",
        type: "address",
        internalType: "address",
      },
    ],
    outputs: [],
    stateMutability: "nonpayable",
  },
  {
    type: "function",
    name: "forceDelegation",
    inputs: [
      {
        name: "account",
        type: "address",
        internalType: "address",
      },
      {
        name: "validator",
        type: "address",
        internalType: "address",
      },
      {
        name: "amount",
        type: "uint64",
        internalType: "uint64",
      },
      {
        name: "lockedUntilTimestamp",
        type: "uint64",
        internalType: "uint64",
      },
    ],
    outputs: [],
    stateMutability: "nonpayable",
  },
  {
    type: "function",
    name: "forcePerpBalance",
    inputs: [
      {
        name: "account",
        type: "address",
        internalType: "address",
      },
      {
        name: "usd",
        type: "uint64",
        internalType: "uint64",
      },
    ],
    outputs: [],
    stateMutability: "payable",
  },
  {
    type: "function",
    name: "forceSpot",
    inputs: [
      {
        name: "account",
        type: "address",
        internalType: "address",
      },
      {
        name: "token",
        type: "uint64",
        internalType: "uint64",
      },
      {
        name: "_wei",
        type: "uint64",
        internalType: "uint64",
      },
    ],
    outputs: [],
    stateMutability: "payable",
  },
  {
    type: "function",
    name: "forceStaking",
    inputs: [
      {
        name: "account",
        type: "address",
        internalType: "address",
      },
      {
        name: "_wei",
        type: "uint64",
        internalType: "uint64",
      },
    ],
    outputs: [],
    stateMutability: "payable",
  },
  {
    type: "function",
    name: "forceTokenInfo",
    inputs: [
      {
        name: "index",
        type: "uint64",
        internalType: "uint64",
      },
      {
        name: "name",
        type: "string",
        internalType: "string",
      },
      {
        name: "evmContract",
        type: "address",
        internalType: "address",
      },
      {
        name: "szDecimals",
        type: "uint8",
        internalType: "uint8",
      },
      {
        name: "weiDecimals",
        type: "uint8",
        internalType: "uint8",
      },
      {
        name: "evmExtraWeiDecimals",
        type: "int8",
        internalType: "int8",
      },
    ],
    outputs: [],
    stateMutability: "nonpayable",
  },
  {
    type: "function",
    name: "forceVaultEquity",
    inputs: [
      {
        name: "account",
        type: "address",
        internalType: "address",
      },
      {
        name: "vault",
        type: "address",
        internalType: "address",
      },
      {
        name: "usd",
        type: "uint64",
        internalType: "uint64",
      },
      {
        name: "lockedUntilTimestamp",
        type: "uint64",
        internalType: "uint64",
      },
    ],
    outputs: [],
    stateMutability: "payable",
  },
  {
    type: "function",
    name: "registerTokenInfo",
    inputs: [
      {
        name: "index",
        type: "uint64",
        internalType: "uint64",
      },
    ],
    outputs: [],
    stateMutability: "nonpayable",
  },
  {
    type: "function",
    name: "registerValidator",
    inputs: [
      {
        name: "validator",
        type: "address",
        internalType: "address",
      },
    ],
    outputs: [],
    stateMutability: "nonpayable",
  },
] as const;

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