ledger-core
Public Member Functions | Public Attributes | List of all members
ledger::core::api::ERC20Token Struct Referencefinal

#include <ERC20Token.hpp>

Public Member Functions

 ERC20Token (std::string name_, std::string symbol_, std::string contractAddress_, int32_t numberOfDecimal_)
 
 ERC20Token (const ERC20Token &cpy)
 
ERC20Tokenoperator= (const ERC20Token &cpy)
 
template<class Archive >
void load (Archive &archive)
 
template<class Archive >
void save (Archive &archive) const
 

Public Attributes

std::string name
 
std::string symbol
 
std::string contractAddress
 
int32_t numberOfDecimal
 

Detailed Description

Representation of ERC20Tokens.

Member Data Documentation

◆ contractAddress

std::string ledger::core::api::ERC20Token::contractAddress

Address of the smart contract for this ERC20.

◆ name

std::string ledger::core::api::ERC20Token::name

Name of the currency.

◆ numberOfDecimal

int32_t ledger::core::api::ERC20Token::numberOfDecimal

Maximum number of decimals (used to show the human representation of the currency).

◆ symbol

std::string ledger::core::api::ERC20Token::symbol

Symbol representation of the currency.


The documentation for this struct was generated from the following file: