#include <hive/protocol/get_config.hpp>
#include <hive/protocol/config.hpp>
#include <hive/protocol/asset.hpp>
#include <hive/protocol/types.hpp>
#include <hive/protocol/version.hpp>

namespace hive { namespace protocol {

fc::variant_object get_config( const std::string& treasury_name, const fc::sha256& chain_id )
{
  fc::mutable_variant_object result;
	result["HIVE_CHAIN_ID"] = chain_id;
  result["HIVE_TREASURY_ACCOUNT"] = treasury_name;

#ifdef IS_TEST_NET
  result["IS_TEST_NET"] = true;
#else
  result["IS_TEST_NET"] = false;
#endif

#ifdef HIVE_ENABLE_SMT
  result["HIVE_ENABLE_SMT"] = true;
#else
  result["HIVE_ENABLE_SMT"] = false;
#endif

@CONFIG_HPP@

  return result;
}

} } // hive::protocol
