import { ethers } from "ethers"; export const getOperatorRole = async (reliquaryContract: ethers.Contract) => { try { const operatorRoleInBytes = await reliquaryContract.OPERATOR(); return operatorRoleInBytes.toString(); } catch (error) { return error; } };