Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cardstack/cardstack
/ hexToAddress
Function
hexToAddress
packages/cardpay-subgraph/src/abi.ts:104–106 ·
view source on GitHub ↗
(hex: string)
Source
from the content-addressed store, hash-verified
102
}
103
104
function
hexToAddress(hex: string): Address {
105
return
Address.fromString(toHex(hex.slice(24, 64)));
106
}
107
108
function
bigIntFromHex(hex: string): BigInt {
109
return
bytes.toUnsignedInt(bytesFromHex(hex), true);
Callers
1
decode
Function · 0.85
Calls
1
toHex
Function · 0.90
Tested by
no test coverage detected