mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 16:56:48 +00:00
Co-authored-by: Bart <11445373+bthomee@users.noreply.github.com> Co-authored-by: Bart <bthomee@users.noreply.github.com>
19 lines
470 B
C++
19 lines
470 B
C++
#pragma once
|
|
#include <xrpl/ledger/View.h>
|
|
|
|
namespace xrpl::permissioned_dex {
|
|
|
|
// Check if an account is in a permissioned domain
|
|
[[nodiscard]] bool
|
|
accountInDomain(ReadView const& view, AccountID const& account, Domain const& domainID);
|
|
|
|
// Check if an offer is in the permissioned domain
|
|
[[nodiscard]] bool
|
|
offerInDomain(
|
|
ReadView const& view,
|
|
uint256 const& offerID,
|
|
Domain const& domainID,
|
|
beast::Journal j);
|
|
|
|
} // namespace xrpl::permissioned_dex
|