MCPcopy Create free account
hub / github.com/AmazingAng/PolyWorld / proxyLocalStorageKey

Function proxyLocalStorageKey

src/lib/tradeAuth.ts:27–29  ·  view source on GitHub ↗
(eoa: string)

Source from the content-addressed store, hash-verified

25const CLOB_MSG = "This message attests that I control the given wallet";
26
27function proxyLocalStorageKey(eoa: string): string {
28 return `pw:proxy:${eoa.toLowerCase()}`;
29}
30
31const SESSION_KEY = (eoa: string) => `pw:session:${eoa.toLowerCase()}`;
32const APPROVED_KEY = (proxy: string) => `pw:approved:${proxy.toLowerCase()}`;

Callers 2

getCachedProxyWalletFunction · 0.85
setCachedProxyWalletFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected