Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cardstack/cardstack
/ removeZeroPadding
Function
removeZeroPadding
packages/cardpay-subgraph/src/abi.ts:127–132 ·
view source on GitHub ↗
(hex: string)
Source
from the content-addressed store, hash-verified
125
}
126
127
function
removeZeroPadding(hex: string): string {
128
while
(hex.startsWith(
'0'
)) {
129
hex = hex.slice(1);
130
}
131
return
hex;
132
}
Callers
1
hexToI32
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected