import { Contract , Signer } from "ethers" ; import { Provider } from "@ethersproject/providers" ; import type { IERC20Wrapper } from "../IERC20Wrapper" ; export class IERC20Wrapper__factory { static connect ( address , signerOrProvider ) { return new Contract ( address , _abi , signerOrProvider ) as IERC20Wrapper ; } } const _abi = [ { anonymous : false , inputs : [ { indexed : true , internalType : "address" , name : "_owner" , type : "address" , } , { indexed : true , internalType : "address" , name : "_operator" , type : "address" , } , { indexed : false , internalType : "bool" , name : "_approved" , type : "bool" , } , ] , name : "ApprovalForAll" , type : "event" , } , { anonymous : false , inputs : [ { indexed : true , internalType : "address" , name : "_operator" , type : "address" , } , { indexed : true , internalType : "address" , name : "_from" , type : "address" , } , { indexed : true , internalType : "address" , name : "_to" , type : "address" , } , { indexed : false , internalType : "uint256[]" , name : "_ids" , type : "uint256[]" , } , { indexed : false , internalType : "uint256[]" , name : "_amounts" , type : "uint256[]" , } , ] , name : "TransferBatch" , type : "event" , } , { anonymous : false , inputs : [ { indexed : true , internalType : "address" , name : "_operator" , type : "address" , } , { indexed : true , internalType : "address" , name : "_from" , type : "address" , } , { indexed : true , internalType : "address" , name : "_to" , type : "address" , } , { indexed : false , internalType : "uint256" , name : "_id" , type : "uint256" , } , { indexed : false , internalType : "uint256" , name : "_amount" , type : "uint256" , } , ] , name : "TransferSingle" , type : "event" , } , { inputs : [ { internalType : "address" , name : "_owner" , type : "address" , } , { internalType : "uint256" , name : "_id" , type : "uint256" , } , ] , name : "balanceOf" , outputs : [ { internalType : "uint256" , name : "" , type : "uint256" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ { internalType : "address[]" , name : "_owners" , type : "address[]" , } , { internalType : "uint256[]" , name : "_ids" , type : "uint256[]" , } , ] , name : "balanceOfBatch" , outputs : [ { internalType : "uint256[]" , name : "" , type : "uint256[]" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ { internalType : "address" , name : "_token" , type : "address" , } , { internalType : "address" , name : "_recipient" , type : "address" , } , { internalType : "uint256" , name : "_value" , type : "uint256" , } , ] , name : "deposit" , outputs : [ ] , stateMutability : "payable" , type : "function" , } , { inputs : [ { internalType : "uint256" , name : "_id" , type : "uint256" , } , ] , name : "getIdAddress" , outputs : [ { internalType : "address" , name : "token" , type : "address" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ ] , name : "getNTokens" , outputs : [ ] , stateMutability : "view" , type : "function" , } , { inputs : [ { internalType : "address" , name : "_token" , type : "address" , } , ] , name : "getTokenID" , outputs : [ { internalType : "uint256" , name : "tokenID" , type : "uint256" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ { internalType : "address" , name : "_owner" , type : "address" , } , { internalType : "address" , name : "_operator" , type : "address" , } , ] , name : "isApprovedForAll" , outputs : [ { internalType : "bool" , name : "isOperator" , type : "bool" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ { internalType : "address" , name : "_operator" , type : "address" , } , { internalType : "address payable" , name : "_from" , type : "address" , } , { internalType : "uint256[]" , name : "_ids" , type : "uint256[]" , } , { internalType : "uint256[]" , name : "_values" , type : "uint256[]" , } , { internalType : "bytes" , name : "_data" , type : "bytes" , } , ] , name : "onERC1155BatchReceived" , outputs : [ { internalType : "bytes4" , name : "" , type : "bytes4" , } , ] , stateMutability : "nonpayable" , type : "function" , } , { inputs : [ { internalType : "address" , name : "_operator" , type : "address" , } , { internalType : "address payable" , name : "_from" , type : "address" , } , { internalType : "uint256" , name : "_id" , type : "uint256" , } , { internalType : "uint256" , name : "_value" , type : "uint256" , } , { internalType : "bytes" , name : "_data" , type : "bytes" , } , ] , name : "onERC1155Received" , outputs : [ { internalType : "bytes4" , name : "" , type : "bytes4" , } , ] , stateMutability : "nonpayable" , type : "function" , } , { inputs : [ { internalType : "address" , name : "_from" , type : "address" , } , { internalType : "address" , name : "_to" , type : "address" , } , { internalType : "uint256[]" , name : "_ids" , type : "uint256[]" , } , { internalType : "uint256[]" , name : "_amounts" , type : "uint256[]" , } , { internalType : "bytes" , name : "_data" , type : "bytes" , } , ] , name : "safeBatchTransferFrom" , outputs : [ ] , stateMutability : "nonpayable" , type : "function" , } , { inputs : [ { internalType : "address" , name : "_from" , type : "address" , } , { internalType : "address" , name : "_to" , type : "address" , } , { internalType : "uint256" , name : "_id" , type : "uint256" , } , { internalType : "uint256" , name : "_amount" , type : "uint256" , } , { internalType : "bytes" , name : "_data" , type : "bytes" , } , ] , name : "safeTransferFrom" , outputs : [ ] , stateMutability : "nonpayable" , type : "function" , } , { inputs : [ { internalType : "address" , name : "_operator" , type : "address" , } , { internalType : "bool" , name : "_approved" , type : "bool" , } , ] , name : "setApprovalForAll" , outputs : [ ] , stateMutability : "nonpayable" , type : "function" , } , { inputs : [ { internalType : "bytes4" , name : "_interfaceId" , type : "bytes4" , } , ] , name : "supportsInterface" , outputs : [ { internalType : "bool" , name : "" , type : "bool" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ { internalType : "address" , name : "_token" , type : "address" , } , { internalType : "address payable" , name : "_to" , type : "address" , } , { internalType : "uint256" , name : "_value" , type : "uint256" , } , ] , name : "withdraw" , outputs : [ ] , stateMutability : "nonpayable" , type : "function" , } , { stateMutability : "payable" , type : "receive" , } , ] ;