CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
26 namespace catapult {
namespace model {
31 #define DEFINE_ACCOUNT_RESTRICTION_NOTIFICATION(DESCRIPTION, CODE, CHANNEL) \
32 DEFINE_NOTIFICATION_TYPE(CHANNEL, RestrictionAccount, DESCRIPTION, CODE)
55 #undef DEFINE_ACCOUNT_RESTRICTION_NOTIFICATION
84 template<
typename TRestrictionValue, NotificationType RestrictionAccount_Notification_Type>
126 template<
typename TRestrictionValue, NotificationType RestrictionAccount_Notification_Type>
137 uint8_t modificationsCount,
162 RestrictionAccount_Address_Modifications_Notification>;
165 RestrictionAccount_Mosaic_Modifications_Notification>;
168 RestrictionAccount_Operation_Modifications_Notification>;
DEFINE_ACCOUNT_RESTRICTION_NOTIFICATION(Type, 0x0001, Validator)
Account restriction type.
utils::ByteArray< Address_Decoded_Size, UnresolvedAddress_tag > UnresolvedAddress
Definition: src/catapult/types.h:66
ModifyAccountRestrictionValueNotification(const Key &key, AccountRestrictionType restrictionType, const AccountRestrictionModification< TRestrictionValue > &modification)
Creates a notification around key, restrictionType and modification.
Definition: AccountRestrictionNotifications.h:92
AccountRestrictionTypeNotification(model::AccountRestrictionType restrictionType)
Creates a notification around restrictionType.
Definition: AccountRestrictionNotifications.h:69
ModifyAccountRestrictionNotification(const Key &key, AccountRestrictionType restrictionType, uint8_t modificationsCount, const AccountRestrictionModification< TRestrictionValue > *pModifications)
Creates a notification around key, restrictionType, modificationsCount and pModifications.
Definition: AccountRestrictionNotifications.h:134
AccountRestrictionType
Account restriction types.
Definition: AccountRestrictionTypes.h:31
model::AccountRestrictionType AccountRestrictionType
Account restriction type.
Definition: AccountRestrictionNotifications.h:76
Account restriction descriptor.
Definition: AccountRestrictionDescriptor.h:37
EntityType
Enumeration of entity types.
Definition: EntityType.h:43
const AccountRestrictionModification< TRestrictionValue > * ModificationsPtr
Const pointer to the first modification.
Definition: AccountRestrictionNotifications.h:157
ModifyAccountRestrictionNotification< EntityType, RestrictionAccount_Operation_Modifications_Notification > ModifyAccountOperationRestrictionNotification
Definition: AccountRestrictionNotifications.h:168
utils::BaseValue< uint64_t, UnresolvedMosaicId_tag > UnresolvedMosaicId
Definition: src/catapult/types.h:82
uint8_t ModificationsCount
Number of modifications.
Definition: AccountRestrictionNotifications.h:154
AccountRestrictionModification< TRestrictionValue > Modification
Definition: AccountRestrictionNotifications.h:111
catapult::Key Key
Account's public key.
Definition: AccountRestrictionNotifications.h:148
ModifyAccountRestrictionNotification< UnresolvedMosaicId, RestrictionAccount_Mosaic_Modifications_Notification > ModifyAccountMosaicRestrictionNotification
Definition: AccountRestrictionNotifications.h:165
state::AccountRestrictionDescriptor AccountRestrictionDescriptor
Account restriction descriptor.
Definition: AccountRestrictionNotifications.h:151
Notification of an account restriction value modification.
Definition: AccountRestrictionNotifications.h:85
static constexpr auto Notification_Type
Matching notification type.
Definition: AccountRestrictionNotifications.h:130
catapult::Key Key
Account's public key.
Definition: AccountRestrictionNotifications.h:104
ModifyAccountRestrictionNotification< UnresolvedAddress, RestrictionAccount_Address_Modifications_Notification > ModifyAccountAddressRestrictionNotification
Definition: AccountRestrictionNotifications.h:162
static constexpr auto Notification_Type
Matching notification type.
Definition: AccountRestrictionNotifications.h:88
A basic notification.
Definition: Notifications.h:36
Notification of an account restriction modification.
Definition: AccountRestrictionNotifications.h:127
Definition: AddressExtractionExtension.cpp:28
Binary layout for an account restriction modification.
Definition: AccountRestrictionTypes.h:61
DEFINE_ACCOUNT_RESTRICTION_MODIFICATION_TYPE_VALIDATOR(AccountAddressRestrictionModificationTypes, model::ModifyAccountAddressRestrictionNotification, UnresolvedAddress) DEFINE_ACCOUNT_RESTRICTION_MODIFICATION_TYPE_VALIDATOR(AccountMosaicRestrictionModificationTypes
static constexpr auto Notification_Type
Matching notification type.
Definition: AccountRestrictionNotifications.h:65
Notification of an account restriction type.
Definition: AccountRestrictionNotifications.h:62
state::AccountRestrictionDescriptor AccountRestrictionDescriptor
Account restriction descriptor.
Definition: AccountRestrictionNotifications.h:107
UnresolvedMosaicId
Definition: AccountRestrictionRedundantModificationValidator.cpp:78