CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
26 namespace catapult {
namespace builders {
31 using Transaction = model::AccountMosaicRestrictionTransaction;
52 std::unique_ptr<Transaction>
build()
const;
58 template<
typename TTransaction>
61 template<
typename TTransaction>
62 std::unique_ptr<TTransaction>
buildImpl()
const;
std::vector< model::AccountMosaicRestrictionModification > m_modifications
Definition: AccountMosaicRestrictionBuilder.h:66
std::unique_ptr< TTransaction > buildImpl() const
const Key & signer() const
Returns signer.
Definition: TransactionBuilder.h:41
AccountMosaicRestrictionBuilder(model::NetworkIdentifier networkIdentifier, const Key &signer)
Definition: AccountMosaicRestrictionBuilder.cpp:25
AccountRestrictionType
Account restriction types.
Definition: AccountRestrictionTypes.h:31
size_t sizeImpl() const
Definition: AccountMosaicRestrictionBuilder.cpp:52
model::AccountRestrictionType m_restrictionType
Definition: AccountMosaicRestrictionBuilder.h:65
model::AccountMosaicRestrictionTransaction Transaction
Definition: AccountMosaicRestrictionBuilder.h:31
std::unique_ptr< Transaction > build() const
Builds a new account mosaic restriction transaction.
Definition: AccountMosaicRestrictionBuilder.cpp:43
std::unique_ptr< EmbeddedTransaction > buildEmbedded() const
Builds a new embedded account mosaic restriction transaction.
Definition: AccountMosaicRestrictionBuilder.cpp:47
void addModification(const model::AccountMosaicRestrictionModification &modification)
Adds modification to account restriction modifications.
Definition: AccountMosaicRestrictionBuilder.cpp:35
Builder for an account mosaic restriction transaction.
Definition: AccountMosaicRestrictionBuilder.h:29
NetworkIdentifier
Possible network identifiers.
Definition: NetworkInfo.h:45
Base transaction builder.
Definition: TransactionBuilder.h:31
Definition: AddressExtractionExtension.cpp:28
Binary layout for an account restriction modification.
Definition: AccountRestrictionTypes.h:61
model::EmbeddedAccountMosaicRestrictionTransaction EmbeddedTransaction
Definition: AccountMosaicRestrictionBuilder.h:32
void setRestrictionType(model::AccountRestrictionType restrictionType)
Sets the account restriction type to restrictionType.
Definition: AccountMosaicRestrictionBuilder.cpp:31
AccountRestrictionModification< UnresolvedMosaicId > AccountMosaicRestrictionModification
Modification type used with account mosaic restriction transaction.
Definition: AccountMosaicRestrictionTransaction.h:27
size_t size() const
Definition: AccountMosaicRestrictionBuilder.cpp:39
model::AggregateTransaction TransactionType
Definition: AggregateTransactionBuilder.cpp:28