mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
refactor Transaction. compiling. still need to test
This commit is contained in:
22
src/cpp/ripple/OfferCreateTransactor.h
Normal file
22
src/cpp/ripple/OfferCreateTransactor.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#include "Transactor.h"
|
||||
|
||||
|
||||
class OfferCreateTransactor : public Transactor
|
||||
{
|
||||
TER takeOffers(
|
||||
bool bPassive,
|
||||
const uint256& uBookBase,
|
||||
const uint160& uTakerAccountID,
|
||||
const SLE::pointer& sleTakerAccount,
|
||||
const STAmount& saTakerPays,
|
||||
const STAmount& saTakerGets,
|
||||
STAmount& saTakerPaid,
|
||||
STAmount& saTakerGot);
|
||||
|
||||
public:
|
||||
OfferCreateTransactor(const SerializedTransaction& txn,TransactionEngineParams params, TransactionEngine::pointer engine) : Transactor(txn,params,engine) {}
|
||||
|
||||
TER doApply();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user