MCPcopy Create free account
hub / github.com/wevm/viem / resetCache

Function resetCache

src/utils/nonceManager.ts:53–56  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

51 const getKey = ({ address, chainId }: FunctionParameters) =>
52 `${address}.${chainId}`
53 const resetCache = (key: string) => {
54 deltaMap.delete(key)
55 promiseMap.delete(key)
56 }
57
58 return {
59 async consume({ address, chainId, client }) {

Callers 2

getFunction · 0.85
resetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected