#include <glog/logging.h>#include <boost/algorithm/string.hpp>#include <vector>#include "interface/contract/contract_client.h"#include "platform/config/resdb_config_utils.h"Go to the source code of this file.
Functions | |
| void | ShowUsage () |
| void | CreateAccount (ContractClient *client) |
| void | DeployContract (ContractClient *client, const std::string &caller_address, const std::string &contract_name, const std::string &contract_path, const std::vector< std::string > &init_params) |
| void | ExecuteContract (ContractClient *client, const std::string &caller_address, const std::string &contract_address, const std::string &func_name, const std::vector< std::string > ¶ms) |
| int | main (int argc, char **argv) |
| void CreateAccount | ( | ContractClient * | client | ) |
Definition at line 39 of file contract_tools.cpp.
| void DeployContract | ( | ContractClient * | client, |
| const std::string & | caller_address, | ||
| const std::string & | contract_name, | ||
| const std::string & | contract_path, | ||
| const std::vector< std::string > & | init_params | ||
| ) |
Definition at line 48 of file contract_tools.cpp.
| void ExecuteContract | ( | ContractClient * | client, |
| const std::string & | caller_address, | ||
| const std::string & | contract_address, | ||
| const std::string & | func_name, | ||
| const std::vector< std::string > & | params | ||
| ) |
Definition at line 61 of file contract_tools.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 74 of file contract_tools.cpp.
| void ShowUsage | ( | ) |
Definition at line 32 of file contract_tools.cpp.