import { BaseContract , BigNumber , BigNumberish , BytesLike , CallOverrides , PopulatedTransaction , Signer , utils , } from "ethers" ; import { FunctionFragment , Result } from "@ethersproject/abi" ; import { Listener , Provider } from "@ethersproject/providers" ; import { TypedEventFilter , TypedEvent , TypedListener , OnEvent } from "./common" ; export interface SafeMathInterface extends utils . Interface { contractName : "SafeMath" ; functions : { "add(uint256,uint256)" : FunctionFragment ; "div(uint256,uint256)" : FunctionFragment ; "mul(uint256,uint256)" : FunctionFragment ; "sub(uint256,uint256)" : FunctionFragment ; } ; encodeFunctionData ( functionFragment , values ) : string ; encodeFunctionData ( functionFragment , values ) : string ; encodeFunctionData ( functionFragment , values ) : string ; encodeFunctionData ( functionFragment , values ) : string ; decodeFunctionResult ( functionFragment , data ) : Result ; decodeFunctionResult ( functionFragment , data ) : Result ; decodeFunctionResult ( functionFragment , data ) : Result ; decodeFunctionResult ( functionFragment , data ) : Result ; events : { } ; } export interface SafeMath extends BaseContract { contractName : "SafeMath" ; connect ( signerOrProvider ) : this ; attach ( addressOrName ) : this ; deployed ( ) : Promise < this > ; interface : SafeMathInterface ; 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 : { add ( num1 , num2 , overrides ? ) : Promise < [ BigNumber ] > ; div ( num1 , num2 , overrides ? ) : Promise < [ BigNumber ] > ; mul ( num1 , num2 , overrides ? ) : Promise < [ BigNumber ] > ; sub ( num1 , num2 , overrides ? ) : Promise < [ BigNumber ] > ; } ; add ( num1 , num2 , overrides ? ) : Promise < BigNumber > ; div ( num1 , num2 , overrides ? ) : Promise < BigNumber > ; mul ( num1 , num2 , overrides ? ) : Promise < BigNumber > ; sub ( num1 , num2 , overrides ? ) : Promise < BigNumber > ; callStatic : { add ( num1 , num2 , overrides ? ) : Promise < BigNumber > ; div ( num1 , num2 , overrides ? ) : Promise < BigNumber > ; mul ( num1 , num2 , overrides ? ) : Promise < BigNumber > ; sub ( num1 , num2 , overrides ? ) : Promise < BigNumber > ; } ; filters : { } ; estimateGas : { add ( num1 , num2 , overrides ? ) : Promise < BigNumber > ; div ( num1 , num2 , overrides ? ) : Promise < BigNumber > ; mul ( num1 , num2 , overrides ? ) : Promise < BigNumber > ; sub ( num1 , num2 , overrides ? ) : Promise < BigNumber > ; } ; populateTransaction : { add ( num1 , num2 , overrides ? ) : Promise < PopulatedTransaction > ; div ( num1 , num2 , overrides ? ) : Promise < PopulatedTransaction > ; mul ( num1 , num2 , overrides ? ) : Promise < PopulatedTransaction > ; sub ( num1 , num2 , overrides ? ) : Promise < PopulatedTransaction > ; } ; }