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