import { ethers } from "ethers"; export const massUpdatePools = async ( reliquaryContract: ethers.Contract, pids: number[] ) => { try { const tx = await reliquaryContract.massUpdatePools(pids); await tx.wait(); } catch (error) { return error; } };