Hello everyone
What's the good practice to get all data for map of maps of maps with first key only?
Let's say we have a map
mapping(address => mapping (address => mapping (address => Data))) private deposits;
1 - address of user
2 - address of token1
3 - address of token2
can I just return deposits[0x1] to get all deposits of all addresses of user 0x1?
Jun 25, 2022, 7:06 PM