import { ethers } from "ethers"; export const getRewarder = async ( reliquaryContract: ethers.Contract, input: number ) => { try { const rewarderAddress = await reliquaryContract.rewarder(input); return rewarderAddress.toString(); } catch (error) { return error; } };