CatapultServer  v0.5.0.1 (Elephant)
AccountRestrictionTransactionPlugin.h
Go to the documentation of this file.
1 
21 #pragma once
22 #include "catapult/plugins.h"
23 #include <memory>
24 
25 namespace catapult { namespace model { class TransactionPlugin; } }
26 
27 namespace catapult { namespace plugins {
28 
31  std::unique_ptr<model::TransactionPlugin> CreateAccountAddressRestrictionTransactionPlugin();
32 
35  std::unique_ptr<model::TransactionPlugin> CreateAccountMosaicRestrictionTransactionPlugin();
36 
39  std::unique_ptr<model::TransactionPlugin> CreateAccountOperationRestrictionTransactionPlugin();
40 }}
catapult::model::TransactionPluginFactoryOptions::Default
Transaction supports both top-level and embedding.
AccountRestrictionTransactionPlugin.h
catapult::UnresolvedAddress
utils::ByteArray< Address_Decoded_Size, UnresolvedAddress_tag > UnresolvedAddress
Definition: src/catapult/types.h:66
AccountOperationRestrictionTransaction.h
catapult::model::NotificationSubscriber
A notification subscriber.
Definition: NotificationSubscriber.h:27
NotificationSubscriber.h
AccountMosaicRestrictionTransaction.h
catapult::model::EntityType
EntityType
Enumeration of entity types.
Definition: EntityType.h:43
catapult::model::ModifyAccountOperationRestrictionNotification
ModifyAccountRestrictionNotification< EntityType, RestrictionAccount_Operation_Modifications_Notification > ModifyAccountOperationRestrictionNotification
Definition: AccountRestrictionNotifications.h:168
catapult::model::ModifyAccountAddressRestrictionValueNotification
ModifyAccountRestrictionValueNotification< UnresolvedAddress, RestrictionAccount_Address_Modification_Notification > ModifyAccountAddressRestrictionValueNotification
Definition: AccountRestrictionNotifications.h:115
catapult::UnresolvedMosaicId
utils::BaseValue< uint64_t, UnresolvedMosaicId_tag > UnresolvedMosaicId
Definition: src/catapult/types.h:82
catapult::plugins::CreateAccountMosaicRestrictionTransactionPlugin
PLUGIN_API std::unique_ptr< model::TransactionPlugin > CreateAccountMosaicRestrictionTransactionPlugin()
Creates an account mosaic restriction transaction plugin.
catapult::model::ModifyAccountOperationRestrictionValueNotification
ModifyAccountRestrictionValueNotification< EntityType, RestrictionAccount_Operation_Modification_Notification > ModifyAccountOperationRestrictionValueNotification
Definition: AccountRestrictionNotifications.h:119
catapult::model
Definition: AddressExtractor.h:26
catapult::model::ModifyAccountMosaicRestrictionNotification
ModifyAccountRestrictionNotification< UnresolvedMosaicId, RestrictionAccount_Mosaic_Modifications_Notification > ModifyAccountMosaicRestrictionNotification
Definition: AccountRestrictionNotifications.h:165
DEFINE_TRANSACTION_PLUGIN_FACTORY
#define DEFINE_TRANSACTION_PLUGIN_FACTORY(NAME, OPTIONS, PUBLISH)
Defines a transaction plugin factory for NAME transaction with OPTIONS using PUBLISH.
Definition: TransactionPluginFactory.h:147
TransactionPluginFactory.h
catapult::model::AccountRestrictionType::MosaicId
Account restriction type is a mosaic id.
catapult::model::AccountRestrictionModification::ModificationType
AccountRestrictionModificationType ModificationType
Modification type.
Definition: AccountRestrictionTypes.h:64
catapult::model::ModifyAccountRestrictionValueNotification
Notification of an account restriction value modification.
Definition: AccountRestrictionNotifications.h:85
plugins.h
PLUGIN_API
#define PLUGIN_API
Definition: plugins.h:30
catapult::plugins::CreateAccountOperationRestrictionTransactionPlugin
PLUGIN_API std::unique_ptr< model::TransactionPlugin > CreateAccountOperationRestrictionTransactionPlugin()
Creates an account operation restriction transaction plugin.
AccountRestrictionNotifications.h
catapult::model::ModifyAccountAddressRestrictionNotification
ModifyAccountRestrictionNotification< UnresolvedAddress, RestrictionAccount_Address_Modifications_Notification > ModifyAccountAddressRestrictionNotification
Definition: AccountRestrictionNotifications.h:162
catapult::plugins::CreateAccountAddressRestrictionTransactionPlugin
PLUGIN_API std::unique_ptr< model::TransactionPlugin > CreateAccountAddressRestrictionTransactionPlugin()
Creates an account address restriction transaction plugin.
AccountAddressRestrictionTransaction.h
catapult::model::ModifyAccountRestrictionNotification
Notification of an account restriction modification.
Definition: AccountRestrictionNotifications.h:127
catapult
Definition: AddressExtractionExtension.cpp:28
catapult::model::AccountRestrictionModification
Binary layout for an account restriction modification.
Definition: AccountRestrictionTypes.h:61
catapult::model::AccountRestrictionType::Address
Account restriction type is an address.
catapult::model::NotificationSubscriber::notify
virtual void notify(const Notification &notification)=0
Notifies the subscriber of notification.
catapult::model::AccountRestrictionTypeNotification
Notification of an account restriction type.
Definition: AccountRestrictionNotifications.h:62
catapult::model::ModifyAccountMosaicRestrictionValueNotification
ModifyAccountRestrictionValueNotification< UnresolvedMosaicId, RestrictionAccount_Mosaic_Modification_Notification > ModifyAccountMosaicRestrictionValueNotification
Definition: AccountRestrictionNotifications.h:117