import { ethers } from 'ethers' import { execute, QueryOption } from '../../common/utils/execute' export type CreateHoldersShareCaller = ( contract: ethers.Contract, ) => (amount: string, lockups: string) => Promise export const createHoldersShareCaller: CreateHoldersShareCaller = (contract: ethers.Contract) => async (amount: string, lockups: string): Promise => execute({ contract, method: 'holdersShare', args: [amount, lockups], mutation: false, })