|
| Taker ()=delete |
|
| Taker (Taker const &)=delete |
|
| Taker (CrossType cross_type, ApplyView &view, AccountID const &account, Amounts const &offer, std::uint32_t flags, beast::Journal journal) |
|
| ~Taker ()=default |
|
void | consume_offer (Offer &offer, Amounts const &order) |
|
STAmount | get_funds (AccountID const &account, STAmount const &funds) const override |
|
STAmount const & | get_xrp_flow () const |
|
std::uint32_t | get_direct_crossings () const |
|
std::uint32_t | get_bridge_crossings () const |
|
Amounts | remaining_offer () const |
| Returns the amount remaining on the offer. More...
|
|
Amounts const & | original_offer () const |
| Returns the amount that the offer was originally placed at. More...
|
|
AccountID const & | account () const noexcept |
| Returns the account identifier of the taker. More...
|
|
bool | reject (Quality const &quality) const noexcept |
| Returns true if the quality does not meet the taker's requirements. More...
|
|
CrossType | cross_type () const |
| Returns the type of crossing that is being performed. More...
|
|
Issue const & | issue_in () const |
| Returns the Issue associated with the input of the offer. More...
|
|
Issue const & | issue_out () const |
| Returns the Issue associated with the output of the offer. More...
|
|
bool | unfunded () const |
| Returns true if the taker has run out of funds. More...
|
|
bool | done () const |
| Returns true if order crossing should not continue. More...
|
|
BasicTaker::Flow | do_cross (Amounts offer, Quality quality, AccountID const &owner) |
| Perform direct crossing through given offer. More...
|
|
std::pair< BasicTaker::Flow, BasicTaker::Flow > | do_cross (Amounts offer1, Quality quality1, AccountID const &owner1, Amounts offer2, Quality quality2, AccountID const &owner2) |
| Perform bridged crossing through given offers. More...
|
|
|
TER | cross (Offer &offer) |
| Perform a direct or bridged offer crossing as appropriate. More...
|
|
TER | cross (Offer &leg1, Offer &leg2) |
|
|
TER | fill (BasicTaker::Flow const &flow, Offer &offer) |
|
TER | fill (BasicTaker::Flow const &flow1, Offer &leg1, BasicTaker::Flow const &flow2, Offer &leg2) |
|
TER | transferXRP (AccountID const &from, AccountID const &to, STAmount const &amount) |
|
TER | redeemIOU (AccountID const &account, STAmount const &amount, Issue const &issue) |
|
TER | issueIOU (AccountID const &account, STAmount const &amount, Issue const &issue) |
|
void | log_flow (char const *description, Flow const &flow) |
|
Flow | flow_xrp_to_iou (Amounts const &offer, Quality quality, STAmount const &owner_funds, STAmount const &taker_funds, Rate const &rate_out) |
|
Flow | flow_iou_to_xrp (Amounts const &offer, Quality quality, STAmount const &owner_funds, STAmount const &taker_funds, Rate const &rate_in) |
|
Flow | flow_iou_to_iou (Amounts const &offer, Quality quality, STAmount const &owner_funds, STAmount const &taker_funds, Rate const &rate_in, Rate const &rate_out) |
|
Rate | in_rate (AccountID const &from, AccountID const &to) const |
|
Rate | out_rate (AccountID const &from, AccountID const &to) const |
|
Definition at line 240 of file Taker.h.
Amounts ripple::BasicTaker::remaining_offer |
( |
| ) |
const |
|
inherited |
Returns the amount remaining on the offer.
This is the amount at which the offer should be placed. It may either be for the full amount when there were no crossing offers, or for zero when the offer fully crossed, or any amount in between. It is always at the original offer quality (quality_)
Definition at line 141 of file Taker.cpp.