import { ethers } from "ethers"; export const grantRole = async ( reliquaryContract: ethers.Contract, role: any, account: string ) => { try { const tx = await reliquaryContract.grantRole(role, account); await tx.wait(); } catch (error) { return error; } };