MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / renderAddress

Function renderAddress

crates/explorer/src/index.js:190–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188};
189
190const renderAddress = addr => {
191 let hex = addr.toString(16);
192 return repeat("0", 8 - hex.length) + hex;
193};
194
195const renderBytes = bytes => {
196 let s = "";

Callers 1

index.jsFile · 0.85

Calls 1

repeatFunction · 0.70

Tested by

no test coverage detected