|
xrpld
|
Builder for ConfidentialMPTConvert transactions. More...
#include <ConfidentialMPTConvert.h>


Public Member Functions | |
| ConfidentialMPTConvertBuilder (SF_ACCOUNT::type::value_type account, std::decay_t< typename SF_UINT192::type::value_type > const &mPTokenIssuanceID, std::decay_t< typename SF_UINT64::type::value_type > const &mPTAmount, std::decay_t< typename SF_VL::type::value_type > const &holderEncryptedAmount, std::decay_t< typename SF_VL::type::value_type > const &issuerEncryptedAmount, std::decay_t< typename SF_UINT256::type::value_type > const &blindingFactor, std::optional< SF_UINT32::type::value_type > sequence=std::nullopt, std::optional< SF_AMOUNT::type::value_type > fee=std::nullopt) | |
| Construct a new ConfidentialMPTConvertBuilder with required fields. | |
| ConfidentialMPTConvertBuilder (std::shared_ptr< STTx const > tx) | |
| Construct a ConfidentialMPTConvertBuilder from an existing STTx object. | |
| ConfidentialMPTConvertBuilder & | setMPTokenIssuanceID (std::decay_t< typename SF_UINT192::type::value_type > const &value) |
| Transaction-specific field setters. | |
| ConfidentialMPTConvertBuilder & | setMPTAmount (std::decay_t< typename SF_UINT64::type::value_type > const &value) |
| Set sfMPTAmount (SoeRequired). | |
| ConfidentialMPTConvertBuilder & | setHolderEncryptionKey (std::decay_t< typename SF_VL::type::value_type > const &value) |
| Set sfHolderEncryptionKey (SoeOptional). | |
| ConfidentialMPTConvertBuilder & | setHolderEncryptedAmount (std::decay_t< typename SF_VL::type::value_type > const &value) |
| Set sfHolderEncryptedAmount (SoeRequired). | |
| ConfidentialMPTConvertBuilder & | setIssuerEncryptedAmount (std::decay_t< typename SF_VL::type::value_type > const &value) |
| Set sfIssuerEncryptedAmount (SoeRequired). | |
| ConfidentialMPTConvertBuilder & | setAuditorEncryptedAmount (std::decay_t< typename SF_VL::type::value_type > const &value) |
| Set sfAuditorEncryptedAmount (SoeOptional). | |
| ConfidentialMPTConvertBuilder & | setBlindingFactor (std::decay_t< typename SF_UINT256::type::value_type > const &value) |
| Set sfBlindingFactor (SoeRequired). | |
| ConfidentialMPTConvertBuilder & | setZKProof (std::decay_t< typename SF_VL::type::value_type > const &value) |
| Set sfZKProof (SoeOptional). | |
| ConfidentialMPTConvert | build (PublicKey const &publicKey, SecretKey const &secretKey) |
| Build and return the ConfidentialMPTConvert wrapper. | |
| ConfidentialMPTConvertBuilder & | setAccount (AccountID const &value) |
| Set the account that is sending the transaction. | |
| ConfidentialMPTConvertBuilder & | setFee (STAmount const &value) |
| Set the transaction fee. | |
| ConfidentialMPTConvertBuilder & | setSequence (std::uint32_t const &value) |
| Set the sequence number. | |
| ConfidentialMPTConvertBuilder & | setTicketSequence (std::uint32_t const &value) |
| Set the ticket sequence to use for this transaction. | |
| ConfidentialMPTConvertBuilder & | setFlags (std::uint32_t const &value) |
| Set transaction flags. | |
| ConfidentialMPTConvertBuilder & | setSourceTag (std::uint32_t const &value) |
| Set the source tag. | |
| ConfidentialMPTConvertBuilder & | setLastLedgerSequence (std::uint32_t const &value) |
| Set the last ledger sequence. | |
| ConfidentialMPTConvertBuilder & | setAccountTxnID (uint256 const &value) |
| Set the account transaction ID. | |
| ConfidentialMPTConvertBuilder & | setPreviousTxnID (uint256 const &value) |
| Set the previous transaction ID. | |
| ConfidentialMPTConvertBuilder & | setOperationLimit (std::uint32_t const &value) |
| Set the operation limit. | |
| ConfidentialMPTConvertBuilder & | setMemos (STArray const &value) |
| Set the memos array. | |
| ConfidentialMPTConvertBuilder & | setSigners (STArray const &value) |
| Set the signers array for multi-signing. | |
| ConfidentialMPTConvertBuilder & | setNetworkID (std::uint32_t const &value) |
| Set the network ID. | |
| ConfidentialMPTConvertBuilder & | setDelegate (AccountID const &value) |
| Set the delegate account for delegated transactions. | |
| STObject const & | getSTObject () const |
| Get the underlying STObject. | |
Protected Member Functions | |
| ConfidentialMPTConvertBuilder & | sign (PublicKey const &publicKey, SecretKey const &secretKey) |
| Sign the transaction with the given keys. | |
Protected Attributes | |
| STObject | object_ |
Builder for ConfidentialMPTConvert transactions.
Provides a fluent interface for constructing transactions with method chaining. Uses STObject internally for flexible transaction construction. Inherits common field setters from TransactionBuilderBase.
Definition at line 191 of file protocol_autogen/transactions/ConfidentialMPTConvert.h.
| xrpl::transactions::ConfidentialMPTConvertBuilder::ConfidentialMPTConvertBuilder | ( | SF_ACCOUNT::type::value_type | account, |
| std::decay_t< typename SF_UINT192::type::value_type > const & | mPTokenIssuanceID, | ||
| std::decay_t< typename SF_UINT64::type::value_type > const & | mPTAmount, | ||
| std::decay_t< typename SF_VL::type::value_type > const & | holderEncryptedAmount, | ||
| std::decay_t< typename SF_VL::type::value_type > const & | issuerEncryptedAmount, | ||
| std::decay_t< typename SF_UINT256::type::value_type > const & | blindingFactor, | ||
| std::optional< SF_UINT32::type::value_type > | sequence = std::nullopt, | ||
| std::optional< SF_AMOUNT::type::value_type > | fee = std::nullopt ) |
Construct a new ConfidentialMPTConvertBuilder with required fields.
| account | The account initiating the transaction. |
| mPTokenIssuanceID | The sfMPTokenIssuanceID field value. |
| mPTAmount | The sfMPTAmount field value. |
| holderEncryptedAmount | The sfHolderEncryptedAmount field value. |
| issuerEncryptedAmount | The sfIssuerEncryptedAmount field value. |
| blindingFactor | The sfBlindingFactor field value. |
| sequence | Optional sequence number for the transaction. |
| fee | Optional fee for the transaction. |
Definition at line 205 of file protocol_autogen/transactions/ConfidentialMPTConvert.h.
| xrpl::transactions::ConfidentialMPTConvertBuilder::ConfidentialMPTConvertBuilder | ( | std::shared_ptr< STTx const > | tx | ) |
Construct a ConfidentialMPTConvertBuilder from an existing STTx object.
| tx | The existing transaction to copy from. |
| std::runtime_error | if the transaction type doesn't match. |
Definition at line 223 of file protocol_autogen/transactions/ConfidentialMPTConvert.h.
| ConfidentialMPTConvertBuilder & xrpl::transactions::ConfidentialMPTConvertBuilder::setMPTokenIssuanceID | ( | std::decay_t< typename SF_UINT192::type::value_type > const & | value | ) |
Transaction-specific field setters.
Set sfMPTokenIssuanceID (SoeRequired)
Definition at line 239 of file protocol_autogen/transactions/ConfidentialMPTConvert.h.
| ConfidentialMPTConvertBuilder & xrpl::transactions::ConfidentialMPTConvertBuilder::setMPTAmount | ( | std::decay_t< typename SF_UINT64::type::value_type > const & | value | ) |
Set sfMPTAmount (SoeRequired).
Definition at line 250 of file protocol_autogen/transactions/ConfidentialMPTConvert.h.
| ConfidentialMPTConvertBuilder & xrpl::transactions::ConfidentialMPTConvertBuilder::setHolderEncryptionKey | ( | std::decay_t< typename SF_VL::type::value_type > const & | value | ) |
Set sfHolderEncryptionKey (SoeOptional).
Definition at line 261 of file protocol_autogen/transactions/ConfidentialMPTConvert.h.
| ConfidentialMPTConvertBuilder & xrpl::transactions::ConfidentialMPTConvertBuilder::setHolderEncryptedAmount | ( | std::decay_t< typename SF_VL::type::value_type > const & | value | ) |
Set sfHolderEncryptedAmount (SoeRequired).
Definition at line 272 of file protocol_autogen/transactions/ConfidentialMPTConvert.h.
| ConfidentialMPTConvertBuilder & xrpl::transactions::ConfidentialMPTConvertBuilder::setIssuerEncryptedAmount | ( | std::decay_t< typename SF_VL::type::value_type > const & | value | ) |
Set sfIssuerEncryptedAmount (SoeRequired).
Definition at line 283 of file protocol_autogen/transactions/ConfidentialMPTConvert.h.
| ConfidentialMPTConvertBuilder & xrpl::transactions::ConfidentialMPTConvertBuilder::setAuditorEncryptedAmount | ( | std::decay_t< typename SF_VL::type::value_type > const & | value | ) |
Set sfAuditorEncryptedAmount (SoeOptional).
Definition at line 294 of file protocol_autogen/transactions/ConfidentialMPTConvert.h.
| ConfidentialMPTConvertBuilder & xrpl::transactions::ConfidentialMPTConvertBuilder::setBlindingFactor | ( | std::decay_t< typename SF_UINT256::type::value_type > const & | value | ) |
Set sfBlindingFactor (SoeRequired).
Definition at line 305 of file protocol_autogen/transactions/ConfidentialMPTConvert.h.
| ConfidentialMPTConvertBuilder & xrpl::transactions::ConfidentialMPTConvertBuilder::setZKProof | ( | std::decay_t< typename SF_VL::type::value_type > const & | value | ) |
Set sfZKProof (SoeOptional).
Definition at line 316 of file protocol_autogen/transactions/ConfidentialMPTConvert.h.
| ConfidentialMPTConvert xrpl::transactions::ConfidentialMPTConvertBuilder::build | ( | PublicKey const & | publicKey, |
| SecretKey const & | secretKey ) |
Build and return the ConfidentialMPTConvert wrapper.
| publicKey | The public key for signing. |
| secretKey | The secret key for signing. |
Definition at line 329 of file protocol_autogen/transactions/ConfidentialMPTConvert.h.
|
inherited |
Set the account that is sending the transaction.
| value | Account address (typically as a string) |
Definition at line 62 of file TransactionBuilderBase.h.
|
inherited |
Set the transaction fee.
| value | Fee in drops (typically as a string or number) |
Definition at line 74 of file TransactionBuilderBase.h.
|
inherited |
Set the sequence number.
| value | Sequence number |
Definition at line 86 of file TransactionBuilderBase.h.
|
inherited |
Set the ticket sequence to use for this transaction.
When using a ticket, the regular sequence number is set to 0.
| value | Ticket sequence number |
Definition at line 99 of file TransactionBuilderBase.h.
|
inherited |
Set transaction flags.
| value | Flags value |
Definition at line 112 of file TransactionBuilderBase.h.
|
inherited |
Set the source tag.
| value | Source tag |
Definition at line 124 of file TransactionBuilderBase.h.
|
inherited |
Set the last ledger sequence.
| value | Last ledger sequence number |
Definition at line 136 of file TransactionBuilderBase.h.
|
inherited |
Set the account transaction ID.
| value | Account transaction ID (typically as a hex string) |
Definition at line 148 of file TransactionBuilderBase.h.
|
inherited |
Set the previous transaction ID.
Used for emulate027 compatibility.
| value | Previous transaction ID |
Definition at line 161 of file TransactionBuilderBase.h.
|
inherited |
Set the operation limit.
| value | Operation limit |
Definition at line 173 of file TransactionBuilderBase.h.
|
inherited |
Set the memos array.
| value | Array of memo objects |
Definition at line 185 of file TransactionBuilderBase.h.
|
inherited |
Set the signers array for multi-signing.
| value | Array of signer objects |
Definition at line 197 of file TransactionBuilderBase.h.
|
inherited |
Set the network ID.
| value | Network ID |
Definition at line 209 of file TransactionBuilderBase.h.
|
inherited |
Set the delegate account for delegated transactions.
| value | Delegate account ID |
Definition at line 221 of file TransactionBuilderBase.h.
|
inherited |
Get the underlying STObject.
Definition at line 232 of file TransactionBuilderBase.h.
|
protectedinherited |
Sign the transaction with the given keys.
This sets the SigningPubKey field and computes the TxnSignature.
| publicKey | The public key for signing |
| secretKey | The secret key for signing |
Definition at line 248 of file TransactionBuilderBase.h.
|
protectedinherited |
Definition at line 266 of file TransactionBuilderBase.h.