How to use mapping of struct in a upgradable contract? Where do i will define the struct and its mapping? On the storage contract or the logic contact. And how i am gonna push elements in mappings?
Jun 1, 2020, 4:24 AM
Mapping and structs are more of a storage thing...they don't have much to do with the logics that you are talking about
however, I guess you must specify a visibility in this mapping (public , private etc)..
As per the latest version of solidity, visibilities must be specified
As per the latest version of solidity, visibilities must be specified
Jun 1, 2020, 5:58 AM