MCPcopy Create free account
hub / github.com/category-labs/monad / table_as_string

Function table_as_string

cmd/monad_cli.cpp:110–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108////////////////////////////////////////
109
110std::string_view table_as_string(unsigned char const table_id)
111{
112 switch (table_id) {
113 case STATE_NIBBLE:
114 return "state";
115 case CODE_NIBBLE:
116 return "code";
117 case RECEIPT_NIBBLE:
118 return "receipt";
119 default:
120 return "invalid";
121 }
122}
123
124template <class T>
125 requires std::same_as<T, byte_string_view> ||

Callers 2

set_tableMethod · 0.85
lookupMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected