import { Signer , Contract , ContractFactory , Overrides } from "ethers" ; import { Provider , TransactionRequest } from "@ethersproject/providers" ; import type { HookMock } from "../HookMock" ; export class HookMock__factory extends ContractFactory { constructor ( signer ? ) { super ( _abi , _bytecode , signer ) ; } deploy ( overrides ? ) { return super . deploy ( overrides || { } ) as Promise < HookMock > ; } getDeployTransaction ( overrides ? ) { return super . getDeployTransaction ( overrides || { } ) ; } attach ( address ) { return super . attach ( address ) as HookMock ; } connect ( signer ) { return super . connect ( signer ) as HookMock__factory ; } static connect ( address , signerOrProvider ) { return new Contract ( address , _abi , signerOrProvider ) as HookMock ; } } const _abi = [ { inputs : [ { internalType : "uint256" , name : "_num" , type : "uint256" , } , ] , name : "onHookMockCall" , outputs : [ { internalType : "uint256" , name : "" , type : "uint256" , } , ] , stateMutability : "pure" , type : "function" , } , ] ; const _bytecode = "0x6080604052348015600f57600080fd5b5060958061001e6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c8063b68fe6cf14602d575b600080fd5b604760048036036020811015604157600080fd5b50356059565b60408051918252519081900360200190f35b6002029056fea264697066735822122029a1e312dcefda1bc536e0d465373c6d97a053313911fb1a8d3e3c7806aeac1764736f6c63430007060033" ;