Dynamic layout compiler #13
Labels
enhancement
New feature or request
I-datalake
Query interface of datalake
P-low
Low priority, not for near future
DynamicLayout Datalake
There might be some cases where someone would like to iterate through let’s say a solidity mapping or array.
For such reason we allow such datalake, maybe the name is not perfect.
An example of such datalake is:
Such datalake is scoped to a specific block as it would be very weird to iterate a mapping across multiple blocks or different smart contracts.
In solidity each variable also dynamic ones such as mapping or array have their unique slot index.
To read more about storage layouts please see:
[Layout of State Variables in Storage — Solidity 0.8.24 documentation](https://docs.soliditylang.org/en/latest/internals/layout_in_storage.html)
The initial key is the initial key to be placed in the mapping, key_boundry is the key that once reached the loop will stop.
It also takes an argument increment with 1 being the default value.
The text was updated successfully, but these errors were encountered: