import { Contract , Signer } from "ethers" ; import { Provider } from "ethers/providers" ; import { KingOfTheHill } from "../KingOfTheHill" ; export class KingOfTheHill__factory { static connect ( address , signerOrProvider ) { return new Contract ( address , _abi , signerOrProvider ) as KingOfTheHill ; } } const _abi = [ { inputs : [ ] , stateMutability : "payable" , type : "constructor" , } , { inputs : [ { internalType : "uint256" , name : "value" , type : "uint256" , } , { internalType : "uint256" , name : "highestBidValue" , type : "uint256" , } , ] , name : "BidNotHighEnough" , type : "error" , } , { anonymous : false , inputs : [ { components : [ { internalType : "address payable" , name : "bidder" , type : "address" , } , { internalType : "uint256" , name : "value" , type : "uint256" , } , ] , indexed : false , internalType : "struct KingOfTheHill.Bid" , name : "bid" , type : "tuple" , } , ] , name : "HighestBidIncreased" , type : "event" , } , { inputs : [ ] , name : "bid" , outputs : [ ] , stateMutability : "payable" , type : "function" , } , { inputs : [ ] , name : "highestBid" , outputs : [ { internalType : "address payable" , name : "bidder" , type : "address" , } , { internalType : "uint256" , name : "value" , type : "uint256" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ ] , name : "withdraw" , outputs : [ ] , stateMutability : "nonpayable" , type : "function" , } , ] ;