xrpld
Loading...
Searching...
No Matches
xrpl::LoanDefaultFreezeExemptAccounts Struct Reference

The accounts and asset that LoanManage::defaultLoan's fixCleanup3_4_0 freeze/lock exemption applies to. More...

#include <LendingHelpers.h>

Collaboration diagram for xrpl::LoanDefaultFreezeExemptAccounts:

Public Attributes

AccountID issuer
AccountID broker
AccountID vault
Asset asset

Detailed Description

The accounts and asset that LoanManage::defaultLoan's fixCleanup3_4_0 freeze/lock exemption applies to.

defaultLoan moves funds from the LoanBroker pseudo-account to the Vault pseudo-account via accountSend. Since neither is the vault asset's issuer, this is a third-party transfer that transits through the issuer in two hops (broker -> issuer, issuer -> vault; see directSendNoLimitIOU/directSendNoLimitMPT), so the exemption must cover both the issuer/broker and issuer/vault pairs, not a direct broker/vault pair. asset scopes it further to the vault's own currency/MPT issuance, so an unrelated one the same accounts happen to hold is still protected.

Definition at line 76 of file LendingHelpers.h.

Member Data Documentation

◆ issuer

AccountID xrpl::LoanDefaultFreezeExemptAccounts::issuer

Definition at line 78 of file LendingHelpers.h.

◆ broker

AccountID xrpl::LoanDefaultFreezeExemptAccounts::broker

Definition at line 79 of file LendingHelpers.h.

◆ vault

AccountID xrpl::LoanDefaultFreezeExemptAccounts::vault

Definition at line 80 of file LendingHelpers.h.

◆ asset

Asset xrpl::LoanDefaultFreezeExemptAccounts::asset

Definition at line 81 of file LendingHelpers.h.