chia_sdk_driver/primitives/action_layer/
verification_info.rs1use chia_protocol::Bytes32;
2
3use crate::VerifiedData;
4
5#[derive(Debug, Clone, PartialEq, Eq)]
6#[must_use]
7pub struct VerificationInfo {
8 pub launcher_id: Bytes32,
9
10 pub revocation_singleton_launcher_id: Bytes32,
11 pub verified_data: VerifiedData,
12}
13
14impl VerificationInfo {
15 pub fn new(
16 launcher_id: Bytes32,
17 revocation_singleton_launcher_id: Bytes32,
18 verified_data: VerifiedData,
19 ) -> Self {
20 Self {
21 launcher_id,
22 revocation_singleton_launcher_id,
23 verified_data,
24 }
25 }
26}