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