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_tsubscriptionDate
std::optional< std::uint32_tredemptionDate

Detailed Description

Definition at line 136 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 146 of file LoanTestBase.h.

Member Function Documentation

◆ brokerKeylet()

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

Definition at line 163 of file LoanTestBase.h.

◆ vaultKeylet()

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

Definition at line 168 of file LoanTestBase.h.

◆ vaultScale()

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

Definition at line 174 of file LoanTestBase.h.

Member Data Documentation

◆ asset

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

Definition at line 138 of file LoanTestBase.h.

◆ brokerID

uint256 xrpl::test::LoanTestBase::BrokerInfo::brokerID

Definition at line 139 of file LoanTestBase.h.

◆ vaultID

uint256 xrpl::test::LoanTestBase::BrokerInfo::vaultID

Definition at line 140 of file LoanTestBase.h.

◆ params

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

Definition at line 141 of file LoanTestBase.h.

◆ subscriptionDate

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

Definition at line 144 of file LoanTestBase.h.

◆ redemptionDate

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

Definition at line 145 of file LoanTestBase.h.