From 942c318529f6ffcd5e27e83a595aa11a23b68200 Mon Sep 17 00:00:00 2001 From: Ashutosh Varma Date: Tue, 24 Oct 2023 12:31:08 +0530 Subject: [PATCH] feat: add docstring in type --- chain-extensions/types/unified-accounts/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chain-extensions/types/unified-accounts/src/lib.rs b/chain-extensions/types/unified-accounts/src/lib.rs index e4de735925..7371e3a9e0 100644 --- a/chain-extensions/types/unified-accounts/src/lib.rs +++ b/chain-extensions/types/unified-accounts/src/lib.rs @@ -37,6 +37,10 @@ pub enum Command { #[derive(Debug, Copy, Clone, PartialEq, Eq, Encode, Decode, MaxEncodedLen)] #[cfg_attr(feature = "std", derive(scale_info::TypeInfo))] pub enum UnifiedAddress { + /// The address fetched from the mappings and the account + /// is unified Mapped(T), + /// The default address associated with account as there + /// is no mapping found and accounts are not unified Default(T), }