MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / lthinkyoung_set_storage

Function lthinkyoung_set_storage

src/Chain/libraries/glua/lthinkyounglib.cpp:1036–1043  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1034 }
1035
1036 bool lthinkyoung_set_storage(lua_State *L, const char *contract_id, const char *name, GluaStorageValue value)
1037 {
1038 lua_pushstring(L, contract_id);
1039 lua_pushstring(L, name);
1040 lua_push_storage_value(L, value);
1041 glua::lib::thinkyounglib_set_storage(L);
1042 return !global_glua_chain_api->has_exception(L);
1043 }
1044
1045 }
1046 }

Callers

nothing calls this directly

Calls 4

lua_pushstringFunction · 0.85
lua_push_storage_valueFunction · 0.85
has_exceptionMethod · 0.45

Tested by

no test coverage detected