xrpld
Loading...
Searching...
No Matches
xrpl::test::LoanTestBase::BrokerInfo Struct Reference

#include <LoanTestBase.h>

Collaboration diagram for xrpl::test::LoanTestBase::BrokerInfo:

Public Member Functions

 BrokerInfo (jtx::PrettyAsset const &asset, Keylet const &brokerKeylet, Keylet const &vaultKeylet, BrokerParameters p, std::optional< std::uint32_t > subscriptionDate=std::nullopt, std::optional< std::uint32_t > redemptionDate=std::nullopt)
Keylet brokerKeylet () const
Keylet vaultKeylet () const
int vaultScale (jtx::Env const &env) const

Public Attributes

jtx::PrettyAsset asset
UInt256 brokerID
UInt256 vaultID
BrokerParameters params
std::optional< std::uint32_t > subscriptionDate
std::optional< std::uint32_t > redemptionDate

Detailed Description

Definition at line 150 of file LoanTestBase.h.

Constructor & Destructor Documentation

◆ BrokerInfo()

xrpl::test::LoanTestBase::BrokerInfo::BrokerInfo ( jtx::PrettyAsset const & asset,
Keylet const & brokerKeylet,
Keylet const & vaultKeylet,
BrokerParameters p,
std::optional< std::uint32_t > subscriptionDate = std::nullopt,
std::optional< std::uint32_t > redemptionDate = std::nullopt )

Definition at line 160 of file LoanTestBase.h.

Member Function Documentation

◆ brokerKeylet()

Keylet xrpl::test::LoanTestBase::BrokerInfo::brokerKeylet ( ) const
nodiscard

Definition at line 177 of file LoanTestBase.h.

◆ vaultKeylet()

Keylet xrpl::test::LoanTestBase::BrokerInfo::vaultKeylet ( ) const
nodiscard

Definition at line 182 of file LoanTestBase.h.

◆ vaultScale()

int xrpl::test::LoanTestBase::BrokerInfo::vaultScale ( jtx::Env const & env) const
nodiscard

Definition at line 188 of file LoanTestBase.h.

Member Data Documentation

◆ asset

jtx::PrettyAsset xrpl::test::LoanTestBase::BrokerInfo::asset

Definition at line 152 of file LoanTestBase.h.

◆ brokerID

UInt256 xrpl::test::LoanTestBase::BrokerInfo::brokerID

Definition at line 153 of file LoanTestBase.h.

◆ vaultID

UInt256 xrpl::test::LoanTestBase::BrokerInfo::vaultID

Definition at line 154 of file LoanTestBase.h.

◆ params

BrokerParameters xrpl::test::LoanTestBase::BrokerInfo::params

Definition at line 155 of file LoanTestBase.h.

◆ subscriptionDate

std::optional<std::uint32_t> xrpl::test::LoanTestBase::BrokerInfo::subscriptionDate

Definition at line 158 of file LoanTestBase.h.

◆ redemptionDate

std::optional<std::uint32_t> xrpl::test::LoanTestBase::BrokerInfo::redemptionDate

Definition at line 159 of file LoanTestBase.h.