import { ethers } from 'ethers' import { execute, QueryOption } from '../../common/utils/execute' export type CreateGetPropertyValueCaller = ( contract: ethers.Contract, ) => (address: string) => Promise export const createGetPropertyValueCaller: CreateGetPropertyValueCaller = (contract: ethers.Contract) => async (address: string) => execute({ contract, method: 'getPropertyValue', args: [address], mutation: false, })