let ty = wasmtime::ArrayType::new(&engine, FieldType::new(Mutability::Var, StorageType::I8));
let (numer, denom) = checked_pair(read_i64(caller, 0)?, read_i64(caller, 1)?, "commodity")?;
/// slot index from [`nomiscript::entity_layout`](fn@nomiscript::entity_layout) (the single source of struct