import { atom } from "recoil"; type ProtocolTotals = { emissionRate: number; totalAllocPoints: number; }; /** * store the global emission rate for the Reliquary contract. This is * technically a 'basis_points' value, as we use rewardMultiplier for each reward * to get # tokens */ export const protocolTotalsState = atom({ key: "protocolTotalsState", default: { emissionRate: 0, totalAllocPoints: 0, }, });