Decentralised Art Server
High-performance C++ backend that exposes HTML interface and a secure REST API for managing Performative Transactions entities
 
Loading...
Searching...
No Matches
hex.hpp File Reference
#include <string>
#include <evmc/evmc.hpp>
#include "parser.hpp"

Go to the source code of this file.

Namespaces

namespace  dcn
 
namespace  dcn::chain
 
namespace  dcn::parse
 

Macros

#define interface   __STRUCT__
 

Functions

std::string dcn::chain::bytes32ToHex (const evmc::bytes32 &value)
 
std::string dcn::chain::withHexPrefix (std::string value)
 
std::string dcn::chain::normalizeHex (std::string value)
 
std::string dcn::chain::toHexQuantity (const std::int64_t value)
 
Result< std::int64_t > dcn::parse::parseHexQuantity (const std::string &value)
 

Macro Definition Documentation

◆ interface

#define interface   __STRUCT__