I need to create a struc to store the funds, the asdress who send the funds and date/time, It’ll store these three values for all transactions when some one sends ethers to a contract. So I came up with the thought of using structs and create an array to populate that. Can some one help me out how to create struct with above mentioned three properties, and populate an array (who’s size should be dynamic obviously).
It’s urgent to do in an hour, so any suggestions will be appreciated. Please come up with any other suggestions (if u find some other idea more suitable for my work).
Thanks