ledger-core
|
#include <ERC20Token.hpp>
Public Member Functions | |
ERC20Token (std::string name_, std::string symbol_, std::string contractAddress_, int32_t numberOfDecimal_) | |
ERC20Token (const ERC20Token &cpy) | |
ERC20Token & | operator= (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 |
Representation of ERC20Tokens.
std::string ledger::core::api::ERC20Token::contractAddress |
Address of the smart contract for this ERC20.
std::string ledger::core::api::ERC20Token::name |
Name of the currency.
int32_t ledger::core::api::ERC20Token::numberOfDecimal |
Maximum number of decimals (used to show the human representation of the currency).
std::string ledger::core::api::ERC20Token::symbol |
Symbol representation of the currency.