Allow fast_track to read mappings #18
Labels
cfi
For features that are considered for inclusion
enhancement
New feature or request
help wanted
Extra attention is needed
Is your feature request related to a problem? Please describe.
fast_track reads state variables. Some state variables are not as easy to read as uint256 variables. For example, consider price data provided by Chainlink. It can be requested with
latestAnswer()
, but the source data is stored in a uint32 -> Transmission mapping. If sothis can read from mappings, it will be easy to pull historic token price data directly from the blockchain without any data brokers.Describe the solution you'd like
Read data from mappings. A new flag will be needed to identify which item in the mapping to read from. Handling of custom structs will be needed, likely with another flag which passes the struct layout/ABI.
Describe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered: