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


Public Member Functions | |
| ConfidentialMPTSendBuilder (SF_ACCOUNT::type::value_type account, std::decay_t< typename SF_UINT192::type::value_type > const &mPTokenIssuanceID, std::decay_t< typename SF_ACCOUNT::type::value_type > const &destination, std::decay_t< typename SF_VL::type::value_type > const &senderEncryptedAmount, std::decay_t< typename SF_VL::type::value_type > const &destinationEncryptedAmount, std::decay_t< typename SF_VL::type::value_type > const &issuerEncryptedAmount, std::decay_t< typename SF_VL::type::value_type > const &zKProof, std::decay_t< typename SF_VL::type::value_type > const &amountCommitment, std::decay_t< typename SF_VL::type::value_type > const &balanceCommitment, std::optional< SF_UINT32::type::value_type > sequence=std::nullopt, std::optional< SF_AMOUNT::type::value_type > fee=std::nullopt) | |
| Construct a new ConfidentialMPTSendBuilder with required fields. | |
| ConfidentialMPTSendBuilder (std::shared_ptr< STTx const > tx) | |
| Construct a ConfidentialMPTSendBuilder from an existing STTx object. | |
| ConfidentialMPTSendBuilder & | setMPTokenIssuanceID (std::decay_t< typename SF_UINT192::type::value_type > const &value) |
| Transaction-specific field setters. | |
| ConfidentialMPTSendBuilder & | setDestination (std::decay_t< typename SF_ACCOUNT::type::value_type > const &value) |
| Set sfDestination (SoeRequired). | |
| ConfidentialMPTSendBuilder & | setDestinationTag (std::decay_t< typename SF_UINT32::type::value_type > const &value) |
| Set sfDestinationTag (SoeOptional). | |
| ConfidentialMPTSendBuilder & | setSenderEncryptedAmount (std::decay_t< typename SF_VL::type::value_type > const &value) |
| Set sfSenderEncryptedAmount (SoeRequired). | |
| ConfidentialMPTSendBuilder & | setDestinationEncryptedAmount (std::decay_t< typename SF_VL::type::value_type > const &value) |
| Set sfDestinationEncryptedAmount (SoeRequired). | |
| ConfidentialMPTSendBuilder & | setIssuerEncryptedAmount (std::decay_t< typename SF_VL::type::value_type > const &value) |
| Set sfIssuerEncryptedAmount (SoeRequired). | |
| ConfidentialMPTSendBuilder & | setAuditorEncryptedAmount (std::decay_t< typename SF_VL::type::value_type > const &value) |
| Set sfAuditorEncryptedAmount (SoeOptional). | |
| ConfidentialMPTSendBuilder & | setZKProof (std::decay_t< typename SF_VL::type::value_type > const &value) |
| Set sfZKProof (SoeRequired). | |
| ConfidentialMPTSendBuilder & | setAmountCommitment (std::decay_t< typename SF_VL::type::value_type > const &value) |
| Set sfAmountCommitment (SoeRequired). | |
| ConfidentialMPTSendBuilder & | setBalanceCommitment (std::decay_t< typename SF_VL::type::value_type > const &value) |
| Set sfBalanceCommitment (SoeRequired). | |
| ConfidentialMPTSendBuilder & | setCredentialIDs (std::decay_t< typename SF_VECTOR256::type::value_type > const &value) |
| Set sfCredentialIDs (SoeOptional). | |
| ConfidentialMPTSend | build (PublicKey const &publicKey, SecretKey const &secretKey) |
| Build and return the ConfidentialMPTSend wrapper. | |
| ConfidentialMPTSendBuilder & | setAccount (AccountID const &value) |
| Set the account that is sending the transaction. | |
| ConfidentialMPTSendBuilder & | setFee (STAmount const &value) |
| Set the transaction fee. | |
| ConfidentialMPTSendBuilder & | setSequence (std::uint32_t const &value) |
| Set the sequence number. | |
| ConfidentialMPTSendBuilder & | setTicketSequence (std::uint32_t const &value) |
| Set the ticket sequence to use for this transaction. | |
| ConfidentialMPTSendBuilder & | setFlags (std::uint32_t const &value) |
| Set transaction flags. | |
| ConfidentialMPTSendBuilder & | setSourceTag (std::uint32_t const &value) |
| Set the source tag. | |
| ConfidentialMPTSendBuilder & | setLastLedgerSequence (std::uint32_t const &value) |
| Set the last ledger sequence. | |
| ConfidentialMPTSendBuilder & | setAccountTxnID (uint256 const &value) |
| Set the account transaction ID. | |
| ConfidentialMPTSendBuilder & | setPreviousTxnID (uint256 const &value) |
| Set the previous transaction ID. | |
| ConfidentialMPTSendBuilder & | setOperationLimit (std::uint32_t const &value) |
| Set the operation limit. | |
| ConfidentialMPTSendBuilder & | setMemos (STArray const &value) |
| Set the memos array. | |
| ConfidentialMPTSendBuilder & | setSigners (STArray const &value) |
| Set the signers array for multi-signing. | |
| ConfidentialMPTSendBuilder & | setNetworkID (std::uint32_t const &value) |
| Set the network ID. | |
| ConfidentialMPTSendBuilder & | setDelegate (AccountID const &value) |
| Set the delegate account for delegated transactions. | |
| STObject const & | getSTObject () const |
| Get the underlying STObject. | |
Protected Member Functions | |
| ConfidentialMPTSendBuilder & | sign (PublicKey const &publicKey, SecretKey const &secretKey) |
| Sign the transaction with the given keys. | |
Protected Attributes | |
| STObject | object_ |
Builder for ConfidentialMPTSend 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 224 of file protocol_autogen/transactions/ConfidentialMPTSend.h.
| xrpl::transactions::ConfidentialMPTSendBuilder::ConfidentialMPTSendBuilder | ( | SF_ACCOUNT::type::value_type | account, |
| std::decay_t< typename SF_UINT192::type::value_type > const & | mPTokenIssuanceID, | ||
| std::decay_t< typename SF_ACCOUNT::type::value_type > const & | destination, | ||
| std::decay_t< typename SF_VL::type::value_type > const & | senderEncryptedAmount, | ||
| std::decay_t< typename SF_VL::type::value_type > const & | destinationEncryptedAmount, | ||
| std::decay_t< typename SF_VL::type::value_type > const & | issuerEncryptedAmount, | ||
| std::decay_t< typename SF_VL::type::value_type > const & | zKProof, | ||
| std::decay_t< typename SF_VL::type::value_type > const & | amountCommitment, | ||
| std::decay_t< typename SF_VL::type::value_type > const & | balanceCommitment, | ||
| std::optional< SF_UINT32::type::value_type > | sequence = std::nullopt, | ||
| std::optional< SF_AMOUNT::type::value_type > | fee = std::nullopt ) |
Construct a new ConfidentialMPTSendBuilder with required fields.
| account | The account initiating the transaction. |
| mPTokenIssuanceID | The sfMPTokenIssuanceID field value. |
| destination | The sfDestination field value. |
| senderEncryptedAmount | The sfSenderEncryptedAmount field value. |
| destinationEncryptedAmount | The sfDestinationEncryptedAmount field value. |
| issuerEncryptedAmount | The sfIssuerEncryptedAmount field value. |
| zKProof | The sfZKProof field value. |
| amountCommitment | The sfAmountCommitment field value. |
| balanceCommitment | The sfBalanceCommitment field value. |
| sequence | Optional sequence number for the transaction. |
| fee | Optional fee for the transaction. |
Definition at line 241 of file protocol_autogen/transactions/ConfidentialMPTSend.h.
| xrpl::transactions::ConfidentialMPTSendBuilder::ConfidentialMPTSendBuilder | ( | std::shared_ptr< STTx const > | tx | ) |
Construct a ConfidentialMPTSendBuilder 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 262 of file protocol_autogen/transactions/ConfidentialMPTSend.h.
| ConfidentialMPTSendBuilder & xrpl::transactions::ConfidentialMPTSendBuilder::setMPTokenIssuanceID | ( | std::decay_t< typename SF_UINT192::type::value_type > const & | value | ) |
Transaction-specific field setters.
Set sfMPTokenIssuanceID (SoeRequired)
Definition at line 278 of file protocol_autogen/transactions/ConfidentialMPTSend.h.
| ConfidentialMPTSendBuilder & xrpl::transactions::ConfidentialMPTSendBuilder::setDestination | ( | std::decay_t< typename SF_ACCOUNT::type::value_type > const & | value | ) |
Set sfDestination (SoeRequired).
Definition at line 289 of file protocol_autogen/transactions/ConfidentialMPTSend.h.
| ConfidentialMPTSendBuilder & xrpl::transactions::ConfidentialMPTSendBuilder::setDestinationTag | ( | std::decay_t< typename SF_UINT32::type::value_type > const & | value | ) |
Set sfDestinationTag (SoeOptional).
Definition at line 300 of file protocol_autogen/transactions/ConfidentialMPTSend.h.
| ConfidentialMPTSendBuilder & xrpl::transactions::ConfidentialMPTSendBuilder::setSenderEncryptedAmount | ( | std::decay_t< typename SF_VL::type::value_type > const & | value | ) |
Set sfSenderEncryptedAmount (SoeRequired).
Definition at line 311 of file protocol_autogen/transactions/ConfidentialMPTSend.h.
| ConfidentialMPTSendBuilder & xrpl::transactions::ConfidentialMPTSendBuilder::setDestinationEncryptedAmount | ( | std::decay_t< typename SF_VL::type::value_type > const & | value | ) |
Set sfDestinationEncryptedAmount (SoeRequired).
Definition at line 322 of file protocol_autogen/transactions/ConfidentialMPTSend.h.
| ConfidentialMPTSendBuilder & xrpl::transactions::ConfidentialMPTSendBuilder::setIssuerEncryptedAmount | ( | std::decay_t< typename SF_VL::type::value_type > const & | value | ) |
Set sfIssuerEncryptedAmount (SoeRequired).
Definition at line 333 of file protocol_autogen/transactions/ConfidentialMPTSend.h.
| ConfidentialMPTSendBuilder & xrpl::transactions::ConfidentialMPTSendBuilder::setAuditorEncryptedAmount | ( | std::decay_t< typename SF_VL::type::value_type > const & | value | ) |
Set sfAuditorEncryptedAmount (SoeOptional).
Definition at line 344 of file protocol_autogen/transactions/ConfidentialMPTSend.h.
| ConfidentialMPTSendBuilder & xrpl::transactions::ConfidentialMPTSendBuilder::setZKProof | ( | std::decay_t< typename SF_VL::type::value_type > const & | value | ) |
Set sfZKProof (SoeRequired).
Definition at line 355 of file protocol_autogen/transactions/ConfidentialMPTSend.h.
| ConfidentialMPTSendBuilder & xrpl::transactions::ConfidentialMPTSendBuilder::setAmountCommitment | ( | std::decay_t< typename SF_VL::type::value_type > const & | value | ) |
Set sfAmountCommitment (SoeRequired).
Definition at line 366 of file protocol_autogen/transactions/ConfidentialMPTSend.h.
| ConfidentialMPTSendBuilder & xrpl::transactions::ConfidentialMPTSendBuilder::setBalanceCommitment | ( | std::decay_t< typename SF_VL::type::value_type > const & | value | ) |
Set sfBalanceCommitment (SoeRequired).
Definition at line 377 of file protocol_autogen/transactions/ConfidentialMPTSend.h.
| ConfidentialMPTSendBuilder & xrpl::transactions::ConfidentialMPTSendBuilder::setCredentialIDs | ( | std::decay_t< typename SF_VECTOR256::type::value_type > const & | value | ) |
Set sfCredentialIDs (SoeOptional).
Definition at line 388 of file protocol_autogen/transactions/ConfidentialMPTSend.h.
| ConfidentialMPTSend xrpl::transactions::ConfidentialMPTSendBuilder::build | ( | PublicKey const & | publicKey, |
| SecretKey const & | secretKey ) |
Build and return the ConfidentialMPTSend wrapper.
| publicKey | The public key for signing. |
| secretKey | The secret key for signing. |
Definition at line 401 of file protocol_autogen/transactions/ConfidentialMPTSend.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.