uor_addr/composition/e8/
model.rs1#![cfg(feature = "alloc")]
4
5use crate::composition::e8::value::E8Carrier;
6#[allow(unused_imports)]
7use crate::composition::e8::verbs::{
8 compose_e8_inference, compose_e8_inference_blake3, compose_e8_inference_keccak256,
9 compose_e8_inference_sha3_256, compose_e8_inference_sha512, VERB_TERMS_COMPOSE_E8_INFERENCE,
10 VERB_TERMS_COMPOSE_E8_INFERENCE_BLAKE3, VERB_TERMS_COMPOSE_E8_INFERENCE_KECCAK256,
11 VERB_TERMS_COMPOSE_E8_INFERENCE_SHA3_256, VERB_TERMS_COMPOSE_E8_INFERENCE_SHA512,
12};
13use crate::label::{
14 CompositionLabelE8Blake3, CompositionLabelE8Keccak256, CompositionLabelE8Sha256,
15 CompositionLabelE8Sha3_256, CompositionLabelE8Sha512,
16};
17
18addr_models! {
19 input: E8Carrier<'a>,
20 {
21 hasher: prism::crypto::Sha256Hasher,
22 bounds: crate::bounds::AddrBounds,
23 shape: CompositionLabelE8Sha256,
24 model: CompositionModelE8Sha256,
25 route: CompositionRouteE8Sha256,
26 verb: compose_e8_inference
27 },
28 {
29 hasher: prism::crypto::Blake3Hasher,
30 bounds: crate::bounds::AddrBounds,
31 shape: CompositionLabelE8Blake3,
32 model: CompositionModelE8Blake3,
33 route: CompositionRouteE8Blake3,
34 verb: compose_e8_inference_blake3
35 },
36 {
37 hasher: prism::crypto::Sha3_256Hasher,
38 bounds: crate::bounds::AddrBounds,
39 shape: CompositionLabelE8Sha3_256,
40 model: CompositionModelE8Sha3_256,
41 route: CompositionRouteE8Sha3_256,
42 verb: compose_e8_inference_sha3_256
43 },
44 {
45 hasher: prism::crypto::Keccak256Hasher,
46 bounds: crate::bounds::AddrBounds,
47 shape: CompositionLabelE8Keccak256,
48 model: CompositionModelE8Keccak256,
49 route: CompositionRouteE8Keccak256,
50 verb: compose_e8_inference_keccak256
51 },
52 {
53 hasher: prism::crypto::Sha512Hasher,
54 bounds: crate::bounds::AddrBounds64,
55 shape: CompositionLabelE8Sha512,
56 model: CompositionModelE8Sha512,
57 route: CompositionRouteE8Sha512,
58 verb: compose_e8_inference_sha512
59 },
60}