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 801 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 816 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 827 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 838 of file TestHelpers.cpp.

Variable Documentation

◆ kCounterparty

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

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

◆ kLoanOriginationFee

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

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

◆ kLoanServiceFee

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

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

◆ kLatePaymentFee

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

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

◆ kClosePaymentFee

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

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

◆ kOverpaymentFee

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

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

◆ kInterestRate

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

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

◆ kLateInterestRate

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

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

◆ kCloseInterestRate

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

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

◆ kOverpaymentInterestRate

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

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

◆ kPaymentTotal

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

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

◆ kPaymentInterval

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

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

◆ kGracePeriod

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

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