MCPcopy Create free account
hub / github.com/ccxt/ccxt / zeroPadValue

Function zeroPadValue

js/src/static_dependencies/ethers/utils/data.js:154–156  ·  view source on GitHub ↗
(data, length)

Source from the content-addressed store, hash-verified

152 * (e.g. ``uint128``).
153 */
154export function zeroPadValue(data, length) {
155 return zeroPad(data, length, true);
156}
157/**
158 * Return the [[DataHexString]] of %%data%% padded on the **right**
159 * to %%length%% bytes.

Callers 6

encodeTopicMethod · 0.90
_packFunction · 0.90
getBaseEncoderFunction · 0.90
encodeTopicMethod · 0.90
getBaseEncoderFunction · 0.90
_packFunction · 0.90

Calls 1

zeroPadFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…