iota_types/account_abstraction/
account.rs1use iota_sdk_types::Identifier;
5use serde::{Deserialize, Serialize};
6
7pub const ACCOUNT_MODULE_NAME: Identifier = Identifier::from_static("account");
8pub const AUTHENTICATOR_FUNCTION_REF_V1_KEY_STRUCT_NAME: Identifier =
9 Identifier::from_static("AuthenticatorFunctionRefV1Key");
10
11#[derive(Debug, Default, Serialize, Deserialize, Clone, Eq, PartialEq)]
12pub struct AuthenticatorFunctionRefV1Key {
13 dummy_field: bool,
17}
18
19impl AuthenticatorFunctionRefV1Key {
20 pub fn to_bcs_bytes(&self) -> Vec<u8> {
21 bcs::to_bytes(&self).unwrap()
22 }
23}