8 #include <boost/assert.hpp> 13 BOOST_ASSERT(
api_ !=
nullptr);
16 outcome::result<void>
Name::init(
const jsonrpc::Request::Parameters ¶ms) {
17 if (!params.empty()) {
18 throw jsonrpc::InvalidParametersFault(
"Method should not have params");
20 return outcome::success();
27 return "Soramitsu Kagome";
outcome::result< void > init(const jsonrpc::Request::Parameters ¶ms)
Name(const Name &)=delete
std::shared_ptr< SystemApi > api_
outcome::result< std::string > execute()