I am deploying a Smart contract with set of fields. Updating some fields using events.Till here is fine.

Now here i need to fetch the root data(data while deploying the contract)

Please suggest.

Thanks Veera

  • Can you explain what is root data? Can you give an example? – Ismael Dec 16 '17 at 13:55
  • Root data means data inserted while creating the contract. – Veera Dec 17 '17 at 6:52
  • Perhaps this is relevant ethereum.stackexchange.com/a/1061. From a contract you cannot access the previous state of a variable, you have to explicitely track the variable changes in a mapping for example. – Ismael Dec 18 '17 at 4:02
  • Thanks Ismael. How to update and trigger the event with **dynamic input parameters ** in solidity How to track the smart contract data changes with the time stamp Please suggest. Thanks Veera – Veera Dec 18 '17 at 14:52
  • Check the solidity documentation about events, if you have more doubts try asking a new question. – Ismael Dec 18 '17 at 16:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.