import { ethers } from 'ethers' import { execute, QueryOption } from '../utils/execute' import { always } from 'ramda' export type CreateNameCaller = ( contract: ethers.Contract, ) => () => Promise export const createNameCaller: CreateNameCaller = (contract: ethers.Contract) => always( execute({ contract, method: 'name', mutation: false, }), )