uor_addr/composition/e6/
model.rs1#![cfg(feature = "alloc")]
4
5use crate::composition::e6::value::E6Carrier;
6#[allow(unused_imports)]
7use crate::composition::e6::verbs::{
8 compose_e6_inference, compose_e6_inference_blake3, compose_e6_inference_keccak256,
9 compose_e6_inference_sha3_256, compose_e6_inference_sha512, VERB_TERMS_COMPOSE_E6_INFERENCE,
10 VERB_TERMS_COMPOSE_E6_INFERENCE_BLAKE3, VERB_TERMS_COMPOSE_E6_INFERENCE_KECCAK256,
11 VERB_TERMS_COMPOSE_E6_INFERENCE_SHA3_256, VERB_TERMS_COMPOSE_E6_INFERENCE_SHA512,
12};
13use crate::label::{
14 CompositionLabelE6Blake3, CompositionLabelE6Keccak256, CompositionLabelE6Sha256,
15 CompositionLabelE6Sha3_256, CompositionLabelE6Sha512,
16};
17
18addr_models! {
19 input: E6Carrier<'a>,
20 {
21 hasher: prism::crypto::Sha256Hasher,
22 bounds: crate::bounds::AddrBounds,
23 shape: CompositionLabelE6Sha256,
24 model: CompositionModelE6Sha256,
25 route: CompositionRouteE6Sha256,
26 verb: compose_e6_inference
27 },
28 {
29 hasher: prism::crypto::Blake3Hasher,
30 bounds: crate::bounds::AddrBounds,
31 shape: CompositionLabelE6Blake3,
32 model: CompositionModelE6Blake3,
33 route: CompositionRouteE6Blake3,
34 verb: compose_e6_inference_blake3
35 },
36 {
37 hasher: prism::crypto::Sha3_256Hasher,
38 bounds: crate::bounds::AddrBounds,
39 shape: CompositionLabelE6Sha3_256,
40 model: CompositionModelE6Sha3_256,
41 route: CompositionRouteE6Sha3_256,
42 verb: compose_e6_inference_sha3_256
43 },
44 {
45 hasher: prism::crypto::Keccak256Hasher,
46 bounds: crate::bounds::AddrBounds,
47 shape: CompositionLabelE6Keccak256,
48 model: CompositionModelE6Keccak256,
49 route: CompositionRouteE6Keccak256,
50 verb: compose_e6_inference_keccak256
51 },
52 {
53 hasher: prism::crypto::Sha512Hasher,
54 bounds: crate::bounds::AddrBounds64,
55 shape: CompositionLabelE6Sha512,
56 model: CompositionModelE6Sha512,
57 route: CompositionRouteE6Sha512,
58 verb: compose_e6_inference_sha512
59 },
60}