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
address.hpp File Reference
#include <optional>
#include <cstdint>
#include <vector>
#include <evmc/evmc.hpp>

Go to the source code of this file.

Namespaces

namespace  dcn
 
namespace  dcn::chain
 

Macros

#define interface   __STRUCT__
 

Typedefs

using dcn::chain::Address = evmc::address
 

Functions

std::optional< chain::Addressdcn::chain::readAddressWord (const std::uint8_t *data, std::size_t data_size, std::size_t offset=0)
 
std::optional< chain::Addressdcn::chain::readAddressWord (const std::vector< std::uint8_t > &data, std::size_t offset=0)
 
chain::Address dcn::chain::topicWordToAddress (const evmc::bytes32 &topic_word)
 
chain::Address dcn::chain::ethAddressFromPublicKey (const std::uint8_t *pubkey, std::size_t len)
 

Macro Definition Documentation

◆ interface

#define interface   __STRUCT__