32 #ifndef LEDGER_CORE_ETHEREUMLIKEACCOUNTDATABASEHELPER_H 33 #define LEDGER_CORE_ETHEREUMLIKEACCOUNTDATABASEHELPER_H 38 #include <wallet/ethereum/database/EthereumLikeAccountDatabaseEntry.h> 39 #include <api/ERC20Token.hpp> 45 static void createAccount(soci::session& sql,
46 const std::string walletUid,
48 const std::string& address);
49 static void createERC20Account(soci::session &sql,
50 const std::string ðAccountUid,
51 const std::string &erc20AccountUid,
52 const std::string &contractAddress);
53 static bool queryAccount(soci::session& sql,
54 const std::string& accountUid,
56 static api::ERC20Token getOrCreateERC20Token(soci::session &sql,
const std::string &contractAddress);
62 #endif //LEDGER_CORE_ETHEREUMLIKEACCOUNTDATABASEHELPER_H Definition: EthereumLikeAccountDatabaseEntry.h:44
Definition: EthereumLikeAccountDatabaseHelper.h:43
Definition: Account.cpp:8
Definition: ERC20Token.hpp:15