import { BigNumberish, ContractTransaction, providers, Signer } from "ethers"; import { SystemContractInstance } from "../SystemContractInstance"; import { TxOptions, VotingSituationInfo } from "../../types"; import { ExtendedDAOVoting, ExtendedVotingStatsStructOutput, IDAOVoting } from "../../ethers-contracts/ExtendedDAOVoting"; export declare class DAOVotingInstance extends SystemContractInstance { constructor(signer: Signer | providers.Provider, address: string); createProposal(situation: string, remark: string, callData: string, txOptions?: TxOptions): Promise; voteFor(proposalId: BigNumberish, txOptions?: TxOptions): Promise; voteAgainst(proposalId: BigNumberish, txOptions?: TxOptions): Promise; /** * Note: This method will throw an error if invoked on data from an older contract version, * prior to the introduction of external link support. */ voteByExpertFor(proposalId: BigNumberish, txOptions?: TxOptions): Promise; /** * Note: This method will throw an error if invoked on data from an older contract version, * prior to the introduction of external link support. */ voteByExpertAgainst(proposalId: BigNumberish, txOptions?: TxOptions): Promise; /** * Note: This method will throw an error if invoked on data from an older contract version, * prior to the introduction of external link support. */ appealByUser(proposalId: BigNumberish, txOptions?: TxOptions): Promise; veto(proposalId: BigNumberish, txOptions?: TxOptions): Promise; executeProposal(proposalId: BigNumberish, txOptions?: TxOptions): Promise; executeProposalWithSignature(proposalId: BigNumberish, signature: string, txOptions?: TxOptions): Promise; getProposalStatus(proposalId: BigNumberish): Promise; getProposalList(offset: BigNumberish, limit: BigNumberish): Promise; getProposal(proposalId: BigNumberish): Promise; getProposalVotingStats(proposalId: BigNumberish): Promise; /** * Note: This method will throw an error if invoked on data from an older contract version, * prior to the introduction of external link support. */ getExtendedVotingStats(proposalId: BigNumberish): Promise; /** * Note: This method will throw an error if invoked on data from an older contract version, * prior to the introduction of external link support. */ isAppealConfigured(proposalId: BigNumberish): Promise; /** * Note: This method will throw an error if invoked on data from an older contract version, * prior to the introduction of external link support. */ isVoteByExpertConfigured(proposalId: BigNumberish): Promise; getVotingSituations(): Promise; getBasicVotingSituationInfo(situationName: string): Promise; /** * Note: This method will throw an error if invoked on data from an older contract version, * prior to the introduction of external link support. */ proposalSituationLink(proposalId: BigNumberish): Promise; /** * Retrieves a list of situation links for proposals. * This method is closely aligned with the getProposalList method. * * Note: This method will throw an error if invoked on data from an older contract version, * prior to the introduction of external link support. */ getProposalSituationLinkList(offset: BigNumberish, limit: BigNumberish): Promise; }