function setEraCacheimport { setEraCache } from "https://deno.land/x/polkadot@0.2.38/api-derive/staking/cache.ts"; setEraCache<T extends { era: EraIndex; }>(cacheKey: string,withActive: boolean,value: T,): TType ParametersT extends { era: EraIndex; }ParameterscacheKey: stringwithActive: booleanvalue: TReturnsT