size array of structs?
mapping(address => mapping(uint256 => Struct[])) public addressToStorages;
My idea is to cap is to a array of size 10 max.
Yes
So the function where I generate the array of structs returns a array of size 10, on memory
Обсуждают сегодня