shogochiai / ovm.tz

OVM contract by LIGO for Tezos
1 stars 0 forks source link

Design a cool storage data structure. #3

Closed shogochiai closed 5 years ago

shogochiai commented 5 years ago

The main function eats storage and outputs the modified storage. So the storage instance is to be shared among all action contexts.

claims checkpoints commitments challenges(counterclaims)

Many state variables there inside the storage.

shogochiai commented 5 years ago

Composed types for storage types are found here https://gitlab.com/ligolang/ligo/blob/dev/src/contracts/coase.ligo#L18

shogochiai commented 5 years ago

just added

https://github.com/shogochiai/ovm.tz/commit/606d5718b2041c9654e1827fc6827444e0f0250d#diff-9fc43cadbae2aeec3e16bbe20d909077