MCPcopy Create free account
hub / github.com/argumentcomputer/ix / mk_addr

Function mk_addr

crates/kernel/src/constant.rs:163–165  ·  view source on GitHub ↗
(s: &str)

Source from the content-addressed store, hash-verified

161
162 fn sort0() -> KExpr<Anon> {
163 KExpr::sort(KUniv::zero())
164 }
165 fn mk_addr(s: &str) -> Address {
166 Address::hash(s.as_bytes())
167 }
168

Callers 3

defn_accessorsFunction · 0.70
ctor_accessorsFunction · 0.70
indc_accessorsFunction · 0.70

Calls 1

as_bytesMethod · 0.80

Tested by 3

defn_accessorsFunction · 0.56
ctor_accessorsFunction · 0.56
indc_accessorsFunction · 0.56