import type { TypedEventFilter , TypedEvent , TypedListener , OnEvent , } from "./common" ; import { FunctionFragment , EventFragment , Result } from "@ethersproject/abi" ; import { BytesLike } from "@ethersproject/bytes" ; import { Listener , Provider } from "@ethersproject/providers" ; import { ethers , EventFilter , Signer , BigNumber , BigNumberish , PopulatedTransaction , BaseContract , ContractTransaction , Overrides , CallOverrides , } from "ethers" ; export interface BoxV2Interface extends ethers . utils . Interface { functions : { "increment()" : FunctionFragment ; "retrieve()" : FunctionFragment ; "store(uint256)" : FunctionFragment ; } ; encodeFunctionData ( functionFragment , values ? ) : string ; encodeFunctionData ( functionFragment , values ? ) : string ; encodeFunctionData ( functionFragment , values ) : string ; decodeFunctionResult ( functionFragment , data ) : Result ; decodeFunctionResult ( functionFragment , data ) : Result ; decodeFunctionResult ( functionFragment , data ) : Result ; events : { "ValueChanged(uint256)" : EventFragment ; } ; getEvent ( nameOrSignatureOrTopic ) : EventFragment ; } export type ValueChangedEvent = TypedEvent < [ BigNumber ] , { value : BigNumber ; } > ; export type ValueChangedEventFilter = TypedEventFilter < ValueChangedEvent > ; export interface BoxV2 extends BaseContract { connect ( signerOrProvider ) : this ; attach ( addressOrName ) : this ; deployed ( ) : Promise < this > ; interface : BoxV2Interface ; queryFilter < TEvent extends TypedEvent > ( event , fromBlockOrBlockhash ? , toBlock ? ) : Promise < Array < TEvent > > ; listeners < TEvent extends TypedEvent > ( eventFilter ? ) : Array < TypedListener < TEvent > > ; listeners ( eventName ? ) : Array < Listener > ; removeAllListeners < TEvent extends TypedEvent > ( eventFilter ) : this ; removeAllListeners ( eventName ? ) : this ; off : OnEvent < this > ; on : OnEvent < this > ; once : OnEvent < this > ; removeListener : OnEvent < this > ; functions : { increment ( overrides ? ) : Promise < ContractTransaction > ; retrieve ( overrides ? ) : Promise < [ BigNumber ] > ; store ( value , overrides ? ) : Promise < ContractTransaction > ; } ; increment ( overrides ? ) : Promise < ContractTransaction > ; retrieve ( overrides ? ) : Promise < BigNumber > ; store ( value , overrides ? ) : Promise < ContractTransaction > ; callStatic : { increment ( overrides ? ) : Promise < void > ; retrieve ( overrides ? ) : Promise < BigNumber > ; store ( value , overrides ? ) : Promise < void > ; } ; filters : { "ValueChanged(uint256)" ( value ? ) : ValueChangedEventFilter ; ValueChanged ( value ? ) : ValueChangedEventFilter ; } ; estimateGas : { increment ( overrides ? ) : Promise < BigNumber > ; retrieve ( overrides ? ) : Promise < BigNumber > ; store ( value , overrides ? ) : Promise < BigNumber > ; } ; populateTransaction : { increment ( overrides ? ) : Promise < PopulatedTransaction > ; retrieve ( overrides ? ) : Promise < PopulatedTransaction > ; store ( value , overrides ? ) : Promise < PopulatedTransaction > ; } ; }