1#ifndef XRPL_APP_MISC_DELEGATEUTILS_H_INCLUDED 
    2#define XRPL_APP_MISC_DELEGATEUTILS_H_INCLUDED 
    4#include <xrpl/protocol/Permissions.h> 
    5#include <xrpl/protocol/STLedgerEntry.h> 
    6#include <xrpl/protocol/STTx.h> 
    7#include <xrpl/protocol/TER.h> 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
NotTEC checkTxPermission(std::shared_ptr< SLE const > const &delegate, STTx const &tx)
Check if the delegate account has permission to execute the transaction.
 
TxType
Transaction type identifiers.
 
void loadGranularPermission(std::shared_ptr< SLE const > const &delegate, TxType const &type, std::unordered_set< GranularPermissionType > &granularPermissions)
Load the granular permissions granted to the delegate account for the specified transaction type.
 
TERSubset< CanCvtToNotTEC > NotTEC