Timeline for Nested mapping in solidity
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 19, 2022 at 21:40 | vote | accept | Mahmoud Ibrahim Mourad | ||
Oct 19, 2022 at 21:12 | comment | added | Rob Hitchens |
Your nested mapping describes a data structure where each id has a large number of string keys, and each of those maps to a uint256 , so probably not what you want. It's roughtly key1 => key2 => value , hence two keys are requested. I voted for Yongjian's answer. That's probably what you want.
|
|
Oct 19, 2022 at 20:23 | answer | added | Yongjian P. | timeline score: 2 | |
Oct 19, 2022 at 16:54 | history | asked | Mahmoud Ibrahim Mourad | CC BY-SA 4.0 |