MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / methodEntry

Function methodEntry

ses.cjs:7232–7235  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

7230// Before that matters, we should switch to a reasonable representation.
7231const safeV8CallSiteFacet= (callSite)=>{
7232 const methodEntry= (name)=>{
7233 const method= callSite[name];
7234 return [name, ()=> apply(method, callSite, [])];
7235 };
7236 const o= fromEntries(arrayMap(safeV8CallSiteMethodNames, methodEntry));
7237 return create(o, {});
7238 };

Callers

nothing calls this directly

Calls 1

applyFunction · 0.85

Tested by

no test coverage detected