mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
30 lines
737 B
C++
30 lines
737 B
C++
#ifndef __OFFERCREATETRANSACTOR__
|
|
#define __OFFERCREATETRANSACTOR__
|
|
|
|
#include "Transactor.h"
|
|
|
|
class OfferCreateTransactor : public Transactor
|
|
{
|
|
protected:
|
|
TER takeOffers(
|
|
const bool bOpenLedger,
|
|
const bool bPassive,
|
|
const uint256& uBookBase,
|
|
const uint160& uTakerAccountID,
|
|
SLE::ref sleTakerAccount,
|
|
const STAmount& saTakerPays,
|
|
const STAmount& saTakerGets,
|
|
STAmount& saTakerPaid,
|
|
STAmount& saTakerGot,
|
|
bool& bUnfunded);
|
|
|
|
boost::unordered_set<uint256> usOfferUnfundedFound; // Offers found unfunded.
|
|
|
|
public:
|
|
OfferCreateTransactor(const SerializedTransaction& txn,TransactionEngineParams params, TransactionEngine* engine) : Transactor(txn,params,engine) {}
|
|
TER doApply();
|
|
};
|
|
#endif
|
|
|
|
// vim:ts=4
|