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