Is the below mapping structure a legit way to create a restricted mapping, or is the latter best practice?
mapping(address => SomeStruct) private structs;
mapping(address => mapping(uint256 => SomeStruct)) private structs;
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community