xrpld
Loading...
Searching...
No Matches
xrpl::test::jtx::loan Namespace Reference

Functions

json::Value set (AccountID const &account, UInt256 const &loanBrokerID, Number principalRequested, std::uint32_t flags)
json::Value manage (AccountID const &account, UInt256 const &loanID, std::uint32_t flags)
json::Value del (AccountID const &account, UInt256 const &loanID, std::uint32_t flags)
json::Value pay (AccountID const &account, UInt256 const &loanID, STAmount const &amount, std::uint32_t flags)

Variables

auto const kCounterparty = JTxFieldWrapper<AccountIdField>(sfCounterparty)
auto const kLoanOriginationFee = SimpleField<SF_NUMBER>(sfLoanOriginationFee)
auto const kLoanServiceFee = SimpleField<SF_NUMBER>(sfLoanServiceFee)
auto const kLatePaymentFee = SimpleField<SF_NUMBER>(sfLatePaymentFee)
auto const kClosePaymentFee = SimpleField<SF_NUMBER>(sfClosePaymentFee)
auto const kOverpaymentFee = ValueUnitWrapper<SF_UINT32, unit::TenthBipsTag>(sfOverpaymentFee)
auto const kInterestRate = ValueUnitWrapper<SF_UINT32, unit::TenthBipsTag>(sfInterestRate)
auto const kLateInterestRate = ValueUnitWrapper<SF_UINT32, unit::TenthBipsTag>(sfLateInterestRate)
auto const kCloseInterestRate
auto const kOverpaymentInterestRate
auto const kPaymentTotal = SimpleField<SF_UINT32>(sfPaymentTotal)
auto const kPaymentInterval = SimpleField<SF_UINT32>(sfPaymentInterval)
auto const kGracePeriod = SimpleField<SF_UINT32>(sfGracePeriod)

Function Documentation

◆ set()

json::Value xrpl::test::jtx::loan::set ( AccountID const & account,
UInt256 const & loanBrokerID,
Number principalRequested,
std::uint32_t flags )

Definition at line 768 of file TestHelpers.cpp.

◆ manage()

json::Value xrpl::test::jtx::loan::manage ( AccountID const & account,
UInt256 const & loanID,
std::uint32_t flags )

Definition at line 783 of file TestHelpers.cpp.

◆ del()

json::Value xrpl::test::jtx::loan::del ( AccountID const & account,
UInt256 const & loanID,
std::uint32_t flags )

Definition at line 794 of file TestHelpers.cpp.

◆ pay()

json::Value xrpl::test::jtx::loan::pay ( AccountID const & account,
UInt256 const & loanID,
STAmount const & amount,
std::uint32_t flags )

Definition at line 805 of file TestHelpers.cpp.

Variable Documentation

◆ kCounterparty

auto const xrpl::test::jtx::loan::kCounterparty = JTxFieldWrapper<AccountIdField>(sfCounterparty)

Definition at line 872 of file jtx/TestHelpers.h.

◆ kLoanOriginationFee

auto const xrpl::test::jtx::loan::kLoanOriginationFee = SimpleField<SF_NUMBER>(sfLoanOriginationFee)

Definition at line 876 of file jtx/TestHelpers.h.

◆ kLoanServiceFee

auto const xrpl::test::jtx::loan::kLoanServiceFee = SimpleField<SF_NUMBER>(sfLoanServiceFee)

Definition at line 878 of file jtx/TestHelpers.h.

◆ kLatePaymentFee

auto const xrpl::test::jtx::loan::kLatePaymentFee = SimpleField<SF_NUMBER>(sfLatePaymentFee)

Definition at line 880 of file jtx/TestHelpers.h.

◆ kClosePaymentFee

auto const xrpl::test::jtx::loan::kClosePaymentFee = SimpleField<SF_NUMBER>(sfClosePaymentFee)

Definition at line 882 of file jtx/TestHelpers.h.

◆ kOverpaymentFee

auto const xrpl::test::jtx::loan::kOverpaymentFee = ValueUnitWrapper<SF_UINT32, unit::TenthBipsTag>(sfOverpaymentFee)

Definition at line 884 of file jtx/TestHelpers.h.

◆ kInterestRate

auto const xrpl::test::jtx::loan::kInterestRate = ValueUnitWrapper<SF_UINT32, unit::TenthBipsTag>(sfInterestRate)

Definition at line 886 of file jtx/TestHelpers.h.

◆ kLateInterestRate

auto const xrpl::test::jtx::loan::kLateInterestRate = ValueUnitWrapper<SF_UINT32, unit::TenthBipsTag>(sfLateInterestRate)

Definition at line 888 of file jtx/TestHelpers.h.

◆ kCloseInterestRate

auto const xrpl::test::jtx::loan::kCloseInterestRate
Initial value:
=
JTxFieldWrapper< ValueUnitField< SField, UnitTag, ValueType > > ValueUnitWrapper

Definition at line 890 of file jtx/TestHelpers.h.

◆ kOverpaymentInterestRate

auto const xrpl::test::jtx::loan::kOverpaymentInterestRate
Initial value:

Definition at line 893 of file jtx/TestHelpers.h.

◆ kPaymentTotal

auto const xrpl::test::jtx::loan::kPaymentTotal = SimpleField<SF_UINT32>(sfPaymentTotal)

Definition at line 896 of file jtx/TestHelpers.h.

◆ kPaymentInterval

auto const xrpl::test::jtx::loan::kPaymentInterval = SimpleField<SF_UINT32>(sfPaymentInterval)

Definition at line 898 of file jtx/TestHelpers.h.

◆ kGracePeriod

auto const xrpl::test::jtx::loan::kGracePeriod = SimpleField<SF_UINT32>(sfGracePeriod)

Definition at line 900 of file jtx/TestHelpers.h.