rippled
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
xrpl::test::Loan_test::BrokerParameters Struct Reference
Collaboration diagram for xrpl::test::Loan_test::BrokerParameters:
Collaboration graph
[legend]

Public Member Functions

Number maxCoveredLoanValue (Number const &currentDebt) const
 

Static Public Member Functions

static BrokerParameters const & defaults ()
 

Public Attributes

Number vaultDeposit = 1'000'000
 
Number debtMax = 25'000
 
TenthBips32 coverRateMin = percentageToTenthBips(10)
 
int coverDeposit = 1000
 
TenthBips16 managementFeeRate {100}
 
TenthBips32 coverRateLiquidation = percentageToTenthBips(25)
 
std::string data {}
 
std::uint32_t flags = 0
 

Detailed Description

Definition at line 77 of file Loan_test.cpp.

Member Function Documentation

◆ maxCoveredLoanValue()

Number xrpl::test::Loan_test::BrokerParameters::maxCoveredLoanValue ( Number const &  currentDebt) const

Definition at line 89 of file Loan_test.cpp.

◆ defaults()

static BrokerParameters const & xrpl::test::Loan_test::BrokerParameters::defaults ( )
static

Definition at line 99 of file Loan_test.cpp.

Member Data Documentation

◆ vaultDeposit

Number xrpl::test::Loan_test::BrokerParameters::vaultDeposit = 1'000'000

Definition at line 79 of file Loan_test.cpp.

◆ debtMax

Number xrpl::test::Loan_test::BrokerParameters::debtMax = 25'000

Definition at line 80 of file Loan_test.cpp.

◆ coverRateMin

TenthBips32 xrpl::test::Loan_test::BrokerParameters::coverRateMin = percentageToTenthBips(10)

Definition at line 81 of file Loan_test.cpp.

◆ coverDeposit

int xrpl::test::Loan_test::BrokerParameters::coverDeposit = 1000

Definition at line 82 of file Loan_test.cpp.

◆ managementFeeRate

TenthBips16 xrpl::test::Loan_test::BrokerParameters::managementFeeRate {100}

Definition at line 83 of file Loan_test.cpp.

◆ coverRateLiquidation

TenthBips32 xrpl::test::Loan_test::BrokerParameters::coverRateLiquidation = percentageToTenthBips(25)

Definition at line 84 of file Loan_test.cpp.

◆ data

std::string xrpl::test::Loan_test::BrokerParameters::data {}

Definition at line 85 of file Loan_test.cpp.

◆ flags

std::uint32_t xrpl::test::Loan_test::BrokerParameters::flags = 0

Definition at line 86 of file Loan_test.cpp.