import { ethers } from "ethers"; //This will return a string. May need to handle the promise in a different way in order to return an actual bool instead of string export const getHasBeenAdded = async ( reliquaryContract: ethers.Contract, address: string ) => { try { const hasBeenAdded = await reliquaryContract.hasBeenAdded(address); return hasBeenAdded.toString(); } catch (error) { return error; } };