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

Function quote

ses.cjs:1484–1490  ·  view source on GitHub ↗
(payload, spaces=  undefined)

Source from the content-addressed store, hash-verified

1482
1483/** @type {AssertQuote} */
1484const quote= (payload, spaces= undefined)=> {
1485 const result= freeze({
1486 toString: freeze(()=> bestEffortStringify(payload, spaces))});
1487
1488 weakmapSet(declassifiers, result, payload);
1489 return result;
1490 };
1491freeze(quote);
1492
1493const canBeBare= freeze(/^[\w:-]( ?[\w:-])*$/);

Callers 5

bareFunction · 0.85
unredactedDetailsFunction · 0.85
makeErrorFunction · 0.85
noteFunction · 0.85
assertTypeofFunction · 0.85

Calls 1

bestEffortStringifyFunction · 0.85

Tested by

no test coverage detected