import { ethers } from 'ethers' import { execute, QueryOption } from '../../common/utils/execute' export type CreateGetStorageWithdrawalStatusCaller = ( contract: ethers.Contract, ) => (propertyAddress: string, accountAddress: string) => Promise export const createGetStorageWithdrawalStatusCaller: CreateGetStorageWithdrawalStatusCaller = (contract: ethers.Contract) => async (propertyAddress: string, accountAddress: string) => execute({ contract, method: 'getStorageWithdrawalStatus', args: [propertyAddress, accountAddress], mutation: false, })