rippled
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
ripple::test::BalanceTransfer< T > Struct Template Reference
Collaboration diagram for ripple::test::BalanceTransfer< T >:
Collaboration graph
[legend]

Public Types

using balance = Balance< T >
 

Public Member Functions

 BalanceTransfer (T &env, jtx::Account const &from_acct, jtx::Account const &to_acct, jtx::Account const &payor, jtx::Account const *payees, size_t num_payees, bool withClaim)
 
 BalanceTransfer (T &env, jtx::Account const &from_acct, jtx::Account const &to_acct, jtx::Account const &payor, std::vector< jtx::Account > const &payees, bool withClaim)
 
bool payees_received (STAmount const &reward) const
 
bool check_most_balances (STAmount const &amt, STAmount const &reward)
 
bool has_happened (STAmount const &amt, STAmount const &reward, bool check_payer=true)
 
bool has_not_happened ()
 

Public Attributes

balance from_
 
balance to_
 
balance payor_
 
std::vector< balancereward_accounts
 
XRPAmount txFees_
 

Detailed Description

template<class T>
struct ripple::test::BalanceTransfer< T >

Definition at line 244 of file XChain_test.cpp.

Member Typedef Documentation

◆ balance

template<class T >
using ripple::test::BalanceTransfer< T >::balance = Balance<T>

Definition at line 246 of file XChain_test.cpp.

Constructor & Destructor Documentation

◆ BalanceTransfer() [1/2]

template<class T >
ripple::test::BalanceTransfer< T >::BalanceTransfer ( T &  env,
jtx::Account const &  from_acct,
jtx::Account const &  to_acct,
jtx::Account const &  payor,
jtx::Account const *  payees,
size_t  num_payees,
bool  withClaim 
)

Definition at line 254 of file XChain_test.cpp.

◆ BalanceTransfer() [2/2]

template<class T >
ripple::test::BalanceTransfer< T >::BalanceTransfer ( T &  env,
jtx::Account const &  from_acct,
jtx::Account const &  to_acct,
jtx::Account const &  payor,
std::vector< jtx::Account > const &  payees,
bool  withClaim 
)

Definition at line 276 of file XChain_test.cpp.

Member Function Documentation

◆ payees_received()

template<class T >
bool ripple::test::BalanceTransfer< T >::payees_received ( STAmount const &  reward) const

Definition at line 295 of file XChain_test.cpp.

◆ check_most_balances()

template<class T >
bool ripple::test::BalanceTransfer< T >::check_most_balances ( STAmount const &  amt,
STAmount const &  reward 
)

Definition at line 304 of file XChain_test.cpp.

◆ has_happened()

template<class T >
bool ripple::test::BalanceTransfer< T >::has_happened ( STAmount const &  amt,
STAmount const &  reward,
bool  check_payer = true 
)

Definition at line 311 of file XChain_test.cpp.

◆ has_not_happened()

template<class T >
bool ripple::test::BalanceTransfer< T >::has_not_happened ( )

Definition at line 323 of file XChain_test.cpp.

Member Data Documentation

◆ from_

template<class T >
balance ripple::test::BalanceTransfer< T >::from_

Definition at line 248 of file XChain_test.cpp.

◆ to_

template<class T >
balance ripple::test::BalanceTransfer< T >::to_

Definition at line 249 of file XChain_test.cpp.

◆ payor_

template<class T >
balance ripple::test::BalanceTransfer< T >::payor_

Definition at line 250 of file XChain_test.cpp.

◆ reward_accounts

template<class T >
std::vector<balance> ripple::test::BalanceTransfer< T >::reward_accounts

Definition at line 251 of file XChain_test.cpp.

◆ txFees_

template<class T >
XRPAmount ripple::test::BalanceTransfer< T >::txFees_

Definition at line 252 of file XChain_test.cpp.