xrpld
Loading...
Searching...
No Matches
include
xrpl
ledger
helpers
DelegateHelpers.h
1
#pragma once
2
3
#include <xrpl/protocol/Permissions.h>
4
#include <xrpl/protocol/STLedgerEntry.h>
5
#include <xrpl/protocol/STTx.h>
6
#include <xrpl/protocol/TER.h>
7
8
namespace
xrpl
{
9
17
NotTEC
18
checkTxPermission
(
SLE::const_ref
delegate,
STTx
const
& tx);
19
28
std::unordered_set<GranularPermissionType>
29
getGranularPermission
(
SLE::const_ref
delegate,
TxType
const
& type);
30
31
}
// namespace xrpl
xrpl::STLedgerEntry::const_ref
std::shared_ptr< STLedgerEntry const > const & const_ref
Definition
STLedgerEntry.h:22
xrpl::STTx
Definition
STTx.h:28
xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:5
xrpl::TxType
TxType
Transaction type identifiers.
Definition
TxFormats.h:41
xrpl::getGranularPermission
std::unordered_set< GranularPermissionType > getGranularPermission(SLE::const_ref delegate, TxType const &type)
Load the granular permissions granted to the delegate account for the specified transaction type.
Definition
DelegateUtils.cpp:33
xrpl::checkTxPermission
NotTEC checkTxPermission(SLE::const_ref delegate, STTx const &tx)
Check if the delegate account has permission to execute the transaction.
Definition
DelegateUtils.cpp:14
xrpl::NotTEC
TERSubset< CanCvtToNotTEC > NotTEC
Definition
TER.h:594
Generated by
1.16.1