/* 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,
  PromiseOrValue,
} from "../../../common";

export interface PolicyVotesInterface extends utils.Interface {
  functions: {
    "ENACTION_DELAY()": FunctionFragment;
    "GENERATION_START()": FunctionFragment;
    "MIN_GENERATION_DURATION()": FunctionFragment;
    "VOTE_TIME()": FunctionFragment;
    "blockNumber()": FunctionFragment;
    "canImplementInterfaceForAddress(bytes32,address)": FunctionFragment;
    "clone()": FunctionFragment;
    "configure(address,address,uint256,uint256,uint256)": FunctionFragment;
    "ecoToken()": FunctionFragment;
    "excludedVotingPower()": FunctionFragment;
    "execute()": FunctionFragment;
    "implementation()": FunctionFragment;
    "initialize(address)": FunctionFragment;
    "policy()": FunctionFragment;
    "policyCommand(address,bytes)": FunctionFragment;
    "proposal()": FunctionFragment;
    "proposer()": FunctionFragment;
    "setExpectedInterfaceSet(address)": FunctionFragment;
    "totalECOxSnapshot()": FunctionFragment;
    "totalStake()": FunctionFragment;
    "totalVotingPower(uint256)": FunctionFragment;
    "vote(bool)": FunctionFragment;
    "voteEnds()": FunctionFragment;
    "votePartials(address)": FunctionFragment;
    "voteSplit(uint256,uint256)": FunctionFragment;
    "votingPower(address,uint256)": FunctionFragment;
    "yesStake()": FunctionFragment;
  };

  getFunction(
    nameOrSignatureOrTopic:
      | "ENACTION_DELAY"
      | "GENERATION_START"
      | "MIN_GENERATION_DURATION"
      | "VOTE_TIME"
      | "blockNumber"
      | "canImplementInterfaceForAddress"
      | "clone"
      | "configure"
      | "ecoToken"
      | "excludedVotingPower"
      | "execute"
      | "implementation"
      | "initialize"
      | "policy"
      | "policyCommand"
      | "proposal"
      | "proposer"
      | "setExpectedInterfaceSet"
      | "totalECOxSnapshot"
      | "totalStake"
      | "totalVotingPower"
      | "vote"
      | "voteEnds"
      | "votePartials"
      | "voteSplit"
      | "votingPower"
      | "yesStake"
  ): FunctionFragment;

  encodeFunctionData(
    functionFragment: "ENACTION_DELAY",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "GENERATION_START",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "MIN_GENERATION_DURATION",
    values?: undefined
  ): string;
  encodeFunctionData(functionFragment: "VOTE_TIME", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "blockNumber",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "canImplementInterfaceForAddress",
    values: [PromiseOrValue<BytesLike>, PromiseOrValue<string>]
  ): string;
  encodeFunctionData(functionFragment: "clone", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "configure",
    values: [
      PromiseOrValue<string>,
      PromiseOrValue<string>,
      PromiseOrValue<BigNumberish>,
      PromiseOrValue<BigNumberish>,
      PromiseOrValue<BigNumberish>
    ]
  ): string;
  encodeFunctionData(functionFragment: "ecoToken", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "excludedVotingPower",
    values?: undefined
  ): string;
  encodeFunctionData(functionFragment: "execute", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "implementation",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "initialize",
    values: [PromiseOrValue<string>]
  ): string;
  encodeFunctionData(functionFragment: "policy", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "policyCommand",
    values: [PromiseOrValue<string>, PromiseOrValue<BytesLike>]
  ): string;
  encodeFunctionData(functionFragment: "proposal", values?: undefined): string;
  encodeFunctionData(functionFragment: "proposer", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "setExpectedInterfaceSet",
    values: [PromiseOrValue<string>]
  ): string;
  encodeFunctionData(
    functionFragment: "totalECOxSnapshot",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "totalStake",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "totalVotingPower",
    values: [PromiseOrValue<BigNumberish>]
  ): string;
  encodeFunctionData(
    functionFragment: "vote",
    values: [PromiseOrValue<boolean>]
  ): string;
  encodeFunctionData(functionFragment: "voteEnds", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "votePartials",
    values: [PromiseOrValue<string>]
  ): string;
  encodeFunctionData(
    functionFragment: "voteSplit",
    values: [PromiseOrValue<BigNumberish>, PromiseOrValue<BigNumberish>]
  ): string;
  encodeFunctionData(
    functionFragment: "votingPower",
    values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]
  ): string;
  encodeFunctionData(functionFragment: "yesStake", values?: undefined): string;

  decodeFunctionResult(
    functionFragment: "ENACTION_DELAY",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "GENERATION_START",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "MIN_GENERATION_DURATION",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "VOTE_TIME", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "blockNumber",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "canImplementInterfaceForAddress",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "clone", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "configure", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "ecoToken", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "excludedVotingPower",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "execute", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "implementation",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "policy", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "policyCommand",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "proposal", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "proposer", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "setExpectedInterfaceSet",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "totalECOxSnapshot",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "totalStake", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "totalVotingPower",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "vote", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "voteEnds", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "votePartials",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "voteSplit", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "votingPower",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "yesStake", data: BytesLike): Result;

  events: {
    "PolicyVote(address,uint256,uint256)": EventFragment;
    "VoteCompletion(uint8)": EventFragment;
  };

  getEvent(nameOrSignatureOrTopic: "PolicyVote"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "VoteCompletion"): EventFragment;
}

export interface PolicyVoteEventObject {
  voter: string;
  votesYes: BigNumber;
  votesNo: BigNumber;
}
export type PolicyVoteEvent = TypedEvent<
  [string, BigNumber, BigNumber],
  PolicyVoteEventObject
>;

export type PolicyVoteEventFilter = TypedEventFilter<PolicyVoteEvent>;

export interface VoteCompletionEventObject {
  result: number;
}
export type VoteCompletionEvent = TypedEvent<
  [number],
  VoteCompletionEventObject
>;

export type VoteCompletionEventFilter = TypedEventFilter<VoteCompletionEvent>;

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

  interface: PolicyVotesInterface;

  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: {
    ENACTION_DELAY(overrides?: CallOverrides): Promise<[BigNumber]>;

    GENERATION_START(overrides?: CallOverrides): Promise<[BigNumber]>;

    MIN_GENERATION_DURATION(overrides?: CallOverrides): Promise<[BigNumber]>;

    VOTE_TIME(overrides?: CallOverrides): Promise<[BigNumber]>;

    blockNumber(overrides?: CallOverrides): Promise<[BigNumber]>;

    canImplementInterfaceForAddress(
      arg0: PromiseOrValue<BytesLike>,
      _addr: PromiseOrValue<string>,
      overrides?: CallOverrides
    ): Promise<[string]>;

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

    configure(
      _proposal: PromiseOrValue<string>,
      _proposer: PromiseOrValue<string>,
      _cutoffBlockNumber: PromiseOrValue<BigNumberish>,
      _totalECOxSnapshot: PromiseOrValue<BigNumberish>,
      _excludedVotingPower: PromiseOrValue<BigNumberish>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;

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

    excludedVotingPower(overrides?: CallOverrides): Promise<[BigNumber]>;

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

    implementation(
      overrides?: CallOverrides
    ): Promise<[string] & { _impl: string }>;

    initialize(
      _self: PromiseOrValue<string>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;

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

    policyCommand(
      _delegate: PromiseOrValue<string>,
      _data: PromiseOrValue<BytesLike>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;

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

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

    setExpectedInterfaceSet(
      _addr: PromiseOrValue<string>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;

    totalECOxSnapshot(overrides?: CallOverrides): Promise<[BigNumber]>;

    totalStake(overrides?: CallOverrides): Promise<[BigNumber]>;

    totalVotingPower(
      _blockNumber: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<[BigNumber]>;

    vote(
      _vote: PromiseOrValue<boolean>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;

    voteEnds(overrides?: CallOverrides): Promise<[BigNumber]>;

    votePartials(
      arg0: PromiseOrValue<string>,
      overrides?: CallOverrides
    ): Promise<
      [BigNumber, BigNumber] & { stake: BigNumber; yesVotes: BigNumber }
    >;

    voteSplit(
      _votesYes: PromiseOrValue<BigNumberish>,
      _votesNo: PromiseOrValue<BigNumberish>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;

    votingPower(
      _who: PromiseOrValue<string>,
      _blockNumber: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<[BigNumber]>;

    yesStake(overrides?: CallOverrides): Promise<[BigNumber]>;
  };

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

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

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

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

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

  canImplementInterfaceForAddress(
    arg0: PromiseOrValue<BytesLike>,
    _addr: PromiseOrValue<string>,
    overrides?: CallOverrides
  ): Promise<string>;

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

  configure(
    _proposal: PromiseOrValue<string>,
    _proposer: PromiseOrValue<string>,
    _cutoffBlockNumber: PromiseOrValue<BigNumberish>,
    _totalECOxSnapshot: PromiseOrValue<BigNumberish>,
    _excludedVotingPower: PromiseOrValue<BigNumberish>,
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

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

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

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

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

  initialize(
    _self: PromiseOrValue<string>,
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

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

  policyCommand(
    _delegate: PromiseOrValue<string>,
    _data: PromiseOrValue<BytesLike>,
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

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

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

  setExpectedInterfaceSet(
    _addr: PromiseOrValue<string>,
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

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

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

  totalVotingPower(
    _blockNumber: PromiseOrValue<BigNumberish>,
    overrides?: CallOverrides
  ): Promise<BigNumber>;

  vote(
    _vote: PromiseOrValue<boolean>,
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

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

  votePartials(
    arg0: PromiseOrValue<string>,
    overrides?: CallOverrides
  ): Promise<
    [BigNumber, BigNumber] & { stake: BigNumber; yesVotes: BigNumber }
  >;

  voteSplit(
    _votesYes: PromiseOrValue<BigNumberish>,
    _votesNo: PromiseOrValue<BigNumberish>,
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

  votingPower(
    _who: PromiseOrValue<string>,
    _blockNumber: PromiseOrValue<BigNumberish>,
    overrides?: CallOverrides
  ): Promise<BigNumber>;

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

  callStatic: {
    ENACTION_DELAY(overrides?: CallOverrides): Promise<BigNumber>;

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

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

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

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

    canImplementInterfaceForAddress(
      arg0: PromiseOrValue<BytesLike>,
      _addr: PromiseOrValue<string>,
      overrides?: CallOverrides
    ): Promise<string>;

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

    configure(
      _proposal: PromiseOrValue<string>,
      _proposer: PromiseOrValue<string>,
      _cutoffBlockNumber: PromiseOrValue<BigNumberish>,
      _totalECOxSnapshot: PromiseOrValue<BigNumberish>,
      _excludedVotingPower: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<void>;

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

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

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

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

    initialize(
      _self: PromiseOrValue<string>,
      overrides?: CallOverrides
    ): Promise<void>;

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

    policyCommand(
      _delegate: PromiseOrValue<string>,
      _data: PromiseOrValue<BytesLike>,
      overrides?: CallOverrides
    ): Promise<void>;

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

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

    setExpectedInterfaceSet(
      _addr: PromiseOrValue<string>,
      overrides?: CallOverrides
    ): Promise<void>;

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

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

    totalVotingPower(
      _blockNumber: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    vote(
      _vote: PromiseOrValue<boolean>,
      overrides?: CallOverrides
    ): Promise<void>;

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

    votePartials(
      arg0: PromiseOrValue<string>,
      overrides?: CallOverrides
    ): Promise<
      [BigNumber, BigNumber] & { stake: BigNumber; yesVotes: BigNumber }
    >;

    voteSplit(
      _votesYes: PromiseOrValue<BigNumberish>,
      _votesNo: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<void>;

    votingPower(
      _who: PromiseOrValue<string>,
      _blockNumber: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    yesStake(overrides?: CallOverrides): Promise<BigNumber>;
  };

  filters: {
    "PolicyVote(address,uint256,uint256)"(
      voter?: PromiseOrValue<string> | null,
      votesYes?: null,
      votesNo?: null
    ): PolicyVoteEventFilter;
    PolicyVote(
      voter?: PromiseOrValue<string> | null,
      votesYes?: null,
      votesNo?: null
    ): PolicyVoteEventFilter;

    "VoteCompletion(uint8)"(
      result?: PromiseOrValue<BigNumberish> | null
    ): VoteCompletionEventFilter;
    VoteCompletion(
      result?: PromiseOrValue<BigNumberish> | null
    ): VoteCompletionEventFilter;
  };

  estimateGas: {
    ENACTION_DELAY(overrides?: CallOverrides): Promise<BigNumber>;

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

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

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

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

    canImplementInterfaceForAddress(
      arg0: PromiseOrValue<BytesLike>,
      _addr: PromiseOrValue<string>,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

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

    configure(
      _proposal: PromiseOrValue<string>,
      _proposer: PromiseOrValue<string>,
      _cutoffBlockNumber: PromiseOrValue<BigNumberish>,
      _totalECOxSnapshot: PromiseOrValue<BigNumberish>,
      _excludedVotingPower: PromiseOrValue<BigNumberish>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;

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

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

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

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

    initialize(
      _self: PromiseOrValue<string>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;

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

    policyCommand(
      _delegate: PromiseOrValue<string>,
      _data: PromiseOrValue<BytesLike>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;

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

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

    setExpectedInterfaceSet(
      _addr: PromiseOrValue<string>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;

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

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

    totalVotingPower(
      _blockNumber: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    vote(
      _vote: PromiseOrValue<boolean>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;

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

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

    voteSplit(
      _votesYes: PromiseOrValue<BigNumberish>,
      _votesNo: PromiseOrValue<BigNumberish>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;

    votingPower(
      _who: PromiseOrValue<string>,
      _blockNumber: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    yesStake(overrides?: CallOverrides): Promise<BigNumber>;
  };

  populateTransaction: {
    ENACTION_DELAY(overrides?: CallOverrides): Promise<PopulatedTransaction>;

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

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

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

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

    canImplementInterfaceForAddress(
      arg0: PromiseOrValue<BytesLike>,
      _addr: PromiseOrValue<string>,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

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

    configure(
      _proposal: PromiseOrValue<string>,
      _proposer: PromiseOrValue<string>,
      _cutoffBlockNumber: PromiseOrValue<BigNumberish>,
      _totalECOxSnapshot: PromiseOrValue<BigNumberish>,
      _excludedVotingPower: PromiseOrValue<BigNumberish>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;

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

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

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

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

    initialize(
      _self: PromiseOrValue<string>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;

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

    policyCommand(
      _delegate: PromiseOrValue<string>,
      _data: PromiseOrValue<BytesLike>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;

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

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

    setExpectedInterfaceSet(
      _addr: PromiseOrValue<string>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;

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

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

    totalVotingPower(
      _blockNumber: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    vote(
      _vote: PromiseOrValue<boolean>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;

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

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

    voteSplit(
      _votesYes: PromiseOrValue<BigNumberish>,
      _votesNo: PromiseOrValue<BigNumberish>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;

    votingPower(
      _who: PromiseOrValue<string>,
      _blockNumber: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    yesStake(overrides?: CallOverrides): Promise<PopulatedTransaction>;
  };
}
