20 #ifndef RIPPLE_APP_PATHS_RIPPLESTATE_H_INCLUDED
21 #define RIPPLE_APP_PATHS_RIPPLESTATE_H_INCLUDED
23 #include <ripple/ledger/View.h>
24 #include <ripple/protocol/Rate.h>
25 #include <ripple/protocol/STAmount.h>
26 #include <ripple/protocol/STLedgerEntry.h>
Wraps a trust line SLE for convenience.
Rate const & getQualityIn() const
Represents a transfer rate.
AccountID const & getAccountID() const
bool getFreezePeer() const
Has the peer set the freeze flag on us.
bool getDefaultRipple() const
std::vector< RippleState::pointer > getRippleStateItems(AccountID const &accountID, ReadView const &view)
STAmount const & getLimit() const
AccountID const & getAccountIDPeer() const
virtual ~RippleState()=default
std::shared_ptr< SLE const > sle_
static RippleState::pointer makeItem(AccountID const &accountID, std::shared_ptr< SLE const > sle)
Rate const & getQualityOut() const
bool getFreeze() const
Have we set the freeze flag on our peer.
bool getNoRipplePeer() const
STAmount const & mHighLimit
uint256 key() const
Returns the state map key for the ledger entry.
STAmount const & mLowLimit
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
STAmount const & getBalance() const
AccountID const & mHighID
STAmount const & getLimitPeer() const