|
rippled
|
Transaction: AMMClawback. More...
#include <AMMClawback.h>


Public Member Functions | |
| AMMClawback (std::shared_ptr< STTx const > tx) | |
| Construct a AMMClawback transaction wrapper from an existing STTx object. | |
| SF_ACCOUNT::type::value_type | getHolder () const |
| Get sfHolder (soeREQUIRED) | |
| SF_ISSUE::type::value_type | getAsset () const |
| Get sfAsset (soeREQUIRED) | |
| SF_ISSUE::type::value_type | getAsset2 () const |
| Get sfAsset2 (soeREQUIRED) | |
| protocol_autogen::Optional< SF_AMOUNT::type::value_type > | getAmount () const |
| Get sfAmount (soeOPTIONAL) | |
| bool | hasAmount () const |
| Check if sfAmount is present. | |
| bool | validate (std::string &reason) const |
| Validate the transaction. | |
| xrpl::TxType | getTransactionType () const |
| Get the transaction type. | |
| AccountID | getAccount () const |
| Get the account initiating the transaction (sfAccount). | |
| std::uint32_t | getSequence () const |
| Get the sequence number of the transaction (sfSequence). | |
| STAmount | getFee () const |
| Get the transaction fee (sfFee). | |
| Blob | getSigningPubKey () const |
| Get the signing public key (sfSigningPubKey). | |
| std::optional< uint32_t > | getFlags () const |
| Get the transaction flags (sfFlags). | |
| bool | hasFlags () const |
| Check if the transaction has flags set. | |
| std::optional< uint32_t > | getSourceTag () const |
| Get the source tag (sfSourceTag). | |
| bool | hasSourceTag () const |
| Check if the transaction has a source tag. | |
| std::optional< uint256 > | getPreviousTxnID () const |
| Get the previous transaction ID (sfPreviousTxnID). | |
| bool | hasPreviousTxnID () const |
| Check if the transaction has a previous transaction ID. | |
| std::optional< uint32_t > | getLastLedgerSequence () const |
| Get the last ledger sequence (sfLastLedgerSequence). | |
| bool | hasLastLedgerSequence () const |
| Check if the transaction has a last ledger sequence. | |
| std::optional< uint256 > | getAccountTxnID () const |
| Get the account transaction ID (sfAccountTxnID). | |
| bool | hasAccountTxnID () const |
| Check if the transaction has an account transaction ID. | |
| std::optional< uint32_t > | getOperationLimit () const |
| Get the operation limit (sfOperationLimit). | |
| bool | hasOperationLimit () const |
| Check if the transaction has an operation limit. | |
| std::optional< std::reference_wrapper< STArray const > > | getMemos () const |
| Get the memos array (sfMemos). | |
| bool | hasMemos () const |
| Check if the transaction has memos. | |
| std::optional< uint32_t > | getTicketSequence () const |
| Get the ticket sequence (sfTicketSequence). | |
| bool | hasTicketSequence () const |
| Check if the transaction has a ticket sequence. | |
| std::optional< Blob > | getTxnSignature () const |
| Get the transaction signature (sfTxnSignature). | |
| bool | hasTxnSignature () const |
| Check if the transaction has a transaction signature. | |
| std::optional< std::reference_wrapper< STArray const > > | getSigners () const |
| Get the signers array (sfSigners). | |
| bool | hasSigners () const |
| Check if the transaction has signers. | |
| std::optional< uint32_t > | getNetworkID () const |
| Get the network ID (sfNetworkID). | |
| bool | hasNetworkID () const |
| Check if the transaction has a network ID. | |
| std::optional< AccountID > | getDelegate () const |
| Get the delegate account (sfDelegate). | |
| bool | hasDelegate () const |
| Check if the transaction has a delegate account. | |
| std::shared_ptr< STTx const > | getSTTx () const |
| Get the underlying STTx object. | |
Static Public Attributes | |
| static constexpr xrpl::TxType | txType = ttAMM_CLAWBACK |
Protected Attributes | |
| std::shared_ptr< STTx const > | tx_ |
| The underlying transaction object being wrapped. | |
Type: ttAMM_CLAWBACK (31) Delegable: Delegation::delegable Amendment: featureAMMClawback Privileges: mayDeleteAcct | overrideFreeze
Immutable wrapper around STTx providing type-safe field access. Use AMMClawbackBuilder to construct new transactions.
Definition at line 29 of file protocol_autogen/transactions/AMMClawback.h.
|
explicit |
Construct a AMMClawback transaction wrapper from an existing STTx object.
| std::runtime_error | if the transaction type doesn't match. |
Definition at line 38 of file protocol_autogen/transactions/AMMClawback.h.
| SF_ACCOUNT::type::value_type xrpl::transactions::AMMClawback::getHolder | ( | ) | const |
Get sfHolder (soeREQUIRED)
Definition at line 56 of file protocol_autogen/transactions/AMMClawback.h.
| SF_ISSUE::type::value_type xrpl::transactions::AMMClawback::getAsset | ( | ) | const |
Get sfAsset (soeREQUIRED)
Definition at line 67 of file protocol_autogen/transactions/AMMClawback.h.
| SF_ISSUE::type::value_type xrpl::transactions::AMMClawback::getAsset2 | ( | ) | const |
Get sfAsset2 (soeREQUIRED)
Definition at line 78 of file protocol_autogen/transactions/AMMClawback.h.
| protocol_autogen::Optional< SF_AMOUNT::type::value_type > xrpl::transactions::AMMClawback::getAmount | ( | ) | const |
Get sfAmount (soeOPTIONAL)
Definition at line 89 of file protocol_autogen/transactions/AMMClawback.h.
| bool xrpl::transactions::AMMClawback::hasAmount | ( | ) | const |
Check if sfAmount is present.
Definition at line 104 of file protocol_autogen/transactions/AMMClawback.h.
|
inherited |
Validate the transaction.
Definition at line 41 of file TransactionBase.h.
|
inherited |
Get the transaction type.
Definition at line 66 of file TransactionBase.h.
|
inherited |
Get the account initiating the transaction (sfAccount).
This field is REQUIRED for all transactions.
Definition at line 79 of file TransactionBase.h.
|
inherited |
Get the sequence number of the transaction (sfSequence).
This field is REQUIRED for all transactions.
Definition at line 92 of file TransactionBase.h.
|
inherited |
Get the transaction fee (sfFee).
This field is REQUIRED for all transactions.
Definition at line 105 of file TransactionBase.h.
|
inherited |
Get the signing public key (sfSigningPubKey).
This field is REQUIRED for all transactions.
Definition at line 118 of file TransactionBase.h.
|
inherited |
Get the transaction flags (sfFlags).
This field is OPTIONAL.
Definition at line 131 of file TransactionBase.h.
|
inherited |
Check if the transaction has flags set.
Definition at line 144 of file TransactionBase.h.
|
inherited |
Get the source tag (sfSourceTag).
This field is OPTIONAL and used to identify the source of a payment.
Definition at line 157 of file TransactionBase.h.
|
inherited |
Check if the transaction has a source tag.
Definition at line 170 of file TransactionBase.h.
|
inherited |
Get the previous transaction ID (sfPreviousTxnID).
This field is OPTIONAL and used for transaction chaining.
Definition at line 183 of file TransactionBase.h.
|
inherited |
Check if the transaction has a previous transaction ID.
Definition at line 196 of file TransactionBase.h.
|
inherited |
Get the last ledger sequence (sfLastLedgerSequence).
This field is OPTIONAL and specifies the latest ledger sequence in which this transaction can be included.
Definition at line 210 of file TransactionBase.h.
|
inherited |
Check if the transaction has a last ledger sequence.
Definition at line 223 of file TransactionBase.h.
|
inherited |
Get the account transaction ID (sfAccountTxnID).
This field is OPTIONAL and used to track transaction sequences.
Definition at line 236 of file TransactionBase.h.
|
inherited |
Check if the transaction has an account transaction ID.
Definition at line 249 of file TransactionBase.h.
|
inherited |
Get the operation limit (sfOperationLimit).
This field is OPTIONAL and limits the number of operations in a transaction.
Definition at line 262 of file TransactionBase.h.
|
inherited |
Check if the transaction has an operation limit.
Definition at line 275 of file TransactionBase.h.
|
inherited |
Get the memos array (sfMemos).
This field is OPTIONAL and contains arbitrary data attached to the transaction.
Definition at line 289 of file TransactionBase.h.
|
inherited |
Check if the transaction has memos.
Definition at line 302 of file TransactionBase.h.
|
inherited |
Get the ticket sequence (sfTicketSequence).
This field is OPTIONAL and used when consuming a ticket instead of a sequence number.
Definition at line 315 of file TransactionBase.h.
|
inherited |
Check if the transaction has a ticket sequence.
Definition at line 328 of file TransactionBase.h.
|
inherited |
Get the transaction signature (sfTxnSignature).
This field is OPTIONAL and contains the signature for single-signed transactions.
Definition at line 341 of file TransactionBase.h.
|
inherited |
Check if the transaction has a transaction signature.
Definition at line 354 of file TransactionBase.h.
|
inherited |
Get the signers array (sfSigners).
This field is OPTIONAL and contains the list of signers for multi-signed transactions.
Definition at line 368 of file TransactionBase.h.
|
inherited |
Check if the transaction has signers.
Definition at line 381 of file TransactionBase.h.
|
inherited |
Get the network ID (sfNetworkID).
This field is OPTIONAL and identifies the network this transaction is intended for.
Definition at line 394 of file TransactionBase.h.
|
inherited |
Check if the transaction has a network ID.
Definition at line 407 of file TransactionBase.h.
|
inherited |
Get the delegate account (sfDelegate).
This field is OPTIONAL and specifies a delegate account for the transaction.
Definition at line 420 of file TransactionBase.h.
|
inherited |
Check if the transaction has a delegate account.
Definition at line 433 of file TransactionBase.h.
|
inherited |
Get the underlying STTx object.
Provides direct access to the wrapped transaction object for cases where the type-safe accessors are insufficient.
Definition at line 447 of file TransactionBase.h.
|
staticconstexpr |
Definition at line 32 of file protocol_autogen/transactions/AMMClawback.h.
|
protectedinherited |
The underlying transaction object being wrapped.
Definition at line 454 of file TransactionBase.h.