|
CatapultServer
v0.5.0.1 (Elephant)
|
Builder for a mosaic supply change transaction. More...


Public Types | |
| using | Transaction = model::MosaicSupplyChangeTransaction |
| using | EmbeddedTransaction = model::EmbeddedMosaicSupplyChangeTransaction |
Public Member Functions | |
| MosaicSupplyChangeBuilder (model::NetworkIdentifier networkIdentifier, const Key &signer) | |
| void | setMosaicId (UnresolvedMosaicId mosaicId) |
| Sets the id of the affected mosaic to mosaicId. More... | |
| void | setDirection (model::MosaicSupplyChangeDirection direction) |
| Sets the supply change direction to direction. More... | |
| void | setDelta (Amount delta) |
| Sets the amount of the change to delta. More... | |
| size_t | size () const |
| std::unique_ptr< Transaction > | build () const |
| Builds a new mosaic supply change transaction. More... | |
| std::unique_ptr< EmbeddedTransaction > | buildEmbedded () const |
| Builds a new embedded mosaic supply change transaction. More... | |
Public Member Functions inherited from catapult::builders::TransactionBuilder | |
| TransactionBuilder (model::NetworkIdentifier networkIdentifier, const Key &signer) | |
| Creates a transaction builder with networkIdentifier and signer. More... | |
| const Key & | signer () const |
| Returns signer. More... | |
| void | setDeadline (catapult::Timestamp deadline) |
| Sets transaction deadline. More... | |
| void | setMaxFee (catapult::Amount fee) |
| Sets maximum transaction fee. More... | |
Private Member Functions | |
| template<typename TTransaction > | |
| size_t | sizeImpl () const |
| template<typename TTransaction > | |
| std::unique_ptr< TTransaction > | buildImpl () const |
| template<typename TransactionType > | |
| std::unique_ptr< TransactionType > | buildImpl () const |
Private Attributes | |
| UnresolvedMosaicId | m_mosaicId |
| model::MosaicSupplyChangeDirection | m_direction |
| Amount | m_delta |
Additional Inherited Members | |
Protected Member Functions inherited from catapult::builders::TransactionBuilder | |
| template<typename TTransaction > | |
| std::unique_ptr< TTransaction > | createTransaction (size_t size) const |
Static Protected Member Functions inherited from catapult::builders::TransactionBuilder | |
| template<typename T , typename Predicate > | |
| static void | InsertSorted (std::vector< T > &vector, const T &element, Predicate orderPredicate) |
Builder for a mosaic supply change transaction.
| using catapult::builders::MosaicSupplyChangeBuilder::EmbeddedTransaction = model::EmbeddedMosaicSupplyChangeTransaction |
| using catapult::builders::MosaicSupplyChangeBuilder::Transaction = model::MosaicSupplyChangeTransaction |
| catapult::builders::MosaicSupplyChangeBuilder::MosaicSupplyChangeBuilder | ( | model::NetworkIdentifier | networkIdentifier, |
| const Key & | signer | ||
| ) |
Creates a mosaic supply change builder for building a mosaic supply change transaction from signer for the network specified by networkIdentifier.
| std::unique_ptr< MosaicSupplyChangeBuilder::Transaction > catapult::builders::MosaicSupplyChangeBuilder::build | ( | ) | const |
Builds a new mosaic supply change transaction.
| std::unique_ptr< MosaicSupplyChangeBuilder::EmbeddedTransaction > catapult::builders::MosaicSupplyChangeBuilder::buildEmbedded | ( | ) | const |
Builds a new embedded mosaic supply change transaction.
|
private |
|
private |
| void catapult::builders::MosaicSupplyChangeBuilder::setDelta | ( | Amount | delta | ) |
Sets the amount of the change to delta.
| void catapult::builders::MosaicSupplyChangeBuilder::setDirection | ( | model::MosaicSupplyChangeDirection | direction | ) |
Sets the supply change direction to direction.
| void catapult::builders::MosaicSupplyChangeBuilder::setMosaicId | ( | UnresolvedMosaicId | mosaicId | ) |
Sets the id of the affected mosaic to mosaicId.
| size_t catapult::builders::MosaicSupplyChangeBuilder::size | ( | ) | const |
Returns size of mosaic supply change transaction.

|
private |

|
private |
|
private |
|
private |