Smart contracts on the Aergo blockchain are written in Lua. The Aergo Virtual Machine (AVM), a modified version of LuaJIT, reads and translates smart…