[#147] add stored entrypoint machinery in Lorentz for lazy code processing
Description
Putting all the code in the code
section of smart contracts can cause them to be expensive, because it requires to parse it fully (and do some processing) even tho often you only need to use one of its entrypoints.
This is supposed to make it fairly easy and convenient to develop and use entrypoints as lambda stored in a big_map. Since big_map are lazy, this allows to process only the code that you are going to use.
Related issue(s)
Part of #147 (moved)
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.