/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type {
  BaseContract,
  BigNumberish,
  BytesLike,
  FunctionFragment,
  Result,
  Interface,
  EventFragment,
  AddressLike,
  ContractRunner,
  ContractMethod,
  Listener,
} from "ethers";
import type {
  TypedContractEvent,
  TypedDeferredTopicFilter,
  TypedEventLog,
  TypedLogDescription,
  TypedListener,
  TypedContractMethod,
} from "../../../common";

export declare namespace IStargate {
  export type DelegationStruct = {
    delegationId: BigNumberish;
    validator: AddressLike;
    stake: BigNumberish;
    probabilityMultiplier: BigNumberish;
    startPeriod: BigNumberish;
    endPeriod: BigNumberish;
    isLocked: boolean;
    status: BigNumberish;
  };

  export type DelegationStructOutput = [
    delegationId: bigint,
    validator: string,
    stake: bigint,
    probabilityMultiplier: bigint,
    startPeriod: bigint,
    endPeriod: bigint,
    isLocked: boolean,
    status: bigint
  ] & {
    delegationId: bigint;
    validator: string;
    stake: bigint;
    probabilityMultiplier: bigint;
    startPeriod: bigint;
    endPeriod: bigint;
    isLocked: boolean;
    status: bigint;
  };
}

export declare namespace Stargate {
  export type InitializeV1ParamsStruct = {
    admin: AddressLike;
    protocolStakerContract: AddressLike;
    stargateNFTContract: AddressLike;
    maxClaimablePeriods: BigNumberish;
  };

  export type InitializeV1ParamsStructOutput = [
    admin: string,
    protocolStakerContract: string,
    stargateNFTContract: string,
    maxClaimablePeriods: bigint
  ] & {
    admin: string;
    protocolStakerContract: string;
    stargateNFTContract: string;
    maxClaimablePeriods: bigint;
  };
}

export interface StargateInterface extends Interface {
  getFunction(
    nameOrSignature:
      | "CLOCK_MODE"
      | "DEFAULT_ADMIN_ROLE"
      | "PROB_MULTIPLIER_NODE"
      | "PROB_MULTIPLIER_X_NODE"
      | "UPGRADER_ROLE"
      | "UPGRADE_INTERFACE_VERSION"
      | "VTHO_TOKEN"
      | "claimRewards"
      | "claimableDelegationPeriods"
      | "claimableRewards(uint256)"
      | "claimableRewards(uint256,uint32)"
      | "clock"
      | "delegate"
      | "getDelegationDetails"
      | "getDelegationIdOfToken"
      | "getDelegationStatus"
      | "getDelegatorsEffectiveStake"
      | "getEffectiveStake"
      | "getMaxClaimablePeriods"
      | "getRoleAdmin"
      | "grantRole"
      | "hasRequestedExit"
      | "hasRole"
      | "initialize"
      | "lockedRewards"
      | "migrate"
      | "migrateAndDelegate"
      | "pause"
      | "paused"
      | "proxiableUUID"
      | "renounceRole"
      | "requestDelegationExit"
      | "revokeRole"
      | "setMaxClaimablePeriods"
      | "stake"
      | "stakeAndDelegate"
      | "stargateNFT"
      | "supportsInterface"
      | "unpause"
      | "unstake"
      | "upgradeToAndCall"
      | "version"
  ): FunctionFragment;

  getEvent(
    nameOrSignatureOrTopic:
      | "DelegationExitRequested"
      | "DelegationInitiated"
      | "DelegationRewardsClaimed"
      | "DelegationWithdrawn"
      | "Initialized"
      | "Paused"
      | "RoleAdminChanged"
      | "RoleGranted"
      | "RoleRevoked"
      | "Unpaused"
      | "Upgraded"
  ): EventFragment;

  encodeFunctionData(
    functionFragment: "CLOCK_MODE",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "DEFAULT_ADMIN_ROLE",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "PROB_MULTIPLIER_NODE",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "PROB_MULTIPLIER_X_NODE",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "UPGRADER_ROLE",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "UPGRADE_INTERFACE_VERSION",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "VTHO_TOKEN",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "claimRewards",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "claimableDelegationPeriods",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "claimableRewards(uint256)",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "claimableRewards(uint256,uint32)",
    values: [BigNumberish, BigNumberish]
  ): string;
  encodeFunctionData(functionFragment: "clock", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "delegate",
    values: [BigNumberish, AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "getDelegationDetails",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "getDelegationIdOfToken",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "getDelegationStatus",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "getDelegatorsEffectiveStake",
    values: [AddressLike, BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "getEffectiveStake",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "getMaxClaimablePeriods",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "getRoleAdmin",
    values: [BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "grantRole",
    values: [BytesLike, AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "hasRequestedExit",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "hasRole",
    values: [BytesLike, AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "initialize",
    values: [Stargate.InitializeV1ParamsStruct]
  ): string;
  encodeFunctionData(
    functionFragment: "lockedRewards",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "migrate",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "migrateAndDelegate",
    values: [BigNumberish, AddressLike]
  ): string;
  encodeFunctionData(functionFragment: "pause", values?: undefined): string;
  encodeFunctionData(functionFragment: "paused", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "proxiableUUID",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "renounceRole",
    values: [BytesLike, AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "requestDelegationExit",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "revokeRole",
    values: [BytesLike, AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "setMaxClaimablePeriods",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(functionFragment: "stake", values: [BigNumberish]): string;
  encodeFunctionData(
    functionFragment: "stakeAndDelegate",
    values: [BigNumberish, AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "stargateNFT",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "supportsInterface",
    values: [BytesLike]
  ): string;
  encodeFunctionData(functionFragment: "unpause", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "unstake",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "upgradeToAndCall",
    values: [AddressLike, BytesLike]
  ): string;
  encodeFunctionData(functionFragment: "version", values?: undefined): string;

  decodeFunctionResult(functionFragment: "CLOCK_MODE", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "DEFAULT_ADMIN_ROLE",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "PROB_MULTIPLIER_NODE",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "PROB_MULTIPLIER_X_NODE",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "UPGRADER_ROLE",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "UPGRADE_INTERFACE_VERSION",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "VTHO_TOKEN", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "claimRewards",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "claimableDelegationPeriods",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "claimableRewards(uint256)",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "claimableRewards(uint256,uint32)",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "clock", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "delegate", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "getDelegationDetails",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getDelegationIdOfToken",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getDelegationStatus",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getDelegatorsEffectiveStake",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getEffectiveStake",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getMaxClaimablePeriods",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getRoleAdmin",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "hasRequestedExit",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "lockedRewards",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "migrate", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "migrateAndDelegate",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "pause", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "proxiableUUID",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "renounceRole",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "requestDelegationExit",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "setMaxClaimablePeriods",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "stake", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "stakeAndDelegate",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "stargateNFT",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "supportsInterface",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "unstake", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "upgradeToAndCall",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "version", data: BytesLike): Result;
}

export namespace DelegationExitRequestedEvent {
  export type InputTuple = [
    tokenId: BigNumberish,
    validator: AddressLike,
    delegationId: BigNumberish,
    exitBlock: BigNumberish
  ];
  export type OutputTuple = [
    tokenId: bigint,
    validator: string,
    delegationId: bigint,
    exitBlock: bigint
  ];
  export interface OutputObject {
    tokenId: bigint;
    validator: string;
    delegationId: bigint;
    exitBlock: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace DelegationInitiatedEvent {
  export type InputTuple = [
    tokenId: BigNumberish,
    validator: AddressLike,
    delegationId: BigNumberish,
    amount: BigNumberish,
    levelId: BigNumberish,
    probabilityMultiplier: BigNumberish
  ];
  export type OutputTuple = [
    tokenId: bigint,
    validator: string,
    delegationId: bigint,
    amount: bigint,
    levelId: bigint,
    probabilityMultiplier: bigint
  ];
  export interface OutputObject {
    tokenId: bigint;
    validator: string;
    delegationId: bigint;
    amount: bigint;
    levelId: bigint;
    probabilityMultiplier: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace DelegationRewardsClaimedEvent {
  export type InputTuple = [
    receiver: AddressLike,
    tokenId: BigNumberish,
    delegationId: BigNumberish,
    amount: BigNumberish,
    firstClaimedPeriod: BigNumberish,
    lastClaimedPeriod: BigNumberish
  ];
  export type OutputTuple = [
    receiver: string,
    tokenId: bigint,
    delegationId: bigint,
    amount: bigint,
    firstClaimedPeriod: bigint,
    lastClaimedPeriod: bigint
  ];
  export interface OutputObject {
    receiver: string;
    tokenId: bigint;
    delegationId: bigint;
    amount: bigint;
    firstClaimedPeriod: bigint;
    lastClaimedPeriod: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace DelegationWithdrawnEvent {
  export type InputTuple = [
    tokenId: BigNumberish,
    validator: AddressLike,
    delegationId: BigNumberish,
    amount: BigNumberish,
    levelId: BigNumberish
  ];
  export type OutputTuple = [
    tokenId: bigint,
    validator: string,
    delegationId: bigint,
    amount: bigint,
    levelId: bigint
  ];
  export interface OutputObject {
    tokenId: bigint;
    validator: string;
    delegationId: bigint;
    amount: bigint;
    levelId: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace InitializedEvent {
  export type InputTuple = [version: BigNumberish];
  export type OutputTuple = [version: bigint];
  export interface OutputObject {
    version: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace PausedEvent {
  export type InputTuple = [account: AddressLike];
  export type OutputTuple = [account: string];
  export interface OutputObject {
    account: string;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace RoleAdminChangedEvent {
  export type InputTuple = [
    role: BytesLike,
    previousAdminRole: BytesLike,
    newAdminRole: BytesLike
  ];
  export type OutputTuple = [
    role: string,
    previousAdminRole: string,
    newAdminRole: string
  ];
  export interface OutputObject {
    role: string;
    previousAdminRole: string;
    newAdminRole: string;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace RoleGrantedEvent {
  export type InputTuple = [
    role: BytesLike,
    account: AddressLike,
    sender: AddressLike
  ];
  export type OutputTuple = [role: string, account: string, sender: string];
  export interface OutputObject {
    role: string;
    account: string;
    sender: string;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace RoleRevokedEvent {
  export type InputTuple = [
    role: BytesLike,
    account: AddressLike,
    sender: AddressLike
  ];
  export type OutputTuple = [role: string, account: string, sender: string];
  export interface OutputObject {
    role: string;
    account: string;
    sender: string;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace UnpausedEvent {
  export type InputTuple = [account: AddressLike];
  export type OutputTuple = [account: string];
  export interface OutputObject {
    account: string;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace UpgradedEvent {
  export type InputTuple = [implementation: AddressLike];
  export type OutputTuple = [implementation: string];
  export interface OutputObject {
    implementation: string;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export interface Stargate extends BaseContract {
  connect(runner?: ContractRunner | null): Stargate;
  waitForDeployment(): Promise<this>;

  interface: StargateInterface;

  queryFilter<TCEvent extends TypedContractEvent>(
    event: TCEvent,
    fromBlockOrBlockhash?: string | number | undefined,
    toBlock?: string | number | undefined
  ): Promise<Array<TypedEventLog<TCEvent>>>;
  queryFilter<TCEvent extends TypedContractEvent>(
    filter: TypedDeferredTopicFilter<TCEvent>,
    fromBlockOrBlockhash?: string | number | undefined,
    toBlock?: string | number | undefined
  ): Promise<Array<TypedEventLog<TCEvent>>>;

  on<TCEvent extends TypedContractEvent>(
    event: TCEvent,
    listener: TypedListener<TCEvent>
  ): Promise<this>;
  on<TCEvent extends TypedContractEvent>(
    filter: TypedDeferredTopicFilter<TCEvent>,
    listener: TypedListener<TCEvent>
  ): Promise<this>;

  once<TCEvent extends TypedContractEvent>(
    event: TCEvent,
    listener: TypedListener<TCEvent>
  ): Promise<this>;
  once<TCEvent extends TypedContractEvent>(
    filter: TypedDeferredTopicFilter<TCEvent>,
    listener: TypedListener<TCEvent>
  ): Promise<this>;

  listeners<TCEvent extends TypedContractEvent>(
    event: TCEvent
  ): Promise<Array<TypedListener<TCEvent>>>;
  listeners(eventName?: string): Promise<Array<Listener>>;
  removeAllListeners<TCEvent extends TypedContractEvent>(
    event?: TCEvent
  ): Promise<this>;

  CLOCK_MODE: TypedContractMethod<[], [string], "view">;

  DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">;

  PROB_MULTIPLIER_NODE: TypedContractMethod<[], [bigint], "view">;

  PROB_MULTIPLIER_X_NODE: TypedContractMethod<[], [bigint], "view">;

  UPGRADER_ROLE: TypedContractMethod<[], [string], "view">;

  UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">;

  VTHO_TOKEN: TypedContractMethod<[], [string], "view">;

  claimRewards: TypedContractMethod<
    [_tokenId: BigNumberish],
    [void],
    "nonpayable"
  >;

  claimableDelegationPeriods: TypedContractMethod<
    [_tokenId: BigNumberish],
    [[bigint, bigint]],
    "view"
  >;

  "claimableRewards(uint256)": TypedContractMethod<
    [_tokenId: BigNumberish],
    [bigint],
    "view"
  >;

  "claimableRewards(uint256,uint32)": TypedContractMethod<
    [_tokenId: BigNumberish, _batch: BigNumberish],
    [bigint],
    "view"
  >;

  clock: TypedContractMethod<[], [bigint], "view">;

  delegate: TypedContractMethod<
    [_tokenId: BigNumberish, _validator: AddressLike],
    [void],
    "nonpayable"
  >;

  getDelegationDetails: TypedContractMethod<
    [_tokenId: BigNumberish],
    [IStargate.DelegationStructOutput],
    "view"
  >;

  getDelegationIdOfToken: TypedContractMethod<
    [_tokenId: BigNumberish],
    [bigint],
    "view"
  >;

  getDelegationStatus: TypedContractMethod<
    [_tokenId: BigNumberish],
    [bigint],
    "view"
  >;

  getDelegatorsEffectiveStake: TypedContractMethod<
    [_validator: AddressLike, _period: BigNumberish],
    [bigint],
    "view"
  >;

  getEffectiveStake: TypedContractMethod<
    [_tokenId: BigNumberish],
    [bigint],
    "view"
  >;

  getMaxClaimablePeriods: TypedContractMethod<[], [bigint], "view">;

  getRoleAdmin: TypedContractMethod<[role: BytesLike], [string], "view">;

  grantRole: TypedContractMethod<
    [role: BytesLike, account: AddressLike],
    [void],
    "nonpayable"
  >;

  hasRequestedExit: TypedContractMethod<
    [_tokenId: BigNumberish],
    [boolean],
    "view"
  >;

  hasRole: TypedContractMethod<
    [role: BytesLike, account: AddressLike],
    [boolean],
    "view"
  >;

  initialize: TypedContractMethod<
    [params: Stargate.InitializeV1ParamsStruct],
    [void],
    "nonpayable"
  >;

  lockedRewards: TypedContractMethod<
    [_tokenId: BigNumberish],
    [bigint],
    "view"
  >;

  migrate: TypedContractMethod<[_tokenId: BigNumberish], [void], "payable">;

  migrateAndDelegate: TypedContractMethod<
    [_tokenId: BigNumberish, _validator: AddressLike],
    [void],
    "payable"
  >;

  pause: TypedContractMethod<[], [void], "nonpayable">;

  paused: TypedContractMethod<[], [boolean], "view">;

  proxiableUUID: TypedContractMethod<[], [string], "view">;

  renounceRole: TypedContractMethod<
    [role: BytesLike, callerConfirmation: AddressLike],
    [void],
    "nonpayable"
  >;

  requestDelegationExit: TypedContractMethod<
    [_tokenId: BigNumberish],
    [void],
    "nonpayable"
  >;

  revokeRole: TypedContractMethod<
    [role: BytesLike, account: AddressLike],
    [void],
    "nonpayable"
  >;

  setMaxClaimablePeriods: TypedContractMethod<
    [_maxClaimablePeriods: BigNumberish],
    [void],
    "nonpayable"
  >;

  stake: TypedContractMethod<[_levelId: BigNumberish], [bigint], "payable">;

  stakeAndDelegate: TypedContractMethod<
    [_levelId: BigNumberish, _validator: AddressLike],
    [bigint],
    "payable"
  >;

  stargateNFT: TypedContractMethod<[], [string], "view">;

  supportsInterface: TypedContractMethod<
    [interfaceId: BytesLike],
    [boolean],
    "view"
  >;

  unpause: TypedContractMethod<[], [void], "nonpayable">;

  unstake: TypedContractMethod<[_tokenId: BigNumberish], [void], "nonpayable">;

  upgradeToAndCall: TypedContractMethod<
    [newImplementation: AddressLike, data: BytesLike],
    [void],
    "payable"
  >;

  version: TypedContractMethod<[], [bigint], "view">;

  getFunction<T extends ContractMethod = ContractMethod>(
    key: string | FunctionFragment
  ): T;

  getFunction(
    nameOrSignature: "CLOCK_MODE"
  ): TypedContractMethod<[], [string], "view">;
  getFunction(
    nameOrSignature: "DEFAULT_ADMIN_ROLE"
  ): TypedContractMethod<[], [string], "view">;
  getFunction(
    nameOrSignature: "PROB_MULTIPLIER_NODE"
  ): TypedContractMethod<[], [bigint], "view">;
  getFunction(
    nameOrSignature: "PROB_MULTIPLIER_X_NODE"
  ): TypedContractMethod<[], [bigint], "view">;
  getFunction(
    nameOrSignature: "UPGRADER_ROLE"
  ): TypedContractMethod<[], [string], "view">;
  getFunction(
    nameOrSignature: "UPGRADE_INTERFACE_VERSION"
  ): TypedContractMethod<[], [string], "view">;
  getFunction(
    nameOrSignature: "VTHO_TOKEN"
  ): TypedContractMethod<[], [string], "view">;
  getFunction(
    nameOrSignature: "claimRewards"
  ): TypedContractMethod<[_tokenId: BigNumberish], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "claimableDelegationPeriods"
  ): TypedContractMethod<[_tokenId: BigNumberish], [[bigint, bigint]], "view">;
  getFunction(
    nameOrSignature: "claimableRewards(uint256)"
  ): TypedContractMethod<[_tokenId: BigNumberish], [bigint], "view">;
  getFunction(
    nameOrSignature: "claimableRewards(uint256,uint32)"
  ): TypedContractMethod<
    [_tokenId: BigNumberish, _batch: BigNumberish],
    [bigint],
    "view"
  >;
  getFunction(
    nameOrSignature: "clock"
  ): TypedContractMethod<[], [bigint], "view">;
  getFunction(
    nameOrSignature: "delegate"
  ): TypedContractMethod<
    [_tokenId: BigNumberish, _validator: AddressLike],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "getDelegationDetails"
  ): TypedContractMethod<
    [_tokenId: BigNumberish],
    [IStargate.DelegationStructOutput],
    "view"
  >;
  getFunction(
    nameOrSignature: "getDelegationIdOfToken"
  ): TypedContractMethod<[_tokenId: BigNumberish], [bigint], "view">;
  getFunction(
    nameOrSignature: "getDelegationStatus"
  ): TypedContractMethod<[_tokenId: BigNumberish], [bigint], "view">;
  getFunction(
    nameOrSignature: "getDelegatorsEffectiveStake"
  ): TypedContractMethod<
    [_validator: AddressLike, _period: BigNumberish],
    [bigint],
    "view"
  >;
  getFunction(
    nameOrSignature: "getEffectiveStake"
  ): TypedContractMethod<[_tokenId: BigNumberish], [bigint], "view">;
  getFunction(
    nameOrSignature: "getMaxClaimablePeriods"
  ): TypedContractMethod<[], [bigint], "view">;
  getFunction(
    nameOrSignature: "getRoleAdmin"
  ): TypedContractMethod<[role: BytesLike], [string], "view">;
  getFunction(
    nameOrSignature: "grantRole"
  ): TypedContractMethod<
    [role: BytesLike, account: AddressLike],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "hasRequestedExit"
  ): TypedContractMethod<[_tokenId: BigNumberish], [boolean], "view">;
  getFunction(
    nameOrSignature: "hasRole"
  ): TypedContractMethod<
    [role: BytesLike, account: AddressLike],
    [boolean],
    "view"
  >;
  getFunction(
    nameOrSignature: "initialize"
  ): TypedContractMethod<
    [params: Stargate.InitializeV1ParamsStruct],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "lockedRewards"
  ): TypedContractMethod<[_tokenId: BigNumberish], [bigint], "view">;
  getFunction(
    nameOrSignature: "migrate"
  ): TypedContractMethod<[_tokenId: BigNumberish], [void], "payable">;
  getFunction(
    nameOrSignature: "migrateAndDelegate"
  ): TypedContractMethod<
    [_tokenId: BigNumberish, _validator: AddressLike],
    [void],
    "payable"
  >;
  getFunction(
    nameOrSignature: "pause"
  ): TypedContractMethod<[], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "paused"
  ): TypedContractMethod<[], [boolean], "view">;
  getFunction(
    nameOrSignature: "proxiableUUID"
  ): TypedContractMethod<[], [string], "view">;
  getFunction(
    nameOrSignature: "renounceRole"
  ): TypedContractMethod<
    [role: BytesLike, callerConfirmation: AddressLike],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "requestDelegationExit"
  ): TypedContractMethod<[_tokenId: BigNumberish], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "revokeRole"
  ): TypedContractMethod<
    [role: BytesLike, account: AddressLike],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "setMaxClaimablePeriods"
  ): TypedContractMethod<
    [_maxClaimablePeriods: BigNumberish],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "stake"
  ): TypedContractMethod<[_levelId: BigNumberish], [bigint], "payable">;
  getFunction(
    nameOrSignature: "stakeAndDelegate"
  ): TypedContractMethod<
    [_levelId: BigNumberish, _validator: AddressLike],
    [bigint],
    "payable"
  >;
  getFunction(
    nameOrSignature: "stargateNFT"
  ): TypedContractMethod<[], [string], "view">;
  getFunction(
    nameOrSignature: "supportsInterface"
  ): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
  getFunction(
    nameOrSignature: "unpause"
  ): TypedContractMethod<[], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "unstake"
  ): TypedContractMethod<[_tokenId: BigNumberish], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "upgradeToAndCall"
  ): TypedContractMethod<
    [newImplementation: AddressLike, data: BytesLike],
    [void],
    "payable"
  >;
  getFunction(
    nameOrSignature: "version"
  ): TypedContractMethod<[], [bigint], "view">;

  getEvent(
    key: "DelegationExitRequested"
  ): TypedContractEvent<
    DelegationExitRequestedEvent.InputTuple,
    DelegationExitRequestedEvent.OutputTuple,
    DelegationExitRequestedEvent.OutputObject
  >;
  getEvent(
    key: "DelegationInitiated"
  ): TypedContractEvent<
    DelegationInitiatedEvent.InputTuple,
    DelegationInitiatedEvent.OutputTuple,
    DelegationInitiatedEvent.OutputObject
  >;
  getEvent(
    key: "DelegationRewardsClaimed"
  ): TypedContractEvent<
    DelegationRewardsClaimedEvent.InputTuple,
    DelegationRewardsClaimedEvent.OutputTuple,
    DelegationRewardsClaimedEvent.OutputObject
  >;
  getEvent(
    key: "DelegationWithdrawn"
  ): TypedContractEvent<
    DelegationWithdrawnEvent.InputTuple,
    DelegationWithdrawnEvent.OutputTuple,
    DelegationWithdrawnEvent.OutputObject
  >;
  getEvent(
    key: "Initialized"
  ): TypedContractEvent<
    InitializedEvent.InputTuple,
    InitializedEvent.OutputTuple,
    InitializedEvent.OutputObject
  >;
  getEvent(
    key: "Paused"
  ): TypedContractEvent<
    PausedEvent.InputTuple,
    PausedEvent.OutputTuple,
    PausedEvent.OutputObject
  >;
  getEvent(
    key: "RoleAdminChanged"
  ): TypedContractEvent<
    RoleAdminChangedEvent.InputTuple,
    RoleAdminChangedEvent.OutputTuple,
    RoleAdminChangedEvent.OutputObject
  >;
  getEvent(
    key: "RoleGranted"
  ): TypedContractEvent<
    RoleGrantedEvent.InputTuple,
    RoleGrantedEvent.OutputTuple,
    RoleGrantedEvent.OutputObject
  >;
  getEvent(
    key: "RoleRevoked"
  ): TypedContractEvent<
    RoleRevokedEvent.InputTuple,
    RoleRevokedEvent.OutputTuple,
    RoleRevokedEvent.OutputObject
  >;
  getEvent(
    key: "Unpaused"
  ): TypedContractEvent<
    UnpausedEvent.InputTuple,
    UnpausedEvent.OutputTuple,
    UnpausedEvent.OutputObject
  >;
  getEvent(
    key: "Upgraded"
  ): TypedContractEvent<
    UpgradedEvent.InputTuple,
    UpgradedEvent.OutputTuple,
    UpgradedEvent.OutputObject
  >;

  filters: {
    "DelegationExitRequested(uint256,address,uint256,uint48)": TypedContractEvent<
      DelegationExitRequestedEvent.InputTuple,
      DelegationExitRequestedEvent.OutputTuple,
      DelegationExitRequestedEvent.OutputObject
    >;
    DelegationExitRequested: TypedContractEvent<
      DelegationExitRequestedEvent.InputTuple,
      DelegationExitRequestedEvent.OutputTuple,
      DelegationExitRequestedEvent.OutputObject
    >;

    "DelegationInitiated(uint256,address,uint256,uint256,uint8,uint8)": TypedContractEvent<
      DelegationInitiatedEvent.InputTuple,
      DelegationInitiatedEvent.OutputTuple,
      DelegationInitiatedEvent.OutputObject
    >;
    DelegationInitiated: TypedContractEvent<
      DelegationInitiatedEvent.InputTuple,
      DelegationInitiatedEvent.OutputTuple,
      DelegationInitiatedEvent.OutputObject
    >;

    "DelegationRewardsClaimed(address,uint256,uint256,uint256,uint32,uint32)": TypedContractEvent<
      DelegationRewardsClaimedEvent.InputTuple,
      DelegationRewardsClaimedEvent.OutputTuple,
      DelegationRewardsClaimedEvent.OutputObject
    >;
    DelegationRewardsClaimed: TypedContractEvent<
      DelegationRewardsClaimedEvent.InputTuple,
      DelegationRewardsClaimedEvent.OutputTuple,
      DelegationRewardsClaimedEvent.OutputObject
    >;

    "DelegationWithdrawn(uint256,address,uint256,uint256,uint8)": TypedContractEvent<
      DelegationWithdrawnEvent.InputTuple,
      DelegationWithdrawnEvent.OutputTuple,
      DelegationWithdrawnEvent.OutputObject
    >;
    DelegationWithdrawn: TypedContractEvent<
      DelegationWithdrawnEvent.InputTuple,
      DelegationWithdrawnEvent.OutputTuple,
      DelegationWithdrawnEvent.OutputObject
    >;

    "Initialized(uint64)": TypedContractEvent<
      InitializedEvent.InputTuple,
      InitializedEvent.OutputTuple,
      InitializedEvent.OutputObject
    >;
    Initialized: TypedContractEvent<
      InitializedEvent.InputTuple,
      InitializedEvent.OutputTuple,
      InitializedEvent.OutputObject
    >;

    "Paused(address)": TypedContractEvent<
      PausedEvent.InputTuple,
      PausedEvent.OutputTuple,
      PausedEvent.OutputObject
    >;
    Paused: TypedContractEvent<
      PausedEvent.InputTuple,
      PausedEvent.OutputTuple,
      PausedEvent.OutputObject
    >;

    "RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent<
      RoleAdminChangedEvent.InputTuple,
      RoleAdminChangedEvent.OutputTuple,
      RoleAdminChangedEvent.OutputObject
    >;
    RoleAdminChanged: TypedContractEvent<
      RoleAdminChangedEvent.InputTuple,
      RoleAdminChangedEvent.OutputTuple,
      RoleAdminChangedEvent.OutputObject
    >;

    "RoleGranted(bytes32,address,address)": TypedContractEvent<
      RoleGrantedEvent.InputTuple,
      RoleGrantedEvent.OutputTuple,
      RoleGrantedEvent.OutputObject
    >;
    RoleGranted: TypedContractEvent<
      RoleGrantedEvent.InputTuple,
      RoleGrantedEvent.OutputTuple,
      RoleGrantedEvent.OutputObject
    >;

    "RoleRevoked(bytes32,address,address)": TypedContractEvent<
      RoleRevokedEvent.InputTuple,
      RoleRevokedEvent.OutputTuple,
      RoleRevokedEvent.OutputObject
    >;
    RoleRevoked: TypedContractEvent<
      RoleRevokedEvent.InputTuple,
      RoleRevokedEvent.OutputTuple,
      RoleRevokedEvent.OutputObject
    >;

    "Unpaused(address)": TypedContractEvent<
      UnpausedEvent.InputTuple,
      UnpausedEvent.OutputTuple,
      UnpausedEvent.OutputObject
    >;
    Unpaused: TypedContractEvent<
      UnpausedEvent.InputTuple,
      UnpausedEvent.OutputTuple,
      UnpausedEvent.OutputObject
    >;

    "Upgraded(address)": TypedContractEvent<
      UpgradedEvent.InputTuple,
      UpgradedEvent.OutputTuple,
      UpgradedEvent.OutputObject
    >;
    Upgraded: TypedContractEvent<
      UpgradedEvent.InputTuple,
      UpgradedEvent.OutputTuple,
      UpgradedEvent.OutputObject
    >;
  };
}
