3#define CORE_SYM_NAME "TAXON"
4#define CORE_SYM_PRECISION 4
6#define _STRINGIZE1(x) #x
7#define _STRINGIZE2(x) _STRINGIZE1(x)
9#define CORE_SYM_STR ( _STRINGIZE2(CORE_SYM_PRECISION) "," CORE_SYM_NAME )
10#define CORE_SYM ( ::eosio::chain::string_to_symbol_c( CORE_SYM_PRECISION, CORE_SYM_NAME ) )
13 static inline eosio::chain::asset
from_string(
const std::string& s) {
14 return eosio::chain::asset::from_string(s +
" " CORE_SYM_NAME);
Definition: test_symbol.hpp:12
static eosio::chain::asset from_string(const std::string &s)
Definition: test_symbol.hpp:13
#define CORE_SYM_NAME
Definition: test_symbol.hpp:3