/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type {
  BaseContract,
  BigNumber,
  BigNumberish,
  BytesLike,
  CallOverrides,
  ContractTransaction,
  Overrides,
  PopulatedTransaction,
  Signer,
  utils,
} from "ethers";
import type {
  FunctionFragment,
  Result,
  EventFragment,
} from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type {
  TypedEventFilter,
  TypedEvent,
  TypedListener,
  OnEvent,
} from "./common";

export declare namespace HyperCoreLib {
  export type TokenInfoStruct = {
    name: string;
    spots: BigNumberish[];
    deployerTradingFeeShare: BigNumberish;
    deployer: string;
    evmContract: string;
    szDecimals: BigNumberish;
    weiDecimals: BigNumberish;
    evmExtraWeiDecimals: BigNumberish;
  };

  export type TokenInfoStructOutput = [
    string,
    BigNumber[],
    BigNumber,
    string,
    string,
    number,
    number,
    number
  ] & {
    name: string;
    spots: BigNumber[];
    deployerTradingFeeShare: BigNumber;
    deployer: string;
    evmContract: string;
    szDecimals: number;
    weiDecimals: number;
    evmExtraWeiDecimals: number;
  };
}

export interface HyperliquidDepositHandlerInterface extends utils.Interface {
  functions: {
    "accountsActivated(address)": FunctionFragment;
    "addSupportedToken(address,uint32,bool,uint64,uint64)": FunctionFragment;
    "depositToHypercore(address,uint256,bytes)": FunctionFragment;
    "donationBox()": FunctionFragment;
    "eip712Domain()": FunctionFragment;
    "handleV3AcrossMessage(address,uint256,address,bytes)": FunctionFragment;
    "owner()": FunctionFragment;
    "renounceOwnership()": FunctionFragment;
    "setSigner(address)": FunctionFragment;
    "setSpokePool(address)": FunctionFragment;
    "signer()": FunctionFragment;
    "spokePool()": FunctionFragment;
    "supportedTokens(address)": FunctionFragment;
    "sweepCoreFundsToUser(address,uint64,address)": FunctionFragment;
    "sweepDonationBoxFundsToUser(address,uint256,address)": FunctionFragment;
    "sweepERC20ToUser(address,uint256,address)": FunctionFragment;
    "transferOwnership(address)": FunctionFragment;
  };

  getFunction(
    nameOrSignatureOrTopic:
      | "accountsActivated"
      | "addSupportedToken"
      | "depositToHypercore"
      | "donationBox"
      | "eip712Domain"
      | "handleV3AcrossMessage"
      | "owner"
      | "renounceOwnership"
      | "setSigner"
      | "setSpokePool"
      | "signer"
      | "spokePool"
      | "supportedTokens"
      | "sweepCoreFundsToUser"
      | "sweepDonationBoxFundsToUser"
      | "sweepERC20ToUser"
      | "transferOwnership"
  ): FunctionFragment;

  encodeFunctionData(
    functionFragment: "accountsActivated",
    values: [string]
  ): string;
  encodeFunctionData(
    functionFragment: "addSupportedToken",
    values: [string, BigNumberish, boolean, BigNumberish, BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "depositToHypercore",
    values: [string, BigNumberish, BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "donationBox",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "eip712Domain",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "handleV3AcrossMessage",
    values: [string, BigNumberish, string, BytesLike]
  ): string;
  encodeFunctionData(functionFragment: "owner", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "renounceOwnership",
    values?: undefined
  ): string;
  encodeFunctionData(functionFragment: "setSigner", values: [string]): string;
  encodeFunctionData(
    functionFragment: "setSpokePool",
    values: [string]
  ): string;
  encodeFunctionData(functionFragment: "signer", values?: undefined): string;
  encodeFunctionData(functionFragment: "spokePool", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "supportedTokens",
    values: [string]
  ): string;
  encodeFunctionData(
    functionFragment: "sweepCoreFundsToUser",
    values: [string, BigNumberish, string]
  ): string;
  encodeFunctionData(
    functionFragment: "sweepDonationBoxFundsToUser",
    values: [string, BigNumberish, string]
  ): string;
  encodeFunctionData(
    functionFragment: "sweepERC20ToUser",
    values: [string, BigNumberish, string]
  ): string;
  encodeFunctionData(
    functionFragment: "transferOwnership",
    values: [string]
  ): string;

  decodeFunctionResult(
    functionFragment: "accountsActivated",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "addSupportedToken",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "depositToHypercore",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "donationBox",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "eip712Domain",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "handleV3AcrossMessage",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "renounceOwnership",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "setSigner", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "setSpokePool",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "signer", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "spokePool", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "supportedTokens",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "sweepCoreFundsToUser",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "sweepDonationBoxFundsToUser",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "sweepERC20ToUser",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "transferOwnership",
    data: BytesLike
  ): Result;

  events: {
    "AddedSupportedToken(address,uint64,uint256,int8)": EventFragment;
    "DepositToHypercore(address,address,uint64,uint64,uint64)": EventFragment;
    "EIP712DomainChanged()": EventFragment;
    "FallbackToHyperEVM(address,address,uint256)": EventFragment;
    "OwnershipTransferred(address,address)": EventFragment;
    "SignerSet(address)": EventFragment;
    "SpokePoolSet(address)": EventFragment;
  };

  getEvent(nameOrSignatureOrTopic: "AddedSupportedToken"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "DepositToHypercore"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "EIP712DomainChanged"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "FallbackToHyperEVM"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "SignerSet"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "SpokePoolSet"): EventFragment;
}

export interface AddedSupportedTokenEventObject {
  evmAddress: string;
  tokenId: BigNumber;
  activationFeeEvm: BigNumber;
  decimalDiff: number;
}
export type AddedSupportedTokenEvent = TypedEvent<
  [string, BigNumber, BigNumber, number],
  AddedSupportedTokenEventObject
>;

export type AddedSupportedTokenEventFilter =
  TypedEventFilter<AddedSupportedTokenEvent>;

export interface DepositToHypercoreEventObject {
  user: string;
  token: string;
  userCoreAmount: BigNumber;
  activationFeePaid: BigNumber;
  activationFeeSponsored: BigNumber;
}
export type DepositToHypercoreEvent = TypedEvent<
  [string, string, BigNumber, BigNumber, BigNumber],
  DepositToHypercoreEventObject
>;

export type DepositToHypercoreEventFilter =
  TypedEventFilter<DepositToHypercoreEvent>;

export interface EIP712DomainChangedEventObject {}
export type EIP712DomainChangedEvent = TypedEvent<
  [],
  EIP712DomainChangedEventObject
>;

export type EIP712DomainChangedEventFilter =
  TypedEventFilter<EIP712DomainChangedEvent>;

export interface FallbackToHyperEVMEventObject {
  user: string;
  token: string;
  evmAmount: BigNumber;
}
export type FallbackToHyperEVMEvent = TypedEvent<
  [string, string, BigNumber],
  FallbackToHyperEVMEventObject
>;

export type FallbackToHyperEVMEventFilter =
  TypedEventFilter<FallbackToHyperEVMEvent>;

export interface OwnershipTransferredEventObject {
  previousOwner: string;
  newOwner: string;
}
export type OwnershipTransferredEvent = TypedEvent<
  [string, string],
  OwnershipTransferredEventObject
>;

export type OwnershipTransferredEventFilter =
  TypedEventFilter<OwnershipTransferredEvent>;

export interface SignerSetEventObject {
  signer: string;
}
export type SignerSetEvent = TypedEvent<[string], SignerSetEventObject>;

export type SignerSetEventFilter = TypedEventFilter<SignerSetEvent>;

export interface SpokePoolSetEventObject {
  spokePool: string;
}
export type SpokePoolSetEvent = TypedEvent<[string], SpokePoolSetEventObject>;

export type SpokePoolSetEventFilter = TypedEventFilter<SpokePoolSetEvent>;

export interface HyperliquidDepositHandler extends BaseContract {
  connect(signerOrProvider: Signer | Provider | string): this;
  attach(addressOrName: string): this;
  deployed(): Promise<this>;

  interface: HyperliquidDepositHandlerInterface;

  queryFilter<TEvent extends TypedEvent>(
    event: TypedEventFilter<TEvent>,
    fromBlockOrBlockhash?: string | number | undefined,
    toBlock?: string | number | undefined
  ): Promise<Array<TEvent>>;

  listeners<TEvent extends TypedEvent>(
    eventFilter?: TypedEventFilter<TEvent>
  ): Array<TypedListener<TEvent>>;
  listeners(eventName?: string): Array<Listener>;
  removeAllListeners<TEvent extends TypedEvent>(
    eventFilter: TypedEventFilter<TEvent>
  ): this;
  removeAllListeners(eventName?: string): this;
  off: OnEvent<this>;
  on: OnEvent<this>;
  once: OnEvent<this>;
  removeListener: OnEvent<this>;

  functions: {
    accountsActivated(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<[boolean]>;

    addSupportedToken(
      token: string,
      coreIndex: BigNumberish,
      canBeUsedForAccountActivation: boolean,
      accountActivationFeeCore: BigNumberish,
      bridgeSafetyBufferCore: BigNumberish,
      overrides?: Overrides & { from?: string }
    ): Promise<ContractTransaction>;

    depositToHypercore(
      token: string,
      amount: BigNumberish,
      message: BytesLike,
      overrides?: Overrides & { from?: string }
    ): Promise<ContractTransaction>;

    donationBox(overrides?: CallOverrides): Promise<[string]>;

    eip712Domain(
      overrides?: CallOverrides
    ): Promise<
      [string, string, string, BigNumber, string, string, BigNumber[]] & {
        fields: string;
        name: string;
        version: string;
        chainId: BigNumber;
        verifyingContract: string;
        salt: string;
        extensions: BigNumber[];
      }
    >;

    handleV3AcrossMessage(
      token: string,
      amount: BigNumberish,
      arg2: string,
      message: BytesLike,
      overrides?: Overrides & { from?: string }
    ): Promise<ContractTransaction>;

    owner(overrides?: CallOverrides): Promise<[string]>;

    renounceOwnership(
      overrides?: Overrides & { from?: string }
    ): Promise<ContractTransaction>;

    setSigner(
      _signer: string,
      overrides?: Overrides & { from?: string }
    ): Promise<ContractTransaction>;

    setSpokePool(
      _spokePool: string,
      overrides?: Overrides & { from?: string }
    ): Promise<ContractTransaction>;

    signer(overrides?: CallOverrides): Promise<[string]>;

    spokePool(overrides?: CallOverrides): Promise<[string]>;

    supportedTokens(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<
      [
        HyperCoreLib.TokenInfoStructOutput,
        BigNumber,
        boolean,
        BigNumber,
        BigNumber,
        BigNumber
      ] & {
        tokenInfo: HyperCoreLib.TokenInfoStructOutput;
        coreIndex: BigNumber;
        canBeUsedForAccountActivation: boolean;
        accountActivationFeeEVM: BigNumber;
        accountActivationFeeCore: BigNumber;
        bridgeSafetyBufferCore: BigNumber;
      }
    >;

    sweepCoreFundsToUser(
      token: string,
      coreAmount: BigNumberish,
      user: string,
      overrides?: Overrides & { from?: string }
    ): Promise<ContractTransaction>;

    sweepDonationBoxFundsToUser(
      token: string,
      amount: BigNumberish,
      user: string,
      overrides?: Overrides & { from?: string }
    ): Promise<ContractTransaction>;

    sweepERC20ToUser(
      token: string,
      evmAmount: BigNumberish,
      user: string,
      overrides?: Overrides & { from?: string }
    ): Promise<ContractTransaction>;

    transferOwnership(
      newOwner: string,
      overrides?: Overrides & { from?: string }
    ): Promise<ContractTransaction>;
  };

  accountsActivated(arg0: string, overrides?: CallOverrides): Promise<boolean>;

  addSupportedToken(
    token: string,
    coreIndex: BigNumberish,
    canBeUsedForAccountActivation: boolean,
    accountActivationFeeCore: BigNumberish,
    bridgeSafetyBufferCore: BigNumberish,
    overrides?: Overrides & { from?: string }
  ): Promise<ContractTransaction>;

  depositToHypercore(
    token: string,
    amount: BigNumberish,
    message: BytesLike,
    overrides?: Overrides & { from?: string }
  ): Promise<ContractTransaction>;

  donationBox(overrides?: CallOverrides): Promise<string>;

  eip712Domain(
    overrides?: CallOverrides
  ): Promise<
    [string, string, string, BigNumber, string, string, BigNumber[]] & {
      fields: string;
      name: string;
      version: string;
      chainId: BigNumber;
      verifyingContract: string;
      salt: string;
      extensions: BigNumber[];
    }
  >;

  handleV3AcrossMessage(
    token: string,
    amount: BigNumberish,
    arg2: string,
    message: BytesLike,
    overrides?: Overrides & { from?: string }
  ): Promise<ContractTransaction>;

  owner(overrides?: CallOverrides): Promise<string>;

  renounceOwnership(
    overrides?: Overrides & { from?: string }
  ): Promise<ContractTransaction>;

  setSigner(
    _signer: string,
    overrides?: Overrides & { from?: string }
  ): Promise<ContractTransaction>;

  setSpokePool(
    _spokePool: string,
    overrides?: Overrides & { from?: string }
  ): Promise<ContractTransaction>;

  spokePool(overrides?: CallOverrides): Promise<string>;

  supportedTokens(
    arg0: string,
    overrides?: CallOverrides
  ): Promise<
    [
      HyperCoreLib.TokenInfoStructOutput,
      BigNumber,
      boolean,
      BigNumber,
      BigNumber,
      BigNumber
    ] & {
      tokenInfo: HyperCoreLib.TokenInfoStructOutput;
      coreIndex: BigNumber;
      canBeUsedForAccountActivation: boolean;
      accountActivationFeeEVM: BigNumber;
      accountActivationFeeCore: BigNumber;
      bridgeSafetyBufferCore: BigNumber;
    }
  >;

  sweepCoreFundsToUser(
    token: string,
    coreAmount: BigNumberish,
    user: string,
    overrides?: Overrides & { from?: string }
  ): Promise<ContractTransaction>;

  sweepDonationBoxFundsToUser(
    token: string,
    amount: BigNumberish,
    user: string,
    overrides?: Overrides & { from?: string }
  ): Promise<ContractTransaction>;

  sweepERC20ToUser(
    token: string,
    evmAmount: BigNumberish,
    user: string,
    overrides?: Overrides & { from?: string }
  ): Promise<ContractTransaction>;

  transferOwnership(
    newOwner: string,
    overrides?: Overrides & { from?: string }
  ): Promise<ContractTransaction>;

  callStatic: {
    accountsActivated(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<boolean>;

    addSupportedToken(
      token: string,
      coreIndex: BigNumberish,
      canBeUsedForAccountActivation: boolean,
      accountActivationFeeCore: BigNumberish,
      bridgeSafetyBufferCore: BigNumberish,
      overrides?: CallOverrides
    ): Promise<void>;

    depositToHypercore(
      token: string,
      amount: BigNumberish,
      message: BytesLike,
      overrides?: CallOverrides
    ): Promise<void>;

    donationBox(overrides?: CallOverrides): Promise<string>;

    eip712Domain(
      overrides?: CallOverrides
    ): Promise<
      [string, string, string, BigNumber, string, string, BigNumber[]] & {
        fields: string;
        name: string;
        version: string;
        chainId: BigNumber;
        verifyingContract: string;
        salt: string;
        extensions: BigNumber[];
      }
    >;

    handleV3AcrossMessage(
      token: string,
      amount: BigNumberish,
      arg2: string,
      message: BytesLike,
      overrides?: CallOverrides
    ): Promise<void>;

    owner(overrides?: CallOverrides): Promise<string>;

    renounceOwnership(overrides?: CallOverrides): Promise<void>;

    setSigner(_signer: string, overrides?: CallOverrides): Promise<void>;

    setSpokePool(_spokePool: string, overrides?: CallOverrides): Promise<void>;

    signer(overrides?: CallOverrides): Promise<string>;

    spokePool(overrides?: CallOverrides): Promise<string>;

    supportedTokens(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<
      [
        HyperCoreLib.TokenInfoStructOutput,
        BigNumber,
        boolean,
        BigNumber,
        BigNumber,
        BigNumber
      ] & {
        tokenInfo: HyperCoreLib.TokenInfoStructOutput;
        coreIndex: BigNumber;
        canBeUsedForAccountActivation: boolean;
        accountActivationFeeEVM: BigNumber;
        accountActivationFeeCore: BigNumber;
        bridgeSafetyBufferCore: BigNumber;
      }
    >;

    sweepCoreFundsToUser(
      token: string,
      coreAmount: BigNumberish,
      user: string,
      overrides?: CallOverrides
    ): Promise<void>;

    sweepDonationBoxFundsToUser(
      token: string,
      amount: BigNumberish,
      user: string,
      overrides?: CallOverrides
    ): Promise<void>;

    sweepERC20ToUser(
      token: string,
      evmAmount: BigNumberish,
      user: string,
      overrides?: CallOverrides
    ): Promise<void>;

    transferOwnership(
      newOwner: string,
      overrides?: CallOverrides
    ): Promise<void>;
  };

  filters: {
    "AddedSupportedToken(address,uint64,uint256,int8)"(
      evmAddress?: null,
      tokenId?: null,
      activationFeeEvm?: null,
      decimalDiff?: null
    ): AddedSupportedTokenEventFilter;
    AddedSupportedToken(
      evmAddress?: null,
      tokenId?: null,
      activationFeeEvm?: null,
      decimalDiff?: null
    ): AddedSupportedTokenEventFilter;

    "DepositToHypercore(address,address,uint64,uint64,uint64)"(
      user?: string | null,
      token?: string | null,
      userCoreAmount?: null,
      activationFeePaid?: null,
      activationFeeSponsored?: null
    ): DepositToHypercoreEventFilter;
    DepositToHypercore(
      user?: string | null,
      token?: string | null,
      userCoreAmount?: null,
      activationFeePaid?: null,
      activationFeeSponsored?: null
    ): DepositToHypercoreEventFilter;

    "EIP712DomainChanged()"(): EIP712DomainChangedEventFilter;
    EIP712DomainChanged(): EIP712DomainChangedEventFilter;

    "FallbackToHyperEVM(address,address,uint256)"(
      user?: string | null,
      token?: string | null,
      evmAmount?: null
    ): FallbackToHyperEVMEventFilter;
    FallbackToHyperEVM(
      user?: string | null,
      token?: string | null,
      evmAmount?: null
    ): FallbackToHyperEVMEventFilter;

    "OwnershipTransferred(address,address)"(
      previousOwner?: string | null,
      newOwner?: string | null
    ): OwnershipTransferredEventFilter;
    OwnershipTransferred(
      previousOwner?: string | null,
      newOwner?: string | null
    ): OwnershipTransferredEventFilter;

    "SignerSet(address)"(signer?: null): SignerSetEventFilter;
    SignerSet(signer?: null): SignerSetEventFilter;

    "SpokePoolSet(address)"(spokePool?: null): SpokePoolSetEventFilter;
    SpokePoolSet(spokePool?: null): SpokePoolSetEventFilter;
  };

  estimateGas: {
    accountsActivated(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    addSupportedToken(
      token: string,
      coreIndex: BigNumberish,
      canBeUsedForAccountActivation: boolean,
      accountActivationFeeCore: BigNumberish,
      bridgeSafetyBufferCore: BigNumberish,
      overrides?: Overrides & { from?: string }
    ): Promise<BigNumber>;

    depositToHypercore(
      token: string,
      amount: BigNumberish,
      message: BytesLike,
      overrides?: Overrides & { from?: string }
    ): Promise<BigNumber>;

    donationBox(overrides?: CallOverrides): Promise<BigNumber>;

    eip712Domain(overrides?: CallOverrides): Promise<BigNumber>;

    handleV3AcrossMessage(
      token: string,
      amount: BigNumberish,
      arg2: string,
      message: BytesLike,
      overrides?: Overrides & { from?: string }
    ): Promise<BigNumber>;

    owner(overrides?: CallOverrides): Promise<BigNumber>;

    renounceOwnership(
      overrides?: Overrides & { from?: string }
    ): Promise<BigNumber>;

    setSigner(
      _signer: string,
      overrides?: Overrides & { from?: string }
    ): Promise<BigNumber>;

    setSpokePool(
      _spokePool: string,
      overrides?: Overrides & { from?: string }
    ): Promise<BigNumber>;

    signer(overrides?: CallOverrides): Promise<BigNumber>;

    spokePool(overrides?: CallOverrides): Promise<BigNumber>;

    supportedTokens(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    sweepCoreFundsToUser(
      token: string,
      coreAmount: BigNumberish,
      user: string,
      overrides?: Overrides & { from?: string }
    ): Promise<BigNumber>;

    sweepDonationBoxFundsToUser(
      token: string,
      amount: BigNumberish,
      user: string,
      overrides?: Overrides & { from?: string }
    ): Promise<BigNumber>;

    sweepERC20ToUser(
      token: string,
      evmAmount: BigNumberish,
      user: string,
      overrides?: Overrides & { from?: string }
    ): Promise<BigNumber>;

    transferOwnership(
      newOwner: string,
      overrides?: Overrides & { from?: string }
    ): Promise<BigNumber>;
  };

  populateTransaction: {
    accountsActivated(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    addSupportedToken(
      token: string,
      coreIndex: BigNumberish,
      canBeUsedForAccountActivation: boolean,
      accountActivationFeeCore: BigNumberish,
      bridgeSafetyBufferCore: BigNumberish,
      overrides?: Overrides & { from?: string }
    ): Promise<PopulatedTransaction>;

    depositToHypercore(
      token: string,
      amount: BigNumberish,
      message: BytesLike,
      overrides?: Overrides & { from?: string }
    ): Promise<PopulatedTransaction>;

    donationBox(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    eip712Domain(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    handleV3AcrossMessage(
      token: string,
      amount: BigNumberish,
      arg2: string,
      message: BytesLike,
      overrides?: Overrides & { from?: string }
    ): Promise<PopulatedTransaction>;

    owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    renounceOwnership(
      overrides?: Overrides & { from?: string }
    ): Promise<PopulatedTransaction>;

    setSigner(
      _signer: string,
      overrides?: Overrides & { from?: string }
    ): Promise<PopulatedTransaction>;

    setSpokePool(
      _spokePool: string,
      overrides?: Overrides & { from?: string }
    ): Promise<PopulatedTransaction>;

    signer(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    spokePool(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    supportedTokens(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    sweepCoreFundsToUser(
      token: string,
      coreAmount: BigNumberish,
      user: string,
      overrides?: Overrides & { from?: string }
    ): Promise<PopulatedTransaction>;

    sweepDonationBoxFundsToUser(
      token: string,
      amount: BigNumberish,
      user: string,
      overrides?: Overrides & { from?: string }
    ): Promise<PopulatedTransaction>;

    sweepERC20ToUser(
      token: string,
      evmAmount: BigNumberish,
      user: string,
      overrides?: Overrides & { from?: string }
    ): Promise<PopulatedTransaction>;

    transferOwnership(
      newOwner: string,
      overrides?: Overrides & { from?: string }
    ): Promise<PopulatedTransaction>;
  };
}
