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

Function defn_const

crates/ixon/src/serialize.rs:2422–2424  ·  view source on GitHub ↗
(refs: Vec<Address>)

Source from the content-addressed store, hash-verified

2420 let addr = get_address(buf)?;
2421 let len = Tag0::get(buf)?.size as usize;
2422 if buf.len() < len {
2423 return Err(format!(
2424 "Env::get_anon: need {} bytes for constant, have {}",
2425 len,
2426 buf.len()
2427 ));

Calls 1

defn_const_discriminatorFunction · 0.85