import { Contract , Signer } from "ethers" ; import { Provider } from "@ethersproject/providers" ; import type { IProposalValidator } from "../IProposalValidator" ; export class IProposalValidator__factory { static connect ( address , signerOrProvider ) { return new Contract ( address , _abi , signerOrProvider ) as IProposalValidator ; } } const _abi = [ { inputs : [ ] , name : "MINIMUM_QUORUM" , outputs : [ { internalType : "uint256" , name : "" , type : "uint256" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ ] , name : "ONE_HUNDRED_WITH_PRECISION" , outputs : [ { internalType : "uint256" , name : "" , type : "uint256" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ ] , name : "PROPOSITION_THRESHOLD" , outputs : [ { internalType : "uint256" , name : "" , type : "uint256" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ ] , name : "VOTE_DIFFERENTIAL" , outputs : [ { internalType : "uint256" , name : "" , type : "uint256" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ ] , name : "VOTING_DURATION" , outputs : [ { internalType : "uint256" , name : "" , type : "uint256" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ { internalType : "contract IAaveGovernanceV2" , name : "governance" , type : "address" , } , { internalType : "uint256" , name : "blockNumber" , type : "uint256" , } , ] , name : "getMinimumPropositionPowerNeeded" , outputs : [ { internalType : "uint256" , name : "" , type : "uint256" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ { internalType : "uint256" , name : "votingSupply" , type : "uint256" , } , ] , name : "getMinimumVotingPowerNeeded" , outputs : [ { internalType : "uint256" , name : "" , type : "uint256" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ { internalType : "contract IAaveGovernanceV2" , name : "governance" , type : "address" , } , { internalType : "uint256" , name : "proposalId" , type : "uint256" , } , ] , name : "isProposalPassed" , outputs : [ { internalType : "bool" , name : "" , type : "bool" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ { internalType : "contract IAaveGovernanceV2" , name : "governance" , type : "address" , } , { internalType : "address" , name : "user" , type : "address" , } , { internalType : "uint256" , name : "blockNumber" , type : "uint256" , } , ] , name : "isPropositionPowerEnough" , outputs : [ { internalType : "bool" , name : "" , type : "bool" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ { internalType : "contract IAaveGovernanceV2" , name : "governance" , type : "address" , } , { internalType : "uint256" , name : "proposalId" , type : "uint256" , } , ] , name : "isQuorumValid" , outputs : [ { internalType : "bool" , name : "" , type : "bool" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ { internalType : "contract IAaveGovernanceV2" , name : "governance" , type : "address" , } , { internalType : "uint256" , name : "proposalId" , type : "uint256" , } , ] , name : "isVoteDifferentialValid" , outputs : [ { internalType : "bool" , name : "" , type : "bool" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ { internalType : "contract IAaveGovernanceV2" , name : "governance" , type : "address" , } , { internalType : "address" , name : "user" , type : "address" , } , { internalType : "uint256" , name : "blockNumber" , type : "uint256" , } , ] , name : "validateCreatorOfProposal" , outputs : [ { internalType : "bool" , name : "" , type : "bool" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ { internalType : "contract IAaveGovernanceV2" , name : "governance" , type : "address" , } , { internalType : "address" , name : "user" , type : "address" , } , { internalType : "uint256" , name : "blockNumber" , type : "uint256" , } , ] , name : "validateProposalCancellation" , outputs : [ { internalType : "bool" , name : "" , type : "bool" , } , ] , stateMutability : "view" , type : "function" , } , ] ;